Speech separation network generation method, device, electronic device and storage medium

By designing the search space of the speech separation super network, the target speech separation sub-network is automatically generated, which solves the problem of low efficiency of manual adjustment of network parameters in the existing technology, and achieves efficient and accurate speech separation network generation and training.

CN115331694BActive Publication Date: 2024-09-20BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210975124.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-15
Publication Date
2024-09-20
Estimated Expiration
2042-08-15

AI Technical Summary

Technical Problem

The existing speech separation network generation process requires manual adjustment of the structural parameters of the network layer, resulting in low generation efficiency and reliance on professional knowledge and a large number of experimental resources.

Method used

Design a speech separation super network, including an encoder and a decoder, and configure the structural parameters of the network layer through the search space to automatically generate a target speech separation sub-network that meets the target conditions, avoiding manual adjustments and improving generation efficiency.

Benefits of technology

It achieves efficient generation of speech separation networks, improves network training efficiency and accuracy, reduces resource consumption, and improves the performance of multi-task speech separation functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115331694B
    Figure CN115331694B
Patent Text Reader

Abstract

The present disclosure relates to a method, device, electronic device and storage medium for generating a speech separation network, and belongs to the field of speech processing technology. The method comprises: based on a given plurality of sample audio signals, iteratively training an acquired speech separation super network, wherein the speech separation super network comprises an encoder and a decoder, and the encoder and the decoder each comprise a plurality of network layers and a search space, and the search space is configured with structural parameters of a plurality of network layers. Furthermore, based on the trained speech separation super network, a target speech separation sub network that meets the target conditions is generated. In the above process, by designing a search space configured with structural parameters, it is possible to automatically generate a target speech separation sub network that meets the target conditions based on the speech separation super network, thereby avoiding manual adjustment of the structural parameters of different network layers in the network and improving the generation efficiency of the speech separation network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] As a speech processing technology that can separate mixed audio signals from different sound sources, speech separation technology plays a very important role in speech recognition, music information retrieval, and keyword location.

[0003] In the related art, an artificially designed speech separation network is often trained based on the collected sample audio signals to obtain a trained speech separation network to achieve a speech separation function.

[0004] However, when manually designing a speech separation network, it is often necessary to manually adjust the structural parameters of different network layers in the network. This process relies on the developer's expertise and a large amount of experimental resources, which makes the generation process of the speech separation network time-consuming, labor-intensive and inefficient. Summary of the invention

[0005] The present disclosure provides a method, device, electronic device and storage medium for generating a speech separation network, which can improve the generation efficiency of the speech separation network. The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, a method for generating a speech separation network is provided, the method comprising:

[0007] Acquire a speech separation super network, the speech separation super network comprising an encoder and a decoder, the encoder and the decoder each comprising a plurality of network layers and a search space, the search space being configured with structural parameters of the plurality of network layers, the structural parameters comprising at least one of the following: the number of network layers, the number of self-attention heads in a multi-head self-attention mechanism module of the network layer, and the number of neurons in a hidden layer in a forward perception module of the network layer;

[0008] Based on multiple sample audio signals, iteratively train the speech separation super network, wherein, in the i-th iteration process, based on the search space corresponding to the encoder and the decoder, determine multiple speech separation sub-networks of the speech separation super network in this iteration process, the structural parameters of the multiple speech separation sub-networks are determined from the search space corresponding to the encoder and the decoder based on multiple different structural parameter combinations, based on the multiple speech separation sub-networks and the sample audio signal input in this iteration process, obtain the speech separation result of the sample audio signal input in this iteration process, based on the speech separation result and the labeled audio signal, determine the loss value of the speech separation super network, based on the loss value, update the network parameters of the speech separation super network, i is a positive integer;

[0009] Based on the trained speech separation super network, a target speech separation sub network that meets the target conditions is generated.

[0010] Through the above method, on the basis of a given plurality of sample audio signals, the speech separation supernetwork obtained by iterative training is performed, wherein the speech separation supernetwork includes an encoder and a decoder, and the encoder and the decoder each include a plurality of network layers and a search space, and the search space is configured with structural parameters of a plurality of network layers. Further, based on the trained speech separation supernetwork, a target speech separation subnetwork that meets the target conditions is generated. In the above process, by designing a search space configured with structural parameters, it is realized that based on the speech separation supernetwork, a target speech separation subnetwork that meets the target conditions is automatically generated, thereby avoiding manual adjustment of the structural parameters of different network layers in the network, improving the generation efficiency of the speech separation network, and achieving a balance between network lightweight and generalization.

[0011] In some embodiments, the method further comprises:

[0012] Determine a plurality of groups of sample audio signals from the plurality of sample audio signals, each group of sample audio signals comprising at least one sample audio signal;

[0013] The method of obtaining a speech separation result of the sample audio signal input during this iteration based on the multiple speech separation subnetworks and the sample audio signal input during this iteration includes:

[0014] Each group of sample audio signals is forward propagated in the speech separation supernetwork according to the propagation path corresponding to each speech separation subnetwork to obtain the speech separation results of each group of sample audio signals, wherein one group of sample audio signals corresponds to one speech separation subnetwork.

[0015] In some embodiments, based on the speech separation result and the annotated audio signal, determining a loss value of the speech separation supernetwork, and based on the loss value, updating a network parameter of the speech separation supernetwork includes:

[0016] Determine the loss value of the speech separation super network based on the speech separation results of each group of sample audio signals and the labeled audio signals;

[0017] If the loss value or this iteration meets the iteration cutoff condition, the trained speech separation super network is output;

[0018] If not satisfied, the network parameters of the speech separation supernetwork are updated, and the (i+1)th iteration is performed based on the updated speech separation supernetwork.

[0019] In this way, the speech separation supernetwork can be trained based on multiple speech separation subnetworks in one iteration, thereby accelerating network convergence and improving network training efficiency.

[0020] In some embodiments, forward propagating each group of sample audio signals in the speech separation supernetwork according to the propagation paths corresponding to each speech separation subnetwork to obtain speech separation results for each group of sample audio signals includes:

[0021] The Nth group of sample audio signals is input into the speech separation supernetwork, and forward propagation is performed in the speech separation supernetwork based on the mask corresponding to the Nth speech separation subnetwork to obtain the speech separation result of the Nth group of sample audio signals. The mask corresponding to the Nth speech separation subnetwork indicates the number of neurons participating in the training on the propagation path of the Nth speech separation subnetwork, and N is a positive integer.

[0022] The mask can indicate the percentage of neuron outputs that are effective, so the mask indirectly indicates the number of neurons involved in training, thus playing a role in dynamic training. In other words, the number of neurons in the speech separation hypernetwork is actually fixed (that is, the structural parameters corresponding to the encoder and decoder are both maximum values), but the mask can determine which neurons participate in training, thereby achieving forward propagation along multiple propagation paths in one iteration, that is, achieving that all learnable structural parameters participate in network training.

[0023] In some embodiments, the generating of a target speech separation subnetwork that meets the target condition based on the trained speech separation supernetwork includes:

[0024] Generate a plurality of candidate speech separation sub-networks based on the trained network parameters of the speech separation super-network and the search space corresponding to the encoder and the decoder in the speech separation super-network;

[0025] Evaluate the network performance of the multiple candidate speech separation sub-networks based on the validation set to obtain network evaluation results of the multiple candidate speech separation sub-networks;

[0026] Based on the network evaluation results of the multiple candidate speech separation subnetworks, the target speech separation subnetwork is determined from the multiple candidate speech separation subnetworks.

