Embedded AI voice noise reduction model database construction method and device, and storage medium

By mixing the noise library and the pure speech library according to different signal-to-noise ratios and performing traditional noise reduction processing on the embedded low-power MCU device, the over-fitting problem caused by too much training data is solved and the AI ​​audio noise reduction is improved. Model accuracy and performance.

CN118629419APending Publication Date: 2024-09-10DONGGUAN HUABEL ELECTRONICS TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410709156.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

On embedded low-power MCU devices, the computing power and storage space of the AI ​​audio noise reduction model are limited, which leads to overfitting when there is too much training data, affecting the accuracy of the model.

Method used

By mixing the noise library and the pure speech library according to different signal-to-noise ratios, traditional noise reduction processing is performed to reduce the amount of training data and improve the noise reduction effect of the model.

Benefits of technology

It improves the accuracy and performance of the AI ​​audio noise reduction model without increasing training data, and is suitable for embedded devices such as TWS headsets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629419A
    Figure CN118629419A
Patent Text Reader

Abstract

The embodiment of the invention relates to the artificial intelligence technology, and discloses an embedded AI voice noise reduction model database construction method and device and a storage medium, and the method comprises the steps: dividing a noise library into N parts according to the noise type, and dividing a pure voice library into 2N parts; each part of noise in the noise library and two parts of pure voice in the pure voice library are mixed according to different signal-to-noise ratios, two corresponding mixed files are obtained, data categories in each mixed file comprise the pure voice, the noise and mixed noisy voice, and the mixed noisy voice comprises the pure voice, the noise and the mixed noisy voice. The mixed noisy voice in the mixed file with the low signal-to-noise ratio is subjected to traditional noise reduction and then replaces the original mixed noisy voice, and an updated mixed file is obtained; and merging the data in all the obtained mixed files according to the data category, and storing the merged audio data in a training database. According to the embodiment, the accuracy of the model can be improved while the computing power and the storage space required by the AI model are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of artificial intelligence technology, and in particular to a method, device and storage medium for constructing an embedded AI speech noise reduction model database. Background Art

[0002] Currently, AI audio noise reduction algorithms are mainly focused on high-performance devices, such as end-to-end large AI models, and miniaturized AI models, such as embedded low-power MCU devices used in wearable consumer electronics.

[0003] For high-performance devices, computing power and storage space are sufficient, but on embedded low-power MCUs, computing power and storage space are very limited. For example, on TWS (True Wireless Stereo Earbuds), the available space for the AI ​​audio noise reduction model is less than 40KB. Due to the small training model and the large amount of training data, overfitting is prone to occur, affecting the accuracy of the audio noise reduction model. Under a limited database, a better database for training can make the AI ​​audio noise reduction algorithm perform better after training. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a method, device and computer-readable storage medium for constructing an embedded AI speech noise reduction model database, which can construct a database of AI speech noise reduction models suitable for embedded low-power MCU devices, while reducing the computing power and storage space required by the model and improving the accuracy of the model.

[0005] In order to solve the above technical problems, one embodiment of the present invention provides a method for constructing an embedded AI speech noise reduction model database, the method comprising:

[0006] Divide the noise library into N parts according to the noise type, and divide the pure speech library into 2N parts;

[0007] Each noise in the noise library is mixed with two clean voices in the clean voice library according to different signal-to-noise ratios to obtain two mixed files, wherein the data types in each of the mixed files include the clean voice, noise, and mixed noisy voice obtained by mixing the clean voice and noise, and the mixed noisy voice in one of the mixed files is subjected to traditional noise reduction to obtain an updated mixed file;

[0008] The data in all mixed files are merged according to the data categories, and the merged audio data is stored in the training database.

[0009] To solve the above technical problems, one of the embodiments of the present invention also provides an embedded AI speech noise reduction model database construction device, including a memory, a processor, and a database construction program stored in the memory and runnable on the processor, and when the processor executes the database construction program, the steps of the above-mentioned embedded AI speech noise reduction model database construction method are implemented.

