A multi-channel dual-speaker separation method and system

Through the multi-channel dual speaker separation method, the weighted estimation of sound source position and angle characteristics is used to solve the problem of low speech separation performance under low speaker overlap ratio, improve the robustness and performance of speech separation, and reduce the impact of interference .

CN113870893BActive Publication Date: 2024-09-03INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111134595.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-09-03
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

In environments such as conferences, speech separation performance with low speaker overlap ratio is low, and traditional neural networks are greatly affected by interfering speakers and silent frames when estimating the position of the target speaker, resulting in reduced separation performance.

Method used

A multi-channel dual speaker separation method is used to obtain the spectrum through framing, windowing and Fourier transform processing. It combines the sound source position estimation network and the speaker masking estimation network to perform weighted sound source position estimation using Cartesian coordinates and angle features. , reduce the bias in target speaker position estimation, and improve robustness through joint training.

Benefits of technology

It improves the robustness and performance of speech separation, effectively avoids the impact of interfering speakers and silent frames on the position information of the target speaker, and improves the separation effect in low overlap ratio environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113870893B
    Figure CN113870893B
Patent Text Reader

Abstract

The present application relates to a multi-channel dual-speaker separation method and system, wherein the method comprises: processing mixed speech audio to obtain a spectrum of each frame of audio; obtaining estimated frame-level Cartesian coordinates and corresponding weights according to each frame of audio and a sound source position estimation network; obtaining a first logarithmic energy spectrum and a first sine-cosine channel phase difference according to the spectrum of each frame of audio; obtaining an estimated Cartesian coordinate of a target speaker in the mixed speech audio according to the estimated frame-level Cartesian coordinates and the corresponding weights; obtaining a first angular feature according to the Cartesian coordinates of the target speaker; obtaining a target speaker and a first estimated speaker masking according to the first logarithmic energy spectrum, the first sine-cosine channel phase difference, the first angular feature and a speaker masking estimation network; and obtaining separated speech of the at least two speakers based on the target speaker, the first estimated speaker masking and the mixed speech audio.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of speech separation, and specifically to a multi-channel dual-speaker separation method and system. Background Art

[0002] The goal of speech separation is to separate different speakers from mixed speech audio with reverberation and noise to obtain clean individual speaker speech. As the front end of speech recognition systems, voice logs and other technologies, speech separation is widely used in teaching environments, conference environments and other environments.

[0003] Deep clustering is a traditional speech separation method. It obtains the separated speech of the target speaker by training the target speaker on the mixed speech audio with ideal binary masking. During the training process, each time-frequency unit needs to be vectorized, and then the time-frequency units with similar distances are clustered together. However, the performance of deep clustering is very limited due to the influence of different speech environments.

[0004] In recent years, speech separation models based on deep neural networks have developed rapidly in the field of speech separation, and their performance has far exceeded that of traditional methods. However, at present, most experimental studies are still based on speech separation based on completely overlapping mixed speech audio, and have neglected speech environments dominated by a single speaker, such as conferences. Studies have shown that in conference environments, the proportion of speaker overlap is generally not higher than 20%. Therefore, for speech separation with different low speaker overlap ratios, the robust performance still needs to be improved. On the other hand, for mixed speech audio with different speaker overlap ratios, it is impossible to know in advance the specific position of the target speaker in the speech, and the input for neural network training can only be the entire speech. In this case, if average pooling is used, the interfering speaker's speech and silent frames will seriously affect the estimation of the target speaker's position information, thereby reducing the performance of speech separation. Summary of the invention

[0005] The purpose of the embodiments of the present application is to reduce the deviation of the target speaker position estimation for mixed speech audio with a low speaker overlap ratio, and to improve the robustness and separation performance of speech separation.

[0006] In a first aspect, an embodiment of the present application provides a multi-channel dual-speaker separation method, comprising: performing frame segmentation, windowing and Fourier transform processing on mixed speech audio to obtain a spectrum of each frame of audio; the mixed speech audio is a mixed speech audio including overlapping ratios of different speakers; obtaining estimated frame-level Cartesian coordinates and corresponding weights according to each frame of audio and a sound source position estimation network; obtaining a first logarithmic energy spectrum and a first sine-cosine channel phase difference according to the spectrum of each frame of audio; obtaining a Cartesian coordinate estimate of a target speaker in the mixed speech audio according to the estimated frame-level Cartesian coordinates and the corresponding weights, wherein the Cartesian coordinate estimate of the target speaker indicates a weighted sound source position estimate of the target speaker; obtaining a first angle feature according to the Cartesian coordinates of the target speaker; obtaining a first target speaker masking and a first interfering speaker masking according to the first logarithmic energy spectrum, the first sine-cosine channel phase difference, the first angle feature and a speaker masking estimation network; obtaining a target speaker voice and an interfering speaker voice based on the first target speaker masking, the first interfering speaker masking and the mixed speech audio.

