Voice signal separation method, device, electronic device and storage medium

Through the local connection and global connection modules of the multi-scale speech processing module, the feature fusion of different speech granularity levels is realized, which solves the problem of low speech separation accuracy in the existing technology and significantly improves the effect of speech separation and recognition.

CN113963715BActive Publication Date: 2024-09-03TSINGHUA UNIVERSITY
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing speech separation technology has low recognition accuracy in noisy environments, which limits the application scenarios of speech recognition technology, mainly due to insufficient fusion of different speech granularities.

Method used

Multi-scale speech processing modules are used, including local connection modules and global connection modules, to achieve feature fusion at different speech granularity levels and improve speech separation accuracy by generating multi-dimensional speech vectors to be separated and mask multi-dimensional vectors.

Benefits of technology

It effectively improves the accuracy and quality of speech separation, especially in noisy environments, and enhances the accuracy of speech recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113963715B
    Figure CN113963715B
Patent Text Reader

Abstract

The present application relates to a method, device, electronic device and storage medium for separating speech signals. The separation method comprises: generating a speech multidimensional vector based on the speech signal to be separated; the speech multidimensional vector to be separated is used to record the speech features of the speech signal to be separated; generating a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated through a trained speech separation model; generating a separated speech signal based on the speech multidimensional vector to be separated and the mask multidimensional vector; wherein the speech separation model comprises a plurality of identical multiscale speech processing modules. The multiscale speech processing module comprises a local connection module and a global connection module connected to the local connection module. The above separation method can effectively improve the separation effect of speech signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of speech processing, and in particular to a speech signal separation method, device, electronic device and storage medium. Background Art

[0002] At present, speech recognition technology has been applied to a variety of human-computer interaction scenarios, such as real-time subtitle display, automatic user speech recognition, etc. However, the speech recognition function carried by smart terminals usually has high requirements for the environment when inputting speech. For example, if the user uses the speech recognition function in a noisy environment, the recognition accuracy of the speech recognition function will be greatly reduced. Therefore, speech separation technology has become increasingly important, but the current robustness of speech separation is poor, which is not conducive to the practical application of speech separation technology, and thus limits the application scenarios of speech recognition technology. Summary of the invention

[0003] According to the first aspect of the present application, a method for separating a speech signal is provided, the separation method comprising: generating a speech multidimensional vector to be separated based on the speech signal to be separated; the speech multidimensional vector to be separated is used to record the speech features of the speech signal to be separated; generating a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated through a trained speech separation model; generating a separated speech signal based on the speech multidimensional vector to be separated and the mask multidimensional vector; wherein the speech separation model comprises a plurality of identical multi-scale speech processing modules; the multi-scale speech processing module comprises a local connection module and a global connection module connected to the local connection module; the local connection module is used to extract the speech features of the speech multidimensional vector to be separated at each speech granularity level, and fuse the speech features of different speech granularity levels; the global connection module is used to fuse the speech features of each speech granularity level processed by the local connection module to the most detailed speech granularity level.

[0004] In one possible implementation, the training process of the speech separation model is as follows: based on the speech signal to be separated for training, a multidimensional vector of the speech to be separated for training is generated; the multidimensional vector of the speech to be separated for training is input into the speech separation model to generate a separated speech signal for training; based on the separated speech signal for training and the real speech signal corresponding to the speech signal to be separated for training, a loss value is generated; and according to the loss value, the network parameters of the speech separation model are updated.

[0005] In a possible implementation, the trained speech separation model generates a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated, including: generating a multidimensional embedding of the speech to be separated based on the speech multidimensional vector to be separated; based on the multidimensional embedding of the speech to be separated, generating a mask multidimensional vector corresponding to the multidimensional embedding of the speech to be separated according to a preset activation function; and generating a separated speech signal based on the mask multidimensional vector and the speech multidimensional vector to be separated.

[0006] In a possible implementation, the generating of a multidimensional embedding of the speech to be separated based on the multidimensional vector of the speech to be separated includes: processing the multidimensional vector of the speech to be separated by a first multiscale speech processing module to generate an intermediate speech multidimensional vector, and performing a direct convolution or addition or cascade operation on the intermediate speech multidimensional vector to generate an output vector; processing the output vector generated by the previous multiscale speech processing module by each multiscale speech processing module after the first multiscale speech processing module to generate an intermediate speech multidimensional vector, and performing a direct convolution or addition or cascade operation on the intermediate speech multidimensional vector to generate an output vector; and using the output vector corresponding to the last multiscale speech processing module as the multidimensional embedding of the speech to be separated.

[0007] In a possible implementation, the local connection module includes a plurality of speech feature processing layers belonging to different speech granularity levels; and the global connection module includes a speech feature processing layer belonging to the most detailed speech granularity level.

[0008] In one possible implementation, the generation of the intermediate speech multidimensional vector includes: in the local connection module, from the fine speech granularity level to the coarse speech granularity level, sequentially transmitting and updating the speech multidimensional vector to be separated into the speech multidimensional vector to be separated at different speech granularity levels; in the local connection module, from each speech granularity level to the adjacent and / or same speech granularity level, transmitting and updating the speech multidimensional vector to be separated at the different speech granularity levels into the local module output multidimensional vector; from the local connection module to the global connection module, transmitting and updating the local module output multidimensional vector through the speech feature processing layer of the most detailed speech granularity level into the intermediate speech multidimensional vector.

[0009] In a possible implementation manner, the multi-dimensional vectors of speech to be separated belonging to the same speech granularity level transmitted in the local connection module and the global connection module are equal in size.

[0010] In one possible implementation, the loss value is generated based on the separated speech signal for training and the real speech signal corresponding to the training speech signal to be separated, including: calculating the minimum loss value of the separated speech signal and the real speech signal corresponding to the training speech signal to be separated through a permutation invariant algorithm, as the loss value.

