A single-channel sound source separation method using kernelized auditory model

By employing a two-step cascaded training strategy for the kernelized auditory model, the encoder-decoder and sound source separator are optimized, thus solving the problem of poor separation performance of single-channel sound source separation methods in complex backgrounds and achieving more efficient sound source separation.

CN114822583BActive Publication Date: 2024-11-22INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110120284.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-28
Publication Date
2024-11-22
Estimated Expiration
2041-01-28

Smart Images

  • Figure CN114822583B_ABST
    Figure CN114822583B_ABST
Patent Text Reader

Abstract

The present invention discloses a single-channel sound source separation method using a kernelized auditory model, the method comprising: inputting a mixed sound source signal into an encoder, outputting a hidden space matrix; inputting the hidden space matrix into a sound source separator, outputting a masking matrix of the sound source signal to be separated; performing point multiplication between the hidden space matrix and the masking matrix to obtain an estimated value of the sound source signal to be separated in the hidden space; inputting the estimated value into a decoder, and outputting a separated target signal waveform; wherein the encoder and the decoder both adopt a kernelized auditory model; the sound source separator adopts a source separation model based on one-dimensional time domain convolution, and the training process of the encoder and the decoder is independent of the training process of the sound source separator. The method of the present invention introduces a model bias in the encoder and the decoder, effectively reduces the model parameters, and greatly reduces the model complexity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of signal processing, and in particular relates to a single-channel sound source separation method using a kernelized auditory model. Background Art

[0002] In actual scenarios, the target speech signal is usually accompanied by environmental noise, background music, interfering voices, etc. These interferences not only reduce the hearing quality and speech intelligibility of the target signal, but also seriously affect the effects of subsequent related speech applications (such as automatic speech recognition).

[0003] To address this problem, sound source separation and speech enhancement have gradually become important links to improve the robustness of the system. Single-channel sound source separation mainly deals with how to extract the effective target speech signal from a single mixed channel signal when the background is common audio interference such as voice, music, and noise.

[0004] Traditionally, Independent Component Analysis (ICA) and Nonnegative Matrix Factorization (NMF) are widely used in sound source separation. They either achieve the purpose of separating source signals by assuming statistical independence between the target signal and the interference signal (such as ICA); or use NMF to learn the prior dictionary of the source to be separated in advance to guide subsequent separation. For ICA, when the statistical independence assumption of the target signal and the interference signal is not strong, the separation effect is usually poor; for NMF, when the sources to be separated are highly similar (such as aliasing of similar sounds), the prior dictionary learned by NMF usually has aliasing, resulting in the failure to achieve the separation goal.

[0005] With the development of deep learning technology, various supervised and unsupervised methods based on deep neural networks (DNN) have been successfully applied to single-channel sound source separation. These methods are based on the encoder-decoder structure, using DNN to estimate a masking matrix of a latent space to extract the target signal information; then, the decoder and the extracted latent space features are used to reconstruct the estimate of the target source signal. In these methods, the encoder usually adopts a fixed form (such as Fourier transform) or end-to-end optimization based on neural networks, and is self-learned in a fully data-driven manner. The use of fixed transformation layers greatly affects the expressive power of the network; while end-to-end optimization often requires a large amount of training data, and makes the encoder easy to overfit to the data to be trained, affecting the generalization ability of the model. Summary of the invention

[0006] The purpose of the present invention is to overcome the above technical defects and propose a sound source separation method using a parameterized auditory front end. The method is inspired by the auditory model and uses a kernelized auditory peripheral model as the encoder and decoder of the separation system. In order to improve the training efficiency of the model, a two-step cascade training strategy is adopted: in the first step, the transformation from the input mixed signal to the latent separation space is completed by independently optimizing the encoder-decoder; in the second step, the optimized encoder-decoder is fixed and the sound source separator is independently optimized.

[0007] To achieve the above object, the present invention proposes a single-channel sound source separation method using a kernelized auditory model, the method comprising:

[0008] The mixed sound source signal is input into the encoder, and the latent space matrix is ​​output;

[0009] The latent space matrix is ​​input into the sound source separator, and the masking matrix of the sound source signal to be separated is output;

[0010] Perform dot multiplication of the latent space matrix and the masking matrix to obtain the estimated value of the sound source signal to be separated in the latent space;

[0011] The estimated value is input into the decoder, and the separated target signal waveform is output;

[0012] The encoder and decoder both adopt a kernelized auditory model; the sound source separator adopts a source separation model based on one-dimensional time domain convolution, and the training process of the encoder and decoder is independent of the training process of the sound source separator.