[0007] In a feasible implementation, the method further includes: determining a training set of mixed speech audio, determining training speech audio and labels based on the training set of mixed speech audio; the labels include a sound source position vector, a second target speaker's speech, and a second interfering speaker's speech; training a sound source position estimation network based on the training speech audio; training a speaker masking estimation network; jointly training the sound source position estimation network and the speaker masking estimation network to obtain a trained sound source position estimation network and a speaker masking estimation network.

[0008] In a feasible implementation, the label includes a sound source position vector, and training a sound source position estimation network according to the training speech audio includes: framing, windowing and Fourier transforming the training speech audio to obtain the spectrum of the training speech audio; the spectrum of the training speech audio includes a real part and an imaginary part; using the data after splicing the real part and the imaginary part as the input of the sound source position estimation network, and using the sound source position vector estimation as the output, calculating the value of a first loss function, wherein the first loss function is the mean square error of the sound source position; training is performed with the value of the first loss function being within a first threshold as the goal, to obtain the trained sound source position estimation network and the corresponding weight vector; the sound source position estimation network includes 3 layers of convolution modules, 2 layers of bidirectional long short-term memory networks and 2 layers of fully connected layers.

[0009] In a feasible implementation manner, the training speaker masking estimation network includes: determining a second angle feature, a second logarithmic energy spectrum, and a second phase difference between sine and cosine channels according to the training speech audio and the sound source position vector; taking the second angle feature, the second logarithmic energy spectrum, and the second phase difference between sine and cosine channels as inputs, and taking a second target speaker masking and a second interference speaker masking as outputs, calculating the product of the second target speaker masking and the training speech audio to obtain an estimated speaker speech signal; calculating the product of the second interference speaker masking and the training speech audio to obtain an estimated interference speaker speech signal; calculating a value of a second loss function, the value of the second loss function being a logarithmic value of a loss ratio of an estimated speech signal to a target speech signal; the estimated speech signal includes an estimated speaker speech signal and an estimated interference speaker speech signal; the target speech signal includes a second target speaker speech and a second interference speaker speech; training is performed with the value of the second loss function being within a second threshold as a target to obtain the trained speaker masking estimation network, the speaker masking estimation network including a 3-layer bidirectional long short-term memory network and 2 separate fully connected layers.

[0010] In a feasible implementation, the label includes a sound source position vector, a second target speaker's voice, and a second interfering speaker's voice, and the joint training of the sound source position estimation network and the speaker masking estimation network includes: combining the sound source position estimation network and the speaker masking estimation network, setting the loss function as the sum of the mean square error of the sound source position estimation and the scale-invariant-signal-loss ratio error, the scale-invariant-signal-loss ratio is the scale-invariant ratio of the speaker separation result, and jointly training and fine-tuning the two networks. The estimated speech signal is the product of the second target speaker masking and the second interfering speaker masking multiplied by the training speech audio; the target speech signal is the second target speaker's voice and the second interfering speaker's voice.

[0011] In a feasible implementation, obtaining the Cartesian coordinate estimate of the target speaker in the mixed speech audio based on the estimated frame-level Cartesian coordinates and the corresponding weights includes: performing a softmax operation based on the estimated frame-level Cartesian coordinates and the corresponding weights, calculating a weighted sound source position estimate, and obtaining the Cartesian coordinates of the target speaker in the mixed speech audio.

[0012] In a feasible implementation, the first angle feature is obtained according to the Cartesian coordinates of the target speaker, including: determining the steering vector of the target speaker according to the difference between the Cartesian coordinates of the target speaker and the Cartesian coordinates of the microphone topology structure; the Cartesian coordinates of the microphone topology structure are obtained based on the coordinate system of the microphone array; and the angle feature is obtained according to the steering vector of the target speaker and the frequency spectrum of the mixed speech audio of M channels, where M is a natural number.