[0010] To solve the above technical problems, one of the embodiments of the present invention also provides a computer-readable storage medium, which stores machine-readable instructions. When the machine-readable instructions are called and executed by a processor, they implement the above-mentioned embedded AI speech noise reduction model database construction method.

[0011] The embodiment of the present invention mixes pure speech and noise at different signal-to-noise ratios, and then executes a traditional noise reduction algorithm on the obtained half of the mixed noisy speech for noise reduction. This can remove simple noise, reduce the computational burden of the subsequent AI speech noise reduction model, and provide a clearer signal for subsequent AI noise reduction, thereby improving the noise reduction effect of the model without requiring too much training data.

[0012] In one embodiment of the present invention, the noise types of the noise library include an environmental noise library and a wind noise library.

[0013] In the embodiment of the present invention, the noise library includes wind noise, which provides a more realistic environment simulation and is beneficial to the training of noise reduction models of embedded devices such as headphones.

[0014] In one embodiment of the present invention, N is 2, and the noise library is divided into N parts according to the noise type, and the clean speech library is divided into 2N parts, including:

[0015] The noise library is divided into an environmental noise library and a wind noise library. The clean speech library is divided into a first clean speech, a second clean speech, a third clean speech and a fourth clean speech according to the data volume of the environmental noise library and the wind noise library, wherein the first clean speech and the second clean speech match the data volume of the environmental noise library, and the third clean speech and the fourth clean speech match the data volume of the wind noise library.

[0016] In one embodiment of the present invention, each noise in the noise library is mixed with two clean voices in the clean voice library according to different signal-to-noise ratios to obtain a corresponding mixed file, including:

[0017] Mixing the environmental noise library with the first clean speech according to a first preset mixed signal-to-noise ratio to obtain a first mixed file;

[0018] Mixing the environmental noise library with the second clean speech according to a second preset mixed signal-to-noise ratio to obtain a second mixed file, wherein the second preset mixed signal-to-noise ratio is lower than the first preset mixed signal-to-noise ratio;

[0019] Mixing the wind noise library with the third clean speech according to a third preset mixed signal-to-noise ratio to obtain a third mixed file, wherein the third preset mixed signal-to-noise ratio is equal to or lower than the second preset mixed signal-to-noise ratio; and

[0020] The wind noise library and the fourth clean speech are mixed according to a fourth preset mixed signal-to-noise ratio to obtain a fourth mixed file, wherein the fourth preset mixed signal-to-noise ratio is lower than the third preset mixed signal-to-noise ratio.

[0021] In one embodiment of the present invention, the dividing the noise library into N parts according to the noise type further includes: dividing the environmental noise library into small noise with a signal-to-noise ratio above a preset value and large noise with a signal-to-noise ratio below a preset value;

[0022] The small noise is mixed with the first clean speech according to a fifth preset mixed signal-to-noise ratio to obtain a fifth mixed file; the large noise is mixed with the second clean speech according to a sixth preset mixed signal-to-noise ratio to obtain a sixth mixed file, wherein the sixth preset mixed signal-to-noise ratio is lower than the fifth preset mixed signal-to-noise ratio.

[0023] For small models, too much training data can easily lead to model overfitting. Therefore, when there is less training data, further dividing the environmental noise library into large noise and small noise can better identify the performance differences of the denoising model under noises with different signal-to-noise ratios, which helps the denoising model improve its performance in various noise environments.

[0024] In one embodiment of the present invention, performing traditional noise reduction on the mixed noisy speech in one of the mixed files to obtain an updated mixed file includes:

[0025] A mixed file corresponding to a low signal-to-noise ratio is selected, and the mixed noisy speech in the selected mixed file is subjected to traditional noise reduction to replace the original mixed noisy speech, so as to obtain an updated mixed file.

[0026] In one embodiment of the invention, the mixed noisy speech is generated by the following method:

[0027] If the noise data in the noise library is longer than the clean speech, a noise segment with the same length as the clean speech is cut from the noise data to obtain added noise;

[0028] If the noise data in the noise library is shorter than the clean speech, repeat the duration of the noise data and add it to the tail of the noise until it has the same duration as the clean speech to obtain added noise;

