Speech enhancement model training, recognition method, electronic device and storage medium

Through the multi-task fusion speech enhancement model training method, the neural network is used to process echo, reverberation and noise, which solves the shortcomings of non-linear echo and mutation noise processing in the existing technology, and achieves better speech enhancement effect and efficient algorithm integration. .

CN114283795BActive Publication Date: 2024-08-23AISPEECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111680514.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2024-08-23
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

Existing technologies have deficiencies in echo cancellation, dereverberation and noise suppression. They cannot effectively handle nonlinear echoes, long-term signal estimation and mutation noise, and each algorithm module cannot be integrated into a single module.

Method used

Using a multi-task fusion speech enhancement model training method, the neural network learns the nonlinear distortion characteristics of the hardware system, combines echo signals, reverberated speech and real noise to generate noisy signals, and trains the neural network model to achieve echo cancellation and demixing sound and noise suppression.

Benefits of technology

It improves the suppression of residual nonlinear echoes, improves the dereverberation and noise reduction effects, and enables a single model to complete multiple speech enhancement tasks. The algorithm integration is simple and efficient, and the maintenance cost is low.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114283795B
    Figure CN114283795B
Patent Text Reader

Abstract

The present invention discloses a training method for a multi-task fusion speech enhancement model, which includes obtaining an echo signal source, clean speech and real noise. Obtaining reverberant speech and noisy signals. Obtaining training labels for a neural network to be trained. Training and obtaining a speech enhancement model. The embodiment of the present invention can improve the degree of suppression of residual nonlinear echoes by learning the nonlinear distortion characteristics introduced by the hardware system through a neural network. By utilizing the advantages of neural networks over traditional linear prediction and noise estimation algorithms, better dereverberation and noise reduction effects can be obtained. A single model can complete multiple speech enhancement tasks, and the algorithm integration is simple and efficient, with low maintenance costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of speech processing and recognition, and in particular relates to the training of a speech enhancement model, a recognition method, an electronic device and a storage medium. Background Art

[0002] In the prior art, echo cancellation refers to estimating the transfer path function using a microphone and a reference sound (echo signal source), and then subtracting the estimated echo from the microphone signal to achieve echo suppression. De-reverberation refers to estimating the late reverberation using linear prediction, and then subtracting the late reverberation signal from the original signal to obtain a mixed signal of the direct sound and the early reverberation. Environmental noise suppression refers to estimating the noise using a noise estimation algorithm and then removing it.

[0003] Echo cancellation cannot estimate the nonlinear distortion of hardware systems (such as speakers). Therefore, echo cancellation will result in a lot of residual echo (nonlinear part) that cannot be removed in systems with large nonlinear distortion. For environments with large reverberation, the dereverberation algorithm needs a long time to accurately estimate the signal and take effect. Therefore, the increase in data volume will cause the processor's computing power to increase exponentially. In addition, the effect of the dereverberation algorithm will also be significantly reduced in a noisy environment.

[0004] The environmental noise suppression algorithm has the problem of inaccurate noise estimation, and cannot accurately and timely estimate the sudden non-stationary noise, such as cat and dog barking, door opening and closing, etc. In addition, each of the above algorithm modules is relatively independent and cannot be integrated into a single module.

[0005] The inventors found that after the echo cancellation is converted into the time-frequency domain, the frequency points are considered to be unrelated, which is inconsistent with the nonlinear distortion of the hardware, because the frequency points of the nonlinear distortion are related to each other. In the dereverberation speech signal observation model, it is assumed that the observed signal does not contain noise. Therefore, when the observed signal contains noise, the noise may cause the filter performance to deteriorate.

[0006] Traditional noise estimation algorithms, such as minimum tracking algorithm, time recursive averaging algorithm, histogram-based algorithm, etc., are based on the assumption that the noise in the analysis time period is more stable than the speech, that is, the noise changes slower than the speech, so it is impossible to accurately and timely estimate the sudden non-stationary noise. In addition, there are certain differences in the mathematical models, assumptions, and optimization goals of these different algorithm modules, so it is impossible to merge these algorithms into a unified algorithm.

[0007] At the same time, the traditional signal processing solution is based on rigorous mathematical derivation and is the optimal solution in a statistical sense. Therefore, it has good and stable performance in scenarios that meet the algorithm assumptions. This is also the reason why most industries choose traditional signal processing solutions. In recent years, the technology of artificial intelligence neural networks has developed rapidly, and has shown a trend of being superior to traditional technologies in many fields and scenarios. Summary of the invention