[0013] In a second aspect, an embodiment of the present application provides a multi-channel dual-speaker separation system, the system comprising: a signal processing module, used to perform framing, windowing and Fourier transform processing on mixed speech audio to obtain a spectrum of each frame; the mixed speech audio includes at least two speakers' speech; a feature extraction module, used to obtain estimated frame-level Cartesian coordinates and corresponding weights according to each frame of audio and a sound source position estimation network; obtain a first logarithmic energy spectrum and a first sine-cosine channel phase difference according to the spectrum of each frame of audio; a sound source position weighted processing module, used to obtain the mixed speech according to the estimated frame-level Cartesian coordinates and corresponding weights. The invention relates to a method for obtaining a target speaker's Cartesian coordinate estimation in audio frequency, wherein the target speaker's Cartesian coordinate estimation indicates a weighted estimate of the sound source position of the target speaker; an angle feature calculation module, used to obtain a first angle feature according to the Cartesian coordinates of the target speaker; a speaker separation module, used to obtain a first target speaker masking and a first interfering speaker masking according to the first logarithmic energy spectrum, a first sine-cosine channel phase difference, a first angle feature and a speaker masking estimation network; and based on the first target speaker masking, the first interfering speaker masking and the mixed speech audio, obtain the target speaker's voice and the interfering speaker's voice.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor; the processor is used to execute computer-executable instructions stored in the memory, and the processor runs the computer-executable instructions to execute any one of the methods described in the first aspect.

[0015] In a fourth aspect, an embodiment of the present application provides a storage medium, comprising a readable storage medium and a computer program stored in the readable storage medium, wherein the computer program is used to implement any one of the methods described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the multiple embodiments disclosed in this specification, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only the multiple embodiments disclosed in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 A flow chart of a multi-channel dual-speaker separation method provided in an embodiment of the present application;

[0018] Figure 2 This is a flowchart of neural network module training in a multi-channel dual-speaker separation method according to an embodiment of the present application.

[0019] Figure 3 This is a block diagram of a multi-channel dual-speaker separation system according to an embodiment of the present application;

[0020] Figure 4 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The technical solutions of the embodiments of the present application are further described in detail below through the accompanying drawings and examples.

[0022] Angle features play a very important role in speaker separation systems. The premise of extracting angle features is to know the position information of the target speaker, but in most cases, this information is unknown. Therefore, effective estimation of position information is necessary.

[0023] Based on this, an embodiment of the present application proposes a multi-channel dual-speaker separation method. For mixed speech audio with a low speaker overlap ratio, dual-speaker speech is recognized based on weighted sound source position estimation. The method includes S11-S17.

[0024] S11, obtain mixed speech audio, the mixed speech audio includes the speech of two speakers; perform frame division, windowing and Fourier transform processing on the mixed speech audio to obtain the frequency spectrum of each frame of the mixed speech audio; the mixed speech audio is mixed speech audio including a low speaker overlap ratio.

[0025] S12, obtaining estimated frame-level Cartesian coordinates and corresponding weights according to the frequency spectrum and sound source position estimation network of each frame of audio.

[0026] S13, performing weighted calculation according to the estimated frame-level Cartesian coordinates and corresponding weights to obtain a Cartesian coordinate estimate of the target speaker in the mixed speech audio, wherein the Cartesian coordinate estimate is a weighted sound source position estimate.

[0027] S14, extracting an angle feature according to the Cartesian coordinates of the target speaker, and the angle feature may be recorded as a first angle feature.

[0028] S15, extracting the logarithmic energy spectrum and the sine-cosine inter-channel phase difference according to the spectrum of the mixed speech audio. The logarithmic energy spectrum is calculated from the spectrum of the center point microphone and represents the standard spectrum characteristics of the speech signal; the inter-channel phase difference can capture the slight changes between the sound source transmitted to different microphones, which is a useful spatial information. The inter-channel phase difference calculation process is:

[0029]

[0030] In formula (1) and Respectively represent the Fourier transform values ​​of microphone 1 and microphone 2 at time t and frequency unit f of the mixed speech audio, φ t,f is the phase difference between microphone 1 and microphone 2 at time t and frequency unit f.

[0031] The logarithmic energy spectrum and the phase difference between the sine and cosine channels may be recorded as a first logarithmic energy spectrum and a first phase difference between the sine and cosine channels, respectively.

[0032] S16, obtaining a target speaker masking estimate and an interfering speaker masking estimate based on the angle feature, the logarithmic energy spectrum, the phase difference between the sine and cosine channels, and the speaker masking estimation network; the target speaker masking estimate can be recorded as a first target speaker masking, and the interfering speaker masking estimate can be recorded as a first interfering speaker masking.

[0033] S17, performing speech separation based on the target speaker masking estimation, the interfering speaker masking estimation and the mixed speech audio to obtain the target speaker speech and the interfering speaker speech.

[0034] In a multi-channel dual-speaker speech separation method proposed in an embodiment of the present application, the neural network module includes a sound source position estimation neural network and a speaker masking estimation neural network; the sound source position estimation neural network and the speaker masking estimation neural network are first trained separately and then jointly trained, and the training process includes the following steps S21-S24.