[0029] Within a given signal-to-noise ratio range, the added noise is mixed with the clean speech to obtain a mixed noisy speech.

[0030] In one embodiment of the invention, the ratio of the number of the clean speech library to the number of the noise library is greater than 15:1. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] One or more embodiments of the present invention are exemplarily described by the images in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0032] Figure 1 It is a flow chart of a method for constructing an embedded AI speech noise reduction model database according to an embodiment of the present invention;

[0033] Figure 2 It is a data flow diagram of a method for constructing an embedded AI speech noise reduction model database provided in accordance with an embodiment of the present invention;

[0034] Figure 3a-3d This is the waveform diagram of the noisy speech data obtained through the experiment;

[0035] Figure 4 It is a schematic diagram of the hardware structure of an embedded AI speech noise reduction model database construction device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation mode of the present embodiment should not constitute any limitation, and the various embodiments can be combined and referenced with each other without contradiction.

[0037] One embodiment of the present invention relates to a method for constructing an embedded AI speech denoising model database, which can be applied to the field of embedded AI audio denoising algorithms (but not limited to embedded, and can be applied to miniaturized / lightweight network structures). It should be understood that for the training of large models, as long as the pure speech in the training database is pure enough and the noise library is comprehensive enough, the trained model can meet the requirements. However, for embedded small models, such as small models of tens of kB or even more than ten kB, the size and quality of the database directly determine the accuracy of the model obtained by training based on the database, thereby affecting the effect of denoising of noisy speech. Because the training model is small and the number of training data is large, it is easy to produce overfitting, which affects the accuracy of the audio denoising model. Therefore, the purpose of the present invention is to design a better database for training under a limited database, so that the performance of the AI ​​audio denoising algorithm can be better after training.

[0038] To solve the above problems, the implementation method of the present invention mixes pure speech and noise at different signal-to-noise ratios, first executes the traditional noise reduction algorithm to reduce the noise on half of the mixed noisy speech, and then puts it into the training database. Experiments have shown that the training database obtained in this way does not require a large amount of data, but when training the AI ​​audio noise reduction algorithm module, the obtained AI noise reduction model has a better effect.

[0039] Reference below Figure 1 As shown, the implementation details of the method for building an embedded AI speech denoising model database of this embodiment are specifically described. The following content is only for the convenience of understanding the implementation details provided, and is not necessary for the implementation of this solution. In this embodiment of the present invention, the embedded AI speech denoising model can be a miniaturized embedded model of tens of KB.

[0040] In S11, audio data collection of a clean speech library and a noise library is performed;

[0041] The clean speech library refers to speech data that does not contain noise. In the embodiment of the present invention, the clean speech library may include clean speech downloaded from an open source data set on the Internet and / or clean speech recorded manually in an anechoic chamber.

[0042] In the embodiment of the present invention, the noise library includes two types: an environmental noise library and a wind noise library. The environmental noise library includes noises of various scenes, such as noises in subways, platforms, buses, crossing roads, cafes and restaurants, shopping malls, and any public places. The wind noise library generally refers to noise data generated under the influence of wind.

[0043] The environmental noise library may include noise downloaded from an open source dataset on the Internet, ACQUA 3questt noise, and environmental noise data of various scenes artificially collected in reality as much as possible.

[0044] The ACQUA 3quest noise provides a complete implementation of all international standards for speech and audio quality, such as 3GPP, ITU-T, ISO, IEC, ETSI, TIA, GCF, CTIA and GSMA, etc. The objective noise reduction evaluation includes a variety of noise types: cafe, call center, car, mensa, pub, road, trainstation, xroad. These noises are standardized to facilitate comparison and evaluation in different test environments.

[0045] Many complex environmental noise libraries are synthesized from multiple simple noises. Therefore, in the embodiment of the present invention, if complex noise cannot be collected, multiple simple noises may be included to improve the generalization of the noise library.

[0046] The wind noise library can be collected in a natural environment with wind by measuring with an anemometer, or outside the anechoic chamber, where a fan blows into the anechoic chamber through an aperture and wind noise of various wind speeds is collected after testing with an anemometer.