[0011] According to the second aspect of the present application, a speech signal separation device is provided, the separation device comprising: a speech vector generation module to be separated, for generating a speech multidimensional vector to be separated based on the speech signal to be separated; the speech multidimensional vector to be separated is used to record the speech features of the speech signal to be separated; a mask vector generation module, for generating a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated through a trained speech separation model; a speech signal generation module, for generating a separated speech signal based on the speech multidimensional vector to be separated and the mask multidimensional vector; wherein the speech separation model comprises a plurality of identical multi-scale speech processing modules; the multi-scale speech processing module comprises a local connection module and a global connection module connected to the local connection module; the local connection module is used to extract the speech features of the speech multidimensional vector to be separated at each speech granularity level, and fuse the speech features of different speech granularity levels; the global connection module is used to fuse the speech features of each speech granularity level processed by the local connection module to the most detailed speech granularity level.

[0012] According to a third aspect of the present disclosure, an electronic device includes: a processor and a memory; wherein the processor is configured to execute any one of the speech signal separation method instructions; and the memory is used to store instructions executable by the processor.

[0013] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, any one of the speech signal separation methods is implemented.

[0014] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present application. According to the following detailed description of exemplary embodiments with reference to the accompanying drawings, other features and aspects of the present application will become clear.

[0015] A method for separating a speech signal provided in an embodiment of the present disclosure can generate a speech multidimensional vector to be separated based on the speech signal to be separated, and then generate a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated through a trained speech separation model, and then generate a separated speech signal based on the speech multidimensional vector to be separated and the mask multidimensional vector, so as to separate the speech signal to be separated into multiple speech signals for subsequent calls by other modules. The speech separation model provided in an embodiment of the present disclosure includes multiple identical multi-scale speech processing modules, wherein the multi-scale speech processing module includes a local connection module and a global connection module connected to the local connection module, so as to realize the fusion of speech signal features of different speech granularities, thereby effectively improving the separation effect of the speech signal to be separated. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present application and, together with the description, serve to explain the principles of the present application.

[0017] Figure 1 A reference schematic diagram of a speech separation method in the related art.

[0018] Figure 2 The present invention is a flowchart of a method for separating a speech signal according to an embodiment of the present invention.

[0019] Figure 3 The present invention is a flowchart of a training method for a speech separation model provided according to an embodiment of the present disclosure.

[0020] Figure 4 A reference schematic diagram of a method for generating multi-dimensional embedding of speech to be separated provided according to an embodiment of the present disclosure.

[0021] Figure 5 It is a reference schematic diagram when the multi-scale speech processing module provided by one embodiment of the present disclosure updates the multi-dimensional vector of the speech to be separated.

[0022] Figure 6 A reference schematic diagram of transmitting and updating a multi-dimensional vector of speech to be separated in different expansion schemes provided according to an embodiment of the present disclosure.

[0023] Figure 7 The figure is a schematic diagram of test results of a speech separation model provided in accordance with an embodiment of the present disclosure in different data sets.

[0024] Figure 8 A schematic diagram of test results of applying the speech expansion solution provided in one embodiment of the present disclosure to other separation models.

[0025] Fig. 9The block diagram is a speech signal separation device provided according to an embodiment of the present disclosure.

[0026] Fig.10 The present invention is a block diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0027] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0028] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0029] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0030] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0031] See also Figure 1 As shown, Figure 1 A reference schematic diagram of a speech separation method in the related art is shown, and the speech separation method generally includes a frequency domain speech separation method (i.e. Figure 1 (a)) and time domain speech separation (i.e. Figure 1 (b)). Time domain speech separation usually has better separation effect than frequency domain speech separation, but any speech separation technology in the related art is difficult to improve the separation accuracy of mixed speech.

[0032] The inventors have found that one of the reasons for this problem is insufficient fusion of speech features of different granularities. When speech features of multiple granularities are fully fused, the separation accuracy of the speech separation model disclosed in the present invention can be improved.

[0033] A method for separating a speech signal provided in an embodiment of the present disclosure can generate a speech multidimensional vector to be separated based on the speech signal to be separated, and then generate a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated through a trained speech separation model, and then generate a separated speech signal based on the speech multidimensional vector to be separated and the mask multidimensional vector, so as to separate the speech signal to be separated into multiple independent speech signals for subsequent calls by other modules. The speech separation model provided in an embodiment of the present disclosure includes multiple identical multi-scale speech processing modules, wherein the multi-scale speech processing module includes a local connection module and a global connection module connected to the local connection module, so as to realize the fusion of speech signal features of different speech granularities, thereby effectively improving the accuracy of speech separation.

[0034] In a possible implementation, the voice signal separation method proposed in the embodiment of the present disclosure can be performed by an electronic device such as a terminal device or a server, and the terminal device includes: user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc. The method can be implemented by a processor calling a computer-readable instruction stored in a memory, or the method can be executed by a server. Exemplarily, the server can be a cloud server or a local server.

[0035] The voice signal separation method provided by the embodiment of the present disclosure can be applied to a variety of voice separation scenarios, and the separation accuracy is relatively high. For example: a user can input a voice signal to be separated into an electronic device that stores the above separation method, and obtain multiple separated voice signals. The subsequent electronic device can use the voice recognition technology in the relevant technology to perform semantic recognition on the separated voice signals to accurately execute the user's voice commands. In scenarios where the user's ambient sound is noisy and multiple people are talking, the embodiment of the present disclosure can improve the separation quality of the voice signal to be separated, so as to improve the accuracy of the electronic device in recognizing the user's voice.

[0036] See also Figure 2 , Figure 2 A flow chart of a speech signal separation method provided according to an embodiment of the present disclosure is shown.

[0037] like Figure 2 As shown, the separation method comprises:

[0038] Step S100, based on the speech signal to be separated, generate a multidimensional vector of the speech to be separated; the multidimensional vector of the speech to be separated is used to record the speech features of the speech signal to be separated. Exemplarily, the above-mentioned speech signal to be separated is a time domain signal. In one example, this step can be performed by an encoder, and the encoder converts the speech signal to be separated into the above-mentioned multidimensional vector of the speech to be separated by means of one-dimensional convolution. Exemplarily, the speech features of the speech signal to be separated can be extracted by MFCC (i.e., Mel cepstral coefficients), LPC (linear prediction coefficients), LPCC (linear prediction cepstral coefficients) and other related algorithms to convert the waveform of the speech signal to be separated into the multidimensional vector of the speech to be separated. The embodiment of the present disclosure does not limit the number of dimensions of the multidimensional vector. When applied, the number of dimensions of the multidimensional vector can be determined according to different acoustic features.

[0039] Step S200, through the trained speech separation model, based on the speech multidimensional vector to be separated, a mask multidimensional vector of the speech multidimensional vector to be separated is generated. Wherein, the speech separation model includes a plurality of identical multi-scale speech processing modules. The multi-scale speech processing module includes a local connection module and a global connection module connected to the local connection module. The local connection module is used to extract the speech features of the speech multidimensional vector to be separated at each speech granularity level, and fuse the speech features of different speech granularity levels; the global connection module is used to fuse the speech features of each speech granularity level processed by the local connection module to the speech features of the most detailed speech granularity level. Exemplarily, the parameters of the multi-scale speech processing modules in the above-mentioned speech separation module are shared.

[0040] Exemplarily, different speech granularity levels indicate that the time resolution of extracting speech features is different when the speech multidimensional vector to be separated is processed by the local connection module and the global connection module. Since the speech multidimensional vector to be separated is generated based on the speech signal to be separated, it has certain time domain characteristics. For example, a frame in the speech multidimensional vector to be separated may correspond to multiple frames in the speech signal to be separated, and the speech multidimensional vector to be separated may include multiple frames. For the speech multidimensional vector to be separated corresponding to the above-mentioned speech signal to be separated, speech features may be extracted once in a manner of each frame or each interval of multiple frames, and then all speech features extracted from the speech multidimensional vector to be separated are used as an updated speech multidimensional vector to be separated, and are transmitted to a multiscale speech processing module (including a local connection module and a global connection module) for execution (the transmission mode of speech features of different speech granularity levels in the multiscale speech processing module will be described in detail later). The number of frames in the above-mentioned time domain may be used as the interval unit, or other interval units may be used, and the disclosed embodiment is not limited thereto.

[0041] Exemplarily, the more frames there are in the interval, the coarser the speech granularity is, and the fewer frames there are in the interval, the finer the speech granularity is. The speech granularity levels mentioned in the present disclosure represent the relationship between the degrees of fineness of the above-mentioned speech granularities. For example, if the speech granularity levels include: 1 frame, 5 frames, 10 frames, 15 frames, that is, the speech features of the speech multidimensional vector to be separated are extracted once every 1 frame, 5 frames, 10 frames, and 15 frames as the updated speech multidimensional vector to be separated, then 1 frame is taken as the most fine speech granularity level, and 15 frames is taken as the coarsest speech granularity level.

[0042] The embodiment of the present disclosure improves the degree of fusion of speech features at different speech granularity levels by setting a local connection module and a global connection module, thereby improving the accuracy of the mask multidimensional vector generated based on this in the present disclosure. The above-mentioned mask multidimensional vector is used to perform a dot product with the multidimensional vector of the speech to be separated to generate a separated speech signal. The specific structure of the above-mentioned speech separation model will be described in detail in the embodiments of the present disclosure later.

[0043] Step S300, based on the to-be-separated speech multidimensional vector and the mask multidimensional vector, generates a separated speech signal. Exemplarily, this step can be performed by a decoder, which converts the masked to-be-separated speech multidimensional vector into a speech signal by means of a one-dimensional transposed convolution. For example, the masked to-be-separated speech multidimensional vector can be generated by multiplying the mask multidimensional vector with the to-be-separated speech multidimensional vector, and then the separated speech signal is generated by the above-mentioned decoder.

[0044] Exemplarily, if the speech signal to be separated is a mixed speech signal of sound source A, sound source B, and sound source C, then the speech signal separated from sound source A is generated based on the speech multidimensional vector to be separated by the mask multidimensional vector corresponding to sound source A (the speech features of sound source B and sound source C can be removed, that is, the speech multidimensional vector to be separated is multiplied by the mask multidimensional vector corresponding to sound source A).

[0045] A method for separating a speech signal provided by an embodiment of the present disclosure can generate a speech multidimensional vector to be separated based on the speech signal to be separated, and then generate a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated through a trained speech separation model; and then generate a separated speech signal based on the speech multidimensional vector to be separated and the mask multidimensional vector, so as to separate the speech signal to be separated into multiple speech signals for subsequent calls by other modules. The speech separation model provided by the embodiment of the present disclosure includes a local connection module and a global connection module connected to the local connection module, so as to realize the fusion of speech signal features of different speech granularities, thereby effectively improving the separation effect of the speech signal to be separated.

[0046] In a possible implementation, step S200 may include: generating a multidimensional embedding of the speech to be separated based on the multidimensional vector of the speech to be separated. The multidimensional embedding of the speech to be separated is used to represent the speech features of the separated speech signal initially estimated by the speech separation model. The multidimensional embedding of the speech to be separated may also include a hidden sound source multidimensional vector, which is used to represent the sound features of a hidden sound source signal. The hidden sound source signal can be exemplarily represented as: constant noise in the recording environment and other unavoidable interference vectors when the encoder generates a multidimensional vector. For example: if the multidimensional vector of the speech to be separated includes sound source A, sound source B, and hidden sound source C (i.e., the environmental noise that occurs when recording sound sources A and B), and two separated speech signals are finally pre-separated, then the multidimensional embedding of the speech to be separated includes: a multidimensional vector of sound source A and hidden sound source C and a multidimensional vector of sound source B and hidden sound source C. If the multidimensional embedding of the speech to be separated is directly used as the final separated speech multidimensional vector, the extraction effect of the speech features will be reduced, thereby reducing the separation effect of the separated speech signal. The embodiment of the present disclosure can subsequently obtain the separated speech multi-dimensional vector of the independent sound source A through the mask generated by the multi-dimensional embedding of the speech to be separated of the sound source B and the hidden sound source C, thereby highlighting the speech features of the sound source A to facilitate the subsequent semantic understanding of the mobile terminal.

