Speech separation model training method and device, speech separation method
Through the training method of teacher model and student model, combined with the deep attention fusion module, audio and visual features are fused to generate multi-modal features, which solves the problem of speech separation under unsynchronized video data and achieves high-performance speech separation effect.
Patent Information
- Application Number
- CN202410139135.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-01-31
AI Technical Summary
It is difficult for existing speech separation technology to accurately perform speech separation on audio data without synchronized video data, especially in the absence of video assistance.
Using the training method of teacher model and student model, audio and visual features are fused through supervised training and deep attention fusion module to generate multi-modal features, and the separation performance is improved through iterative fusion strategy, and finally a high-performance student model is obtained. The model can perform accurate speech separation without video data.
It achieves high-performance voice separation without synchronized video data, solves the problem of difficulty in accurate separation with existing technology, and improves the performance and applicability of the voice separation system.
Smart Images

Figure CN118230752B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of speech processing, and in particular to a speech separation model training method and device, and a speech separation method. Background Art
[0002] Speech separation technology refers to a signal processing technology that uses certain methods to calculate individual signals from mixed speech signals. The purpose of speech separation is to separate the target speech from mixed speech signals of multiple speakers. It mainly solves the problem of "hearing clearly" for humans and machines. Involving multiple disciplines such as acoustics, signal processing, computer science, pattern recognition, machine learning, and neuroscience, speech separation has been successfully applied in many scenarios, such as hearing aids, noise-cancelling headphones, and smart speakers.
[0003] Existing audio-only speech separation methods have achieved significant improvements in performance in ideal environments, but speech separation is inherently challenging in the real world. The similarities between speakers’ voices, the interference of environmental reverberation, and the low information density of speech all contribute to this difficulty.
[0004] As a solution, introducing richer and more discriminative information as input can fundamentally alleviate the difficulty of speech separation. Visual information is an effective clue to extract the target speaker information from the mixed audio, and plays a vital role in improving the separation performance. In recent years, the audio-visual joint speech separation method that integrates audio-visual features has become a popular research direction, and the use of this multimodal method has promoted the development of more advanced speech separation systems. However, obtaining high-quality multimodal data (such as synchronized video and audio data) in the real world is more challenging than obtaining unimodal data. Many applications only have audio input but no facial images, such as most speakers without cameras. Therefore, for audio data without synchronized video data, it is difficult for existing speech separation techniques to accurately perform speech separation on it.
[0005] With regard to the problem that existing speech separation technologies are difficult to accurately separate speech from audio data without synchronized video data, no effective solution has been proposed yet. Summary of the invention
[0006] The present invention provides a method and device for training a speech separation model and a speech separation method to solve the problem that the existing speech separation technology is difficult to accurately perform speech separation on audio data without synchronized video data.
[0007] In a first aspect, the present invention provides a method for training a speech separation model, wherein the speech separation model includes a teacher model and a student model, and the training method includes:
[0008] Obtaining corresponding sample audio data and sample video data;
[0009] Performing supervised training on the teacher model using the sample audio data and the sample video data;
[0010] The student model is supervised and trained using the sample audio data, and during the training process, the student model is guided by the trained teacher model.
[0011] In some of these embodiments, the teacher model includes a first audio encoder, a lip reading extractor, a video encoder, a deep attention fusion module, a first separator, and a first audio decoder;
[0012] The teacher model is supervised and trained by using the sample audio data and the sample video data, including:
[0013] Encoding the sample audio data by the first audio encoder to obtain a first audio feature;
[0014] Extracting features from the sample video data by the lip reading extractor to obtain lip features, and encoding the lip features by the video encoder to obtain visual features;
[0015] fusing the first audio feature and the visual feature through the deep attention fusion module to obtain a multimodal feature;
[0016] Separating and predicting the multimodal features by the first separator to obtain a first prediction result;
[0017] Decoding the first prediction result and the sample audio data by the first audio decoder to obtain a first audio separation result;
[0018] The teacher model is iteratively trained with the goal of minimizing the loss between the first audio separation result and the audio separation label.
[0019] In some embodiments, fusing the first audio feature and the visual feature by the deep attention fusion module to obtain a multimodal feature includes:
[0020] The first audio feature and the visual feature are iteratively fused through the deep attention fusion module to obtain a multimodal feature.
[0021] In some of the embodiments, the number of iterations of the iterative fusion is 2;
[0022] The deep attention fusion module includes a global attention module and a local attention module;
[0023] The first iterative fusion formula is:
[0024]
[0025] Among them, F1 represents the first fusion result, A represents the first audio feature, and V represents the video feature. represents the activation function, G represents the global attention module, and L represents the local attention module;
[0026] The second iterative fusion formula is:
[0027]
[0028] Among them, F2 represents the multimodal feature.
[0029] In some embodiments, the expression of the global attention module is:
[0030] G(T)=β(γConv1(βConv2(ρ(T))))
[0031] The expression of the local attention module is:
[0032] L(T)=β(γConv1(βConv2(T)))
[0033] Among them, T represents the module input, β represents the batch normalization unit, γ represents the rectified linear unit, ρ represents the global average pooling unit, Conv1 and Conv2 represent the first convolution unit and the second convolution unit respectively, which realize point-by-point channel interaction through point convolution.
[0034] In some of these embodiments, the student model includes a second audio encoder, a second separator, and a second audio decoder;
[0035] The student model is supervised and trained by the sample audio data, and the student model is guided by the trained teacher model during the training process, including:
[0036] Encoding the sample audio data by the second audio encoder to obtain second audio data;
[0037] Separating and predicting the second audio data by the second separator to obtain a second prediction result;
[0038] Decoding the second prediction result and the sample audio data by the second audio decoder to obtain a second audio separation result;
[0039] The student model is iteratively trained with the goal of minimizing the loss of the second audio separation result; wherein the loss of the second audio separation result includes the loss between the second audio separation result and the audio separation label and the loss between the second audio separation result and the first audio separation result.
[0040] In some embodiments, the loss of the second audio separation result is:
[0041]
[0042] Among them, α represents the balance coefficient, represents the loss between the second audio separation result and the audio separation label, Indicates the loss between the second audio separation result and the first audio separation result.
[0043] In some of the embodiments, the loss between the second audio separation result and the audio separation label is:
[0044]
[0045]
[0046] in, represents the audio separation tag, and s2 represents the second audio separation result;
[0047] The loss between the second audio separation result and the first audio separation result is:
[0048]
[0049] Wherein, MSE represents the Mean Square Error function, s1 represents the first audio separation result, and s2 represents the second audio separation result.
[0050] In a second aspect, the present invention provides a speech separation method, the speech separation method comprising:
[0051] Acquire mixed voice data to be separated;
[0052] The mixed speech data is separated by a student model in a trained speech separation model to obtain target speech data; wherein the speech separation model is trained using the training method of the speech separation model described in the first aspect.
[0053] In a third aspect, the present invention provides a training device for a speech separation model, wherein the speech separation model includes a teacher model and a student model, and the training device includes:
[0054] A sample data acquisition module, used to acquire corresponding sample audio data and sample video data;
[0055] A first model training module, used for performing supervised training on the teacher model through the sample audio data and the sample video data;
[0056] The second model training module is used to supervise the student model through the sample audio data, and to provide training guidance to the student model through the trained teacher model during the training process.
[0057] In a fourth aspect, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.
[0058] In a fifth aspect, the present invention provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the method described in the first aspect is implemented.
[0059] Compared with the related art, the training method of the speech separation model provided in the present invention can obtain a high-performance student model by training the speech separation model. The trained student model is applied in the actual speech separation scenario, and can accurately separate the separate audio data without the assistance of the corresponding video data. Therefore, the problem that the existing speech separation technology is difficult to accurately perform speech separation on the audio data without synchronized video data is solved.
[0060] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 is a flow chart of a method for training a speech separation model provided in an embodiment of the present invention;
[0062] Figure 2 is a training flow chart of a speech separation model provided in a preferred embodiment of the present invention;
[0063] Figure 3 is a training flow chart of a speech separation model provided in a preferred embodiment of the present invention;
[0064] Figure 4 It is a structural block diagram of a training device for a speech separation model provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0065] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0066] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the", "these" and the like in this application do not represent quantitative restrictions, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether directly or indirectly. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. Usually, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0067] In an embodiment of the present invention, a method for training a speech separation model is provided. The speech separation model includes a teacher model and a student model. Figure 1 is a flow chart of a method for training a speech separation model provided in an embodiment of the present invention, such as Figure 1 As shown, the process includes the following steps:
[0068] Step S110, obtaining corresponding sample audio data and sample video data.
[0069] The corresponding sample audio data and sample video data constitute multimodal data. Correspondence means that the two have an associated relationship. For example, the sample audio data can be the sound produced by the target person speaking, and the sample video data is the picture of the target person speaking. The two need to be synchronized in time.
[0070] Step S120, supervised training of the teacher model is performed using sample audio data and sample video data.
[0071] First, supervised training of the teacher model is performed using sample audio data and sample video data, that is, the teacher model is iteratively trained with the goal of minimizing the loss between the output of the teacher model and the audio separation label, thereby obtaining a high-performance teacher model. The student model will not be trained at this stage.
[0072] Step S130, supervise the student model through sample audio data, and guide the student model through the trained teacher model during the training process.
[0073] After the teacher model training is completed, its parameters are fixed, and the student model is supervised and trained using sample audio data. At the same time, the trained high-performance teacher model guides the student model to improve the training effect of the student model, and finally a high-performance student model can be obtained. The above training process transfers the knowledge learned by the teacher model to the student model, realizing cross-module (video to audio) knowledge distillation, and the trained student model can accurately separate the individual audio data.
[0074] In summary, through the training method of the speech separation model, a high-performance student model is finally obtained. The trained student model is applied in the actual speech separation scenario, and can accurately separate the individual audio data without the assistance of the corresponding video data. Therefore, the problem that the existing speech separation technology is difficult to accurately separate the audio data without the synchronized video data is solved.
[0075] In some embodiments, the teacher model includes a first audio encoder, a lip reading extractor, a video encoder, a deep attention fusion module, a first separator and a first audio decoder. Step S120 includes:
[0076] Step S121, the sample audio data is encoded by a first audio encoder to obtain a first audio feature. The specific encoding formula is as follows:
[0077] A=Encoder a (x)
[0078] Among them, A represents the first audio feature, Encoder a represents the audio encoder, and x represents the sample audio data.
[0079] Step S122, extract features from the sample video data using a lip reading extractor to obtain lip features, and encode the lip features using a video encoder to obtain visual features. The extraction formula and encoding formula are as follows:
[0080] L=LipReading(v)
[0081] V=Encoderv (L)
[0082] Among them, L represents lip features, LipReading represents lip reading extractor, v represents sample video data, V represents visual features, Encoder v Represents the visual encoder.
[0083] Step S123, the first audio feature and the visual feature are fused by the deep attention fusion module to obtain a multimodal feature. Step S124, the multimodal feature is separated and predicted by the first separator to obtain a first prediction result; Step S125, the first prediction result and the sample audio data are decoded by the first audio decoder to obtain a first audio separation result; Step S126, the teacher model is iteratively trained with the goal of minimizing the loss between the first audio separation result and the audio separation label.
[0084] In the above embodiment, a specific teacher model structure and its training steps are provided. In particular, it includes two parallel feature extraction methods in the feature extraction stage. On the one hand, the sample audio data is directly encoded by the first audio encoder; on the other hand, the lip features of the video data are first extracted by the pre-trained lip reading extractor, and then the lip features are encoded by the video encoder. Therefore, in this embodiment, the audio data and video data when the person is speaking are mainly targeted. The reason for using the lip reading extractor is that the lip features of the person play a major role in audio separation, and the video data may contain many other features that cannot be used for audio separation. By pre-training a model (lip reading extractor) that can extract lip features, the audio encoder can focus only on the lip features. Then the first audio feature and the visual feature are fused to obtain a multimodal feature, and finally a separator and an audio decoder are used to obtain a first audio separation result based on the multimodal feature. Among them, the loss between the first audio separation result and the audio separation label is:
[0085]
[0086]
[0087] in, represents the audio separation tag, and s1 represents the first audio separation result.
[0088] Furthermore, step S123 includes: iteratively fusing the first audio feature and the visual feature through a deep attention fusion module to obtain a multimodal feature.
[0089] In this embodiment, in order to improve the feature fusion effect, a multiple-iteration fusion strategy is adopted to obtain multi-modal features for the first audio features and the visual features.
[0090] Preferably, the number of iterations of iterative fusion is 2. Then the overall fusion formula is:
[0091] F2=Attention stage2 (Attention stage1 (A,V)
[0092] Among them, Attention stage1 Indicates the first fusion, Attention stage2 Indicates the second fusion.
[0093] The deep attention fusion module includes a global attention module and a local attention module.
[0094] The first fusion formula is:
[0095]
[0096] Among them, F1 represents the first fusion result, A represents the first audio feature, and V represents the video feature. represents the activation function, G represents the global attention module, and L represents the local attention module.
[0097] The second fusion formula is:
[0098]
[0099] Among them, F2 represents the multimodal feature.
[0100] In the above embodiment, a specific deep attention fusion module structure and its fusion strategy are provided. In the first fusion, the first audio feature and the video feature are first added, and the added features are respectively sent to the global attention module and the local attention module. After the output results of the two attention modules are added and activated, the activated features are respectively multiplied by the first audio feature and the video feature using different weights. Finally, the two different features obtained by multiplication are added, and the added features are the first iterative fusion results. In the second iterative fusion, the first iterative fusion results are respectively sent to the global attention module and the local attention module. After the output results of the two attention modules are added and activated, the activated features are respectively multiplied by the outputs of the global attention module and the local attention module in the first iterative fusion using different weights. Finally, the two different features obtained by multiplication are added, and the added features are the second iterative fusion results.
[0101] Through the above-mentioned deep attention fusion module structure and its fusion strategy, the first audio feature and the video feature can be deeply fused, thereby improving the subsequent speech separation effect.
[0102] Furthermore, the expression of the global attention module is:
[0103] G(T)=β(γConv1(βConv2(ρ(T))))
[0104] The expression of the local attention module is:
[0105] L(T)=β(γConv1(βConv2(T)))
[0106] Among them, T represents the module input, β represents the batch normalization unit, γ represents the rectified linear unit, ρ represents the global average pooling unit, Conv1 and Conv2 represent the first convolution unit and the second convolution unit respectively, which realize point-by-point channel interaction through point convolution.
[0107] In this embodiment, a specific attention module structure and feature processing method are provided.
[0108] The global attention module mainly includes global average pooling unit, convolution unit, batch normalization unit and rectified linear unit. First, global average pooling is performed on the input features, then the first convolution is performed, batch normalization is performed after convolution, then the second convolution is performed, rectified linear processing is performed after convolution, and finally batch normalization is performed again.
[0109] The local attention module mainly includes convolutional units, batch normalization units, and rectified linear units. First, the input features are processed by the first convolution, followed by batch normalization, then the second convolution, followed by rectified linear processing, and finally batch normalization.
[0110] In some embodiments, the student model includes a second audio encoder, a second separator, and a second audio decoder. Step 130 includes:
[0111] Step 131, encode the sample audio data through a second audio encoder to obtain second audio data; step 132, separate and predict the second audio data through a second separator to obtain a second prediction result; step 133, decode the second prediction result and the sample audio data through a second audio decoder to obtain a second audio separation result; step 134, iteratively train the student model with the goal of minimizing the loss of the second audio separation result; wherein the loss of the second audio separation result includes the loss between the second audio separation result and the audio separation label and the loss between the second audio separation result and the first audio separation result.
[0112] In the above embodiment, a specific student model structure and its training steps are provided. In particular, since it is necessary to complete the knowledge distillation transfer from the teacher model to the student model, the loss of the student model includes two losses, the loss between the output of the student model and the audio separation label and the output of the teacher model. The loss between the output of the student model and the audio separation label is the task loss, and the loss between the output of the student model and the output of the teacher model is the distillation loss.
[0113] Specifically, the loss of the second audio separation result is:
[0114]
[0115] Among them, α represents the balance coefficient, represents the loss between the second audio separation result and the audio separation label, Represents the loss between the second audio separation result and the first audio separation result.
[0116] In the above embodiment, two different losses are balanced by introducing a balancing coefficient.
[0117] Among them, the loss between the second audio separation result and the audio separation label is:
[0118]
[0119]
[0120] in, represents the audio separation tag, and s2 represents the second audio separation result.
[0121] The loss between the second audio separation result and the first audio separation result is:
[0122]
[0123] Wherein, MSE represents the Mean Square Error function, s1 represents the first audio separation result, and s2 represents the second audio separation result.
[0124] As mentioned above, the training method of the speech separation model provided by the present invention has been fully introduced through multiple embodiments. It is understandable that the above different embodiments can be combined to obtain new embodiments. For example, in one embodiment, a specific teacher model structure and its training steps and a specific student model structure and its training steps can be provided at the same time. For another example, a preferred embodiment can be obtained by combining all the above embodiments. Figure 2 and Figure 3 All of them are training flow charts of the speech separation model provided in the preferred embodiment of the present invention. Figure 2 and Figure 3 .
[0125] In summary, the training method of the above-mentioned speech separation model uses audio data and video data as input in the training phase, and only uses audio data as input in the test phase, thereby achieving the performance improvement of speech separation under the condition of missing visual modality (video data). First, the present invention divides the model training process into two stages: pre-training and cross-modal distillation. In the pre-training phase, the present invention trains the teacher model through sample audio data and sample video data, and improves the performance of the teacher model through a multi-stage deep attention fusion module for subsequent guidance of the student model. In the cross-modal distillation phase, knowledge transfer is performed around the output information of the decoder, and the knowledge learned by the teacher model is transferred to the student model. Among them, the deep attention fusion module adapts to the fusion of audiovisual features by combining local and global attention mechanisms. The local attention mechanism can capture these subtle speech features, and the global attention mechanism enables the model to integrate global information from the visual signal, allowing the teacher model to flexibly adjust the importance of visual and auditory information based on the characteristics of the current data, prompting the teacher model to perform multimodal representation, and achieving a huge performance improvement of the teacher model. During cross-modal distillation, the distillation loss and task loss of the student model are balanced by hyperparameters. The present invention is very helpful for speech separation tasks. It can ensure that the teacher model in the pre-training stage significantly improves the speech separation performance, and at the same time ensure that the student model in the cross-modal distillation stage significantly improves the speech separation performance in the absence of visual input.
[0126] It should be noted that in the cross-modal distillation stage, the weight of the loss function α is searched in the grid in the range of 0-0.5 with an interval of 0.05, using the AdamW optimizer, a learning rate of 0.0005, and a linear learning rate decay. When the verification performance has not improved for five consecutive epochs, the learning rate can be reduced by half.
[0127] Based on the training method of the speech separation model provided by the present invention, the present invention also provides a speech separation method. The speech separation method comprises:
[0128] Step S210, obtaining mixed speech data to be separated.
[0129] Step S220, separating the mixed speech data by the student model in the trained speech separation model to obtain target speech data; wherein the speech separation model is trained by the training method of the speech separation model provided by the present invention.
[0130] By using the training method of the speech separation model provided by the present invention, a high-performance speech separation model can be obtained. In particular, the student model in the trained speech separation model can separate mixed speech data in the absence of visual input, solving the problem that the existing speech separation technology is difficult to accurately perform speech separation on audio data without synchronized video data.
[0131] In an embodiment of the present invention, a training device for a speech separation model is also provided, and the speech separation model includes a teacher model and a student model. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions thereof will not be repeated. The terms "module", "unit", "subunit" and the like used below may implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and contemplated.
[0132] Figure 4 is a structural block diagram of a training device for a speech separation model provided in an embodiment of the present invention, such as Figure 4 As shown, the device comprises:
[0133] A sample data acquisition module, used to acquire corresponding sample audio data and sample video data;
[0134] A first model training module, for supervised training of a teacher model using sample audio data and sample video data;
[0135] The second model training module is used to supervise the student model through sample audio data, and to guide the student model through the trained teacher model during the training process.
[0136] Through the training device of the speech separation model, a high-performance student model is finally obtained. The trained student model is applied in the actual speech separation scenario, and can accurately separate the individual audio data without the assistance of the corresponding video data. Therefore, the problem that the existing speech separation technology is difficult to accurately separate the audio data without the synchronized video data is solved.
[0137] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0138] An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0139] In this embodiment, a storage medium may be provided to implement the method. The storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0140] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. According to the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0141] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.
Claims
1. A method for training a speech separation model, characterized in that: The speech separation model includes a teacher model and a student model, and the training method includes: Obtaining corresponding sample audio data and sample video data; Performing supervised training on the teacher model using the sample audio data and the sample video data; Performing supervised training on the student model through the sample audio data, and guiding the training of the student model through the trained teacher model during the training process; The teacher model includes a first audio encoder, a lip reading extractor, a video encoder, a deep attention fusion module, a first separator and a first audio decoder; The teacher model is supervised and trained by using the sample audio data and the sample video data, including: Encoding the sample audio data by the first audio encoder to obtain a first audio feature; Extracting features from the sample video data by the lip reading extractor to obtain lip features, and encoding the lip features by the video encoder to obtain visual features; fusing the first audio feature and the visual feature through the deep attention fusion module to obtain a multimodal feature; Separating and predicting the multimodal features by the first separator to obtain a first prediction result; Decoding the first prediction result and the sample audio data by the first audio decoder to obtain a first audio separation result; Iteratively training the teacher model with the goal of minimizing the loss between the first audio separation result and the audio separation label; The student model includes a second audio encoder, a second separator, and a second audio decoder; The student model is supervised and trained by the sample audio data, and the student model is guided by the trained teacher model during the training process, including: Encoding the sample audio data by the second audio encoder to obtain second audio data; Separating and predicting the second audio data by the second separator to obtain a second prediction result; Decoding the second prediction result and the sample audio data by the second audio decoder to obtain a second audio separation result; The student model is iteratively trained with the goal of minimizing the loss of the second audio separation result; wherein the loss of the second audio separation result includes the loss between the second audio separation result and the audio separation label and the loss between the second audio separation result and the first audio separation result.
2. The method for training a speech separation model according to claim 1, characterized in that: The first audio feature and the visual feature are fused by the deep attention fusion module to obtain a multimodal feature, including: The first audio feature and the visual feature are iteratively fused through the deep attention fusion module to obtain a multimodal feature.
3. The method for training a speech separation model according to claim 2, characterized in that: The number of iterations of the iterative fusion is 2; The deep attention fusion module includes a global attention module and a local attention module; The first iterative fusion formula is: Among them, F1 represents the first fusion result, A represents the first audio feature, and V represents the video feature. represents the activation function, G represents the global attention module, and L represents the local attention module; The second iterative fusion formula is: Among them, F2 represents the multimodal feature.
4. The method for training a speech separation model according to claim 3, characterized in that: The expression of the global attention module is: G(T)=β(γConv1(βConv2(ρ(T)))) The expression of the local attention module is: L(T)=β(γConv1(βConv2(T))) Among them, T represents the module input, β represents the batch normalization unit, γ represents the rectified linear unit, ρ represents the global average pooling unit, Conv1 and Conv2 represent the first convolution unit and the second convolution unit respectively, which realize point-by-point channel interaction through point convolution.
5. The method for training a speech separation model according to claim 1, characterized in that: The loss of the second audio separation result is: Among them, α represents the balance coefficient, represents the loss between the second audio separation result and the audio separation label, Indicates the loss between the second audio separation result and the first audio separation result.
6. The method for training a speech separation model according to claim 5, characterized in that: The loss between the second audio separation result and the audio separation label is: in, represents the audio separation tag, and s2 represents the second audio separation result; The loss between the second audio separation result and the first audio separation result is: Wherein, MSE represents the Mean Square Error function, s1 represents the first audio separation result, and s2 represents the second audio separation result.
7. A speech separation method, characterized in that: The speech separation method comprises: Acquire mixed voice data to be separated; The mixed speech data is separated by a student model in a trained speech separation model to obtain target speech data; wherein the speech separation model is trained using the training method of the speech separation model described in any one of claims 1-6.
8. A training device for a speech separation model, characterized in that: The speech separation model includes a teacher model and a student model, and the training device includes: A sample data acquisition module, used to acquire corresponding sample audio data and sample video data; A first model training module, used for performing supervised training on the teacher model through the sample audio data and the sample video data; A second model training module is used to supervise the student model through the sample audio data, and to guide the student model through the trained teacher model during the training process; The teacher model includes a first audio encoder, a lip reading extractor, a video encoder, a deep attention fusion module, a first separator and a first audio decoder; The teacher model is supervised and trained by using the sample audio data and the sample video data, including: Encoding the sample audio data by the first audio encoder to obtain a first audio feature; Extracting features from the sample video data by the lip reading extractor to obtain lip features, and encoding the lip features by the video encoder to obtain visual features; fusing the first audio feature and the visual feature through the deep attention fusion module to obtain a multimodal feature; Separating and predicting the multimodal features by the first separator to obtain a first prediction result; Decoding the first prediction result and the sample audio data by the first audio decoder to obtain a first audio separation result; Iteratively training the teacher model with the goal of minimizing the loss between the first audio separation result and the audio separation label; The student model includes a second audio encoder, a second separator, and a second audio decoder; The student model is supervised and trained by the sample audio data, and the student model is guided by the trained teacher model during the training process, including: Encoding the sample audio data by the second audio encoder to obtain second audio data; Separating and predicting the second audio data by the second separator to obtain a second prediction result; Decoding the second prediction result and the sample audio data by the second audio decoder to obtain a second audio separation result; The student model is iteratively trained with the goal of minimizing the loss of the second audio separation result; wherein the loss of the second audio separation result includes the loss between the second audio separation result and the audio separation label and the loss between the second audio separation result and the first audio separation result.