[0035] S21, determining training speech audio and labels based on the mixed speech audio training set; obtaining a training speech spectrum.

[0036] In a feasible implementation, a mixed speech audio training set is established, and the label is used to record the sound source position vector, the speaker's voice and the interfering speaker's voice of the training speech audio; the speaker's voice and the interfering speaker's voice can be recorded as the second target speaker's voice and the second interfering speaker's voice. The training speech audio and the label are determined, and the training speech audio is framed, windowed and Fourier transformed to obtain the training speech spectrum; the training speech spectrum includes a real part and an imaginary part.

[0037] S22, training a sound source position estimation network according to the training speech spectrum.

[0038] In a feasible implementation, the data obtained by concatenating the real and imaginary parts of the training speech spectrum is used as the input of the sound source position estimation network, the sound source position vector estimation is used as the output, and the mean square error of the sound source position is calculated; training is performed with the value of the mean square error being within a set threshold as the goal, to obtain a trained sound source position estimation network and a corresponding weight vector.

[0039] The mean square error of the sound source position can be recorded as the first loss function. The mean square error of the sound source position can be calculated based on the mean square error of the sound source position vector estimated by the network output and the sound source position vector recorded by the label. The set threshold is recorded as the first threshold.

[0040] The input of the sound source location estimation network is the concatenation of the real and imaginary parts of the spectrum obtained after Fourier transformation of the training speech audio. The sound source location estimation network includes 3 layers of convolution modules, 2 layers of bidirectional long short-term memory networks, and 2 layers of fully connected layers. Each convolution module includes a two-dimensional convolution layer, a linear rectification function, a batch normalization layer, and a maximum pooling layer. The number of output nodes of the two-dimensional convolution layer is 64, and the convolution kernel size, stride, and padding are (3,3), (1,1), and (1,1) respectively. The window size of the maximum pooling layer is (8,1), (4,1), and (4,1) respectively. The number of hidden layer nodes of the bidirectional long short-term memory network is 64. The number of output nodes of the fully connected layer is 429 and 4 respectively. The dimension of the final output data of the network is B×T×4, where B represents the size of the output data and T represents the number of speech frames of the output data. The output data is the estimated frame-level sound source location vector and the corresponding weight vector.

[0041] S23, train the speaker masking estimation network.

[0042] In a feasible implementation, the second angle feature can be determined according to the sound source position vector recorded by the label, and the second logarithmic energy spectrum and the second phase difference between the sine and cosine channels can be obtained according to the training speech spectrum; the second angle feature, the second logarithmic energy spectrum and the second phase difference between the sine and cosine channels are used as input, the speaker masking estimation and the interference speaker masking estimation are used as output, and the estimated speech signal is calculated, and the estimated speech signal is the product of the speaker masking estimation and the interference speaker masking estimation multiplied by the training speech audio. The scale-invariant-signal-loss ratio error is calculated during the training process, and a trained speaker masking estimation network is obtained through training. The speaker masking estimation network includes a 3-layer bidirectional long short-term memory network and 2 separate fully connected layers.

[0043] Scale-invariant-Signal-loss ratio is the estimated speech signal The logarithm of the loss ratio of the target speech signal s, scale-invariant - signal-loss ratio L is:

[0044]

[0045] In formula (2), s is the target speech signal, which is a known value and is the two separate speech sounds that constitute the training speech audio recorded by the label, and is also the training target of the network; Represents the estimated speech signal, which is obtained by multiplying the estimated masking with the input training speech audio (i.e., the input speech of the network); α is the scale factor. To ensure that the scale α of the signal-to-loss ratio is not deformed, the scale factor α is:

[0046]

[0047] loss=-|L tgt -L est | (4)

[0048] In formula (4), L tgt is the scale-invariant-signal-loss ratio of the target speech signal, L est To estimate the scale-invariant-SLR of the speech signal, loss is the scale-invariant-SLR error.

[0049] The speaker masking estimate may be recorded as a second target speaker masking, the interfering speaker masking estimate may be recorded as a second interfering speaker masking, and the scale-invariant-signal-loss ratio error may be recorded as a second loss function.

[0050] In a feasible implementation, the product of the second target speaker masking and the training speech audio can be calculated to obtain an estimated speaker speech signal; the product of the second interference speaker masking and the training speech audio can be calculated to obtain an estimated interference speaker speech signal; the scale-invariant-signal-loss ratio error is calculated; wherein the estimated speech signal includes an estimated speaker speech signal and an estimated interference speaker speech signal, and the target speech signal includes the second target speaker speech and the second interference speaker speech; training is performed with the value of the second loss function being within a second threshold as the goal, to obtain a trained speaker masking estimation network.

