A speech denoising method based on deep learning

By incorporating variational autoencoders and attention mechanisms into the LSTM algorithm, the problem of insufficient analysis of noisy speech data in existing technologies is solved, achieving more effective speech denoising and noise separation, and improving the clarity of speech data.

CN117877505BActive Publication Date: 2026-11-2010TH RES INST OF CETC +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311709812.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-12
Publication Date
2026-11-20
Estimated Expiration
2043-12-12

AI Technical Summary

Technical Problem

Existing deep learning-based speech denoising methods fail to fully analyze and mine noisy speech data, and the network models are too simple to effectively represent data features.

Method used

A variational autoencoder is added to the LSTM algorithm, combined with an attention mechanism, to extract noise data features and add them to the noise reduction process during training. The data is then re-encoded and decoded by the encoder and decoder to finally obtain clear original speech data.

Benefits of technology

Effective separation and suppression of noise data improves the prediction performance of speech denoising models, and the quality of denoised speech is improved by focusing on noise feature information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117877505B_ABST
    Figure CN117877505B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of voice noise reduction, and discloses a voice noise reduction method based on deep learning, wherein in a training process, feature information of noise data is extracted, and the feature information is added as a reference to a noise reduction process, and finally clear original voice data after noise reduction is obtained. The application solves the problems that in the prior art, noisy voice data cannot be sufficiently analyzed and mined, and data features cannot be sufficiently analyzed and represented.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of speech denoising technology, specifically a speech denoising method based on deep learning. Background Technology

[0002] Existing speech denoising solutions, especially those based on deep learning, typically focus on reconstructing clear speech data from noisy speech data—that is, noise-free original audio data. These studies neglect the impact of noise in deep learning methods, resulting in noisy speech data not being fully analyzed and utilized.

[0003] Meanwhile, when analyzing time-series data such as speech data, most methods only use recurrent neural networks such as RNN and LSTM, which have relatively simple network models and cannot fully analyze and represent the data features. Summary of the Invention

[0004] To overcome the shortcomings of existing technologies, this invention provides a speech denoising method based on deep learning, which solves the problems of existing technologies such as the failure to fully analyze and mine noisy speech data and the inability to fully analyze and represent data features.

[0005] The technical solution adopted by the present invention to solve the above problems is:

[0006] A deep learning-based speech denoising method extracts feature information from noise data during training and adds this feature information as a reference to the denoising process, ultimately obtaining clear original speech data after denoising.

[0007] As a preferred technical solution, a variational autoencoder calculation method is added to the LSTM algorithm to re-encode the data, mine the hidden feature information in the training data, put the hidden feature information into the LSTM network for training, and finally decode it to obtain the noise-reduced speech data.

[0008] As a preferred technical solution, the steps include:

[0009] S1, Define a speech dataset D, which includes N segments of noisy speech data x of equal duration. i , and N segments with x i Corresponding clear original audio data y i x i With y i The time lengths are equal;

[0010] S2, for input data x i,n Place them separately Attention mechanism calculation is performed to re-represent the input data. and

[0011] Where, x i,n x represents i Several data segments are extracted using a sliding window method, x i x represents a segment of speech data containing noise. i ∈D1, 1≤i≤N, sliding window size L window and sliding distance L length Set to L, i.e., L window =L length =L, where L is a hyperparameter; n represents the number of data segments to be extracted. This represents the attention mechanism algorithm function used to extract clear speech data; This represents the attention mechanism algorithm function used to extract noisy data. express The output feature information vector, express The output feature information vector;

[0012] S3, will Input to encoder structure Calculations were performed to obtain Will Input to encoder structure Calculations were performed to obtain At this time Perform an attention mechanism calculation and add the output feature result to the feature set. middle;

[0013] in, This represents the encoder computation function used to extract feature information from clear speech data. This represents the encoder computation function used to extract feature information from noise. express The output feature information vector, express The output feature information vector;

[0014] S4, Input to LSTM network Training Will Input to LSTM network Training

[0015] in, This represents the LSTM computation function used to extract feature information from clear speech data. express The output feature information vector, This represents the LSTM computation function used to extract feature information from noise. express The output feature information vector.

[0016] S5, Input to decoder structure Calculations were performed to obtain Will Input to decoder structure Calculations were performed to obtain At this time Perform an attention mechanism calculation and add the output feature result to the feature set. middle;