[0013] As an improvement of the above method, the encoder includes: a tail filter simulating a passive mechanism of the cochlea and a top filter simulating an active mechanism of the cochlea, and the top filter is weighted by an adjusted cochlear gain function; then the frequency function W(f) of the encoder is expressed as:

[0014] W(f)=W tail (f)+w lin ·W tip (f)

[0015] Among them, W tail (f) and W tip (f) are the frequency functions of the tail filter and the top filter, respectively, w lin is the gain of the top filter relative to the tail filter; this gain is related to the I / O gain function of the basilar membrane;

[0016] I / O gain function w dB It can be expressed as:

[0017]

[0018] A=-0.0894·G max +10.89

[0019] B=1.1789·G max -11.789

[0020] Where C represents the input signal strength, G max is the maximum gain of the cochlear amplifier in dB;

[0021] The top filter is represented by a frequency f and three parameters {f c , p l , p u} function:

[0022] W tip (f) = R x (f; f c , p l , p u )

[0023] The expressions for the low-frequency side and high-frequency side of the top filter are:

[0024]

[0025] Among them, f c is the center frequency of the top filter, g=|ff c | / f c is a standardized frequency variable describing the center frequency f c The distance to the edge of the masking noise relative to the center frequency;

[0026] d c =[ERB N (1000)] / [ERB N (f c )]·(f c / 1000), to the center frequency f c The interval is expressed as the value of the relative center frequency ERBN, d c is normalized to c =1 at 1000Hz; p l and p u Determines the sharpness of the low-frequency and high-frequency edges of the top filter; ERB N (f) is the ERB at frequency f N Value; ERB N represents the equivalent rectangular bandwidth of the auditory filter, ERB N (f) = 6.23·f 2 +93.39·f+28.52;

[0027] The tail filter is represented by a frequency f and three parameters {f c / f rat , t l , t u} function:

[0028] W tail (f) = R x (f; f c / f rat , t l , t u )

[0029]

[0030] Among them, t l and t u Determines the sharpness of the low-frequency and high-frequency edges of the tail filter; the center frequency of the top filter can be adjusted relative to the center frequency of the tail filter according to the strength of the signal, f rat represents the ratio of the center frequencies of these two filters;

[0031] {f rat , p l , p u , G max} is P rxp If they are linear functions of , they can be expressed as follows:

[0032]

[0033] P l =P l (0) +P l (1) ·P rxp ;

[0034]

[0035]

[0036] Among them, P rxp represents the output level of the tail filter of the detection sound plus the masking sound at the center frequency of the detection frequency; the intercept and slope of the above function are

[0037] Then the encoder filter W(f) is uniquely determined by the parameter θ, where

[0038] As an improvement to the above method, the parameters of the filter of the decoder are the same as the parameters of the filter of the encoder.

[0039] As an improvement of the above method, the training process of the encoder and the decoder specifically includes:

[0040] Generating mixed signals in and They are all clean source signals, α and β represent mixing coefficients; L is the length parameter of the signal;

[0041] Will and Input encoder, output three latent space vectors and D is the dimension parameter;

[0042] Will Through the softmax layer, the corresponding first masking matrix is ​​estimated and the second masking matrix

[0043]

[0044]

[0045]

[0046]

[0047] Calculate the first estimate Second estimate

[0048] The first estimate and the second estimate Input to the decoder to reconstruct an estimate of the clean source signal and

[0049] The scale-independent signal loss ratio is used as the cost function

[0050]

[0051] in, T represents the transpose operation; ||·|| represents the 2-norm operation; the matrix matrix

[0052] The parameters of the encoder and decoder are updated using back propagation and uPIT algorithms until the cost function converges.

[0053] As an improvement of the above method, the training process of the sound source separator specifically includes:

[0054] Fixed trained encoder and decoder, mixed signal Input to the trained encoder, output latent space matrix The hidden space matrix Input sound source separator;

[0055] The sound source separator is used to input Perform masking estimation and obtain the third masking matrix and the fourth masking matrix

[0056] The third masking matrix and the fourth masking matrix Respectively Do the dot product of the corresponding elements Get a third estimate and the fourth estimate

[0057] Using the cost function SI-SDR in the latent space:

[0058]

[0059] in, T represents the transpose operation; is the representation of the source signal separated by ideal masking in the latent space; the matrix

[0060] The parameters of the sound source separator are updated using back propagation and uPIT algorithm until the cost function converges.

[0061] The advantages of the present invention are:

[0062] 1. The method of the present invention introduces model bias in the encoder and decoder, thereby effectively reducing model parameters and greatly reducing model complexity;