[0047] In one example, if the speech separation model includes multiple parameter-sharing multi-scale speech processing modules, the step may include: the multi-dimensional vector of the speech to be separated is sequentially passed through multiple parameter-sharing multi-scale speech processing modules to generate a multi-dimensional embedding of the speech to be separated. Optionally, the above-mentioned parameter-sharing multi-scale speech processing modules are sequentially connected to each other to update and transmit the multi-dimensional vector of the speech to be separated. The embodiment of the present disclosure can weaken the linear relationship that may exist in the calculation of the multi-dimensional embedding of the speech to be separated by setting multiple parameter-sharing multi-scale speech processing modules, thereby improving the separation quality of the mixed speech signal. Exemplarily, the above-mentioned multi-dimensional embedding of the speech to be separated can be generated in a variety of ways, and the embodiment of the present disclosure provides two generation methods for reference.

[0048] See also Figure 4 , Figure 4 A reference schematic diagram of a method for generating a multi-dimensional embedding of speech to be separated provided in accordance with an embodiment of the present disclosure is shown.

[0049] Combination Figure 4 As shown, the multidimensional vector of speech to be separated is sequentially passed through a multi-scale speech processing module (i.e. Figure 4 'module' in ) to generate a multi-dimensional embedding of the speech to be separated. Exemplarily, it can be performed in the following two ways: Method 1 (i.e. Figure 4(a) is directly expanded), the multi-dimensional vector of the speech to be separated is processed by the first multi-scale speech processing module to generate an intermediate speech multi-dimensional vector; the output vector corresponding to the previous multi-scale speech processing module is convolved by each multi-scale speech processing module after the first multi-scale speech processing module, and used as the input vector of the current multi-scale speech processing module; the output vector corresponding to the last multi-scale speech processing module is used as the multi-dimensional embedding of the speech to be separated. That is, at each time step, the input vector is processed by the multi-scale speech processing module, and the obtained intermediate speech multi-dimensional vector is used as the input vector of the next time step. Method 2 (i.e. Figure 4 (b) cascade or additive expansion), through the first multi-scale speech processing module (i.e. Figure 4 (b) the first module) processes the multidimensional vector of the speech to be separated to generate an intermediate speech multidimensional vector; for each multiscale speech processing module after the first multiscale speech processing module, the output vector corresponding to the previous multiscale speech processing module of the multiscale speech processing module is processed to generate an intermediate speech multidimensional vector, and the output vector generated by the first multiscale speech processing module and the intermediate speech multidimensional vector are convolved to generate an intermediate speech multidimensional vector, and the intermediate speech multidimensional vector is used as the input vector corresponding to the current multiscale speech processing module; the output vector corresponding to the last multiscale speech processing module is used as the multidimensional embedding of the speech to be separated. Compared with the method 1, the method for generating the multidimensional embedding of the speech to be separated provided by the method 2 can further integrate the speech features in the intermediate speech multidimensional vector, so that the generated multidimensional embedding of the speech to be separated is closer to the actual multidimensional vector of the separated speech, that is, the speech features of the predicted separation signal are closer to the speech features of the real separation speech signal, thereby improving the separation quality of the separated speech signal generated subsequently.

[0050] In a possible implementation, the multi-scale speech processing module includes the local connection module and the global connection module connected to the local connection module. The local connection module includes a plurality of speech feature processing layers belonging to different speech granularity levels. The global connection module includes a speech feature processing layer belonging to the most detailed speech granularity level. Exemplarily, the above-mentioned speech feature processing layer may include a plurality of neurons, and the function of the speech feature processing layer is completed by a plurality of neurons in a speech feature processing layer. In one example, for speech feature processing layers belonging to the same speech granularity level, the transmitted speech multidimensional vectors of the same speech granularity level and the local module output multidimensional vectors are equal in size. Exemplarily, different speech feature processing layers of different speech granularity levels can maintain the same size of multidimensional vectors output by speech feature processing layers of the same speech granularity level through different convolution methods. For example, the speech feature processing layer from the fine speech granularity level to the coarse speech granularity level can reduce the size of the multidimensional vector by downsampling (for example, the size of the multidimensional vector can be reduced by downsampling with a convolution kernel size of 5 and a convolution step size of 2. The number of downsampling times can be set as needed, such as 2 times, 4 times, etc.), and the speech feature processing layer from the coarse speech granularity level to the fine speech granularity level can increase the size of the multidimensional vector by upsampling (for example, interpolation method, transposed convolution method). Exemplarily, the convolution method used for the above upsampling or downsampling can adopt a depth-separable convolution to increase the convolution calculation efficiency, thereby improving the speech separation efficiency. Exemplarily, in the local connection module, the speech feature processing layers of different speech granularity levels use addition or cascade operations to fuse the speech features of adjacent granularities.