[0017] in, This represents the decoder computation function used to extract feature information from clear speech data. express The output feature information vector, This represents the decoder computation function used to extract feature information from the noise. express The output feature information vector;

[0018] S6, grouping voice segments Concatenate them in order to form y i,1 Grouping audio segments Concatenate them in order to form y i,2 The two output results y i,1 y i,2 With input data x i Consistent data dimensions;

[0019] Among them, y i,1 For clear, original audio data after noise reduction, y i,2 Input data x i The noise data contained therein.

[0020] As a preferred technical solution, in step S2, attention mechanism calculation is performed on the input data, and the calculation formula is as follows:

[0021]

[0022] a n1 (n2)=exp(score(x i,n1 x i,n2 ))=exp(x i,n1 ·xi,n2 n1≠n2

[0023] Where, x i,n1 For the current input data x i,n A certain segment of data, x i,n2 Input data x i,n Dividing x i,n1 External data segment, a n1 (n2) is x i,n1 With x i,n2 The attention calculation value, a′ n1 (n2) represents the weighted x i,n1 With x i,n2 Attention calculation value;

[0024] Get a′ n1 After (n2), the new x′ can be calculated. i,n1 The calculation for x is completed using the following formula. i,n1 Re-representation:

[0025] x′ i,n1 =x i,n1 +W Att ∑a′ n1 (n2)x i,n2

[0026] Where, x′ i,n1 x represents i,n1 The feature vector W calculated using the attention mechanism Att These are trainable parameters;

[0027] From the above calculations, we can obtain:

[0028]

[0029]

[0030] in, This represents the attention mechanism function used to extract feature information from clear speech data. This represents the attention mechanism function used to extract feature information from noise.

[0031] As a preferred technical solution, in step S3, the obtained and The input is fed into the encoder structure for calculation, and the calculation formula is as follows:

[0032] x = ReLU(Liner(x))

[0033] μ = Liner(x)

[0034] σ = exp(Liner(x))

[0035] z = Sample(μ, σ)

[0036] Where x is the input vector, ReLU(·) is the activation function, Liner(·) is the linear function, μ is the mean, σ is the variance, Sample(·) is the sampling function, and z is the latent feature vector with randomness;

[0037] From the above calculations, we can obtain:

[0038]

[0039]

[0040] As a preferred technical solution, in step S3, for Perform an attention mechanism calculation and add the output feature result to the feature set. middle;

[0041] The calculation process is as follows:

[0042]

[0043] Where β is a hyperparameter, This is the attention mechanism function for the first extraction of reference feature information from the noise.

[0044] As a preferred technical solution, in step S4, the following steps are performed: and The input is fed into the LSTM network for training. The LSTM unit structure includes a forget gate, an input gate, an output gate, and a cell state.

[0045] As a preferred technical solution, in step S4,

[0046] Forgotten Gate f t Determines whether information in the cell state is lost: the input data for this gate includes the input data x at time t. t And the hidden vector h from the previous time step t-1. t-1 Feedback to cell state c t-1 Forgotten Gate t The calculation formula is as follows:

[0047] f t =σ(W f [x t , h-1 ]+b f )

[0048] Input gate i t The data that determines the cell state needs to be updated; input gate i tThe calculation formula is as follows:

[0049] i t =σ(W i [x t h t-1 ]+b i )

[0050] Update cell state c t The cell state c at the previous time step t-1 t-1 with f t Multiply, discarding information that needs to be forgotten, and then add the new cell state; cell state c t The calculation formula is as follows:

[0051] c t =f t c t-1 +i t ×(tanh(W c [x t h t-1 ]+b c ))

[0052] Output gate o t Determines the output cell state, output gate o t The calculation formula is as follows:

[0053] o t =σ(W o [x t h t-1 ]+b o )

[0054] Finally, calculate the hidden vector h at time t. t h t The calculation formula is as follows:

[0055] h = o t ×tanh(c t )

[0056] Based on the above calculations:

[0057]

[0058]

[0059] Where t represents a time in the time series data, t-1 is the time before time t, the value of t ranges from [1, n], and n represents the number of data segments in the input data, f t This represents the output information of the forget gate at time t, i t This represents the input gate output information at time t, o tc represents the output information of the output gate at time t in the LSTM. t This represents the cell state output information at time t;

[0060] x t This represents the data at time t in the time series data, i.e., the t-th segment of the input data, with a dimension of n. x ×1,n x For hyperparameters;

[0061] h t-1 c represents the hidden vector data from the previous time step t-1. t-1 This represents the cell state vector data at the previous time step t-1; for t=1, h0 is defined as having dimension n. h A random initial vector of dimension n × 1, where c0 is defined as n. h A random initial vector of size ×1, n h For hyperparameters;

[0062] W f This represents the trainable parameter matrix for forget gate computation, with dimension n. h ×(n x +n h ), b f This represents the trainable parameter vector for the forget gate computation, with dimension n. h ×1;

[0063] W i This represents the trainable parameter matrix for input gate computation, with dimension n. h ×(n x +n h ), b i This represents the trainable parameter vector for input gate computation, with dimension n. h ×1;

[0064] W c The trainable parameter matrix representing cell state computation has dimension n. h ×(n x +n h ), b c The vector of trainable parameters representing cell state computation, with dimension n. h ×1;

[0065] W o This represents the trainable parameter matrix for output gate computation, with dimension n. h ×(n x +n h ), b o This represents the trainable parameter vector for output gate computation, with dimension n. h ×1.

[0066] As a preferred technical solution, in step S5,

[0067] Will and The input is fed into the decoder structure for calculation, using the following formula:

[0068] x = ReLU(Liner(x))

[0069] x = Sigmoid(Liner(x))

[0070] Where ReLU(·) is the ReLU activation function and Sigmoid(·) is the Sigmoid activation function;

[0071] From the above calculations, we can obtain:

[0072]

[0073]

[0074] right Perform an attention mechanism calculation and add the output feature result to the feature set. middle;

[0075] The calculation process is as follows:

[0076]

[0077] in, γ is the attention mechanism function for extracting reference feature information of noise in the second extraction, and γ is a hyperparameter.

[0078] As a preferred technical solution, in step S4, when training the LSTM network, the loss function formula is:

[0079]

[0080]

[0081] Among them, F loss Let x represent the loss function, N represent the number of data instances in the dataset, and x represent the loss function. i This represents a segment of speech data containing noise, y i x represents i The corresponding clear original speech data, ‖·‖2 represents the Euclidean distance calculation, This represents the encoder computation function used to extract feature information from clear speech data. The resulting KL divergence, This represents the encoder computation function used to extract feature information from noise. The resulting KL divergence, FKL This represents the formula for calculating KL divergence.

[0082] Compared with the prior art, the present invention has the following advantages:

[0083] (1) This invention not only focuses on how to reduce the noise of speech data to clear original speech data, but also focuses on separating the noise data from the noisy speech data; at the same time, during the training process of this method, the feature information of the noise data is extracted and these feature information are added as references to the noise reduction process, and finally clear original speech data after noise reduction is obtained.

[0084] (2) This invention adds VAE (variational autoencoder) calculation method to the LSTM algorithm to re-encode the data, mine the hidden feature information in the training data, put these hidden feature information into the LSTM network for time series analysis, and finally decode them to obtain the noise-reduced speech data.

[0085] (3) The present invention adds an attention mechanism to filter the data features, extract important features, and suppress or remove unimportant features or even features that have a disturbing effect, thereby improving the prediction effect of the model. Attached Figure Description

[0086] Figure 1 This is an overall flowchart of the present invention;

[0087] Figure 2 This is a diagram of the LSTM cell structure. Detailed Implementation

[0088] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0089] Example 1