[0027] Through the above method, the server evaluates the network performance of the multiple candidate speech separation sub-networks based on the verification set, and determines the target speech separation sub-network that meets the target conditions. The target speech separation sub-network is also the sub-network in the speech separation super-network whose network performance best meets the requirements, thereby improving the network accuracy.

[0028] In some embodiments, the generating of a plurality of candidate speech separation subnetworks based on the trained network parameters of the speech separation supernetwork and the search space corresponding to the encoder and the decoder in the speech separation supernetwork comprises:

[0029] For any candidate speech separation sub-network, determining structural parameters of an encoder and a decoder in the candidate speech separation sub-network based on the search space corresponding to the encoder and the decoder;

[0030] The candidate speech separation sub-network is generated based on the trained network parameters of the speech separation super-network and the structural parameters of the encoder and decoder in the candidate speech separation sub-network.

[0031] Through the above method, the multiple candidate speech separation sub-networks can directly inherit the network parameters of the speech separation super-network without re-training. Therefore, the server can directly evaluate the network performance of the multiple candidate speech separation sub-networks based on the verification set, thereby improving the network training efficiency.

[0032] In some embodiments, the generating of a target speech separation subnetwork that meets the target condition based on the trained speech separation supernetwork includes:

[0033] Applying an evolutionary algorithm, in the qth iteration process, based on network evaluation results of a plurality of first speech separation subnetworks in the network cluster, determining at least one second speech separation subnetwork that meets the evolution condition from the network cluster, the first speech separation subnetwork being generated based on the trained network parameters of the speech separation supernetwork and the search space corresponding to the encoder and the decoder in the speech separation supernetwork, where q is a positive integer;

[0034] Performing crossover mutation on the at least one second voice separation subnetwork to generate at least one third voice separation subnetwork, and updating the network cluster based on the at least one third voice separation subnetwork;

[0035] If the current iteration meets the evolutionary cutoff condition, the target speech sub-separation network is determined from the updated network cluster. If not, the q+1th iteration is performed based on the updated network cluster.

[0036] By using the above method, the evolutionary algorithm is applied to generate the target speech separation subnetwork, which can expand the range of candidate speech separation subnetworks and generate a subnetwork with network performance that meets the requirements based on the speech separation supernetwork as much as possible, effectively ensuring the accuracy of the target speech separation subnetwork.

[0037] In some embodiments, the method further comprises:

[0038] The target speech separation sub-network is trained based on multiple sample audio signals and labeled audio signals.

[0039] By retraining the target speech separation sub-network, the accuracy of the target speech separation sub-network can be further improved.

[0040] In some embodiments, the method further comprises:

[0041] Performing short-time Fourier transform on the mixed audio signal to be processed to obtain the frequency spectrum characteristics of the mixed audio signal;

[0042] Inputting the spectral feature into the target speech separation subnetwork, encoding the mixed audio signal through an encoder in the target speech separation subnetwork, and obtaining a coding feature of the mixed audio signal;

[0043] The coded features are decoded by a plurality of decoders in the target speech separation subnetwork to obtain a clean speech signal and at least one background audio signal of the mixed audio signal.

[0044] Through the above method, when the trained target speech separation subnetwork is applied to speech separation, the accuracy of the speech separation result can be effectively improved. Moreover, when the target speech separation subnetwork includes multiple decoders, a multi-task speech separation function can be realized.

[0045] According to a second aspect of an embodiment of the present disclosure, a speech separation network generation device is provided, the device comprising:

[0046] An acquisition unit is configured to execute acquisition of a speech separation super network, the speech separation super network comprising an encoder and a decoder, the encoder and the decoder each comprising a plurality of network layers and a search space, the search space being configured with structural parameters of the plurality of network layers, the structural parameters comprising at least one of the following: the number of network layers, the number of self-attention heads in a multi-head self-attention mechanism module of the network layer, and the number of neurons in a hidden layer in a forward perception module of the network layer;

[0047] A training unit is configured to perform iterative training of the speech separation super network based on multiple sample audio signals, wherein in the i-th iteration process, based on the search space corresponding to the encoder and the decoder, multiple speech separation sub-networks of the speech separation super network in this iteration process are determined, and the structural parameters of the multiple speech separation sub-networks are determined from the search space corresponding to the encoder and the decoder based on multiple different structural parameter combinations. Based on the multiple speech separation sub-networks and the sample audio signal input during this iteration process, a speech separation result of the sample audio signal input during this iteration process is obtained, based on the speech separation result and the labeled audio signal, a loss value of the speech separation super network is determined, and based on the loss value, the network parameters of the speech separation super network are updated, and i is a positive integer;

[0048] The generating unit is configured to generate a target speech separation sub-network that meets the target conditions based on the trained speech separation super-network.

[0049] In some embodiments, the apparatus further includes: a determining unit configured to execute:

[0050] Determine a plurality of groups of sample audio signals from the plurality of sample audio signals, each group of sample audio signals comprising at least one sample audio signal;

[0051] The training unit is configured to perform:

[0052] Each group of sample audio signals is forward propagated in the speech separation supernetwork according to the propagation path corresponding to each speech separation subnetwork to obtain the speech separation results of each group of sample audio signals, wherein one group of sample audio signals corresponds to one speech separation subnetwork.

[0053] In some embodiments, the training unit is configured to perform:

[0054] Determine the loss value of the speech separation super network based on the speech separation results of each group of sample audio signals and the labeled audio signals;

[0055] If the loss value or this iteration meets the iteration cutoff condition, the trained speech separation super network is output;

[0056] If not satisfied, the network parameters of the speech separation supernetwork are updated, and the (i+1)th iteration is performed based on the updated speech separation supernetwork.

[0057] In some embodiments, the training unit is configured to perform:

[0058] The Nth group of sample audio signals is input into the speech separation supernetwork, and forward propagation is performed in the speech separation supernetwork based on the mask corresponding to the Nth speech separation subnetwork to obtain the speech separation result of the Nth group of sample audio signals. The mask corresponding to the Nth speech separation subnetwork indicates the number of neurons participating in the training on the propagation path of the Nth speech separation subnetwork, and N is a positive integer.

[0059] In some embodiments, the generating unit is configured to perform:

[0060] Generate a plurality of candidate speech separation sub-networks based on the trained network parameters of the speech separation super-network and the search space corresponding to the encoder and the decoder in the speech separation super-network;

[0061] Evaluate the network performance of the multiple candidate speech separation sub-networks based on the validation set to obtain network evaluation results of the multiple candidate speech separation sub-networks;

[0062] Based on the network evaluation results of the multiple candidate speech separation subnetworks, the target speech separation subnetwork is determined from the multiple candidate speech separation subnetworks.

[0063] In some embodiments, the generating unit is configured to perform:

[0064] For any candidate speech separation sub-network, determining structural parameters of an encoder and a decoder in the candidate speech separation sub-network based on the search space corresponding to the encoder and the decoder;

[0065] The candidate speech separation sub-network is generated based on the trained network parameters of the speech separation super-network and the structural parameters of the encoder and decoder in the candidate speech separation sub-network.

[0066] In some embodiments, the generating unit is configured to perform:

[0067] Applying an evolutionary algorithm, in the qth iteration process, based on network evaluation results of a plurality of first speech separation subnetworks in the network cluster, determining at least one second speech separation subnetwork that meets the evolution condition from the network cluster, the first speech separation subnetwork being generated based on the trained network parameters of the speech separation supernetwork and the search space corresponding to the encoder and the decoder in the speech separation supernetwork, where q is a positive integer;