[0051] S24, jointly train the sound source location estimation network and the speaker masking estimation network, and fine-tune the two networks to minimize the value of the loss function.

[0052] In a feasible implementation, the trained sound source location estimation network and the trained speaker masking estimation network are combined, and the loss function is set as the sum of the mean square error of the sound source location and the scale invariant-signal-loss ratio error, and the two networks are fine-tuned until the value of the loss function is minimized. This loss function can be recorded as the third loss function.

[0053] After the training, the ideal sound source location estimation network and speaker masking estimation network can be used for multi-channel dual-speaker speech separation. The following describes a multi-channel dual-speaker speech separation method proposed in the embodiment of the present application through an embodiment.

[0054] Example 1

[0055] Based on the above-mentioned ideal sound source position estimation network and speaker masking estimation network, an embodiment of the present application provides a multi-channel dual-speaker separation method, which includes:

[0056] S31, obtaining mixed speech audio including the speech of two speakers, performing frame division, windowing and Fourier transformation processing on the mixed speech audio, and obtaining the frequency spectrum of each frame of audio.

[0057] In a feasible implementation manner, the following steps S311-S313 are included:

[0058] S311, dividing the mixed speech audio to be separated into frames, with each frame being 25 milliseconds and a frame shift of 6.25 milliseconds;

[0059] S312, adding a window to each frame, wherein the window function is a Hamming window;

[0060] S313, performing a 512-point Fourier transform on each frame of audio to obtain a frequency spectrum of each frame of audio.

[0061] S32, input the spectrum of each frame of audio into the trained sound source position estimation network, and output the estimated frame-level Cartesian coordinates and corresponding weight vectors in is the Cartesian coordinate of the audio at time t, w t is the corresponding weight.

[0062] S33, based on the estimated frame level Cartesian coordinates and the corresponding weight w t , and obtain the Cartesian coordinates of the estimated target speaker in the input mixed speech audio.

[0063] In one feasible implementation, a softmax operation is performed on the estimated frame-level position information and the corresponding weights to calculate a weighted sound source position estimate:

[0064]

[0065] In formula (5), T is the number of frames of the mixed speech audio, e represents the base of the natural logarithm, are the estimated Cartesian coordinates of the target speaker.

[0066] S34, calculating an angle feature according to the estimated Cartesian coordinates of the target speaker, and the angle feature is recorded as a first angle feature.

[0067] In one feasible implementation, the angle feature is calculated based on the estimated Cartesian coordinates of the target speaker as follows:

[0068]

[0069] Formula (6) M is the number of channels, Represents the spectrum of the mixed speech audio under channel m at time t and frequency unit f; Represents the steering vector of the target speaker at channel m at frequency unit f, and is the difference between the estimated Cartesian coordinates of the target speaker and the Cartesian coordinates of the microphone topology; during training and testing, the microphone array is fixed and unchanged, which is a known quantity. A coordinate system can be established with microphone 0 as the origin and the line connecting microphones 0 and 1 as the x-axis, and then the Cartesian coordinates of each microphone can be obtained.

[0070] Exemplarily, the number of channels M is 4, including channel 0, channel 1, channel 2, and channel 3.

[0071] S35, calculating the logarithmic energy spectrum and the phase difference between the sine and cosine channels according to the mixed speech spectrum, recording the logarithmic energy spectrum as the first logarithmic energy spectrum, and recording the phase difference between the sine and cosine channels as the first phase difference between the sine and cosine channels.

[0072] It should be understood that the Fourier transform is for the entire speech, and the mixed speech spectrum is the spectrum composed of each continuous frame of speech audio.

[0073] In a feasible implementation manner, a 257-dimensional logarithmic energy spectrum and a phase difference between sine and cosine channels can be obtained based on the mixed speech spectrum calculation.

[0074] Exemplarily, there are four channels, namely, channel 0, channel 1, channel 2, and channel 3, and the phase differences among the four channels are formed by channel pairs (0, 1), (0, 2), and (0, 3).

[0075] S36, input the first angle feature, the first logarithmic energy spectrum and the first phase difference between the sine and cosine channels into the trained speaker masking estimation network to obtain the target speaker masking estimation and the interference speaker masking estimation. The speaker masking estimation represents a vector with the same dimension as the input mixed speech audio, in which each element is between 0 and 1, indicating the proportion of the speaker in the input mixed speech audio at each time-frequency point. Here, two speaker masking estimates, namely the target speaker masking estimation and the interference speaker masking estimation, can be obtained.