[0090] like Figures 1 to 2 As shown, the main objective of this invention is to provide a deep learning-based speech denoising method to address the problems existing in the speech denoising task.

[0091] To achieve the above objectives, according to one aspect of a specific embodiment of the present invention, a deep learning-based speech denoising method is provided, comprising the following steps:

[0092] A training dataset is constructed using noisy speech data and its corresponding clear original speech data.

[0093] For input data x i,n Place them separately Attention mechanism calculation is performed to re-represent the input data. and

[0094] Will and The inputs are respectively fed into the encoder structure. and Calculations were performed to obtain and At this time Perform an attention mechanism calculation and add the output feature result to the feature set. middle.

[0095] Will and The inputs are fed into the LSTM network respectively. and Calculations were performed to obtain and

[0096] Will and The inputs are respectively fed into the decoder structure. and Calculations were performed to obtain and At this time Perform an attention mechanism calculation and add the output feature result to the feature set. middle.

[0097] Group of audio segments Concatenate them in order to form y i,1 Grouping audio segments Concatenate them in order to form y i,2 The two output results y i,1 y i,2 With input data x i The data dimensions are consistent. Among them, y i,1 For clear, original audio data after noise reduction, y i,2 Input data x i The noise data contained therein.

[0098] During training, through the loss function F loss Calculate the loss value, train and update the model parameters; in the output, use y i,1 As clear, original audio data after noise reduction.