[0068] Performing crossover mutation on the at least one second voice separation subnetwork to generate at least one third voice separation subnetwork, and updating the network cluster based on the at least one third voice separation subnetwork;

[0069] If the current iteration meets the evolutionary cutoff condition, the target speech sub-separation network is determined from the updated network cluster. If not, the q+1th iteration is performed based on the updated network cluster.

[0070] In some embodiments, the training unit is further configured to perform:

[0071] The target speech separation sub-network is trained based on multiple sample audio signals and labeled audio signals.

[0072] In some embodiments, the apparatus further comprises: a speech separation unit configured to perform:

[0073] Performing short-time Fourier transform on the mixed audio signal to be processed to obtain the frequency spectrum characteristics of the mixed audio signal;

[0074] Inputting the spectral feature into the target speech separation subnetwork, encoding the mixed audio signal through an encoder in the target speech separation subnetwork, and obtaining a coding feature of the mixed audio signal;

[0075] The coded features are decoded by a plurality of decoders in the target speech separation subnetwork to obtain a clean speech signal and at least one background audio signal of the mixed audio signal.

[0076] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0077] one or more processors;

[0078] A memory for storing program codes executable by the processor;

[0079] The processor is configured to execute the program code to implement the above-mentioned speech separation network generation method.

[0080] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, which includes: when the program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the above-mentioned speech separation network generation method.

[0081] According to a fifth aspect of an embodiment of the present disclosure, there is provided a computer program product, comprising a computer program, which implements the above-mentioned speech separation network generation method when executed by a processor.

[0082] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0084] Figure 1 It is a schematic diagram of an implementation environment of a method for generating a speech separation network provided by an embodiment of the present disclosure;

[0085] Figure 2 is a flow chart of a method for generating a speech separation network provided by an embodiment of the present disclosure;

[0086] Figure 3 is a structural diagram of a speech separation supernetwork provided by an embodiment of the present disclosure;

[0087] Figure 4 is a schematic diagram of a structure of a search space provided by an embodiment of the present disclosure;

[0088] Figure 5 is a flow chart of a method for generating a speech separation network provided by an embodiment of the present disclosure;

[0089] Figure 6 is a block diagram of a speech separation network generation device provided by an embodiment of the present disclosure;

[0090] Figure 7 It is a block diagram of a server provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0091] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0092] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0093] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the present disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the sample audio signals involved in the embodiments of the present disclosure are all obtained with full authorization. In some embodiments, the embodiments of the present disclosure provide a permission inquiry page, which is used to inquire whether to grant permission to obtain the above information. In the permission inquiry page, an authorization consent control and an authorization rejection control are displayed. When a trigger operation on the authorization consent control is detected, the speech separation network generation method provided in the embodiments of the present disclosure is used to obtain the above information.

[0094] Figure 1 Schematic diagram of an implementation environment of a method for generating a speech separation network provided by an embodiment of the present disclosure. Figure 1 , the implementation environment includes: a terminal 101 and a server 102.

[0095] Terminal 101 may be at least one of a smart phone, a smart watch, a desktop computer, a laptop, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer. Terminal 101 has a communication function and can access a wired network or a wireless network. Terminal 101 may generally refer to one of a plurality of terminals, and this embodiment is only illustrated by terminal 101. Those skilled in the art may appreciate that the number of the above terminals may be more or less. Schematically, terminal 101 may be installed and run with an application, which is a video recording application, a social application, an online conference application, a voice call application, or a live broadcast application, etc. In some embodiments, terminal 101 may provide information required for a speech separation network generation method to server 102, such as training parameters, sample audio signals, and an initial neural network.

[0096] The server 102 may be an independent physical server, or a server cluster or distributed file system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, the server 102 is directly or indirectly connected to the terminal 101 via wired or wireless communication, which is not limited in the embodiments of the present disclosure. Optionally, the number of the above-mentioned servers 102 may be more or less, which is not limited in the embodiments of the present disclosure. Schematically, the server 102 is used to provide background services for applications running on the terminal. Of course, the server 102 may also include other functional servers to provide more comprehensive and diversified services. In some embodiments, the server 102 is used to execute the voice separation network generation method provided in the embodiments of the present disclosure, and generate a qualified voice separation network based on the information provided by the terminal 101.

[0097] In some embodiments, in the speech separation network generation method, the server 102 undertakes the main computing work and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work and the terminal 101 undertakes the main computing work; or, the server 102 or the terminal 101 can each undertake the computing work independently, which is not limited to the embodiments of the present application.

[0098] Figure 2 FIG. 1 is a flow chart of a method for generating a speech separation network provided by an embodiment of the present disclosure. Figure 2 As shown, in the embodiment of the present disclosure, the application to the server is taken as an example for explanation. The method includes the following steps 201 to 203.

[0099] In step 201, the server obtains a speech separation supernetwork.

[0100] In an embodiment of the present disclosure, the speech separation supernetwork includes an encoder and a decoder, each of which includes multiple network layers and a search space, and the search space is configured with structural parameters of the multiple network layers. In some embodiments, the encoder is also called a mixed audio encoder, which is used to encode the mixed audio signal to obtain a coding feature, and the decoder is also called a separated source audio decoder, which is used to decode the coding feature to obtain an audio signal from a specified sound source. It should be noted that the embodiment of the present disclosure does not limit the number of encoders and decoders in the speech separation supernetwork, and can be set according to actual needs.

[0101] The search space corresponding to the encoder and decoder is introduced below. Schematically, the encoder and decoder each include multiple network layers connected in sequence, and each network layer includes at least one multi-head self-attention mechanism (Multi-HeadSelf Attention, MHSA) module and at least one forward perception (Feed Forward Networks, FFN) module. In some embodiments, each network layer is also called a conformer processing block (Conformer Block). Based on this, the structural parameters configured in the search space include at least one of the following:

[0102] 1. The number of network layers.

[0103] For the encoder and decoder, the more network layers there are in the encoder and decoder, the deeper the depth of the encoder and decoder. By designing the number of network layers in the encoder and decoder as a searchable structural parameter, dynamic training of the depth of the encoder and decoder can be achieved, thereby effectively reducing the redundancy of the encoder and decoder. Moreover, for the decoder, since the intensity and purity of audio signals from different sound sources are different (such as the characteristics of speech signals are short-term stability, the characteristics of music signals are periodicity and rich high-frequency components, and the characteristics of noise signals are noise-like Gaussianity, etc.), therefore, by designing the number of network layers in the decoder as a searchable structural parameter, when the speech separation super network includes multiple decoders, on the basis of realizing the multi-task speech separation function, it is also possible to explore the characteristics of audio signals from different sound sources, thereby improving the accuracy of the speech separation network.

[0104] 2. The number of self-attention heads in the MHSA module of the network layer.

[0105] Since the number of self-attention heads has a great influence on the running performance of the encoder and decoder, by designing the number of self-attention heads of the MHSA module in each network layer as a searchable structural parameter, the number of self-attention heads that is most suitable for the encoder and decoder can be automatically searched, thereby improving the running performance of the encoder and decoder.

[0106] 3. The number of neurons in the hidden layer of the FFN module of the network layer.