[0008] The embodiments of the present invention aim to solve at least one of the above technical problems.

[0009] In a first aspect, an embodiment of the present invention provides a training method for a multi-task fusion speech enhancement model, which includes: obtaining an echo signal source and a clean speech. Clean speech is speech with only the speaker's voice and no reverberation / near field. The reverberation time, the first room impulse response and the second room impulse response in multiple room spaces are obtained. Real noise is obtained. A simulated echo is obtained according to the echo signal source, the first room impulse response. The reverberated speech is obtained according to the clean speech and the second room impulse response. According to a preset signal-to-echo ratio / signal-to-noise ratio range, the simulated echo, the reverberated speech and the real noise are superimposed to obtain a noisy signal. An error signal and an estimated echo / echo signal source are estimated according to the noisy signal. The direct signal of the second room impulse response and its early reverberation are saved as a third impulse response. The clean speech is convolved with the third response to obtain a training label of a neural network to be trained. The error signal and one or more speech features of the estimated echo / echo signal source are used as input training for the neural network model to be trained. The speech / noise masking value, the speech / noise amplitude spectrum, and the speech / noise complex spectrum are used as output training for the neural network model to be trained. A speech enhancement model is obtained.

[0010] In a second aspect, an embodiment of the present invention provides an electronic device comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any one of the above-mentioned training methods for the multi-task fusion speech enhancement model of the present invention.

[0011] In a third aspect, an embodiment of the present invention provides a storage medium, in which one or more programs including execution instructions are stored, and the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to execute any of the above-mentioned training methods of the multi-task fusion speech enhancement model of the present invention.

[0012] In a fourth aspect, an embodiment of the present invention further provides a computer program product, comprising a computer program stored on a storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer executes any one of the above-mentioned training methods for the multi-task fusion speech enhancement model.

[0013] The embodiment of the present invention can improve the degree of suppression of residual nonlinear echo by learning the nonlinear distortion characteristics introduced by the hardware system through a neural network. By taking advantage of the advantages of neural networks over traditional linear prediction and noise estimation algorithms, better dereverberation and noise reduction effects can be obtained. A single model can complete multiple speech enhancement tasks, and the algorithm integration is simple and efficient, with low maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0015] Figure 1 A flowchart of an embodiment of a method for training a multi-task fusion speech enhancement model of the present invention;

[0016] Figure 2 A flowchart of an embodiment of a speech enhancement recognition method of the present invention;

[0017] Figure 3 It is a schematic structural diagram of an embodiment of an electronic device of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0020] The present invention may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0021] In the present invention, "module", "device", "system" and the like refer to related entities applied to computers, such as hardware, a combination of hardware and software, software or software in execution, etc. In detail, for example, an element can be, but is not limited to, a process, a processor, an object, an executable element, an execution thread, a program and / or a computer running on a processor. In addition, an application or script program running on a server, a server can all be an element. One or more elements can be in an execution process and / or thread, and an element can be localized on a computer and / or distributed between two or more computers, and can be operated by various computer-readable media. An element can also communicate through local and / or remote processes according to a signal with one or more data packets, for example, a signal from a data that interacts with another element in a local system, a distributed system, and / or a network on the Internet through a signal to interact with other systems.

[0022] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include" and "comprise" include not only those elements, but also other elements not explicitly listed, or also include elements inherent to such processes, methods, articles or equipment. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or equipment that includes the elements.

[0023] The embodiment of the present invention provides a method for training and recognizing a speech enhancement model, which can be applied to an electronic device. The electronic device can be a computer, a server, or other electronic products, etc., which is not limited in the present invention.

[0024] Please refer to Figure 1 , which shows a training method for a multi-task fusion speech enhancement model provided by an embodiment of the present invention, which includes the steps of:

[0025] Step S101, obtaining an echo signal source, clean speech and real noise.

[0026] In this step, the echo signal source and clean speech are obtained. Clean speech is speech with only the speaker's voice without reverberation / near field. The reverberation time, first room impulse response and second room impulse response in various room spaces are obtained. The real noise is obtained.

[0027] Step S102, obtaining reverberant speech and noisy signal.

[0028] In this step, simulated echo is obtained according to the echo signal source and the impulse response of the first room. Reverberant speech is obtained according to the clean speech and the impulse response of the second room. According to the preset signal-to-echo ratio / signal-to-noise ratio range, the simulated echo, reverberant speech and real noise are superimposed to obtain a noisy signal.