[0051] See also Figure 5 , Figure 5 A reference schematic diagram is shown when a multi-scale speech processing module according to an embodiment of the present disclosure updates a multi-dimensional vector. Figure 5 A represents the multi-scale speech processing module, B represents the local connection module (bottom-up connection and speech feature processing layer of different speech granularity levels), and C represents the global connection module. The speech feature processing layer in the same row represents the processing of multi-dimensional speech features to be separated that belong to the same speech granularity level. Figure 5 The connection from bottom to top in the local connection module is from fine to coarse. Since the speech features to be separated at multiple speech granularity levels in the local connection module are connected to the mixed multidimensional speech features at the most detailed speech granularity level in the global connection module, the embodiment of the present disclosure can fully integrate the speech features at each speech granularity level to improve the generation quality of the masked multidimensional vector, thereby making the speech features represented by the masked separated speech multidimensional vector approach the speech features of the real separated speech signal, thereby improving the separation quality of the speech signal to be separated.

[0052] Combination Figure 5 As shown, in a possible implementation manner, the above generation of the intermediate speech multi-dimensional vector includes: in the local connection module (i.e. Figure 5 In B), from the fine speech granularity level to the coarse speech granularity level, the speech multidimensional vector to be separated is transmitted and updated in sequence to be the speech multidimensional vector to be separated at different speech granularity levels (see Figure 5 the first stage in the process).

[0053] In the local connection module, speech features of adjacent and / or the same speech granularity levels are fused using speech feature processing layers of different speech granularity levels. Exemplarily, this step may be to transmit and update the speech multidimensional vectors to be separated of the different speech granularity levels from each speech granularity level to the adjacent and / or the same speech granularity level as the local module output multidimensional vector;

[0054] From the local connection module to the global connection module (i.e. Figure 5 C), transmit and update the local module output multidimensional vector as the intermediate speech multidimensional vector (refer to Figure 5 ) Exemplarily, this step may be to transmit and update the local module output multidimensional vector to the intermediate speech multidimensional vector through the speech feature processing layer of the most detailed speech granularity level. Exemplarily, in the global connection module, the speech feature processing layer of the most detailed granularity fuses the speech multidimensional vectors to be separated at all granularity levels by addition or cascade operation.

[0055] The bottom-up process in the local connection module is to sequentially connect the speech feature processing layers of the adjacent granularity levels from the fine speech granularity level to the coarse speech granularity level, and the speech multidimensional vector to be separated is along the direction from the fine speech granularity level to the coarse speech granularity level (i.e. Figure 5 The speech feature processing layer at each speech granularity level is transmitted and updated, and the multi-dimensional vectors of speech to be separated at different speech granularity levels are obtained through the bottom-up process in the local connection module. Figure 5 As shown in the first stage, each circle on the left represents a speech feature processing layer, and the speech granularity level changes from fine to coarse from bottom to top. For example, from bottom to top, at intervals of 1 frame, 3 frames, 5 frames..., feature extraction is performed on the received speech multidimensional vector to be separated, or the multidimensional vector to be separated obtained by the previous speech feature processing layer, to obtain the multidimensional vector to be separated corresponding to the current granularity speech feature processing layer.

[0056] In the local connection module, the speech feature processing layer of each speech granularity level transmits and updates the speech multidimensional vectors to be separated at different speech granularity levels to the speech feature processing layer of the adjacent and / or same speech granularity level as the local module output multidimensional vector.

[0057] The speech feature processing layer of each speech granularity in the local connection module outputs a local module output multidimensional vector which is transmitted to the global connection module, and the intermediate speech multidimensional vector is obtained through the global connection module.

[0058] See also Figure 6 , Figure 6 A reference schematic diagram of transmitting multi-dimensional vectors in a speech feature processing layer in different schemes provided for an embodiment of the present disclosure. Figure 6 The full feedback connection scheme (a) is a transmission scheme in the related art, which is usually performed through the feedforward process of the speech separation model by means of the synchronous expansion scheme (b). Figure 6 In (c) asynchronous expansion scheme), there are fewer connection channels between the speech feature processing layers, so the time consumed in training of the embodiment of the present disclosure will be significantly reduced, thereby improving the training efficiency of the speech separation model.

[0059] Combination Figure 6 As shown in the concatenation scheme in (d), if the output of each speech feature processing layer is C feature channels, then when the speech feature processing layer receives the feature channels output by K other speech feature processing layers, the speech feature processing layer needs to concatenate and compress K*C feature channels in advance to ensure that the number of feature channels input by itself is C, so as to avoid processing abnormalities caused by inconsistent feature channels of feature input of each speech feature processing layer. For example, 1*1 convolution can be used (i.e. Figure 6 1*1Conv), compressing the number of K*C feature channels into the number of C feature channels. For another example, the number of K*C feature channels can be converted into the number of C feature channels by adding K times.

[0060] In a possible implementation, step S200 may further include: based on the multidimensional embedding of the speech to be separated, generating a mask multidimensional vector corresponding to the multidimensional embedding of the speech to be separated according to a preset activation function. Based on the mask multidimensional vector and the multidimensional vector of the speech to be separated, generating the separated speech signal. Exemplarily, the activation function may be a ReLU function in the related art, or other nonlinear functions may be used, which is not limited in the embodiments of the present disclosure.

[0061] See also Figure 3 , Figure 3 A training flowchart of a speech separation model provided according to an embodiment of the present disclosure is shown.

[0062] like Figure 3 As shown, the embodiment of the present disclosure provides a training process of the above-mentioned speech separation model, including:

[0063] Step S400, based on the speech signal to be separated for training, generates a multidimensional vector of the speech to be separated for training. Exemplarily, the multidimensional vector of the speech to be separated is generated by the encoder described in step S100. Wherein, the speech signal to be separated is mixed with at least two target speech signals (also called real speech signals) from different sound sources. Exemplarily, if the speech signal to be separated is a mixed speech of sound source A, sound source B, and sound source C, the target speech signal may include: independent speech signals of sound source A, sound source B, and sound source C. Exemplarily, if the speech signal to be separated is a mixed speech of sound source A and ambient sound, the target speech signal may include: independent sound signals of sound source A and ambient sound. In the training process of the speech separation model, the number of target speech signals corresponding to multiple speech signals to be separated must be consistent to prevent the redundant separation speech signals from being dispersed into ambient noise in the case of inconsistent numbers, thereby reducing the separation effect of the speech separation model. For example: in the scenario of voice recognition on a mobile terminal, the separated voice signals used by the voice separation model in the training stage can be divided into the user's independent voice and the independent sound of environmental noise. The voice signal to be separated can be a synthetic signal of the two target signals (that is, any sound other than the user's voice is considered to be of no help in voice recognition, so other sounds are classified as environmental noise), so that the trained voice separation model can accurately generate a separated voice signal corresponding to the user's independent voice for the voice signal to be separated, which is then used as the analysis content of the semantic analysis module of the mobile terminal.

[0064] Step S500: input the multi-dimensional vector of speech to be separated for training into a speech separation model to generate a separated speech signal for training.

[0065] Continue reading Figure 3, step S600, based on the separated speech signal for training and the real speech signal corresponding to the speech signal to be separated for training, a loss value is generated. Exemplarily, a loss function can be used to calculate the loss value between the separated speech signal for training and the real speech signal to express the difference between the two. For example: the smaller the loss value between the separated speech signal for training and the real speech signal, the more similar the speech features of the separated speech signal and the real speech signal are, that is, the better the separation effect of the speech separation model. The above-mentioned loss function can refer to the relevant technology, and the embodiment of the present disclosure does not limit the specific calculation method of the loss value between the separated speech signal and the target speech signal. Exemplarily, the minimum loss value of the separated speech signal for training and the real speech signal can be calculated as the loss value through a permutation invariant algorithm (also known as permutation invariant training algorithm, Permutation Invariant Training, PIT algorithm) to avoid the permutation problem (i.e., permutation problem) existing in the relevant technology.

[0066] Step S700, updating the network parameters of the speech separation model according to the loss value. Exemplarily, the above network parameters may include: the weights used by the speech feature processing layer to calculate the multidimensional vector, the weights used by the speech feature processing layer to transmit the multidimensional vector to the next speech feature processing layer, etc. Various feedback algorithms in the relevant technology may be used to adjust the network parameters, which are not limited in the embodiments of the present disclosure, such as: gradient descent method, steepest descent method, stochastic gradient descent method, etc.