[0107] Since the number of neurons in the hidden layer of the FFN module often determines the fitting ability of the encoder and decoder, by designing the number of neurons in the hidden layer of the FFN module in each network layer as a searchable hyperparameter, the most suitable number of neurons for the encoder and decoder can be automatically searched, thereby improving the fitting ability of the encoder and decoder.

[0108] Schematically, the following reference Figure 3 and Figure 4 , an example is given to illustrate the speech separation super network obtained by the server.

[0109] Figure 3 Schematic diagram of a speech separation super network provided by an embodiment of the present disclosure. Figure 3 As shown, a mixed audio signal including a speech signal, a music signal and a background noise signal is introduced as an example. The speech separation super network includes an encoder and multiple decoders. The mixed audio signal is subjected to a short-time Fourier transform (STFT) to obtain a spectrum feature, which is used as the input feature of the encoder. The output layer of the encoder is connected to the input layers of multiple decoders respectively, and the output feature of the decoder is subjected to an inverse short-time Fourier transform (iSTFT) to obtain a corresponding audio signal. Both the encoder and the decoder include multiple network layers connected in sequence, namely, Conformer Block. The search space corresponding to the encoder and the decoder is shown in FIG. Figure 4 shown.

[0110] Figure 4 Schematic diagram of a search space structure provided by an embodiment of the present disclosure. Figure 4As shown, each network layer in the encoder and decoder consists of four modules connected in sequence, namely the first FFN module, the MHSA module, the convolution module and the second FFN module. Among them, the number of network layers, the number of neurons in the hidden layer of the first FFN module, the number of self-attention heads in the MHSA module and the number of neurons in the hidden layer of the second FFN module are all configured to be searchable. Schematically, taking the encoder as an example, the structural parameters configured in the search space corresponding to the encoder include: the number of network layers {6, 7, 8, 9, 10, 11, 12}; the number of self-attention heads in the MHSA module {2, 3, 4, 5, 6}; the number of neurons in the hidden layer of the FFN module {512, 768, 1024, 1280, 1536}. Taking the decoder as an example, the structural parameters configured in the search space corresponding to the decoder include: the number of network layers {4, 5, 6, 7, 8}; the number of self-attention heads in the MHSA module {2, 3, 4}; the number of neurons in the hidden layer in the FFN module {128, 256, 512, 640, 768}. It should be noted that the examples here are only for illustrative purposes, and the structural parameters can be set according to requirements. Moreover, the specific structure of each module in the network layer can also be set according to actual needs, and there is no limitation on this.

[0111] After the above step 201, the server obtains a speech separation supernetwork, in which the structural parameters of the encoder and the decoder are searchable. In other words, by searching in the search space corresponding to the encoder and the decoder, multiple speech separation sub-networks can be sampled from the speech separation supernetwork. After iteratively training the speech separation supernetwork based on the sample audio signal, a target speech separation sub-network with the network performance that best meets the requirements can be generated based on the speech separation supernetwork.

[0112] In step 202, the server iteratively trains the speech separation super network based on a plurality of sample audio signals.

[0113] In an embodiment of the present disclosure, the multiple sample audio signals carry a labeled audio signal. Schematically, the sample audio signal is a mixed audio signal of multiple audio signals from different sound sources, and accordingly, the labeled audio signal of the sample audio signal is the multiple audio signals. For example, the sample audio signal is a mixed audio signal of a speech signal, a music signal, and a noise signal, and the labeled audio signals of the sample audio signal are respectively a speech signal, a music signal, and a noise signal. In some embodiments, taking any sample audio signal as an example, the server obtains multiple audio signals from different sound sources, mixes the multiple audio signals to obtain a mixed audio signal, uses the mixed audio signal as a sample audio signal, and uses the multiple audio signals as labeled audio signals of the sample audio signal. It should be noted that the embodiment of the present disclosure does not limit the type and quantity of the labeled audio signals of the sample audio signal.

[0114] Schematically, during the i-th iteration of the server training the speech separation supernetwork, based on the search space corresponding to the encoder and the decoder, multiple speech separation sub-networks of the speech separation supernetwork in this iteration are determined, and the structural parameters of the multiple speech separation sub-networks are determined from the search space corresponding to the encoder and the decoder based on a variety of different structural parameter combinations. Based on the multiple speech separation sub-networks and the sample audio signal input during this iteration, the speech separation result of the sample audio signal input during this iteration is obtained, and based on the speech separation result and the labeled audio signal, the loss value of the speech separation supernetwork is determined. Based on the loss value, the network parameters of the speech separation supernetwork are updated, where i is a positive integer. In this way, the speech separation supernetwork can be trained based on multiple speech separation sub-networks in one iteration, thereby accelerating network convergence and improving network training efficiency. In addition, the optional implementation methods of this process will be described later. Figure 5 The embodiment shown is described in detail and will not be described in detail here.

[0115] In step 203, the server generates a target speech separation sub-network that meets the target conditions based on the trained speech separation super-network.

[0116] In the disclosed embodiment, the target speech separation subnetwork is used to separate the mixed audio signal to obtain a clean speech signal. The server generates multiple candidate speech separation subnetworks based on the network parameters of the speech separation supernetwork and the search space corresponding to the encoder and decoder in the speech separation supernetwork, and determines the target speech separation subnetwork that meets the target conditions from the multiple candidate speech separation subnetworks. It should be noted that the multiple candidate speech separation subnetworks can directly inherit the network parameters of the speech separation supernetwork without the need for retraining. Therefore, the server can directly evaluate the network performance of the multiple candidate speech separation subnetworks based on the verification set, obtain the network evaluation results of the multiple candidate speech separation subnetworks, and determine the target speech separation subnetwork from the multiple candidate speech separation subnetworks based on the network evaluation results of the multiple candidate speech separation subnetworks. This process can also be understood as a process of searching for a subnetwork in a speech separation supernetwork, and the target speech separation subnetwork determined above is also the subnetwork whose network performance in the speech separation supernetwork best meets the requirements.

[0117] Furthermore, in some embodiments, the server trains the target speech separation subnetwork based on the multiple sample audio signals and the annotated audio signals. When the trained target speech separation subnetwork is applied to speech separation, the mixed audio signal can be accurately separated to obtain a clean speech signal and at least one background audio signal. For example, taking the example of a server providing background services for a video recording application, when a user records a video through the video recording application, the server often receives mixed audio signals from different sound sources, such as human voice, music, and noise. Through the target speech separation subnetwork, the mixed audio signal can be separated to obtain a clean speech signal corresponding to the human voice, a music signal corresponding to the music, and a noise signal corresponding to the noise, thereby providing a basis for other functions of the video recording application.

[0118] After the above steps 201 to 203, the embodiment of the present disclosure designs a search space corresponding to the encoder and the decoder in the speech separation super network, and configures the structural parameters of the encoder and the decoder as searchable structural parameters, so as to facilitate the server to apply a neural network structure search (Neural Architecture Search, NAS) algorithm (an algorithm used to design a neural network, which constructs a super network by designing a certain search space, and after training the super network, searches for the sub network with the best performance on the verification set in the super network based on the search space), and automatically generates a qualified target speech separation sub network based on the speech separation super network.

[0119] In contrast, when generating a speech separation network, related technologies often require manual adjustment of the structural parameters of different network layers in the network. This process relies on the professional knowledge of developers and a large amount of experimental resources, resulting in a time-consuming, labor-intensive and inefficient generation process of the speech separation network. For example, by simply stacking multiple network layers, building an encoder and a decoder to generate a speech separation network, multiple network layers in the encoder and decoder are often configured based on the same structural parameters, resulting in a certain degree of redundancy in the overall network.