[0047] For the pure speech library and the noise library, in theory, the more speech data the better. However, in reality, due to the computing power and storage of the microprocessor, it cannot be increased indefinitely, and the number is infinite, which will cause overfitting for small models. For the noise reduction algorithm, in the model training stage, according to the performance of the processor, in the embodiment of the present invention, the required ratio of the number of pure speech libraries to noise libraries can be 15:1 or more. For example, the data volume of the pure speech library can be more than 50 hours, and the data volume of the noise library can be more than 3 hours, and it should contain as many scenarios as possible in the applied project. In the verification stage of the AI ​​audio noise reduction algorithm, the pure speech library requires at least 2 hours of data, and the corresponding noise libraries require at least 0.5 hours.

[0048] In the embodiment of the present invention, the collected clean voice library and noise library are cleaned and placed in corresponding folders. The cleaning principle is that the clean voice library cannot contain noise, and the noise library cannot contain human voices (non-background sounds). The human voices with cocktail scene effects in scenes such as cafes, restaurants, and telephone halls are background sounds and do not need to be removed from the noise library.

[0049] In S12, the noise library is divided into N parts according to the noise type, and the clean speech library is divided into 2N parts.

[0050] In one embodiment of the present invention, N is 2.

[0051] As mentioned above, the noise library includes two types: environmental noise library and wind noise library. Therefore, Figure 2 As shown, in the embodiment of the present invention, the noise library is classified into two parts, one of which is environmental noise noise1 and the other is wind noise noise2.

[0052] Furthermore, in the embodiment of the present invention, the clean speech library is divided into 2N parts, and if the noise library is divided into 2 parts, then Figure 2 As shown, the clean speech library is divided into 4 parts, including the first clean speech speech1, the second clean speech speech2, the third clean speech speech3, and the fourth clean speech speech4. Among them, the clean speech speech1, speech2 matches the data volume of the environmental noise library noise1, and the clean speech speech3, speech4 matches the data volume of the wind noise library noise2. In a preferred embodiment of the present invention, the speech1, speech2, speech3, speech4 can be divided according to the size ratio of 3:3:1:1, for example, speech1 is 3G of speech data, speech2 is 3G of speech data, speech3 is 1G of speech data, and speech4 is also 1G of speech data.

[0053] In the embodiment of the present invention, the clean speech library is used to be mixed with the noise library, so the ratio can be set according to the amount of data in the noise library. Further, in an actual project, the clean speech library can be divided according to the simulation experiment results.

[0054] In S13, each of the noise libraries is mixed with two of the clean voices in the clean voice library according to different signal-to-noise ratios to obtain two corresponding mixed files, wherein each of the mixed files includes the clean voice, the noise library, and the mixed noisy voice obtained by mixing the clean voice and the noise library, and the mixed noisy voice in one of the mixed files is subjected to traditional noise reduction to obtain an updated mixed file.

[0055] In the embodiment of the present invention, two clean speech libraries are selected from the clean speech library according to the data size of the noise library. For example, because the data size of the environmental noise library is large, speech1 and speech2 with a larger proportion are selected from the clean speech library as the two clean speech corresponding to the environmental noise library.

[0056] In the embodiment of the present invention, Figure 2As shown, noise1 and speech1 are mixed according to a first preset mixed signal-to-noise ratio to obtain a first mixed file output1. The output1 contains three files clean_1, noise_1, and noisy_1, wherein clean_1 is the clean speech speech1 before mixing, noise_1 is the corresponding noise selected from the noise library noise1 according to the clean speech speech1, and the noisey_1 is the mixed noisy speech obtained by mixing the speech1 and noise1 according to the first preset mixed signal-to-noise ratio. The first preset mixed signal-to-noise ratio can be, for example, [-5, 0, 5, 10, 15]. In the embodiment of the present invention, the names of the files in clean_1, noise_1, and noisy_1 need to correspond one to one.