[0029] Step S103, obtaining a training label of the neural network to be trained.

[0030] In this step, the error signal and the echo / echo signal source are estimated based on the noisy signal. The direct signal of the second room impulse response and its early reverberation are saved as the third impulse response. The clean speech is convolved with the third response to obtain the training label of the neural network to be trained.

[0031] Step S104: training and acquiring a speech enhancement model.

[0032] In this step, the error signal and one or more speech features of the estimated echo / echo signal source are used as input training for the neural network model to be trained. The speech / noise masking value, speech / noise amplitude spectrum, and speech / noise complex spectrum are used as output training for the neural network model to be trained. A speech enhancement model is obtained.

[0033] In some optional embodiments, in step S102 of the training method of the multi-task fusion speech enhancement model of the present invention, the step of obtaining a simulated echo according to the echo signal source and the first room impulse response includes:

[0034] The echo signal source is simulated by a nonlinear simulation algorithm; the simulation result is convolved with the first room impulse response to obtain a first convolution result; and the spatial frequency response is modulated with the first convolution result to obtain a simulated echo.

[0035] In some optional embodiments, in step S102 of the training method of the multi-task fusion speech enhancement model of the present invention, the step of obtaining the reverberant speech according to the clean speech and the second room impulse response includes: convolving the clean speech with the second room impulse response to obtain a second convolution result. Then, the spatial frequency response modulates the second convolution result to obtain the reverberant speech.

[0036] In some optional embodiments, the speech features include: FFT fast Fourier transform frequency point / subband amplitude spectrum / complex spectrum, Mel domain / Bark domain Fbank, MFCC Mel frequency cepstrum coefficients.

[0037] In some optional embodiments, step S104 of the training method of the multi-task fusion speech enhancement model of the present invention also includes: splicing the speech features of the error signal and the estimated echo / echo signal source; splicing forward a first set number of frames, currently a second set number of frames, and backward a third set number of frames; further optionally, performing CMVN feature mean variance normalization on the splicing results of the speech features of the error signal and the estimated echo / echo signal source.

[0038] In some optional embodiments, the neural network model to be trained is a combination of one or more neural network models including DNN deep neural network, CNN convolutional neural network, LSTM long short-term memory neural network, FSMN feedforward sequence neural network, RNN recurrent neural network, GRU gate recurrent unit, DCNN deconvolution neural network, and GCN graph convolutional neural network.

[0039] In some optional embodiments, a loss function is set in the neural network model to be trained; the loss function performs norm calculations on the training labels, the speech / noise masking values, the speech / noise amplitude spectrum and the speech / noise complex spectrum output by the model, and / or a combination of one or more of the SNR speech signal-to-noise ratio, the PESQ objective speech quality, and the STOI short-time objective intelligibility.

[0040] Meanwhile, another aspect of the present invention further provides a method for recognizing speech enhancement, wherein the method for recognizing speech enhancement is implemented by a multi-task fusion speech enhancement model obtained by the training method of the multi-task fusion speech enhancement model. Figure 2 As shown, including:

[0041] Step S201, acquiring input features.

[0042] The original microphone signal and the loop reference sound are obtained; the error signal and the estimated echo / echo signal source are estimated through echo cancellation linear layer calculation; the speech features of each frame are obtained for the error signal and the estimated echo / echo signal source respectively; the speech features are consistent with the speech features input during the training of the multi-task fusion speech enhancement model.

[0043] Step S202, obtaining a speech / noise masking value, an amplitude spectrum or a complex spectrum.

[0044] In this step, the model forward calculates and obtains the speech / noise masking value, amplitude spectrum or complex spectrum at each frequency point in each frame.

[0045] Step S203, obtaining output features.

[0046] If the output is a speech / noise masking value, multiply the output result by the noisy amplitude spectrum, and then multiply it by the phase spectrum of the noisy speech to get the denoised speech spectrum. If the output is a speech / noise amplitude spectrum, multiply the output result by the phase spectrum of the noisy speech to get the denoised speech spectrum. If the output is a speech / noise complex spectrum, the output is the denoised speech spectrum.

[0047] Step S204: performing time-frequency conversion on the noise reduction spectrum to obtain noise reduction speech.

[0048] In another embodiment of the present invention, the training method of the speech enhancement model based on the multi-task fusion neural network in the present invention includes the following aspects:

[0049] Task 1: Echo cancellation: The error signal and estimated echo / echo signal source estimated by the traditional echo cancellation linear layer are used as the neural network input, and the near-end clean speech without any residual echo is used as the neural network training label.

[0050] Task 2: De-reverberation: The late reverberation of speech is regarded as noise, the reverberation signal is used as the neural network input, and the mixed signal of direct sound and early reverberation is used as the neural network training label.

[0051] Task 3: Environmental noise suppression: Use noisy speech as neural network input and clean speech as neural network training label.

[0052] By fusing the three inputs and training labels and combining them with neural network training, a single speech enhancement neural network can be obtained, which can simultaneously complete the three speech enhancement tasks of echo cancellation, dereverberation, and environmental noise suppression.

[0053] In one embodiment, the training and recognition method of the speech enhancement model of the present invention includes:

[0054] 1. Data preparation:

[0055] 1.1. Use open source data (human voice, music, etc.) to simulate the signal source of the echo and clean speech 2. Echo simulation algorithm, including linear and nonlinear parts 3. Simulate the reverberation time and room impulse response of various room sizes to simulate the echo transmission path and voice reverberation 4. Record real noise in various noise scenes.

[0056] 1.2. Add linear and nonlinear simulation to the echo signal source, then convolve the room impulse response 1, and then perform spatial frequency response modulation to obtain simulated echo. Convolve the clean voice with the room impulse response 2, and then perform spatial frequency response modulation to obtain reverberant voice. Then, according to the preset signal-to-echo ratio / signal-to-noise ratio range, superimpose the simulated echo with the reverberant voice and the real noise to obtain a noisy signal. Then, the noisy signal is estimated through the echo elimination linear layer to obtain the error signal and the estimated echo as the neural network input. The direct signal of the room impulse response 2 and the data of tens of milliseconds (usually about 50ms) after it are saved as impulse response 3, which contains the information of direct sound and early reverberation. The voice obtained by convolving the room impulse response 3 with the same clean voice is used as the neural network training label.

[0057] 2. Set up the neural network model:

[0058] By extracting speech features of noisy speech, such as FFT: fast Fourier transform frequency point / subband amplitude spectrum / complex spectrum, Mel domain / Bark domain Fbank: filter bank filter bank, MFCC: melfrequency cepstrum coefficient Mel frequency cepstrum coefficient and other one or a combination of multiple features as the input of model training.

[0059] Because speech is continuous in time, the model effect will be improved after the model input is processed by splicing frames forward and backward. However, splicing frames backward will cause delay problems, so more frames can be spliced ​​forward and fewer frames can be spliced ​​backward. For example, within the range that the human ear cannot perceive, the delay is as large as possible to ensure performance, usually within tens of milliseconds.

[0060] For example, the frame shift is 10ms, 2 frames are spliced ​​forward, 1 frame is currently spliced, and 1 frame is spliced ​​backward, resulting in a total of 4 frames of feature input. The delay at this time is 1 frame of overlapping signal processing and 1 frame of backward splicing, a total of 2 frames of 20ms. This delay is small and will not cause obvious differences in listening or affect the double-speaking situation. In addition, the model can also choose whether to perform CMVN on the input features: cepstral mean and variance normalization. When turned on, the model is insensitive to the absolute amplitude of the input data, which is conducive to model convergence and also conducive to small-amplitude speech in the far field.

[0061] There are many types of models to choose from, such as DNN: deep neural networks, CNN: convolutional neural networks, LSTM: long short term memory, FSMN: feedforward sequential memory networks, RNN: reccurrent neural networks, GRU: gate recurrent unit, DCNN: de-convolutional neural networks, GCN: graph convolutional networks, etc. Since the computing power and storage space of some devices such as portable devices (such as headphones and watches) are relatively limited, the model type, number of layers and size need to be determined based on actual conditions.

[0062] Usually the speech / noise masking value G is selected speech / noise , Speech / noise amplitude spectrum A speech / noise , speech / noise complex spectrum C speech / noise etc. as labels for model training. Then, in the loss function, the L1 / smooth L1 / L2 norms of the labels and the masking values / amplitude spectra / complex spectra of the speech and / or noise output by the model are calculated, or "end-to-end" indicators such as speech signal-to-noise ratio, objective speech quality assessment, and short-time objective intelligibility are selected. Finally, after various deep learning tools and optimizers, a large amount of data (usually more than 1000 to 2000 hours) is used to train the model, and the model converges after multiple rounds. The converged model has the ability to accurately estimate human voices in various nonlinear residual echoes, reverberation, and noisy environments, thereby extracting clean human voices.