[0076] In a feasible implementation, the angle features, logarithmic energy spectrum and phase difference between sine and cosine channels obtained in steps S35 and S36 are input into the trained speaker masking estimation network. The speaker masking estimation network includes a 3-layer bidirectional long short-term memory network and 2 separate fully connected layers. The number of hidden layer nodes of the bidirectional long short-term memory network is 512, and the dropout ratio is 0.4. The number of output nodes of the fully connected layer is 256. The 2 separate fully connected layers output the target speaker masking estimation and the interference speaker masking estimation respectively.

[0077] S37, obtaining two separated speech sounds based on the target speaker masking estimation, the interfering speaker masking estimation and the mixed speech audio.

[0078] In a feasible implementation, the target speaker masking estimate and the interfering speaker masking estimate in step S37 are multiplied element by element with the spectrum of the mixed speech audio to obtain the separation signals of the two speakers in the frequency domain. The two separation signals are inverse Fourier transformed to obtain the final estimated separation speech of the two speakers in the time domain.

[0079] It should be understood that the experimental goal is speaker separation. When the mixed speech contains two speakers, such as the target speaker and the interfering speaker, it is necessary to obtain the speech masking of these two speakers separately, multiply them with the original input mixed speech signal, and obtain the estimated separated speech of the two speakers in the time domain.

[0080] The system of the embodiment of the present application is based on weighted sound source position estimation, which reduces the influence of interfering speakers and silent frames in mixed speech audio on the sound source position estimation; the joint training based on weighted sound source position estimation and multi-channel dual-speaker separation enhances the robustness of dual-speaker speech separation with different overlap ratios, thereby improving the performance of the speech separation system.

[0081] The method and system in the embodiments of the present application are for two speakers, and are scalable and applicable to more speakers, but the number of output nodes of the neural network needs to be modified accordingly, and the performance may be reduced.

[0082] like Figure 3 As shown, an embodiment of the present application proposes a multi-channel dual-speaker separation system, which includes: a signal processing module 41, a feature extraction module 42, a neural network module 43, a sound source position weighted processing module 44, an angle feature calculation module 45, and a speaker separation module 46.

[0083] The signal processing module 41 obtains a mixed speech audio, which includes the speech of two speakers, performs frame division, windowing and Fourier transformation on the mixed speech audio to obtain the spectrum of each frame of audio. The mixed speech audio is a time domain signal.

[0084] The feature extraction module 42 inputs the spectrum of each frame of audio into the trained sound source position estimation network, and outputs the estimated frame-level Cartesian coordinates and corresponding weight vectors; and obtains the first logarithmic energy spectrum and the first phase difference between the sine and cosine channels based on the spectrum of the mixed speech audio.

[0085] The sound source position weighted processing module 43 performs a softmax operation on the frame-level Cartesian coordinates and corresponding weights output by the sound source position estimation neural network to obtain the Cartesian coordinates of the estimated target speaker; the Cartesian coordinates of the estimated target speaker are used to indicate the sound source position information.

[0086] The angle feature calculation module 44 converts the Cartesian coordinates of the estimated target speaker into a first angle feature.

[0087] The speaker separation module 45 obtains the target speaker and the first estimated speaker masking according to the first angle feature, the first logarithmic energy spectrum, the first sine-cosine channel phase difference and the speaker masking estimation network; and obtains separated speech based on the target speaker, the first estimated speaker masking and the mixed speech audio.

[0088] A multi-channel dual-speaker speech separation method and system proposed in the embodiment of the present application has good robustness for speech separation with different low speaker overlap ratios. The method of the present application uses angle features to separate speakers, extracts angle features by obtaining the position information of the target speaker, and effectively estimates the position information. For mixed speech audio with different speaker overlap ratios, the specific position of the target speaker in the speech can be known in advance, which can effectively avoid the problem of reduced performance of speech separation caused by the use of average pooling, interfering speaker speech, and silent frames due to serious deviations of the target speaker's position information in traditional neural networks. A multi-channel dual-speaker speech separation method proposed in the embodiment of the present application greatly improves the performance of speech separation.

[0089] like Figure 4 As shown, an embodiment of the present application provides an electronic device 1100, including a processor 1101 and a memory 1102; the processor 1101 is used to execute computer-executable instructions stored in the memory 1102, and the processor 1101 runs the computer-executable instructions to execute the method described in any of the above embodiments.

[0090] An embodiment of the present application provides a storage medium 1103, including a readable storage medium and a computer program stored in the readable storage medium, wherein the computer program is used to implement the method described in any of the above embodiments.