[0057] Furthermore, if Figure 2 As shown, in the embodiment of the present invention, noise1 and speech2 are mixed according to the second preset mixed signal-to-noise ratio to obtain a second mixed file output2, wherein output2 contains three files clean_2, noise_2, and noisy_2, wherein clean_2 is the clean speech speech2, noise_2 is the corresponding noise selected from the noise library noise1 according to speech2, and noisy_2 is the mixed noisy speech obtained by mixing the speech2 and noise1 according to the second preset mixed signal-to-noise ratio. The second preset mixed signal-to-noise ratio is lower than the first preset mixed signal-to-noise ratio, for example, it can be [-10, -5, 0, 5, 10]. In the embodiment of the present invention, the names of the files in clean_2, noise_2, and noisy_2 need to correspond one to one.

[0058] Furthermore, in an embodiment of the present invention, a mixed file corresponding to a low signal-to-noise ratio is selected from the two mixed files, and the mixed noisy speech in the selected mixed file is subjected to traditional noise reduction to replace the original mixed noisy speech, thereby obtaining an updated mixed file.

[0059] In the above embodiment, if the second preset mixed signal-to-noise ratio is lower than the first preset mixed signal-to-noise ratio, the second mixed file output2 is selected, and the noisy_2 therein is subjected to traditional noise reduction to obtain noisy_22, and the noisy_2 is replaced to obtain the updated second mixed file output2, such as Figure 2 As shown, it includes three files: clean_2, noise_2, and noisy_22.

[0060] The traditional noise reduction method may include: MCRA / IMCRA-OMLSA speech noise reduction algorithm, Wiener filtering, adaptive filtering, etc.

[0061] Furthermore, if the lengths of the mixed noisy speech noisy_22 and clean_2 obtained after the traditional noise reduction are inconsistent, the embodiment of the present invention makes the data durations of noisy_22 and clean_2 consistent through truncation and other processing.

[0062] In another embodiment of the present invention, because the data volume of the wind noise library is small, speech3 and speech4, which account for a smaller proportion, are selected from the clean speech library as two clean speech corresponding to the wind noise library.

[0063] In the embodiment of the present invention, Figure 2 As shown, noise2 and speech3 are mixed according to the third preset mixed signal-to-noise ratio to obtain a third mixed file output3. Among them, the output3 contains three files clean_3, noise_3, and noisy_3, among which clean_3 is the clean speech speech3 before mixing, noise_3 is the corresponding noise selected from the wind noise library noise2 according to speech3, and the noisey_3 is the mixed noisy speech obtained by mixing the speech3 and noise2 according to the third preset mixed signal-to-noise ratio. Among them, since wind noise is generally stronger than ambient noise, the third preset mixed signal-to-noise ratio is relatively low, which can be, for example, [-10, -5, 0, 5, 10]. In the embodiment of the present invention, the names of the files in clean_3, noise_3 and noisy_3 need to correspond one to one.

[0064] Furthermore, if Figure 2 As shown, in the embodiment of the present invention, noise2 and speech4 are mixed according to the fourth preset mixed signal-to-noise ratio to obtain a fourth mixed file output4, wherein output4 contains three files clean_4, noise_4, and noisy_4, wherein clean_4 is the clean speech library speech4 before mixing, noise_4 is the corresponding noise selected from the noise library noise2 according to speech4, and noisy_4 is the mixed noisy speech obtained by mixing speech4 and noise2 according to the fourth preset mixed signal-to-noise ratio. The fourth preset mixed signal-to-noise ratio is lower than the third preset mixed signal-to-noise ratio, for example, it can be [-15, -10, -5, 0, 5]. In the embodiment of the present invention, the names of the files in clean_4, noise_4, and noisy_4 need to correspond one to one.

[0065] Furthermore, in an embodiment of the present invention, a mixed file corresponding to a low signal-to-noise ratio is selected from the two mixed files, and the mixed noisy speech in the selected mixed file is subjected to traditional noise reduction to replace the original mixed noisy speech, thereby obtaining an updated mixed file.

[0066] In the above embodiment, if the fourth preset mixed signal-to-noise ratio is lower than the third preset mixed signal-to-noise ratio, the fourth mixed file output4 is selected, and Figure 2 As shown, noisy_4 is subjected to traditional noise reduction to obtain noisy_44, and noisy_44 is replaced to obtain an updated fourth mixed file output4, which includes three files clean_4, noise_4, and noisy_44.