[0063] In one embodiment of the present invention, the implementation steps of the training method of the speech enhancement model are:

[0064] First, the original microphone signal and loop reference sound are obtained, and then the echo cancellation linear layer calculation is performed to estimate the error signal and estimated echo. The features of each frame are calculated for the error signal and the estimated echo respectively. The features are completely consistent with those during model training, such as frequency range, dimension, pre-emphasis, splicing, CMVN: cepstral mean and variance normalization, etc., and then input into the pre-trained neural network model. The model forward calculates the speech / noise masking value G at each frequency point in each frame. speech / noise tif Or the amplitude spectrum Aspeech / noise tif Or the complex spectrum C speech / noise tif , where t = 10, 20 ... ms; i = 1, 2 ... n; f = 0, 50, 100 ... 8000 Hz. If the speech / noise masking value G speech / noise tif , G speech tif or (1-G noise tif ) multiplied by the noisy amplitude spectrum, and then multiplied by the phase spectrum of the noisy speech to obtain the noise-reduced speech spectrum; if it is the speech / noise amplitude spectrum A speech / noise tif , A speech tif or (A 带噪语谱tif -A noise tif ) multiplied by the phase spectrum of noisy speech is the noise-reduced speech spectrum; if it is the speech / noise complex spectrum C speech / noise tif , C speech tif or (C 带噪语谱tif -C noise tif ) is the noise reduction spectrum. Finally, the noise reduction spectrum is converted into a time-frequency spectrum to obtain the noise reduction speech.

[0065] Optionally, the neural network model can support multi-channel microphone input, and use some neural network modules such as CNN: convolutional neural networks, GCN: graph convolutional networks, Attention Layer, etc. to learn the relevant information between channels, which can achieve better results than single-channel.

[0066] In summary, this patent can greatly improve the degree of suppression of residual nonlinear echoes while retaining the near-end speech during double speaking by learning the nonlinear distortion characteristics of the hardware system through neural network. By taking advantage of the advantages of neural networks over traditional linear prediction and noise estimation algorithms, better dereverberation and noise reduction effects can be obtained: low speech distortion, high clarity / intelligibility, noise suppression, etc. A single model can complete multiple speech enhancement tasks, and the algorithm integration is simple and efficient, with low maintenance costs.

[0067] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of combined actions, but those skilled in the art should be aware that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention. In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0068] In some embodiments, an embodiment of the present invention provides a non-volatile computer-readable storage medium, which stores one or more programs including execution instructions, and the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to execute any of the above-mentioned multi-task fusion speech enhancement model training methods of the present invention.

[0069] In some embodiments, an embodiment of the present invention further provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes any one of the above-mentioned training methods for the multi-task fusion speech enhancement model.

[0070] In some embodiments, an embodiment of the present invention also provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to train and recognize a speech enhancement model.

[0071] Figure 3 FIG. 1 is a schematic diagram of the hardware structure of an electronic device for a method for training and recognizing a speech enhancement model provided in another embodiment of the present application. Figure 3 As shown, the device includes:

[0072] One or more processors 310 and memory 320, Figure 3 A processor 310 is taken as an example.

[0073] The apparatus for the speech enhancement model training and recognition method may further include: an input device 330 and an output device 340 .

[0074] The processor 310, the memory 320, the input device 330 and the output device 340 may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.

[0075] The memory 320, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the training method of the multi-task fusion speech enhancement model in the embodiment of the present application. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, the training method of the multi-task fusion speech enhancement model in the above method embodiment is realized.

[0076] The memory 320 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of a training device for a multi-task fusion speech enhancement model, etc. In addition, the memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 320 may optionally include a memory remotely arranged relative to the processor 310, and these remote memories may be connected to the training device for a multi-task fusion speech enhancement model via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0077] The input device 330 can receive input digital or character information and generate signals related to user settings and function control of the training device of the multi-task fusion speech enhancement model. The output device 340 can include a display device such as a display screen.

[0078] The one or more modules are stored in the memory 320, and when executed by the one or more processors 310, the training method of the multi-task fusion speech enhancement model in any of the above method embodiments is performed.

[0079] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.

[0080] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:

[0081] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.