[0063] 2. For the encoder-decoder, the present invention adopts a divide-and-conquer independent optimization process, which reduces the training difficulty of the model and the requirement for the total amount of training data. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 Schematic diagram of a single-channel sound source separation method using a kernelized auditory model of the present invention;

[0065] Figure 2 This is a schematic diagram of the Proex model structure;

[0066] Figure 3 A schematic diagram of the training of the encoder-decoder of the present invention;

[0067] Figure 4It is a schematic diagram of the training process of the sound source separator of the present invention. DETAILED DESCRIPTION

[0068] The technical solution of the present invention is described in detail below with reference to the accompanying drawings.

[0069] The method of the present invention is divided into two steps:

[0070] The first step is to optimize the encoder-decoder. The encoder and decoder are two paired layers: the encoder is used to transform the input signal, and the decoder reconstructs the processed signal in the transformed space into the target signal. Since the algorithm focuses on sound source separation, the encoder in the present invention transforms the input signal into a latent space, in which the signal can be optimally separated using a masking-based method; the decoder reconstructs the separated signal elements in the latent space into the target signal.

[0071] The second step is to optimize the sound source separator. After obtaining the encoder-decoder, fix it and independently optimize the sound source separator to produce the best masking estimate in the latent space. Since the sound source separator is relatively independent, the present invention selects the mainstream sound source separator based on one-dimensional dilated convolution as the separation model ( Figure 1 dotted line part).

[0072] like Figure 1 As shown, the present invention proposes a single-channel sound source separation method using a kernelized auditory model, which will be introduced in detail below.

[0073] Step 1) Build and train the encoder-decoder;

[0074] 1.1 Encoder-Decoder Based on Proex Kernelized Auditory Model

[0075] The encoder is mainly responsible for transforming the input acoustic signal to generate a signal representation suitable for subsequent sound source separation. Inspired by the research on kernelized auditory models, models that simulate human auditory processing usually have high robustness. This is inseparable from various loudness compensations and nonlinear frequency resolution scales in auditory processing. In addition, introducing the kernelized auditory model as a priori bias can effectively reduce the parameters of the encoder, greatly reduce the complexity of the model, and reduce the risk of overfitting.

[0076] The Proex (Parallel rounded exponential filter) kernelized auditory model usually consists of two parts: a tail filter that simulates the passive mechanism of the cochlea and a top filter that simulates the active mechanism of the cochlea. The top filter is also composed of P rxp The cochlear gain function is adjusted to simulate the model's response to changes in input signal strength. Figure 2 .

[0077] The mathematical expression of the Proex model is:

[0078] W(f)=W tail (f)+w lin ·W tip (f) (1)

[0079] Among them, W tail (f) and W tip (f) are the frequency functions of the tail filter and the top filter, respectively, w lin is the gain of the top filter relative to the tail filter This relative gain is related to the input-output (I / O) gain function of the basilar membrane, the active mechanism of the cochlea. Assuming the I / O gain function w dB It can be expressed as (in dB):

[0080]

[0081] A=-0.0894·G max +10.89

[0082] B=1.1789·G max -11.789

[0083] Where C represents the input signal strength, G max is the maximum gain of the cochlear amplifier in dB.

[0084] The top Roex filter can be expressed as a frequency f and three parameters {f c , p l , p u} function:

[0085] W tip (f) = R x (f; f c , p l , p u ) (3)

[0086] The expressions for the low-frequency side and high-frequency side of the top filter are:

[0087]

[0088] Where g = |ff c | / f c is a standardized frequency variable describing the filter center frequency f c The distance to the edge of the masking noise relative to the center frequency; d c =[ERBx(1000)] / [ERB N (fc )]·(f c / 1000), to the center frequency f c The interval is expressed as the relative center frequency ERB N The value of d c is normalized to c =1 at 1000Hz; p l and p u Determines the sharpness of the low and high frequency edges of the top filter. ERB N (f) is the ERB at frequency f N Value; ERB N represents the equivalent rectangular bandwidth of the auditory filter, ERB N (f) = 6.23·f 2 +93.39·f+28.52.

[0089] Similarly, the tail Roex filter can be expressed as a frequency f and three parameters {f c / f rat , t l , t u} function:

[0090] W tail (f) = R x (f; f c / f rat , t l , t u ) (5)

[0091]