[0067] Similarly, if the lengths of the mixed noisy speech noisy_44 and clean_4 obtained after the traditional noise reduction are inconsistent, the embodiment of the present invention makes the data durations of noisy_44 and clean_4 consistent through truncation and other processing.

[0068] In detail, the mixed noisy speech is generated by the following method: if the noise is longer than the clean speech, a noise segment with the same duration as the clean speech is cut out from the noise to obtain the added noise; if the noise is shorter than the clean speech, the duration of the noise is repeatedly selected and added to the tail of the noise until it has the same duration as the clean speech to obtain the added noise; within a given signal-to-noise ratio range, the added noise is mixed with the clean speech to obtain the mixed noisy speech.

[0069] In S14, the data in all the mixed files obtained above are merged according to categories, and the merged audio data is stored in a training database.

[0070] In detail, as described above, each of the mixed files includes a clean speech library, a noise library, and a mixed noisy speech. In the embodiment of the present invention, the clean speech libraries in all the mixed files are merged to obtain a merged clean speech library, the noise libraries are merged to obtain a merged noise library, and the mixed noisy speech is merged to obtain a merged mixed noisy speech. The merged clean speech library, the merged noise library, and the merged mixed noisy speech are stored in the training database to complete the construction of the embedded AI speech denoising model database. In detail, as Figure 2As shown, in the embodiment of the present invention, since the overall data volume is not large, in order to improve the processing time, the corresponding outputs are respectively merged into a large wav file, that is, the clean_1 in the output1, the clean_2 in the output2, the clean_3 in the output3 and the clean_4 in the output4 are merged to obtain the clean.wav file, the wav in the four clean speech libraries are read out, and the head and tail are spliced ​​to form a large file clean.wav file, and the noise_1 in the output1, the noise_2 in the output2, the noise_3 in the output3 and the noise_4 in the output4 are merged to obtain the noise.wav file, and the noisey_1 in the output1, the noisy_22 in the output2, the noisy_3 in the output3 and the noisy_44 in the output4 are merged to obtain the noisy.wav file. As described above, in the embodiment of the present invention, the wav of each file in the four mixed files is read out, and the first splicing is performed to form a large wav file.

[0071] In another embodiment of the present invention, when the small AI model to be trained requires less training data, in the above S12, the environmental noise library noise1 can be further divided into two: small noise and large noise. Among them, the noise with a signal-to-noise ratio above 5dB is small noise, such as the noise in scenes such as conference rooms, and the noise with a signal-to-noise ratio below 5dB is a large noise signal, such as the noise in scenes such as stations. In this embodiment of the present invention, the small noise in the environmental noise library noise1 can be placed in the noise11 library, and the large noise can be placed in the noise12 library; and in the above S13, the small noise noise11 and speech1 are mixed according to the fifth preset mixed signal-to-noise ratio, such as [5,10,15,20] to obtain the fifth mixed file output5; and the large noise noise12 and speech2 are mixed according to the sixth preset mixed signal-to-noise ratio to obtain the sixth mixed file output6. The sixth preset mixed signal-to-noise ratio is lower than the fifth preset mixed signal-to-noise ratio, such as the sixth preset mixed signal-to-noise ratio can be [-10, -5, 0, 5, 10], and the mixed noisy speech in the sixth mixed file output6 is processed by traditional noise reduction. Such data can also improve the training effect of the small AI model.