[0120] In summary, in the disclosed embodiment, based on a given plurality of sample audio signals, a speech separation supernetwork is trained and acquired, wherein the speech separation supernetwork includes an encoder and a decoder, and the encoder and the decoder each include a plurality of network layers and a search space, and the search space is configured with structural parameters of a plurality of network layers. Furthermore, based on the trained speech separation supernetwork, a target speech separation subnetwork that meets the target conditions is generated. In the above process, by designing a search space configured with structural parameters, it is possible to automatically generate a target speech separation subnetwork that meets the target conditions based on the speech separation supernetwork, thereby avoiding manual adjustment of the structural parameters of different network layers in the network and improving the generation efficiency of the speech separation network.

[0121] According to the above Figure 2 The embodiment shown briefly describes the speech separation network generation method provided by the present disclosure. Figure 5 The illustrated embodiment provides a detailed introduction to the speech separation network generation method.

[0122] Figure 5 FIG. 1 is a flow chart of a method for generating a speech separation network provided by an embodiment of the present disclosure. Figure 5 As shown, the method is described by taking the execution of the method by the server as an example. Schematically, the method includes the following steps 501 to 510.

[0123] In step 501, the server obtains a speech separation supernetwork.

[0124] In the embodiment of the present disclosure, this step is the same as the above step 201, so it will not be repeated here.

[0125] The following introduces the process of iteratively training the speech separation supernetwork based on multiple sample audio signals by the server through steps 502 to 504, taking the i-th iteration process of training the speech separation supernetwork as an example (i is a positive integer).

[0126] In step 502, the server determines a plurality of groups of sample audio signals from a plurality of sample audio signals, each group of sample audio signals including at least one sample audio signal.

[0127] In the embodiment of the present disclosure, the server obtains multiple sample audio signals, and based on the target number, determines multiple groups of sample audio signals from the multiple sample voice signals, that is, the number of groups of the multiple groups of sample audio signals is equal to the target number. The target number is a preset number, which can be set according to demand and is not limited to this.

[0128] In step 503, the server determines a plurality of speech separation sub-networks of the speech separation super-network in this iteration process based on the search spaces corresponding to the encoder and the decoder.

[0129] In the disclosed embodiment, the server searches in the search space corresponding to the encoder and the decoder, and determines the structural parameters of multiple speech separation subnetworks based on a variety of different structural parameter combinations, and the number of the multiple speech separation subnetworks is equal to the aforementioned target number. That is, the number of the aforementioned multiple groups of sample audio signals is the same as the number of the multiple speech separation subnetworks. In this way, technical support is provided for multiple speech separation subnetworks to participate in training during one iteration. In some embodiments, the structural parameters of the multiple speech separation subnetworks are determined by random sampling from the search space, and this is not limited.

[0130] In step 504, the server forward-propagates each group of sample audio signals in the speech separation supernetwork according to the propagation paths corresponding to each speech separation subnetwork, and obtains speech separation results for each group of sample audio signals.

[0131] In the disclosed embodiment, a group of sample audio signals corresponds to a speech separation subnetwork. The server implements forward propagation of sample audio signals in the speech separation supernetwork based on the masks corresponding to each speech separation subnetwork. The mask is a vector composed of 0 or 1, and its dimension is the same as the dimension of the network layer output data. Schematically, the mask can indicate what proportion of neuron outputs are valid. Therefore, the mask indirectly indicates the number of neurons involved in the training, thereby playing a role in dynamic training. In other words, the number of neurons in the speech separation supernetwork is actually fixed (that is, the structural parameters corresponding to the encoder and decoder are both maximum values), but the mask can be used to determine which neurons participate in the training, thereby realizing forward propagation according to multiple propagation paths in one iteration, that is, all learnable structural parameters are involved in network training.

[0132] Schematically, taking the Nth group of sample audio signals among multiple groups of sample audio signals as an example (N is a positive integer), the server inputs the Nth group of sample audio signals into the speech separation supernetwork, and performs forward propagation in the speech separation supernetwork based on the mask corresponding to the Nth speech separation subnetwork to obtain the speech separation result of the Nth group of sample audio signals. The mask corresponding to the Nth speech separation subnetwork indicates the number of neurons participating in the training on the propagation path of the Nth speech separation subnetwork.

[0133] In step 505, the server determines the loss value of the speech separation super network based on the speech separation results of each group of sample audio signals and the labeled audio signals.

[0134] In the disclosed embodiment, the server constructs a loss function based on the difference between the speech separation results of each group of sample audio signals and the labeled audio signal, and calculates the loss value of this iterative process based on the loss function. It should be noted that the loss function in the disclosed embodiment can be various loss functions commonly used in the neural network training process, such as absolute value loss function, cosine similarity loss function, square loss function, cross entropy loss function, etc., and the disclosed embodiment does not limit this.

[0135] In step 506, if the loss value or this iteration meets the iteration cutoff condition, the trained speech separation supernetwork is output; if not, the network parameters of the speech separation supernetwork are updated, and the i+1th iteration is performed based on the updated speech separation supernetwork.

[0136] In the disclosed embodiment, the iteration cutoff condition is that the loss value (also called the error value) is less than a set threshold value, and the set threshold value can be set according to actual needs, such as being set according to the accuracy of the speech separation supernetwork. In other embodiments, the iteration cutoff condition is that the number of iterations reaches the target number of times, or the training duration reaches the target duration. The disclosed embodiment does not limit the specific content of the iteration cutoff condition. During this iteration, if the loss value or this iteration meets the iteration cutoff condition, it indicates that the speech separation supernetwork of this iteration meets the requirements, and the speech separation supernetwork is output. If not satisfied, the server updates the network parameters of the speech separation supernetwork, and performs the i+1th iteration based on the updated speech separation supernetwork, that is, starts again from the above step 502, and stops training when the iteration cutoff condition is met, and obtains a trained speech separation supernetwork.

[0137] In addition, it should be noted that the embodiment of the present disclosure does not limit the execution order of the above steps 502 to 506. In some embodiments, the server executes the above steps 502 and 503 synchronously, or the server executes step 503 first and then step 502, etc. It should be understood that in the above i-th iteration, the number of groups of sample audio signals, the number of speech separation sub-networks, the number of masks, and the number of propagation paths are all the same, so that multiple speech separation sub-networks participate in training in one iteration, which can accelerate convergence and improve network training efficiency.

[0138] In step 507, the server generates a plurality of candidate speech separation sub-networks based on the trained network parameters of the speech separation super-network and the search spaces corresponding to the encoder and the decoder in the speech separation super-network.

[0139] In the disclosed embodiment, for any candidate speech separation sub-network, the server determines the structural parameters of the encoder and decoder in the candidate speech separation sub-network based on the search space corresponding to the encoder and the decoder; and generates the candidate speech separation sub-network based on the network parameters of the trained speech separation super-network and the structural parameters of the encoder and decoder in the candidate speech separation sub-network. That is, the candidate speech separation sub-network can directly inherit the network parameters of the trained speech separation super-network.

[0140] In some embodiments, the multiple candidate voice separation subnetworks are all voice separation subnetworks sampled from the voice separation supernetwork. In other embodiments, the multiple candidate voice separation subnetworks are partial voice separation subnetworks sampled from the voice separation supernetwork. For example, the server randomly generates a preset number of candidate voice separation subnetworks based on a preset number, network parameters of the voice separation supernetwork, and search spaces corresponding to the encoder and the decoder in the voice separation supernetwork. The embodiments of the present disclosure are not limited to this.