[0092] Among them, t l and t u Determines the sharpness of the low-frequency and high-frequency edges of the tail filter. It is worth noting that the center frequency of the top filter can be adjusted relative to the center frequency of the tail filter according to the strength of the signal. rat represents the ratio of the center frequencies of the two filters. The Proex filter is the weighted sum of equations (3) and (5). There are six parameters that describe the Proex filter: {G max , f rat , t l , t u , p l , p u}. Where t l , t u Independent of the signal strength, they control the shape (bandwidth and asymmetry) of the tail filter, while the other parameters {G max , f rat , p l , pu} depends on P rxp (like Figure 2 shown): P rxp represents the output level of the tail filter of the detection sound plus the masking sound with the center frequency being the detection frequency; and assuming that {f rat , p l , p u , G max} is P rxp The linear function of , whose intercept and slope are

[0093] 1.2 Encoder-Decoder Optimization

[0094] As mentioned above, for the Proex filter W(f), it is uniquely determined by the parameter {θ}, where For the convenience of description, it is assumed that the encoder and decoder are ε(θ i ; X), Where X = {x 0 , …, x L} represents a mixed signal of length L+1; θ i and θ j Represent the model parameters of the encoder and decoder respectively.

[0095] 1.3 Train the encoder-decoder;

[0096] Training methods such as Figure 3 : Assume that the clean source signal is and Then there is Where α and β represent the mixing coefficients. and They are Through the encoder ε(θ i ; ·) output, D+1 is the dimension of the latent space vector; Through the softmax layer, the corresponding ideal masking matrix is ​​estimated in, i=0,…,D, j∈{1,2}.

[0097] then, and Multiply corresponding elements Get the estimate of each sound source to be separated in the hidden space: Final decoder use and As input, an estimate of the clean source signal is reconstructed and The training goal is to minimize and Here, the scale-independent signal to distortion ratio (SI-SDR) is used as the cost function:

[0098]

[0099] in, T represents the transpose operation; ||·|| represents the 2-norm operation; the matrix matrix

[0100] Step 2) Optimization of the sound source separator

[0101] In the two-step training framework, the source separator A source separation model based on one-dimensional time-domain convolution is adopted. Figure 4 Given First, fix the trained encoder-decoder and the mixed signal is mapped to the latent space representation then, For input Perform masking estimation and generate corresponding masking and Finally, the two masks are respectively Do the dot product of the corresponding elements Generate estimates of the two source signals in latent space and

[0102] The optimization of the source separator uses SI-SDR in latent space:

[0103]

[0104] in, T represents the transpose operation; is the representation of the source signal separated by ideal masking in the latent space (see Figure 3 and 1 .2); Matrix

[0105] The implementation process of the above two steps is as follows:

[0106] To simplify the calculation, let f rat =1

[0107] Input: Mixed signal Clean source signal and

[0108] Parameters: Set the encoder Decoder Source Separator in, is ε(θ i ;·) is the inverse of.

[0109] Output: trained ε(θ i ;·),

[0110] Step 1: Optimize the encoder-decoder

[0111] Repeat

[0112] 1. Input ε(θ i ; ·), generating a latent space representation

[0113] 2. After softmax operation, the ideal masking estimate corresponding to each sound source is generated

[0114] softmax(v i )=m i =exp(v i ) / ∑ i exp(v i ), i∈{1,2}

[0115] 3. Calculation and will go through Get an estimate

[0116] 4. Calculate using formula (7)

[0117] 5. Update the parameter θ using back propagation and uPIT (utterance-level permutation invariant training) algorithm i .

[0118] Until convergence

[0119] Step 2: Optimize the sound source separator

[0120] Repeat

[0121] 1. Input ε(θi ; ·), generating a latent space representation

[0122] 2. enter Generate masking estimate and And respectively Dot product of vector elements produce and

[0123] 3. Calculate using formula (8)

[0124] 4. Update parameters using back propagation and uPIT (utterance-level permutation invariant training) algorithm

[0125] Until convergence

[0126] Step 3) The mixed signal passes through an encoder, a source separator and a decoder to reconstruct the separated target signal waveform;

[0127] Mixed signal X = {x 0 , …, x L}; encoder ε(θ i ; ·), decoder Source Separator

[0128] X input encoder ε(θ i ; ·) Generate latent space representation

[0129] Source separator Estimate the ideal masking matrix corresponding to the source signal And calculate

[0130] Input Decoder Reconstruct the separated target signal waveform:

[0131]

[0132]