[0072] It has been verified through experiments that after the AI ​​speech noise reduction model is trained using the training database obtained in the above embodiment of the present invention, the noise reduction effect of the obtained model is better. That is, as described in the above embodiment of the present application, half of the mixed noisy speech is first subjected to noise reduction by the traditional noise reduction method, and the other half of the mixed noisy speech is not subjected to noise reduction by the traditional noise reduction method. The training database obtained by mixing is then used to train the AI ​​audio noise reduction model, and the obtained AI noise reduction model has a better effect. Specifically, refer to Figure 3a As shown, it is the waveform file of the original noisy speech; Figure 3b The mixed noisy speech is not denoised by the traditional denoising method, but the AI ​​audio denoising model is directly trained, and the AI ​​audio denoising algorithm obtained denoises the original noisy speech and outputs the waveform file; Figure 3c The mixed noisy speech is first denoised by the traditional denoising method, and then the AI ​​audio denoising model is trained to obtain the waveform file output by the AI ​​audio denoising algorithm after the original noisy speech is denoised; Figure 3d Half of the mixed noisy speech is first denoised by the traditional noise reduction method, and the other half is not denoised by the traditional noise reduction method. The mixed training database is then used to train the AI ​​audio noise reduction model. The AI ​​audio noise reduction algorithm obtained then denoises the original noisy speech and outputs a waveform file. From the comparison of the above four figures, it can be seen that Figure 3d The noise reduction effect is best.

[0073] Furthermore, the training database obtained according to the embodiment of the present invention can be applied to the noise reduction training of headphones, and can also be applied to the model training of the recognition of wake-up words, keywords, command words, etc. in noisy scenes, that is, wake-up words, keywords, command words, etc. need to be denoised before recognition in a noisy environment. In this way, it is necessary to construct an effective AI training database. According to the present invention, the training database for such data is constructed, and there is also a good recognition effect. The step division of the above method is only for the purpose of clear description. When implemented, it can be combined into one step or some steps can be split and decomposed into multiple steps. In addition, the order of the steps of the above method can be changed, or they can be executed in parallel. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0074] This application also proposes a database construction device, referring to Figure 4 , Figure 4 A schematic diagram of the database construction device structure of the hardware operating environment involved in the embodiment of the present application.

[0075] like Figure 4As shown, the database construction device may include: a processor 301, such as a central processing unit (CPU), and a memory 302. Furthermore, the database construction device also includes a communication bus, a user interface, a network interface, etc. (not shown). Among them, the communication bus is used to realize the connection and communication between these components. The user interface may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface).

[0076] The memory 302 may be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (NVM), such as a disk memory. The memory 302 may also be a storage device independent of the processor 301 .

[0077] Those skilled in the art will understand that Figure 4 The structure shown in the figure does not constitute a limitation on the database construction device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0078] Optionally, the memory 302 is electrically connected to the processor 301, and the processor 301 can be used to control the operation of the memory 302, and can also read the data in the memory 302 to realize the construction of an embedded AI speech noise reduction model database.

[0079] Alternatively, if Figure 4 As shown, the memory 302 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a database construction program.

[0080] like Figure 4 As shown, the database construction device calls the database construction program stored in the memory 302 through the processor 301, and executes the relevant steps of the database construction method provided in the embodiment of the present application:

[0081] Dividing the noise library into N parts according to noise types, and dividing the clean speech library into 2N parts;

[0082] Each noise in the noise library is mixed with two clean voices in the clean voice library according to different signal-to-noise ratios to obtain two corresponding mixed files, wherein each of the mixed files includes the clean voice, the noise library, and a mixed noisy voice after the clean voice and the noise library are mixed, and the mixed noisy voice in one of the mixed files is subjected to traditional noise reduction to replace the original mixed noisy voice to obtain an updated mixed file;

[0083] The data in all the mixed files obtained above are merged according to categories, and the merged audio data is stored in the training database.

[0084] In addition, an embodiment of the present application further proposes a computer-readable storage medium, on which a database construction program is stored. When the database construction program is executed by a processor, the relevant steps of any embodiment of the database construction method described above are implemented.

[0085] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, equipment, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0086] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0087] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0088] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0089] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

[0090] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0091] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for constructing an embedded AI speech noise reduction model database, characterized in that: The method comprises: Divide the noise library into N parts according to the noise type, and divide the pure speech library into 2N parts; Mixing each noise in the noise library with two clean voices in the clean voice library at different signal-to-noise ratios to obtain two mixed files, wherein the data categories in each mixed file include the clean voice, noise, and mixed noisy voice obtained by mixing the clean voice and noise, and performing traditional noise reduction on the mixed noisy voice in one of the mixed files to obtain an updated mixed file; The data in all mixed files are merged according to the data categories, and the merged audio data is stored in the training database.