[0099] Example 2

[0100] like Figures 1 to 2 As shown, as a further optimization of Embodiment 1, this embodiment also includes the following technical features based on Embodiment 1:

[0101] In this invention, the overall process is as follows: Figure 1 As shown below. A detailed introduction to each will follow:

[0102] Define a speech dataset D, which consists of N segments of noisy speech data x of equal duration. i , and N segments with x i Corresponding clear original audio data y i x i With y i The time lengths are equal;

[0103] For a noisy speech data x i ,x i Given ∈D, 1≤i≤N, select several data segments x using a sliding window method. i,n , where n is the number of data segments to be extracted. The sliding window size L... window and sliding distance L length Set to L, i.e., L window =L length =L, where L is a hyperparameter; the window size and sliding distance can be customized according to the specific task. Therefore, the data segment dimension is 1×L, meaning that the extracted adjacent data segments are contiguous and non-overlapping. (Example: Noisy speech data x) i The corresponding noise-free normal speech data is defined as y i .

[0104] From the above, we can conclude that a segment of voice data x i A set of speech data segments of length L can be extracted, with a quantity of n, i.e., x. i,n Similarly, several sets of speech data segments of length L can be extracted from the speech dataset D to form the training dataset d. Train ={(x i,n,yi ), 1≤i≤N}.

[0105] Based on the above data, the input data of the deep neural network model can be defined. Each input data x of the deep neural network model... i,n It contains n audio data segments.

[0106] For input data x i,n ∈D1 performs attention mechanism calculation. and The calculation formula is the same, and is as follows:

[0107]