[0067] See also Figure 7 , Figure 7 This is a schematic diagram of the test results of the speech separation model provided by an embodiment of the present disclosure in different data sets. SI-SNRi (i.e., scale-invariant signal-to-noise ratio improvement) and SDRi (i.e., signal-to-noise ratio improvement) are common evaluation criteria for speech separation performance. The model marked with {train-100} represents that the model is trained using the Libri2Mix{train-100} dataset, and {train-360} is also the same as above, which will not be repeated here. The model marked with {Light} has the number of channels (i.e., the number of channels, i.e., Figure 7The number of channels in the model marked with {Dense} is the same or similar to the number of channels in the DualPathRNN in the table, and the number of channels in the model marked with {Dense} is the same or similar to the number of channels in the S-FRCNN (i.e., Synchronous Fully recurrent convolutional neural network) in the related art. A-FRCNN-n (i.e., Asynchronous Fully Recurrent convolutional neural network, also known as asynchronous full feedback convolutional neural network) represents the new speech separation model used in the embodiments of the present disclosure. Among them, n represents the number of the above-mentioned multi-scale speech processing modules. For example, A-FRCNN-4 represents that the speech separation model includes 4 of the above-mentioned multi-scale speech processing modules.

[0068] When applied to the Libri2Mix dataset and the WHAM! dataset, the speech separation model provided by the embodiment of the present disclosure (i.e., the A-FRCNN in the figure) has better overall performance than other models. For example, although the same number of parameters as the DualPathRNN model is used, the separation performance of the speech separation model provided by the embodiment of the present disclosure is better than that of the DualPathRNN model. In actual application scenarios, the speech separated by the speech separation model provided by the embodiment of the present disclosure is clearer than that of other models. Although the separation effect of DualPathRNN on the above two datasets is acceptable, the running efficiency of the DualPathRNN model is relatively slow. When applied to the Libri2Mix dataset, it occupied 8 GPUs and took 6 days to complete the training, while the embodiment of the present disclosure only took 2 days under the same hardware conditions. Even the speech separation model provided by the present invention, which includes 16 multi-scale speech processing modules, is trained using the Libri2Mix{train-100} dataset, and the number of channels is the same as that of the DualPathRNN model. Figure 7 The number of DualPathRNN channels in the same or similar Figure 7 In the case of A-FRCNN-16 (light), it only takes 0.8 days to complete the training. In addition, the speech separation model provided in the embodiment of the present disclosure can be transplanted into different speech separation methods.

[0069] See also Figure 8 , Figure 8The figure shows the test results of transplanting the speech separation model provided by an embodiment of the present disclosure to different speech separation methods. If the speech separation model provided by the present disclosure is combined with the DualPathRNN model, the separation performance on the WSJ0-2Mix dataset and the Libri2Mix dataset is higher than that of the traditional DualPathRNN model. This is only an exemplary statement and does not mean that the speech separation model provided by the embodiment of the present disclosure cannot achieve better speech separation effect when applied to other datasets.

[0070] See also Fig. 9 , Fig. 9 A block diagram of a speech signal separation device provided by an embodiment of the present disclosure is shown.

[0071] See also Fig. 9 As shown, in a possible implementation, the embodiment of the present disclosure also provides a voice signal separation device, the separation device includes: a voice vector generation module to be separated, which is used to generate a voice multidimensional vector to be separated based on the voice signal to be separated; the voice multidimensional vector to be separated is used to record the voice features of the voice signal to be separated; a mask vector generation module, which is used to generate a mask multidimensional vector of the voice multidimensional vector to be separated based on the voice multidimensional vector to be separated through a trained voice separation model; a voice signal generation module, which is used to generate a separated voice signal based on the voice multidimensional vector to be separated and the mask multidimensional vector; wherein the voice separation model includes a plurality of identical multi-scale voice processing modules. The multi-scale voice processing module includes a local connection module and a global connection module connected to the local connection module; the local connection module is used to extract the voice features of the voice multidimensional vector to be separated at each voice granularity level, and fuse the voice features of different voice granularity levels; the global connection module is used to fuse the voice features of each voice granularity level processed by the local connection module to the most detailed voice granularity level.

[0072] In one possible implementation, the training process of the speech separation model is as follows: based on the speech signal to be separated for training, a multidimensional vector of the speech to be separated for training is generated; the multidimensional vector of the speech to be separated for training is input into the speech separation model to generate a separated speech signal for training; based on the separated speech signal for training and the real speech signal corresponding to the speech signal to be separated for training, a loss value is generated; and according to the loss value, the network parameters of the speech separation model are updated.

[0073] In a possible implementation, the trained speech separation model generates a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated, including: generating a multidimensional embedding of the speech to be separated based on the speech multidimensional vector to be separated; based on the multidimensional embedding of the speech to be separated, generating a mask multidimensional vector corresponding to the multidimensional embedding of the speech to be separated according to a preset activation function; and generating a separated speech signal based on the mask multidimensional vector and the speech multidimensional vector to be separated.

[0074] In a possible implementation, the generating of a multidimensional embedding of the speech to be separated based on the multidimensional vector of the speech to be separated includes: processing the multidimensional vector of the speech to be separated by a first multiscale speech processing module to generate an intermediate speech multidimensional vector, and performing a direct convolution or addition or cascade operation on the intermediate speech multidimensional vector to generate an output vector; processing the output vector generated by the previous multiscale speech processing module by each multiscale speech processing module after the first multiscale speech processing module to generate an intermediate speech multidimensional vector, and performing a direct convolution or addition or cascade operation on the intermediate speech multidimensional vector to generate an output vector; and using the output vector corresponding to the last multiscale speech processing module as the multidimensional embedding of the speech to be separated.

[0075] In a possible implementation, the local connection module includes a plurality of speech feature processing layers belonging to different speech granularity levels; and the global connection module includes a speech feature processing layer belonging to the most detailed speech granularity level.

[0076] In one possible implementation, the generation of the intermediate speech multidimensional vector includes: in the local connection module, from the fine speech granularity level to the coarse speech granularity level, sequentially transmitting and updating the speech multidimensional vector to be separated into the speech multidimensional vector to be separated at different speech granularity levels; in the local connection module, from each speech granularity level to the adjacent and / or same speech granularity level, transmitting and updating the speech multidimensional vector to be separated at the different speech granularity levels into the local module output multidimensional vector; from the local connection module to the global connection module, transmitting and updating the local module output multidimensional vector through the speech feature processing layer of the most detailed speech granularity level into the intermediate speech multidimensional vector.

[0077] In a possible implementation manner, the multi-dimensional vectors of speech to be separated belonging to the same speech granularity level transmitted in the local connection module and the global connection module are equal in size.

[0078] In one possible implementation, the loss value is generated based on the separated speech signal for training and the real speech signal corresponding to the training speech signal to be separated, including: calculating the minimum loss value of the separated speech signal and the real speech signal corresponding to the training speech signal to be separated through a permutation invariant algorithm, as the loss value.

[0079] In some embodiments, the functions or modules included in the device provided in the embodiments of the present application can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here.

[0080] The embodiment of the present application further provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium may be a non-volatile computer-readable storage medium.

[0081] An embodiment of the present application also provides an electronic device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the above method.

[0082] An embodiment of the present application also provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0083] The electronic device may be provided as a terminal, a server, or a device in other forms.

[0084] See also Fig.10 , Fig.10 A block diagram of an electronic device according to an embodiment of the present application is shown.

[0085] For example, the electronic device 1900 may be provided as a terminal device or a server. Fig.10 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0086] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as a Microsoft Server operating system (Windows Server 2003). TM ), a graphical user interface operating system launched by Apple (Mac OSX TM ), a multi-user, multi-process computer operating system (Unix TM ), a free and open source Unix-like operating system (Linux TM ), an open source Unix-like operating system (FreeBSD TM ) or similar.

[0087] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to perform the above method.

[0088] The present application may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.

[0089] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, (but not limited to) an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0090] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0091] The computer program instructions for performing the operation of the present application can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of a computer-readable program instruction to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute a computer-readable program instruction, thereby realizing various aspects of the present application.

[0092] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0093] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0094] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0095] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can also be executed in the opposite order sometimes, depending on the function involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a dedicated hardware-based system that performs the function or action of the specification, or can be realized by a combination of special-purpose hardware and computer instructions.

[0096] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK) and the like.

[0097] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can also be executed in the opposite order sometimes, depending on the function involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a dedicated hardware-based system that performs the function or action of the specification, or can be realized by a combination of special-purpose hardware and computer instructions.