[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention and should be included in the scope of the claims of the present invention.

Claims

1. A single-channel sound source separation method using a kernelized auditory model, the method comprising: The mixed sound source signal is input into the encoder, and the latent space matrix is ​​output; The latent space matrix is ​​input into the sound source separator, and the masking matrix of the sound source signal to be separated is output; Perform dot multiplication of the latent space matrix and the masking matrix to obtain the estimated value of the sound source signal to be separated in the latent space; The estimated value is input into the decoder, and the separated target signal waveform is output; The encoder and decoder both adopt a kernelized auditory model; the sound source separator adopts a source separation model based on one-dimensional time domain convolution, and the training process of the encoder and decoder is independent of the training process of the sound source separator; The encoder includes: a tail filter simulating a passive mechanism of the cochlea and a top filter simulating an active mechanism of the cochlea, and the top filter is weighted by an adjusted cochlear gain function; then the frequency function W(f) of the encoder is expressed as: W(f)=W tail (f)+w lin ·W tip (f) Among them, W tail (f) and W tip (f) are the frequency functions of the tail filter and the top filter, respectively, w lin is the gain of the top filter relative to the tail filter; this gain is related to the I / O gain function of the basilar membrane; I / O gain function w dB It can be expressed as: A=-0.0894·G max +10.89 B=1.1789·G max -11.789 Where C represents the input signal strength, G max is the maximum gain of the cochlear amplifier in dB; The top filter is represented by a frequency f and three parameters {f c ,p l ,p u } function: W tip (f)=R x (f;f c ,p l ,p u ) The expressions for the low-frequency side and high-frequency side of the top filter are: Among them, f c is the center frequency of the top filter, g=|ff c | / f c is a standardized frequency variable describing the center frequency f c The distance to the edge of the masking noise relative to the center frequency; d c =[ERB N (1000)] / [ERB N (f c )]·(f c / 1000), to the center frequency f c The interval is expressed as the relative center frequency ERB N The value of d c is normalized to f c =1 at 1000Hz; p l and p u Determines the sharpness of the low-frequency and high-frequency edges of the top filter; BRB N (f) is the ERB at frequency f N Value; ERB N The equivalent rectangular bandwidth of the auditory filter, ERB N (f) = 6.23·f 2 +93.39·f+28.52; The tail filter is represented by a frequency f and three parameters {f c / f rat ,t l ,t u } function: W tail (f)=R x (f;f c / f rat ,t l ,t u ) Among them, t l and t u Determines the sharpness of the low-frequency and high-frequency edges of the tail filter; the center frequency of the top filter can be adjusted relative to the center frequency of the tail filter according to the strength of the signal, f rat represents the ratio of the center frequencies of these two filters; {f rat ,p l ,p u ,G max } is P rxp If they are linear functions of , they can be expressed as follows: Among them, P rxp represents the output level of the tail filter of the detection tone plus the masking tone at the center frequency of the detection frequency, in dB; the intercept and slope of the above function are Then the encoder filter W(f) is uniquely determined by the parameter θ, where The parameters of the filter of the decoder are the same as the parameters of the filter of the encoder.

2. The single-channel sound source separation method using a kernelized auditory model according to claim 1, characterized in that: The training process of the encoder and decoder specifically includes: Generating mixed signals in and They are all clean source signals, α and β represent mixing coefficients; L is the length parameter of the signal; Will and Input encoder, output three latent space vectors and D is the dimension parameter; Will Through the softmax layer, the corresponding first masking matrix is ​​estimated and the second masking matrix Calculate the first estimate Second estimate The first estimate and the second estimate Input to the decoder to reconstruct an estimate of the clean source signal and Using scale-independent signal loss ratio as the cost function in, T represents the transpose operation; ||·|| represents the 2-norm operation; the matrix matrix The parameters of the encoder and decoder are updated using back propagation and uPIT algorithms until the cost function converges.

3. The single-channel sound source separation method using a kernelized auditory model according to claim 2, characterized in that: The training process of the sound source separator specifically includes: Fixed trained encoder and decoder, mixed signal Input to the trained encoder, output latent space matrix The hidden space matrix Input sound source separator; The sound source separator is used to input Perform masking estimation and obtain the third masking matrix and the fourth masking matrix The third masking matrix and the fourth masking matrix Respectively Do the dot product of the corresponding elements ⊙ and get the third estimate and the fourth estimate Using the cost function SI-SDR in the latent space: in, T represents the transpose operation; is the representation of the source signal separated by ideal masking in the latent space; the matrix The parameters of the sound source separator are updated using back propagation and uPIT algorithm until the cost function converges.

Citation Information

Patent Citations

  • Speaker-independent single-channel voice separation method

    CN111583954A

  • Time-frequency masking and deep neural network-based sound source direction estimation method

    WO2020042708A1