[0091] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0092] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented by hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0093] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above description is only the specific implementation method of the embodiments of the present application and is not intended to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims

1. A multi-channel dual-speaker separation method, It is characterized in that The method comprises: The mixed speech audio is framed, windowed and Fourier transformed to obtain the frequency spectrum of each frame of audio; the mixed speech audio includes mixed speech audio with different overlapping ratios of speakers; Obtaining estimated frame-level Cartesian coordinates and corresponding weights according to the frequency spectrum and sound source position estimation network of each frame of audio; Obtaining a first logarithmic energy spectrum and a first sine-cosine inter-channel phase difference according to the frequency spectrum of each frame of audio; Obtaining a Cartesian coordinate estimate of a target speaker in the mixed speech audio according to the estimated frame-level Cartesian coordinates and corresponding weights, wherein the Cartesian coordinate estimate of the target speaker indicates a weighted sound source position estimate of the target speaker; Obtaining a first angle feature according to the Cartesian coordinates of the target speaker; Obtaining a first target speaker masking and a first interfering speaker masking according to the first logarithmic energy spectrum, the first sine-cosine channel phase difference, the first angle feature, and a speaker masking estimation network; Based on the first target speaker masking, the first interfering speaker masking and the mixed speech audio, obtaining the target speaker speech and the interfering speaker speech; The method further comprises: Determine a training set of mixed speech audio, and determine training speech audio and labels based on the training set of mixed speech audio; the labels include a sound source position vector, a second target speaker's voice, and a second interfering speaker's voice; The method comprises: performing frame division, windowing and Fourier transform processing on the training speech audio to obtain the spectrum of the training speech audio; the spectrum of the training speech audio comprises a real part and an imaginary part; taking the data after the real part and the imaginary part are spliced ​​as the input of the sound source position estimation network, taking the sound source position vector estimation as the output, calculating the value of a first loss function, wherein the first loss function is the mean square error of the sound source position; training is performed with the value of the first loss function being within a first threshold as the goal, to obtain the trained sound source position estimation network and the corresponding weight vector; the sound source position estimation network comprises a 3-layer convolution module, a 2-layer bidirectional long short-term memory network and a 2-layer fully connected layer; Training the speaker masking estimation network includes: determining a second angle feature, a second logarithmic energy spectrum and a second phase difference between sine and cosine channels according to the training speech audio and the sound source position vector; taking the second angle feature, the second logarithmic energy spectrum and the second phase difference between sine and cosine channels as inputs, taking a second target speaker masking and a second interference speaker masking as outputs, calculating the product of the second target speaker masking and the training speech audio to obtain an estimated speaker speech signal; calculating the product of the second interference speaker masking and the training speech audio to obtain an estimated interference speaker speech signal; calculating the value of a second loss function, the value of the second loss function being the logarithmic value of the loss ratio of the estimated speech signal to the target speech signal; the estimated speech signal includes an estimated speaker speech signal and an estimated interference speaker speech signal; the target speech signal includes a second target speaker speech and a second interference speaker speech; training is performed with the value of the second loss function being within a second threshold as a target, to obtain the trained speaker masking estimation network, the speaker masking estimation network including a 3-layer bidirectional long short-term memory network and 2 separate fully connected layers; The sound source position estimation network and the speaker masking estimation network are jointly trained to obtain the trained sound source position estimation network and the speaker masking estimation network, including: combining the sound source position estimation network and the speaker masking estimation network, calculating the value of a third loss function, the value of the third loss function being the sum of the values ​​of the first loss function and the second loss function; the value of the first loss function being the mean square error value of the sound source position; the value of the second loss function being the logarithmic value of the loss ratio of the estimated speech signal to the target speech signal; and fine-tuning the sound source position estimation network and the speaker masking estimation network with the goal of minimizing the value of the third loss function to obtain the trained sound source position estimation network and the speaker masking estimation network.

2. The method according to claim 1, It is characterized in that The step of obtaining Cartesian coordinate estimates of a target speaker in the mixed speech audio according to the estimated frame-level Cartesian coordinates and corresponding weights includes: A softmax operation is performed according to the estimated frame-level Cartesian coordinates and corresponding weights to calculate a weighted sound source position estimate to obtain the Cartesian coordinates of the target speaker in the mixed speech audio.

3. The method according to claim 1, It is characterized in that The obtaining a first angle feature according to the Cartesian coordinates of the target speaker includes: Determine the steering vector of the target speaker according to the difference between the Cartesian coordinates of the target speaker and the Cartesian coordinates of the microphone topology structure; the Cartesian coordinates of the microphone topology structure are obtained based on the coordinate system of the microphone array; The first angle feature is obtained by calculating the steering vector of the target speaker and the frequency spectrum of the M-channel mixed speech audio, where M is a natural number.