[0098] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for separating a speech signal, characterized in that: The separation method comprises: Based on the speech signal to be separated, a multidimensional vector of the speech to be separated is generated; the multidimensional vector of the speech to be separated is used to record the speech features of the speech signal to be separated; Generate a mask multidimensional vector of the to-be-separated speech multidimensional vector based on the to-be-separated speech multidimensional vector by using the trained speech separation model; Based on the to-be-separated speech multidimensional vector and the mask multidimensional vector, a separated speech signal is generated; wherein the speech separation model comprises a plurality of identical multi-scale speech processing modules; the multi-scale speech processing module comprises a local connection module and a global connection module connected to the local connection module; the local connection module is used to extract the speech features of the to-be-separated speech multidimensional vector at each speech granularity level, and fuse the speech features of different speech granularity levels; the global connection module is used to fuse the speech features of each speech granularity level processed by the local connection module to the most detailed speech granularity level; The trained speech separation model generates a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated, including: Based on the multidimensional vector of the speech to be separated, generating a multidimensional embedding of the speech to be separated; Based on the multidimensional embedding of the speech to be separated, generating a mask multidimensional vector corresponding to the multidimensional embedding of the speech to be separated according to a preset activation function; Generate a separated speech signal based on the mask multidimensional vector and the to-be-separated speech multidimensional vector; The step of generating a multi-dimensional embedding of the speech to be separated based on the multi-dimensional vector of the speech to be separated comprises: Processing the speech multidimensional vector to be separated by a first multi-scale speech processing module to generate an intermediate speech multidimensional vector, and performing direct convolution, addition or cascade operation on the intermediate speech multidimensional vector to generate an output vector; The output vector generated by the previous multi-scale speech processing module is processed by each multi-scale speech processing module after the first multi-scale speech processing module to generate an intermediate speech multi-dimensional vector, and the intermediate speech multi-dimensional vector is directly convolved, added, or cascaded to generate an output vector; The output vector corresponding to the last multi-scale speech processing module is used as the multi-dimensional embedding of the speech to be separated.

2. The separation method according to claim 1, characterized in that The training process of the speech separation model is as follows: Based on the speech signal to be separated for training, a multi-dimensional vector of the speech to be separated for training is generated; Inputting the training speech multidimensional vector to be separated into a speech separation model to generate a separated speech signal for training; Generate a loss value based on the separated speech signal for training and the real speech signal corresponding to the speech signal to be separated for training; According to the loss value, the network parameters of the speech separation model are updated.

3. The separation method according to claim 1, characterized in that The local connection module includes a plurality of speech feature processing layers belonging to different speech granularity levels; the global connection module includes a speech feature processing layer belonging to the most detailed speech granularity level.

4. The separation method according to claim 3, characterized in that The generating of the intermediate speech multidimensional vector comprises: In the local connection module, the multi-dimensional vectors of speech to be separated are sequentially transmitted and updated from the fine speech granularity level to the coarse speech granularity level to be multi-dimensional vectors of speech to be separated at different speech granularity levels; In the local connection module, the multidimensional vectors of the to-be-separated speech at the different speech granularity levels are transmitted and updated from each speech granularity level to the adjacent and / or same speech granularity level as the local module output multidimensional vector; From the local connection module to the global connection module, the local module output multidimensional vector is transmitted and updated through the speech feature processing layer of the most detailed speech granularity level to become the intermediate speech multidimensional vector.

5. The separation method according to claim 4, characterized in that The multi-dimensional vectors of the to-be-separated speech belonging to the same speech granularity level transmitted in the local connection module and the global connection module are equal in size.

6. The separation method according to claim 2, characterized in that The generating a loss value based on the separated speech signal for training and the real speech signal corresponding to the speech signal to be separated for training includes: The minimum loss value of the real speech signal corresponding to the speech signal to be separated after separation and the training speech signal is calculated by using a permutation invariant algorithm as the loss value.

7. A speech signal separation device, characterized in that: The separation device comprises: A speech vector generation module to be separated is used to generate a speech multi-dimensional vector to be separated based on the speech signal to be separated; the speech multi-dimensional vector to be separated is used to record the speech features of the speech signal to be separated; A mask vector generation module, used for generating a mask multidimensional vector of the to-be-separated speech multidimensional vector based on the to-be-separated speech multidimensional vector through a trained speech separation model; A speech signal generating module, used for generating a separated speech signal based on the speech multidimensional vector to be separated and the mask multidimensional vector; The speech separation model includes a plurality of identical multi-scale speech processing modules; the multi-scale speech processing module includes a local connection module and a global connection module connected to the local connection module; the local connection module is used to extract the speech features of the multi-dimensional vector of the speech to be separated at each speech granularity level, and fuse the speech features of different speech granularity levels; the global connection module is used to fuse the speech features of each speech granularity level processed by the local connection module to the most detailed speech granularity level; The trained speech separation model generates a mask multidimensional vector of the speech multidimensional vector to be separated based on the speech multidimensional vector to be separated, including: generating a multidimensional embedding of the speech to be separated based on the speech multidimensional vector to be separated; based on the speech multidimensional embedding, generating a mask multidimensional vector corresponding to the speech multidimensional embedding according to a preset activation function; based on the mask multidimensional vector and the speech multidimensional vector to be separated, generating a separated speech signal; The method of generating a multidimensional embedding of the speech to be separated based on the multidimensional vector of the speech to be separated comprises: processing the multidimensional vector of the speech to be separated by a first multiscale speech processing module to generate an intermediate speech multidimensional vector, and performing a direct convolution or addition or cascade operation on the intermediate speech multidimensional vector to generate an output vector; processing the output vector generated by the previous multiscale speech processing module by each multiscale speech processing module after the first multiscale speech processing module to generate an intermediate speech multidimensional vector, and performing a direct convolution or addition or cascade operation on the intermediate speech multidimensional vector to generate an output vector; and using the output vector corresponding to the last multiscale speech processing module as the multidimensional embedding of the speech to be separated.

8. An electronic device, characterized in that: include: Processor and memory; The processor is configured to execute the speech signal separation method instructions as described in any one of claims 1 to 6; and the memory is used to store the instructions executable by the processor.

9. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method for separating a speech signal according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Audio classification and separation method and device, electronic equipment and storage medium

    CN112989107A

  • Unsupervised video target segmentation method based on mask guidance feature purification

    CN113283283A

  • Voice data separation method and device, equipment and storage medium

    CN113470688A

  • Speech recognition and speech recognition model training method and apparatus

    WO2020083110A1

  • Inter-channel feature extraction method, audio separation method and apparatus, and computing device

    WO2021012929A1