[0108] a n1 (n2)=exp(score(x i,n1 xi,n2 ))=exp(x i,n1 ·x i,n2 n1≠n2

[0109] Where, x i,n1 For the current input data x i,n A certain segment of data, x i,n2 Input data x i,n Dividing x i,n1 External data segment, a n1 (n2) is x i,n1 With x i,n2 The attention calculation value, a′ n1 (n2) represents the weighted x i,n1 With x i,n2 The attention calculation value is obtained. a′ is then obtained. n1 After (n2), the new x′ can be calculated. i,n1 The calculation for x is completed using the following formula. i,n1 The re-representation of.

[0110] x′ i,n1 =x i,n1 +W Att a′ n1 (n2)x i,n2

[0111] Among them, W Att These are trainable parameters.

[0112] From the above calculations, we can obtain:

[0113]

[0114]

[0115] get and The data is input into the encoder structure for calculation. and The calculation formula is the same, and is as follows:

[0116] x = ReLU(Liner(x))

[0117] μ = Liner(x)

[0118] σ = exp(Liner(x))

[0119] z = Sample(μ, σ)

[0120] Where ReLU(·) is the activation function, Linear(·) is the linear function, mean μ and variance σ are intermediate parameters, Sample(·) is the sampling function, and z is a latent feature vector with randomness.

[0121] From the above calculations, we can obtain:

[0122]

[0123]

[0124] At this time Perform an attention mechanism calculation and add the output feature result to the feature set. The calculation process is as follows:

[0125]

[0126] Where β is a hyperparameter.

[0127] Will and The input is fed into an LSTM network for computation. and The calculation formula is the same, and the LSTM unit structure is as follows: Figure 2 For input data x t The calculation explanation is as follows:

[0128] Where f t i t o t c t These represent the forget gate, input gate, output gate, and cell state in LSTM, respectively.

[0129] By adding these gate structures, LSTM can control the flow of information, that is, selectively store, lose, and update information at a certain moment, thereby solving the problem of long-distance information transmission in RNN. However, it also leads to more parameters and excessively long training time.

[0130] Forgotten Gate f t This gate determines whether information in the cell state is lost. It receives input from the input layer x. t And the data t from the previous hidden layer t-1 The output is a value in the interval [0, 1] that is fed back to the cell state c. t-1 1 indicates "completely retain", and 0 indicates "completely discard".

[0131] f t =σ(W f x t +U f h -1 +b f)

[0132] Input gate i t Determine the data that needs to be updated for the cell state. Update the cell state by comparing the previous state with f. t Multiply the data, discard any unnecessary information, and then add the newly updated cell state:

[0133] i t =σ(W i x t +U i h t-1 +b i )

[0134] Output gate o t The formula for determining the output cell states is as follows:

[0135] c t =f i c t-1 +i t ×(tanh(W c x t +U c h t-1 +b c ))

[0136] o t =σ(W o x t +U o h t-1 +b o )

[0137] h t =o t ×tanh(c t )

[0138] From the above calculations, we can obtain:

[0139]

[0140]

[0141] Will and The input is fed into the decoder structure for computation. and The calculation formula is the same, and is as follows:

[0142] x = ReLU(Liner(x))

[0143] x = Sigmoid(Liner(x))

[0144] From the above calculations, we can obtain:

[0145]

[0146]

[0147] At this time Perform an attention mechanism calculation and add the output feature result to the feature set. The calculation process is as follows:

[0148]

[0149] Where γ is a hyperparameter.

[0150] At this point, the audio segment group is then... Concatenate them in order to form y i,1 Grouping audio segments Concatenate them in order to form y i,2 The two output results y i,1 y i,2 With input data x i The data dimensions are consistent.

[0151] When training the entire deep neural network model, the loss function F loss The formula is

[0152]

[0153]

[0154] During training, through the loss function F loss Calculate the loss value, train and update the model parameters; in the output, use y i,1 As clear, original audio data after noise reduction.

[0155] As described above, the present invention can be implemented well.

[0156] All features disclosed in all embodiments of this specification, or steps in all methods or processes implied in the disclosure, may be combined and / or extended or replaced in any way, except for mutually exclusive features and / or steps.

[0157] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Based on the technical essence of the present invention, any simple modifications, equivalent substitutions, and improvements made to the above embodiments within the spirit and principles of the present invention shall still fall within the protection scope of the present invention.

Claims

1. A speech denoising method based on deep learning, characterized in that, During training, feature information of the noise data is extracted and added to the noise reduction process as a reference, ultimately resulting in clear original speech data after noise reduction. Based on the LSTM algorithm, a variational autoencoder calculation method is added to re-encode the data, mine the hidden feature information in the training data, put the hidden feature information into the LSTM network for training, and finally decode it to obtain the noise-reduced speech data. Includes the following steps: S1, Define the speech dataset Speech dataset include Noisy speech data of equal duration ,and Duan Yu Corresponding clear original audio data , and The time lengths are equal; S2, for input data Place them separately , Attention mechanism calculation is performed to re-represent the input data. and ; in, express Several data segments were extracted using a sliding window method. This represents a segment of speech data containing noise. Sliding window size and sliding distance Set as ,Right now , For hyperparameters; This indicates the number of data segments extracted. This represents the attention mechanism algorithm function used to extract clear speech data; This represents the attention mechanism algorithm function used to extract noisy data. express The output feature information vector, express The output feature information vector; S3, will Input to encoder structure Calculations were performed to obtain ,Will Input to encoder structure Calculations were performed to obtain At this time, for Perform an attention mechanism calculation and add the output feature result to the feature set. middle; in, This represents the encoder computation function used to extract feature information from clear speech data. This represents the encoder computation function used to extract feature information from noise. express The output feature information vector, express The output feature information vector; S4, Input to LSTM network Training ,Will Input to LSTM network Training ; in, This represents the LSTM computation function used to extract feature information from clear speech data. express The output feature information vector, This represents the LSTM computation function used to extract feature information from noise. express The output feature information vector; S5, Input to decoder structure Calculations were performed to obtain ,Will Input to decoder structure Calculations were performed to obtain At this time, for Perform an attention mechanism calculation and add the output feature result to the feature set. middle; in, This represents the decoder computation function used to extract feature information from clear speech data. express The output feature information vector, This represents the decoder computation function used to extract feature information from the noise. express The output feature information vector; S6, grouping voice segments Assembled in sequence Grouping audio segments Assembled in sequence Two output results , With input data Consistent data dimensions; in, The result is clear, original audio data after noise reduction. For input data The noise data contained therein.

2. The speech denoising method based on deep learning according to claim 1, characterized in that, In step S2, the attention mechanism is used to calculate the input data. The calculation formula is as follows: in, For the current input data A segment of data in For input data Except External data segments for and Attention calculation value, For weighted and Attention calculation value; get The new can then be calculated The following formula is used to calculate the result. Re-representation: in, express The feature vector calculated by the attention mechanism These are trainable parameters; From the above calculations, we can obtain: in, This represents the attention mechanism function used to extract feature information from clear speech data. This represents the attention mechanism function used to extract feature information from noise.

3. The speech denoising method based on deep learning according to claim 2, characterized in that, In step S3, the obtained and The input is fed into the encoder structure for calculation, and the calculation formula is as follows: in, For the input vector, For activation function, It is a linear function. The mean, For variance, For sampling function, These are latent feature vectors with randomness; From the above calculations, we can obtain: 。 4. The speech denoising method based on deep learning according to claim 3, characterized in that, In step S3, for Perform an attention mechanism calculation and add the output feature result to the feature set. middle; The calculation process is as follows: in, For hyperparameters, This is the attention mechanism function for the first extraction of reference feature information from the noise.

5. The speech denoising method based on deep learning according to claim 4, characterized in that, In step S4, and The input is fed into the LSTM network for training. The LSTM unit structure includes a forget gate, an input gate, an output gate, and a cell state.

6. The speech denoising method based on deep learning according to claim 5, characterized in that, In step S4, Forgotten Gate Determines whether information in the cell state is lost: the input data for this gate includes Input data at any time and the previous moment Hidden vector at time step Feedback to cell state Forgotten Gate The calculation formula is as follows: Input gate The data that determines the cell state needs to be updated; input gate The calculation formula is as follows: Update cell state Take the previous moment Cellular state at any given moment and Multiplication involves discarding information that needs to be forgotten before adding new cell states; cell states The calculation formula is as follows: Output gate Determines the output cell state, output gate The calculation formula is as follows: Finally, calculate the current time. Hidden vector at time step , The calculation formula is as follows: Based on the above calculations: in, Represents the moment in time series data. for The moment before the moment, The range of values ​​is , This indicates the number of data segments in the input data. express The forget gate outputs information at any time. express Input gate output information at any given time. In LSTM The output gate outputs information at any given time. express The cell state output information at any given time; In representing time series data The data at time 1, that is, the data at time 2 in the input data. Segment data, dimension is , For hyperparameters; Indicates the previous moment Hidden vector data at time step, Indicates the previous moment Cell state vector data at time step; for hour, Defined as dimension is random initial vector, Defined as dimension is random initial vector, For hyperparameters; The trainable parameter matrix for forget gate computation has dimensions of . , This represents the trainable parameter vector for the forget gate computation, with dimension 1. ; This represents the trainable parameter matrix for input gate computation, with dimension 1. , This represents the trainable parameter vector computed by the input gate, with dimension 1. ; The trainable parameter matrix representing cell state computation has dimensions of . , The trainable parameter vector representing the cell state computation has dimension 1. ; This represents the trainable parameter matrix for output gate computation, with dimension 1. , This represents the trainable parameter vector for output gate computation, with dimension . .

7. The speech denoising method based on deep learning according to claim 6, characterized in that, In step S5, Will and The input is fed into the decoder structure for calculation, using the following formula: in, for Activation function for Activation function; From the above calculations, we can obtain: right Perform an attention mechanism calculation and add the output feature result to the feature set. middle; The calculation process is as follows: in, This is the attention mechanism function for extracting reference feature information from the noise in the second extraction. This is a hyperparameter.

8. A speech denoising method based on deep learning according to any one of claims 1 to 7, characterized in that, In step S4, the loss function formula is: in, Represents the loss function. This indicates the number of data instances in the dataset. This represents a segment of speech data containing noise. express The corresponding clear original audio data, This indicates the calculation of Euclidean distance. This represents the encoder computation function used to extract feature information from clear speech data. The resulting KL divergence, This represents the encoder computation function used to extract feature information from noise. The resulting KL divergence, This represents the formula for calculating KL divergence. The mean, Let Variance be the variance.

Citation Information

Patent Citations

  • Target person voice enhancement method based on conditional variation auto-encoder

    CN111653288A

  • Speech enhancement method for simultaneously modeling speech and noise in time domain

    CN115273882A

  • Speech enhancement method and device, equipment and medium

    CN116631428A