4. A multi-channel dual-speaker separation system, based on the method according to any one of claims 1 to 3, It is characterized in that The system comprises: A signal processing module, used for performing frame division, windowing and Fourier transformation on the mixed speech audio to obtain the spectrum of each frame; the mixed speech audio includes at least two speakers' speech; A feature extraction module, used to obtain estimated frame-level Cartesian coordinates and corresponding weights according to each frame of audio and the sound source position estimation network; obtain a first logarithmic energy spectrum and a first sine-cosine channel phase difference according to the frequency spectrum of each frame of audio; A sound source position weighted processing module, configured to obtain a Cartesian coordinate estimate of a target speaker in the mixed speech audio according to the estimated frame-level Cartesian coordinates and corresponding weights, wherein the Cartesian coordinate estimate of the target speaker indicates a weighted sound source position estimate of the target speaker; An angle feature calculation module, used to obtain a first angle feature according to the Cartesian coordinates of the target speaker; A speaker separation module, configured to obtain a first target speaker mask and a first interfering speaker mask according to the first logarithmic energy spectrum, the first sine-cosine channel phase difference, the first angle feature and the speaker masking estimation network; and obtain a target speaker voice and an interfering speaker voice based on the first target speaker mask, the first interfering speaker mask and the mixed speech audio; A training set of mixed speech audio, used to determine training speech audio and labels based on the training set of mixed speech audio; the labels include a sound source position vector, a second target speaker's speech, and a second interfering speaker's speech; The method comprises: performing frame division, windowing and Fourier transform processing on the training speech audio to obtain the spectrum of the training speech audio; the spectrum of the training speech audio comprises a real part and an imaginary part; taking the data after the real part and the imaginary part are spliced ​​as the input of the sound source position estimation network, taking the sound source position vector estimation as the output, calculating the value of a first loss function, wherein the first loss function is the mean square error of the sound source position; training is performed with the value of the first loss function being within a first threshold as the goal, to obtain the trained sound source position estimation network and the corresponding weight vector; the sound source position estimation network comprises a 3-layer convolution module, a 2-layer bidirectional long short-term memory network and a 2-layer fully connected layer; Training the speaker masking estimation network includes: determining a second angle feature, a second logarithmic energy spectrum and a second phase difference between sine and cosine channels according to the training speech audio and the sound source position vector; taking the second angle feature, the second logarithmic energy spectrum and the second phase difference between sine and cosine channels as inputs, taking a second target speaker masking and a second interference speaker masking as outputs, calculating the product of the second target speaker masking and the training speech audio to obtain an estimated speaker speech signal; calculating the product of the second interference speaker masking and the training speech audio to obtain an estimated interference speaker speech signal; calculating the value of a second loss function, the value of the second loss function being the logarithmic value of the loss ratio of the estimated speech signal to the target speech signal; the estimated speech signal includes an estimated speaker speech signal and an estimated interference speaker speech signal; the target speech signal includes a second target speaker speech and a second interference speaker speech; training is performed with the value of the second loss function being within a second threshold as a target, to obtain the trained speaker masking estimation network, the speaker masking estimation network including a 3-layer bidirectional long short-term memory network and 2 separate fully connected layers; The sound source position estimation network and the speaker masking estimation network are jointly trained to obtain the trained sound source position estimation network and the speaker masking estimation network, including: combining the sound source position estimation network and the speaker masking estimation network, calculating the value of a third loss function, the value of the third loss function being the sum of the values ​​of the first loss function and the second loss function; the value of the first loss function being the mean square error value of the sound source position; the value of the second loss function being the logarithmic value of the loss ratio of the estimated speech signal to the target speech signal; and fine-tuning the sound source position estimation network and the speaker masking estimation network with the goal of minimizing the value of the third loss function to obtain the trained sound source position estimation network and the speaker masking estimation network.

5. An electronic device, It is characterized in that It comprises a memory and a processor; the processor is used to execute computer-executable instructions stored in the memory, and the processor runs the computer-executable instructions to execute the method described in any one of claims 1-3.

6. A storage medium, It is characterized in that The invention comprises a readable storage medium and a computer program stored in the readable storage medium, wherein the computer program is used to implement the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Speaker separating model training method, two-speaker separation method, and related equipment

    CN108766440A

  • Single-channel voice separation method and device for multiple speakers

    CN112331218A

  • Voice separation model training method, two-speaker separation method and associated apparatus

    WO2019227672A1