[0082] (2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, etc.

[0083] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0084] (4) Other onboard electronic devices with data interaction functions, such as on-board devices installed in vehicles.

[0085] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0086] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A training method for a multi-task fusion speech enhancement model, comprising: Acquire an echo signal source and clean speech; the clean speech is reverberation-free / near-field speech containing only the speaker's voice; Obtain reverberation time, first room impulse response and second room impulse response in various room spaces; obtain real noise; Acquire a simulated echo according to the echo signal source and the first room impulse response; acquire a reverberated voice according to the clean voice and the second room impulse response; and obtain a noisy signal by superimposing the simulated echo, the reverberated voice and the real noise according to a preset signal-to-echo ratio / signal-to-noise ratio range; Estimate an error signal and an estimated echo / echo signal source according to the noisy signal; save the direct signal of the second room impulse response and its early reverberation as a third impulse response; convolve the clean speech with the third impulse response to obtain a training label of the neural network to be trained; The error signal and one or more speech features of the estimated echo / echo signal source are used as input training for the neural network model to be trained; the speech / noise masking value, speech / noise amplitude spectrum, and speech / noise complex spectrum are used as output training for the neural network model to be trained; and a speech enhancement model is obtained.

2. The training method according to claim 1, wherein: The step of obtaining a simulated echo according to the echo signal source and the first room impulse response comprises: The echo signal source is simulated by a nonlinear simulation algorithm; the simulation result is convolved with the first room impulse response to obtain a first convolution result; and the spatial frequency response is modulated with the first convolution result to obtain a simulated echo.

3. The training method according to claim 1, wherein: The step of acquiring the reverberant speech according to the clean speech and the second room impulse response comprises: The clean speech is convolved with the second room impulse response to obtain a second convolution result; and then the spatial frequency response is modulated to obtain the reverberant speech.

4. The training method according to claim 1, wherein the speech features include: FFT fast Fourier transform frequency point / subband amplitude spectrum / complex spectrum, Mel domain / Bark domain Fbank, MFCC Mel frequency cepstrum coefficients.

5. The training method according to claim 1, wherein: The step of using the error signal and one or more speech features of the estimated echo / echo signal source as input for training the neural network model to be trained includes: The speech features of the error signal and the estimated echo / echo signal source are spliced; a first set number of frames are spliced ​​forward, a second set number of frames are spliced ​​currently, and a third set number of frames are spliced ​​backward; and the splicing results of the speech features of the error signal and the estimated echo / echo signal source are normalized by CMVN feature mean variance.

6. The training method according to claim 1, wherein: The neural network model to be trained is a combination of one or more neural network models including DNN deep neural network, CNN convolutional neural network, LSTM long short-term memory neural network, FSMN feedforward sequence neural network, RNN recurrent neural network, GRU gated recurrent unit, DCNN deconvolution neural network, and GCN graph convolutional neural network.

7. The training method according to claim 1, wherein: A loss function is set in the neural network model to be trained; the loss function performs norm calculation on the training label, the speech / noise masking value output by the model, the speech / noise amplitude spectrum and the speech / noise complex spectrum, and / or a combination of one or more of SNR speech signal-to-noise ratio, PESQ objective speech quality, and STOI short-time objective intelligibility.

8. A speech enhancement recognition method, wherein: The recognition method is implemented by a multi-task fusion speech enhancement model obtained as claimed in any one of claims 1 to 7; the speech enhancement recognition method comprises: Acquire the original microphone signal and loop reference sound; estimate the error signal and the estimated echo / echo signal source through echo cancellation linear layer calculation; obtain the speech features of each frame for the error signal and the estimated echo / echo signal source respectively; the speech features are consistent with the speech features input during the training of the multi-task fusion speech enhancement model; The model forward calculates the speech / noise masking value, amplitude spectrum or complex spectrum at each frequency point in each frame; If the output is a speech / noise masking value, the output result is multiplied by the noisy amplitude spectrum and then multiplied by the phase spectrum of the noisy speech to obtain the noise-reduced speech spectrum; If the output is the speech / noise amplitude spectrum, then multiplying the output result by the phase spectrum of the noisy speech is the noise-reduced speech spectrum; If the output is a speech / noise complex spectrum, the output is a denoised spectrum; The noise-reduced spectrum is converted into a time-frequency spectrum to obtain the noise-reduced speech.

9. An electronic device, comprising: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any one of claims 1 to 7.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.