[0141] In step 508, the server evaluates the network performance of the multiple candidate voice separation sub-networks based on the verification set to obtain network evaluation results of the multiple candidate voice separation sub-networks.

[0142] In step 509, the server determines the target voice separation subnetwork from the multiple candidate voice separation subnetworks based on the network evaluation results of the multiple candidate voice separation subnetworks.

[0143] In the disclosed embodiment, the server uses the candidate voice separation subnetwork with the best network evaluation result among the multiple candidate voice separation subnetworks as the target voice separation subnetwork. The target voice separation subnetwork can also be understood as the voice separation subnetwork with the most satisfactory structural parameters searched from the voice separation supernetwork.

[0144] It should be noted that in the above steps 507 to 509, the server directly samples multiple candidate voice separation sub-networks from the voice separation super-network for introduction. In other embodiments, the server can also apply an evolutionary algorithm to determine the target voice separation sub-network from the network cluster by continuous iterative evolution. The following takes the qth iteration process as an example (q is a positive integer) to introduce this optional implementation method, which includes the following steps:

[0145] Step 1: Based on the network evaluation results of multiple first voice separation sub-networks in the network cluster, determine at least one second voice separation sub-network that meets the evolution condition from the network cluster.

[0146] The network cluster includes a plurality of first speech separation subnetworks, which are generated based on the trained network parameters of the speech separation supernetwork and the search space corresponding to the encoder and the decoder in the speech separation supernetwork. This process is similar to the above step 507, so it will not be repeated.

[0147] Step 2: Perform crossover mutation on the at least one second voice separation subnetwork to generate at least one third voice separation subnetwork, and update the network cluster based on the at least one third voice separation subnetwork.

[0148] The server performs cross-mutation on the network structure of the at least one second voice separation subnetwork to obtain at least one third voice separation subnetwork, and adds the at least one third voice separation subnetwork to the network cluster to obtain an updated network cluster. In other embodiments, the number of voice separation subnetworks in the network cluster is fixed, and the server eliminates a portion of the first voice separation subnetworks based on the network evaluation results of the plurality of first voice separation subnetworks, and adds the at least one third voice separation subnetwork to the network cluster, which is not limited in the embodiments of the present disclosure.

[0149] Step 3: If the current iteration meets the evolutionary cutoff condition, the target speech sub-separation network is determined from the updated network cluster; if not, the q+1th iteration is performed based on the updated network cluster.

[0150] Among them, the evolutionary cutoff condition can be that the number of iterations reaches the target number of times, or the iteration duration reaches the target duration, etc., and there is no limitation on this. If this iteration meets the evolutionary cutoff condition, based on the network evaluation result of the voice separation subnetwork in the updated network cluster, the target voice separation subnetwork is determined from the network cluster. If it does not meet the condition, the q+1th iteration is performed based on the updated network cluster, that is, the execution starts from the above step 1 again until the evolution is stopped when the iteration cutoff condition is met, and the target voice subnetwork is determined from the network cluster. In the above manner, the application of the evolutionary algorithm to generate the target voice separation subnetwork can expand the range of candidate voice separation subnetworks, and generate a subnetwork with the most satisfactory network performance based on the voice separation supernetwork as much as possible, effectively ensuring the accuracy of the target voice separation subnetwork.

[0151] It should be understood that the above-mentioned evolutionary algorithm is only an example, and the server can also apply other neural network search algorithms to generate the target speech separation sub-network. The embodiment of the present disclosure does not limit the process of how the server generates the target speech separation sub-network based on the speech separation super-network.

[0152] In step 510, the server trains the target speech sub-separation network based on the multiple sample audio signals and the labeled audio signals.

[0153] In the disclosed embodiment, after the above steps 501 to 509, the server generates a target speech separation subnetwork that meets the target conditions based on the trained speech separation supernetwork. By retraining the target speech separation subnetwork, the target speech separation subnetwork can be further optimized to improve the network accuracy. Moreover, when the trained target speech separation subnetwork is applied to speech separation, the accuracy of the speech separation result can be effectively improved. This process is briefly introduced below, including the following steps A to C.

[0154] Step A: Perform short-time Fourier transform on the mixed audio signal to be processed to obtain the frequency spectrum characteristics of the mixed audio signal. In some embodiments, when the server performs short-time Fourier transform on the mixed audio signal, it stores the phase information of the mixed audio signal to facilitate the subsequent true restoration of the separated audio signal.

[0155] Step B: input the spectral feature into the target speech separation subnetwork, encode the mixed audio signal through the encoder in the target speech separation subnetwork, and obtain the encoding feature of the mixed audio signal.

[0156] Step C: Decode the encoded features through multiple decoders in the target speech separation subnetwork to obtain a clean speech signal and at least one background audio signal of the mixed audio signal. For example, the at least one background audio signal includes a music signal and a noise signal, thereby realizing a multi-task speech separation function, which is not limited thereto.

[0157] In addition, in the above embodiment, the server trains the target speech separation subnetwork based on the sample audio signal that is the same as the sample audio signal used when training the speech separation supernetwork. In this way, the speech separation supernetwork and the speech separation subnetwork can be trained successively based on the same batch of sample audio signals, which can improve the accuracy of the speech separation subnetwork. In other embodiments, the server trains the target speech separation subnetwork based on a sample audio signal that is different from the sample audio signal used when training the speech separation supernetwork. In this way, the generalization performance of the speech separation subnetwork can be improved. Of course, the server can also first train the target speech separation subnetwork based on the sample audio signal that is the same as the sample audio signal used when training the speech separation supernetwork, and then train the target speech separation subnetwork based on the sample audio signal that is different from the sample audio signal used when training the speech separation supernetwork, so as to obtain a target speech separation subnetwork with higher accuracy and generalization performance. The embodiments of the present disclosure are not limited to this.

[0158] It should be noted that the speech separation network generation method provided by the embodiment of the present disclosure can be quickly applied to similar network structures, making the network more efficient and having better performance. In addition, the method of having multiple sub-networks participating in training in one iteration also greatly improves the efficiency of neural network search and saves a lot of resource consumption. On the open source multi-task speech separation data set, the embodiment of the present disclosure has a significant improvement in the indicator signal-to-distortion ratio (Signal-to-distortion Ratio, SDRi) compared with the related art (a variety of existing speech separation networks), the network parameters (Parameters) are significantly reduced, and the floating point operations per second (Floating Point Operations Per Second, FLOPs) are also significantly reduced. As shown in Tables 1 and 2 below, the speech separation results including speech signals (Speech), music signals (Music) and noise signals (Noise) are evaluated as examples. Table 1 is a performance comparison of the target speech separation subnetwork provided by the embodiment of the present disclosure and the speech separation network provided by the related art. Table 2 is a performance comparison of the super network training method provided by the embodiment of the present disclosure and the related art.

[0159] Table 1

[0160]

[0161] Table 2

[0162]

[0163] In summary, in the embodiments of the present disclosure, based on a given plurality of sample audio signals, a speech separation supernetwork is trained and acquired, wherein the speech separation supernetwork includes an encoder and a decoder, and the encoder and the decoder each include a plurality of network layers and a search space, and the search space is configured with structural parameters of a plurality of network layers. Furthermore, based on the speech separation supernetwork, a target speech separation subnetwork that meets the target conditions is generated. In the above process, by designing a search space configured with structural parameters, it is possible to automatically generate a target speech separation subnetwork that meets the target conditions based on the speech separation supernetwork, thereby avoiding manual adjustment of the structural parameters of different network layers in the network and improving the generation efficiency of the speech separation network.