2. The method for constructing an embedded AI speech noise reduction model database according to claim 1, characterized in that: The noise types of the noise library include an environmental noise library and a wind noise library.

3. The method for constructing an embedded AI speech noise reduction model database according to claim 2, characterized in that: The N is 2; The method of dividing the noise library into N parts and the clean speech library into 2N parts according to the noise type includes: The noise library is divided into an environmental noise library and a wind noise library, and the clean speech library is divided into a first clean speech, a second clean speech, a third clean speech and a fourth clean speech according to the data volume of the environmental noise library and the wind noise library, wherein the first clean speech and the second clean speech match the data volume of the environmental noise library, and the third clean speech and the fourth clean speech match the data volume of the wind noise.

4. The method for constructing an embedded AI speech noise reduction model database according to claim 3 is characterized in that: The step of mixing each noise in the noise library with two clean voices in the clean voice library according to different signal-to-noise ratios to obtain two mixed files includes: Mixing the environmental noise library with the first clean speech according to a first preset mixed signal-to-noise ratio to obtain a first mixed file; Mixing the environmental noise library with the second clean speech according to a second preset mixed signal-to-noise ratio to obtain a second mixed file, wherein the second preset mixed signal-to-noise ratio is lower than the first preset mixed signal-to-noise ratio; Mixing the wind noise library with the third clean speech according to a third preset mixed signal-to-noise ratio to obtain a third mixed file, wherein the third preset mixed signal-to-noise ratio is equal to or lower than the second preset mixed signal-to-noise ratio; and The wind noise library and the fourth clean speech are mixed according to a fourth preset mixed signal-to-noise ratio to obtain a fourth mixed file, wherein the fourth preset mixed signal-to-noise ratio is lower than the third preset mixed signal-to-noise ratio.

5. The method for constructing an embedded AI speech noise reduction model database according to claim 3, characterized in that: The step of mixing each noise in the noise library with two clean voices in the clean voice library according to different signal-to-noise ratios to obtain two mixed files includes: Dividing the environmental noise library into small noise with a signal-to-noise ratio above a preset value and large noise with a signal-to-noise ratio below a preset value; Mixing the small noise with the first clean speech according to a fifth preset mixed signal-to-noise ratio to obtain a fifth mixed file; The loud noise is mixed with the second clean speech according to a sixth preset mixed signal-to-noise ratio to obtain a sixth mixed file, wherein the sixth preset mixed signal-to-noise ratio is lower than the fifth preset mixed signal-to-noise ratio.

6. The method for constructing an embedded AI speech noise reduction model database according to claim 4 or 5, characterized in that: The step of performing traditional noise reduction on the mixed noisy speech in one of the mixed files to obtain an updated mixed file comprises: A mixed file corresponding to a low signal-to-noise ratio is selected, and traditional noise reduction is performed on the mixed noisy speech in the selected mixed file to obtain an updated mixed file.

7. The method for constructing an embedded AI speech noise reduction model database according to claim 1, characterized in that: The mixed noisy speech is generated by the following method: If the noise data in the noise library is longer than the clean speech, a noise segment with the same length as the clean speech is cut from the noise data to obtain added noise; If the noise data in the noise library is shorter than the clean speech, repeat the duration of the noise data and add it to the tail of the noise until it has the same duration as the clean speech to obtain added noise; Within a given signal-to-noise ratio range, the added noise is mixed with the clean speech to obtain a mixed noisy speech.

8. The method for constructing an embedded AI speech noise reduction model database according to claim 1, characterized in that: The ratio of the number of the clean speech library to the number of the noise library is greater than 15:

1.

9. A database construction device, characterized in that: It includes a memory, a processor, and a database construction program stored in the memory and executable on the processor. When the processor executes the database construction program, the steps of the embedded AI speech noise reduction model database construction method as described in any one of claims 1 to 8 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a database construction program, and when the database construction program is executed by the processor, the steps of the embedded AI speech noise reduction model database construction method as described in any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Neural network training method, voice noise reduction method, equipment and storage medium

    CN119152871A

  • Method and system for voice protection, and training method of voice protection model

    TWI911038B