[0164] Figure 6 is a block diagram of a speech separation network generation device provided by an embodiment of the present disclosure. Figure 6 The device includes an acquisition unit 601, a training unit 602 and a generation unit 603.

[0165] The acquisition unit 601 is configured to execute acquisition of a speech separation super network, wherein the speech separation super network includes an encoder and a decoder, wherein the encoder and the decoder each include multiple network layers, and the search space is configured with structural parameters of the multiple network layers, and the structural parameters include at least one of the following: the number of the network layers, the number of self-attention heads in the multi-head self-attention mechanism module of the network layer, and the number of neurons in the hidden layer in the forward perception module of the network layer.

[0166] The training unit 602 is configured to perform iterative training of the speech separation supernetwork based on multiple sample audio signals, wherein, during the i-th iteration, based on the search space corresponding to the encoder and the decoder, multiple speech separation subnetworks of the speech separation supernetwork in this iteration are determined, and the structural parameters of the multiple speech separation subnetworks are determined from the search space corresponding to the encoder and the decoder based on multiple different structural parameter combinations. Based on the multiple speech separation subnetworks and the sample audio signal input during this iteration, the speech separation result of the sample audio signal input during this iteration is obtained, based on the speech separation result and the labeled audio signal, the loss value of the speech separation supernetwork is determined, and based on the loss value, the network parameters of the speech separation supernetwork are updated, and i is a positive integer.

[0167] The generating unit 603 is configured to generate a target speech separation sub-network that meets the target condition based on the trained speech separation super-network.

[0168] In some embodiments, the apparatus further includes: a determining unit configured to execute:

[0169] Determine a plurality of groups of sample audio signals from the plurality of sample audio signals, each group of sample audio signals comprising at least one sample audio signal;

[0170] The training unit 602 is configured to perform:

[0171] Each group of sample audio signals is forward propagated in the speech separation supernetwork according to the propagation path corresponding to each speech separation subnetwork to obtain the speech separation results of each group of sample audio signals, wherein one group of sample audio signals corresponds to one speech separation subnetwork.

[0172] In some embodiments, the training unit 602 is configured to perform:

[0173] Determine the loss value of the speech separation super network based on the speech separation results of each group of sample audio signals and the labeled audio signals;

[0174] If the loss value or this iteration meets the iteration cutoff condition, the trained speech separation super network is output;

[0175] If not satisfied, the network parameters of the speech separation supernetwork are updated, and the (i+1)th iteration is performed based on the updated speech separation supernetwork.

[0176] In some embodiments, the training unit 602 is configured to perform:

[0177] The Nth group of sample audio signals is input into the speech separation supernetwork, and forward propagation is performed in the speech separation supernetwork based on the mask corresponding to the Nth speech separation subnetwork to obtain the speech separation result of the Nth group of sample audio signals. The mask corresponding to the Nth speech separation subnetwork indicates the number of neurons participating in the training on the propagation path of the Nth speech separation subnetwork, and N is a positive integer.

[0178] In some embodiments, the generating unit 603 is configured to perform:

[0179] Generate a plurality of candidate speech separation sub-networks based on the trained network parameters of the speech separation super-network and the search space corresponding to the encoder and the decoder in the speech separation super-network;

[0180] Evaluate the network performance of the multiple candidate speech separation sub-networks based on the validation set to obtain network evaluation results of the multiple candidate speech separation sub-networks;

[0181] Based on the network evaluation results of the multiple candidate speech separation subnetworks, the target speech separation subnetwork is determined from the multiple candidate speech separation subnetworks.

[0182] In some embodiments, the generating unit 603 is configured to perform:

[0183] For any candidate speech separation sub-network, determining structural parameters of an encoder and a decoder in the candidate speech separation sub-network based on the search space corresponding to the encoder and the decoder;

[0184] The candidate speech separation sub-network is generated based on the trained network parameters of the speech separation super-network and the structural parameters of the encoder and decoder in the candidate speech separation sub-network.

[0185] In some embodiments, the generating unit 603 is configured to perform:

[0186] Applying an evolutionary algorithm, in the qth iteration process, based on network evaluation results of a plurality of first speech separation subnetworks in the network cluster, determining at least one second speech separation subnetwork that meets the evolution condition from the network cluster, the first speech separation subnetwork being generated based on the trained network parameters of the speech separation supernetwork and the search space corresponding to the encoder and the decoder in the speech separation supernetwork, where q is a positive integer;

[0187] Performing crossover mutation on the at least one second voice separation subnetwork to generate at least one third voice separation subnetwork, and updating the network cluster based on the at least one third voice separation subnetwork;

[0188] If the current iteration meets the evolutionary cutoff condition, the target speech sub-separation network is determined from the updated network cluster. If not, the q+1th iteration is performed based on the updated network cluster.

[0189] In some embodiments, the training unit 602 is further configured to perform:

[0190] The target speech separation sub-network is trained based on multiple sample audio signals and labeled audio signals.

[0191] In some embodiments, the apparatus further comprises: a speech separation unit configured to perform:

[0192] Performing short-time Fourier transform on the mixed audio signal to be processed to obtain the frequency spectrum characteristics of the mixed audio signal;

[0193] Inputting the spectral feature into the target speech separation subnetwork, encoding the mixed audio signal through an encoder in the target speech separation subnetwork, and obtaining a coding feature of the mixed audio signal;

[0194] The coded features are decoded by a plurality of decoders in the target speech separation subnetwork to obtain a clean speech signal and at least one background audio signal of the mixed audio signal.

[0195] Through the above-mentioned device, on the basis of a given plurality of sample audio signals, the speech separation supernetwork obtained by iterative training is performed, wherein the speech separation supernetwork includes an encoder and a decoder, and the encoder and the decoder each include a plurality of network layers and a search space, and the search space is configured with structural parameters of a plurality of network layers. Further, based on the speech separation supernetwork, a target speech separation subnetwork that meets the target conditions is generated. In the above-mentioned process, by designing a search space configured with structural parameters, it is realized that based on the speech separation supernetwork, a target speech separation subnetwork that meets the target conditions is automatically generated, thereby avoiding manual adjustment of the structural parameters of different network layers in the network and improving the generation efficiency of the speech separation network.

[0196] It should be noted that: the speech separation network generation device provided in the above embodiment only uses the division of the above functional modules as an example when generating a speech separation network. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the speech separation network generation device provided in the above embodiment and the speech separation network generation method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0197] Figure 7 It is a block diagram of a server provided by an embodiment of the present disclosure. Schematically, the server 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CP U) 701 and one or more memories 702, wherein the one or more memories 702 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 701 to implement the voice separation network generation method provided by the above-mentioned various method embodiments. Of course, the server 700 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server 700 may also include other components for implementing device functions, which will not be repeated here.

[0198] In an exemplary embodiment, a computer-readable storage medium including a program code is also provided, such as a memory 702 including the program code, and the program code can be executed by a processor 701 of a server 700 to complete the above-mentioned speech separation network generation method. Optionally, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0199] In an exemplary embodiment, a computer program product is also provided, including a computer program, which implements the above-mentioned speech separation network generation method when executed by a processor.

[0200] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0201] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for generating a speech separation network, characterized in that: The method comprises: Acquire a speech separation super network, the speech separation super network comprising an encoder and a decoder, the encoder and the decoder each comprising a plurality of network layers and a search space, the search space being configured with structural parameters of the plurality of network layers, the structural parameters comprising at least one of the following: the number of network layers, the number of self-attention heads in a multi-head self-attention mechanism module of the network layer, the number of neurons in a hidden layer in a forward perception module of the network layer, each network layer comprising at least one multi-head self-attention mechanism module and at least one forward perception module; Iteratively train the speech separation supernetwork based on multiple sample audio signals, wherein, in the i-th iteration process, based on the search space corresponding to the encoder and the decoder, determine multiple speech separation subnetworks of the speech separation supernetwork in this iteration process, the structural parameters of the multiple speech separation subnetworks are determined from the search space corresponding to the encoder and the decoder based on multiple different structural parameter combinations, obtain the speech separation result of the sample audio signal input in this iteration process based on the multiple speech separation subnetworks and the sample audio signal input in this iteration process, determine the loss value of the speech separation supernetwork based on the speech separation result and the labeled audio signal, and update the network parameters of the speech separation supernetwork based on the loss value, i is a positive integer; Based on the trained speech separation super network, a target speech separation sub network that meets the target conditions is generated.

2. The method for generating a speech separation network according to claim 1, characterized in that: The method further comprises: Determine a plurality of groups of sample audio signals from the plurality of sample audio signals, each group of sample audio signals comprising at least one sample audio signal; The obtaining, based on the multiple speech separation subnetworks and the sample audio signal input during the current iteration, a speech separation result of the sample audio signal input during the current iteration comprises: Each group of sample audio signals is forward propagated in the speech separation super network according to the propagation path corresponding to each speech separation sub-network to obtain the speech separation results of each group of sample audio signals, wherein one group of sample audio signals corresponds to one speech separation sub-network.

3. The method for generating a speech separation network according to claim 2, characterized in that: The step of determining the loss value of the speech separation supernetwork based on the speech separation result and the labeled audio signal, and updating the network parameters of the speech separation supernetwork based on the loss value, comprises: Determining a loss value of the speech separation supernetwork based on the speech separation results of each group of sample audio signals and the labeled audio signals; If the loss value or the current iteration meets the iteration cutoff condition, outputting the trained speech separation super network; If not satisfied, update the network parameters of the speech separation supernetwork, and perform the (i+1)th iteration based on the updated speech separation supernetwork.

4. The method for generating a speech separation network according to claim 2, characterized in that: The forward propagation of each group of sample audio signals in the speech separation supernetwork according to the propagation paths corresponding to each speech separation subnetwork to obtain speech separation results of each group of sample audio signals includes: The Nth group of sample audio signals is input into the speech separation supernetwork, and forward propagation is performed in the speech separation supernetwork based on the mask corresponding to the Nth speech separation subnetwork to obtain the speech separation result of the Nth group of sample audio signals, the mask corresponding to the Nth speech separation subnetwork indicates the number of neurons participating in the training on the propagation path of the Nth speech separation subnetwork, and N is a positive integer.

5. The method for generating a speech separation network according to claim 1, characterized in that: The generating a target speech separation subnetwork that meets the target conditions based on the trained speech separation supernetwork includes: Generate a plurality of candidate speech separation sub-networks based on the trained network parameters of the speech separation super-network and the search spaces corresponding to the encoder and the decoder in the speech separation super-network; Evaluate the network performance of the plurality of candidate speech separation subnetworks based on the validation set to obtain network evaluation results of the plurality of candidate speech separation subnetworks; Based on the network evaluation results of the multiple candidate speech separation subnetworks, the target speech separation subnetwork is determined from the multiple candidate speech separation subnetworks.

6. The method for generating a speech separation network according to claim 5, characterized in that: The generating of a plurality of candidate speech separation sub-networks based on the trained network parameters of the speech separation super-network and the search space corresponding to the encoder and the decoder in the speech separation super-network comprises: For any candidate speech separation sub-network, determining structural parameters of an encoder and a decoder in the candidate speech separation sub-network based on the search spaces corresponding to the encoder and the decoder; The candidate speech separation sub-network is generated based on the trained network parameters of the speech separation super-network and the structural parameters of the encoder and decoder in the candidate speech separation sub-network.

7. The method for generating a speech separation network according to claim 1, characterized in that: The generating a target speech separation subnetwork that meets the target conditions based on the trained speech separation supernetwork includes: Applying an evolutionary algorithm, during the qth iteration, based on network evaluation results of a plurality of first speech separation subnetworks in the network cluster, determining at least one second speech separation subnetwork that meets the evolutionary conditions from the network cluster, wherein the first speech separation subnetwork is generated based on the trained network parameters of the speech separation supernetwork and the search space corresponding to the encoder and the decoder in the speech separation supernetwork, and q is a positive integer; Performing crossover mutation on the at least one second voice separation subnetwork to generate at least one third voice separation subnetwork, and updating the network cluster based on the at least one third voice separation subnetwork; If the current iteration meets the evolution cutoff condition, the target speech sub-separation network is determined from the updated network cluster; if not, the q+1th iteration is performed based on the updated network cluster.

8. The method for generating a speech separation network according to claim 1, characterized in that: The method further comprises: The target speech separation sub-network is trained based on multiple sample audio signals and labeled audio signals.

9. The method for generating a speech separation network according to claim 1, characterized in that: The method further comprises: Performing short-time Fourier transform on the mixed audio signal to be processed to obtain frequency spectrum characteristics of the mixed audio signal; Inputting the spectral feature into the target speech separation subnetwork, encoding the mixed audio signal through an encoder in the target speech separation subnetwork, and obtaining a coding feature of the mixed audio signal; The encoded features are decoded by a plurality of decoders in the target speech separation subnetwork to obtain a clean speech signal and at least one background audio signal of the mixed audio signal.

10. A speech separation network generation device, characterized in that: The device comprises: An acquisition unit is configured to execute acquisition of a speech separation super network, wherein the speech separation super network includes an encoder and a decoder, wherein the encoder and the decoder each include a plurality of network layers and a search space, wherein the search space is configured with structural parameters of the plurality of network layers, wherein the structural parameters include at least one of the following: the number of network layers, the number of self-attention heads in a multi-head self-attention mechanism module of the network layer, and the number of neurons in a hidden layer in a forward perception module of the network layer, wherein each network layer includes at least one multi-head self-attention mechanism module and at least one forward perception module; A training unit is configured to perform iterative training of the speech separation supernetwork based on multiple sample audio signals, wherein, in the i-th iteration process, based on the search space corresponding to the encoder and the decoder, multiple speech separation subnetworks of the speech separation supernetwork in this iteration process are determined, and the structural parameters of the multiple speech separation subnetworks are determined from the search space corresponding to the encoder and the decoder based on multiple different structural parameter combinations. Based on the multiple speech separation subnetworks and the sample audio signal input during this iteration, a speech separation result of the sample audio signal input during this iteration is obtained, based on the speech separation result and the labeled audio signal, a loss value of the speech separation supernetwork is determined, and based on the loss value, the network parameters of the speech separation supernetwork are updated, and i is a positive integer; The generating unit is configured to generate a target speech separation sub-network that meets the target conditions based on the trained speech separation super-network.

11. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the speech separation network generation method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: When the program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the speech separation network generation method according to any one of claims 1 to 9.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating a speech separation network according to any one of claims 1 to 9 is implemented.