KNOWLEDGE DISTILLATION DEVICE, TARGET SOUND EXTRACTION SYSTEM, THEIR METHODS, AND PROGRAMS
A knowledge distillation device obtains a student model from a teacher model using training data. The teacher model receives a first mixed signal, comprised of multiple acoustic signals, and first correspondence information for a specific class. It then performs inference to extract a first time-series information corresponding to the acoustic signal of that class. The student model receives a second mixed signal and second correspondence information. It performs inference to extract a second time-series information. The teacher model's inference includes non-causal processing, using past, present, and future information from the first mixed signal to obtain its output. In contrast, the student model's inference includes causal processing, using only past and present information from the second mixed signal without relying on future information to obtain its output.
The present invention relates to, particularly, a knowledge distillation technology in the field of machine learning.
BACKGROUND ARTA technology for extracting an acoustic signal belonging to a specific sound event class from a mixed signal obtained by mixing acoustic signals emitted from a plurality of sound sources using a Deep Neural Network (DNN) is known (see, for example, Non Patent Literature 1). Such a technology is referred to as target sound extraction (TSE).
CITATION LIST Non Patent Literature
-
- Non Patent Literature 1: M. Delcroix et al., “SoundBeam: Target Sound Extraction Conditioned on Sound-Class Labels and Enrollment Clues for Increased Performance and Continuous Learning”, IEEE/ACM TASLP, vol. 31, pp. 121-136, 2023.
In the inference processing of the target sound extraction, high extraction performance can be expected by performing non-causal processing of calculating the current information on the basis of not only information up to the present but also the future information instead of causal processing of calculating the current information using only the information up to the present (the current information or the current and past information). However, when the future information is used for the inference processing, the processing is delayed. Therefore, in an application in which this delay is a problem, it is desirable to perform inference processing without performing the non-causal processing. On the other hand, even when a target sound extraction model for performing inference processing without performing non-causal processing is trained using normal training data, the high extraction performance cannot be obtained.
Solution to ProblemIn the present invention, knowledge distillation is performed to obtain a student model by performing training processing using training data based on a teacher model. Here, the teacher model performs inference processing of obtaining first extraction information in a time-series, which corresponds to an acoustic signal belonging to a first class, from a first mixed signal and outputting the first extraction information for the input of the first mixed signal in a time-series, which is obtained by mixing a plurality of the acoustic signals, and first correspondence information corresponding to a specific first class. The student model performs inference processing of obtaining second extraction information in a time-series, which corresponds to an acoustic signal belonging to a second class, from a second mixed signal and outputting the second extraction information for the input of the second mixed signal in a time-series, which is obtained by mixing a plurality of the acoustic signals, and second correspondence information corresponding to a specific second class. The inference processing of the teacher model includes non-causal processing of obtaining first output information corresponding to the current first extraction information by using first input information based on the first mixed signal up to the present and the future first mixed signal. The inference processing of the student model includes causal processing of obtaining second output information corresponding to the current second extraction information by using second input information based on the second mixed signal up to the present without using information based on the future second mixed signal.
Advantageous Effects of InventionBy using the student model subjected to knowledge distillation on the basis of the teacher model, it is possible to implement target sound extraction with a small delay and high extraction performance.
Hereinafter, the embodiments of the present invention will be described with reference to the drawings.
First EmbodimentFirst, a first embodiment of the present invention will be described.
<Configuration>As illustrated in
As illustrated in
In the present embodiment, the knowledge distillation unit 123 of the knowledge distillation device 12 obtains a student model by performing training processing using training data based on a teacher model. Hereinafter, the processing will be described in more detail.
<Teacher Model>A teacher model TSEteacher is a model that performs target sound extraction by inference processing. That is, the teacher model TSEteacher performs inference processing of obtaining, from a mixed signal y, time-series extraction information (first extraction information) {circumflex over ( )}xsteacher corresponding to an acoustic signal xn belonging to a class (first class) os and outputting the time-series extraction information {circumflex over ( )}xsteacher for the input of time-series mixed signal (first mixed signal) y∈RK obtained by mixing a plurality of acoustic signals xn∈=RK and correspondence information (first correspondence information) os corresponding to a specific class (first class) sn∈s={s1, . . . , sN}.
{circumflex over ( )}xsteacher=TSEteacher(y,os)
The inference processing of the teacher model TSEteacher includes non-causal processing of obtaining output information (first output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher by using input information (first input information) based on the mixed signal (first mixed signal) y∈RK up to the present and the future mixed signal (first mixed signal) y∈RK.
The teacher model TSEteacher may be, for example, a model based on a deep neural network (DNN) such as a convolutional neural network (CNN), a model based on a hidden Markov model (HMM), or another machine learning model.
The mixed signal y∈RK may be a signal obtained by mixing a plurality of acoustic signals in a space, or may be a signal obtained by mixing a plurality of the acoustic signals by acoustic processing. A class (acoustic event class) sn represents a class to which the acoustic information belongs. For example, each class sn may correspond to a sound source that emits the acoustic signal, may correspond to the type of acoustic information, may correspond to the magnitude of the acoustic information, or may correspond to the attribute of another piece of acoustic information. The specific class sn may be a single class or a plurality of classes. For example, the mixed signal y is represented as follows.
Here, xn∈RK represents an acoustic signal belonging to the class sn, and b∈RK represents another background noise. In a case where there is no acoustic signal xn belonging to a class sn, xn is zero. R represents a real number, K represents a positive integer constant representing the number of samples in an acoustic signal x (the number of predetermined acoustic signals x), and RK represents K real numbers. n∈{1, . . . , N}, and here, N is a positive integer representing the number of classes sn, for example, N≥2. Examples of the acoustic signal xn are time-series signals (discrete signals) such as voice, music, and environmental sound. The mixed signal y and the acoustic signal xn are signals in a time domain.
The correspondence information os corresponding to the specific class sn is information for specifying the specific class sn or the acoustic signal xn belonging to the specific class sn. The specific class sn may be singular or plural. The correspondence information os may be, for example, information indicating the waveform of the acoustic signal xn belonging to the specific class sn, information indicating a feature of the acoustic signal xn belonging to the specific class sn, a label (class label) indicating the specific class sn, a natural language query indicating the specific class sn, or information serving as a clue for specifying the specific class sn. An example of the correspondence information os is described in Non Patent Literature 1. For example, the correspondence information os which is a label indicating the specific class sn is an N-dimensional vector os={os1, . . . , osN} in which the n-th element osn corresponding to the specific class sn is one and the other element osm is zero.
Here, in a case where the specific class sn is singular, the correspondence information os in this example is a 1-hot vector, and in a case where the specific class sn is plural (ω specific classes sn, and ω is an integer of two or more), the correspondence information os in this example is a ω-hot vector.
The time-series extraction information {circumflex over ( )}xsteacher corresponding to the acoustic signal xn belonging to the class sn may be, for example, an acoustic signal estimated to belong to the specific class sn, information indicating the probability of the acoustic signal belonging to the specific class sn, or statistical information of the acoustic signal belonging to the specific class sn. The extraction information {circumflex over ( )}xsteacher is a signal in a time domain.
The encoding layer 1110 is a layer that transforms an input mixed signal y∈RK into an encoded mixed signal Yteacher∈RD×K′ and outputs the result. This relationship is shown below.
Yteacher=Encoder(y)
Here, D is a positive integer representing an embedding dimension, K′ is a positive integer representing the length of a time frame (a predetermined time interval in the encoding domain) of a signal in the encoding domain, and RD×K′ represents D×K′ real numbers. An encoder (α1) is a layer that transforms a signal α1 in the time domain into a signal in the encoding domain. A specific example of the encoder (α1) is, for example, a 1-D convolution layer described in Reference Literature 1. In addition, the signal in the encoding domain may be a signal in the time-frequency domain.
-
- Reference Literature 1: Y Luo and N. Mesgarani, “Conv-TasNet: Surpassing ideal time-frequency magnitude masking for speech separation,” IEEE/ACM Trans.ASLP, vol. 27, no. 8, pp. 1256-1266, 2019.
The correspondence information encoding layer 1120 is a layer that transforms the input correspondence information os into an encoded correspondence information esteacher∈RD and outputs the result. This relationship is shown below.
esteacher=Encoderc(os)
For example, an encoderc (α1) is a layer that transforms the signal α1 in the time domain into the signal in the encoding domain. Specific examples of the encoderc (α1) are, for example, a 1-hot encoder, an Enrl encoder, a combination thereof, and the like described in Reference Literature 1. For example, in a case where the correspondence information os is an N-dimensional vector such as a 1-hot encoder, the correspondence information encoding layer 1120 transforms the correspondence information os into the encoded correspondence information esteacher ∈RD and outputs the result as follows. This relationship is shown below.
esteacher=Wos
Here, W∈RDN represents an embedding matrix. For example, a specific example of an embedding matrix W is described in Non Patent Literature 1.
<Main Layer 1130>The main layer 1130 outputs a target mask Msteacher for obtaining the time-series extraction information {circumflex over ( )}xsteacher corresponding to the encoded correspondence information esteacher for an input encoded mixed signal Yteacher and encoded correspondence information esteacher.
MsteacherMainBlock(Yteacher,esteacher)
As illustrated in
The mixed block 1131 is a layer that transforms the input encoded mixed signal Yteacher into an internal mixed signal Zteacher∈RD×K′ and outputs the internal mixed signal Zteacher∈RD×K′. This relationship is shown below.
Zteacher=MixBlock(Yteacher)
The fusion block 1132 is a layer that transforms the input internal mixed signal Zteacher and encoded correspondence information e5teacher into an internal target signal Zsteacher∈RD×K′ and outputs the internal target signal Zsteacher∈RD×K′. This relationship is shown below.
Zsteacher=Adapt(Zteacher,esteacher)
The target block 1133 is a layer that transforms the input internal target signal Zsteacher into a target mask Msteacher ∈RD×K′ and outputs the target mask Msteacher ∈RD×K′. This relationship is shown below.
Msteacher=TgtBlock(Zsteacher)
Returning to
The decoding layer 1150 is a layer that transforms the input Hadamard product Msteacher∘Yteacher into extraction information {circumflex over ( )}xsteacher and outputs the extraction information {circumflex over ( )}xsteacher. This relationship is shown below.
{circumflex over ( )}xsteacher=Decoder(Msteacher∘Yteacher)
A decoder (α2) is, for example, a layer that transforms a signal α2 in the encoding domain into a signal in the time domain. A specific example of the decoder (α2) is, for example, a 1-D convolution layer described in Reference Literature 1.
<Inference Processing of Teacher Model TSEteacher>As described above, the inference processing of the teacher model TSEteacher includes non-causal processing of obtaining the output information (first output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher by using the input information (first input information) based on the mixed signal (first mixed signal) y up to the present and the future mixed signal (first mixed signal) y. That is, the teacher model TSEteacher performs the non-causal processing in any of the processes until obtaining the extraction information {circumflex over ( )}xsteacher from the input mixed signal y and correspondence information os. The mixed signal up to the present means the current mixed signal and/or the past mixed signal. The current mixed signal means, for example, the mixed signal in the encoding domain of the current time frame. The past mixed signal means, for example, a mixed signal in the encoding domain of a time frame prior to the current time frame. The future mixed signal means, for example, a mixed signal in the encoding domain of a time frame later than the current time frame. That is, the input information and output information are information in any of the processes until obtaining the extraction information {circumflex over ( )}xsteacher from the input mixed signal y and correspondence information os. The input information and the output information are, for example, signals in the encoding domain. The inference processing of the teacher model TSEteacher may include a single piece of non-causal processing or a plurality of pieces of non-causal processing.
In addition to the non-causal processing, the inference processing of the teacher model TSEteacher may further include causal processing of obtaining output information (third output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher by using input information (third input information) based on the mixed signal (first mixed signal) y up to the present without using the information based on the future mixed signal (first mixed signal) y. That is, the teacher model TSEteacher may perform the non-causal processing and the causal processing in any of the processes until obtaining the extraction information {circumflex over ( )}xsteacher from the input mixed signal y and correspondence information os. In other words, the teacher model TSEteacher may perform the non-causal processing in a part of the processes until obtaining the extraction information {circumflex over ( )}xsteacher from the input mixed signal y and correspondence information os, and may perform the causal processing in another part. The inference processing of the teacher model TSEteacher may include a single piece of the causal processing or a plurality of pieces of the causal processing.
For example, the main layer 1130 illustrated in
The non-causal processing included in the inference processing of the teacher model TSEteacher may include, for example, processing of performing convolution of the input information (first input information) based on the mixed signal (first mixed signal) y up to the present and the future mixed signal (first mixed signal) y and obtaining the output information (first output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher. For example, this non-causal processing may include convolution processing in a convolutional neural network, the convolution processing of performing convolution of input information in the encoding domain of a time frame up to the present and the future time frame based on the mixed signal y up to the present and the future mixed signal y and obtaining output information in the encoding domain of the current time frame. For example, the convolution processing in which the receptive field of a convolution filter that performs convolution includes the future time frame is non-causal processing.
The non-causal processing included in the inference processing of the teacher model TSEteacher may include, for example, processing of performing statistical processing of the input information (first input information) based on the mixed signal (first mixed signal) y up to the present and the future mixed signal (first mixed signal) y and obtaining the output information (first output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher. For example, this non-causal processing may include normalization processing of performing statistical processing of input information in the encoding domain of the time frame up to the present and the future time frame based on the mixed signal y up to the present and the future mixed signal y and obtaining output information in the encoding domain of the current time frame. Note that a specific example of the statistical processing is processing of obtaining a variance or a mean.
For example, the causal processing included in the inference processing of the teacher model TSEteacher may include processing of performing convolution of the input information (third input information) based on the mixed signal (first mixed signal) y up to the present without using the information based on the future mixed signal (first mixed signal) y and obtaining the output information (third output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher. For example, this causal processing may include convolution processing in the convolutional neural network, the convolution processing of performing convolution of input information in the encoding domain of the time frame up to the present based on the mixed signal y up to the present and obtaining output information in the encoding domain of the current time frame. For example, the convolution processing in which the receptive field of the convolution filter that performs convolution does not include the future time frame is causal processing.
For example, the causal processing included in the inference processing of the teacher model TSEteacher may include processing of performing statistical processing of the input information (first input information) based on the mixed signal (first mixed signal) y up to the present without using the information based on the future mixed signal (first mixed signal) y and obtaining the output information (first output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher.
For example, this non-causal processing may include normalization processing of performing statistical processing of the input information in the encoding domain of the time frame up to the present and the future time frame based on the mixed signal y up to the present and obtaining output information in the encoding domain of the current time frame.
<Student Model>A student model TSEstudent is a model that performs target sound extraction by inference processing. That is, the student model TSEstudent performs inference processing of obtaining, from the mixed signal y, time-series extraction information (second extraction information) {circumflex over ( )}xsstudent corresponding to the acoustic signal xn belonging to a class (second class) os and outputting the time-series extraction information {circumflex over ( )}xsstudent for the input of time-series mixed signal (second mixed signal) y∈RK obtained by mixing a plurality of acoustic signals xn∈RK and correspondence information (second correspondence information) os corresponding to a specific class (second class) sn∈s={s1, . . . , sN}.
{circumflex over ( )}xsstudent=TSEstudent(y,os)
The inference processing of the student model TSEstudent includes causal processing of obtaining output information (second output information) corresponding to the current extraction information (second extraction information) {circumflex over ( )}xsstudent by using input information (second input information) based on a mixed signal (second mixed signal) y E RK up to the present without using the information based on the future mixed signal (second mixed signal) y∈RK.
The student model TSEstudent may be, for example, a model based on a deep neural network (DNN) such as a convolutional neural network (CNN), a model based on a hidden Markov model (HMM), or another machine learning model.
The encoding layer 1210 is a layer that transforms the input mixed signal y∈RK into an encoded mixed signal Ystudent∈RD×K′ and outputs the result. This relationship is shown below.
Ystudent=Encoder(y)
The correspondence information encoding layer 1220 is a layer that transforms the input correspondence information os into an encoded correspondence information esstudent∈RD and outputs the result. This relationship is shown below.
esstudent=Encoderc(os)
Specific examples of the encoderc are, for example, a 1-hot encoder, an Enrl encoder, a combination thereof, and the like described in Reference Literature 1. For example, in a case where the correspondence information os is an N-dimensional vector such as a 1-hot encoder, the correspondence information encoding layer 1220 transforms the correspondence information os into the encoded correspondence information esstudent ∈RD and outputs the result as follows. This relationship is shown below.
esstudent=Wos
The main layer 1230 outputs a target mask Msstudent for obtaining the time-series extraction information {circumflex over ( )}xsstudent corresponding to the encoded correspondence information esstudent for the input encoded mixed signal Ystudent and encoded correspondence information esstudent.
Msstudent=MainBlock(Ystudent,esstudent)
As illustrated in
The mixed block 1231 is a layer that transforms the input encoded mixed signal Ystudent into an internal mixed signal Zstudent∈RD×K′ and outputs the internal mixed signal Zstudent∈RD×K′. This relationship is shown below.
Zstudent=MixBlock(Ystudent)
The fusion block 1232 is a layer that transforms the input internal mixed signal Zstudent and encoded correspondence information esstudent into an internal target signal Zsstudent∈RD×K′ and outputs the internal target signal Zsstudent∈RD×K′. This relationship is shown below.
Zsstudent=Adapt(Zstudent,esstudent)
The target block 1233 is a layer that transforms the input internal target signal Zsstudent into a target mask Msstudent∈RD×K′ and outputs the target mask Msstudent∈RD×K′. This relationship is shown below.
Msstudent=TgtBlock(Zsstudent)
Returning to
The decoding layer 1250 is a layer that transforms the input Hadamard product Msstudent∘Ystudent into extraction information {circumflex over ( )}xsstudent and outputs the extraction information {circumflex over ( )}xsstudent. This relationship is shown below. {circumflex over ( )}xsstudent=Decoder(Msstudent∘Ystudent)
<Inference Processing of Student Model TSEstudent>As described above, the inference processing of the student model TSEstudent includes causal processing of obtaining output information (second output information) corresponding to the current extraction information (second extraction information) {circumflex over ( )}xsstudent by using input information (second input information) based on the mixed signal (second mixed signal) y up to the present without using the information based on the future mixed signal (second mixed signal) y. That is, the student model TSEstudent performs the causal processing in any of the processes until obtaining the extraction information {circumflex over ( )}xsstudent from the input mixed signal y and correspondence information os. The inference processing of the student model TSEstudent may include a single piece of the causal processing or a plurality of pieces of the causal processing. For example, the main layer 1230 illustrated in
For example, the causal processing included in the inference processing of the student model TSEstudent may include processing of performing convolution of the input information (second input information) based on the mixed signal (second mixed signal) y up to the present without using the information based on the future mixed signal (second mixed signal) y and obtaining the output information (second output information) corresponding to the current extraction information (second extraction information) {circumflex over ( )}xsstudent. For example, this causal processing may include convolution processing in the convolutional neural network, the convolution processing of performing convolution of input information in the encoding domain of the time frame up to the present based on the mixed signal y up to the present and obtaining output information in the encoding domain of the current time frame.
For example, the causal processing included in the inference processing of the student model TSEstudent may include processing of performing statistical processing of the input information (second input information) based on the mixed signal (second mixed signal) y up to the present without using the information based on the future mixed signal (second mixed signal) y and obtaining the output information (second output information) corresponding to the current extraction information (second extraction information) {circumflex over ( )}xsstudent. For example, this non-causal processing may include normalization processing of performing statistical processing of the input information in the encoding domain of the time frame up to the present and the future time frame based on the mixed signal y up to the present and obtaining output information in the encoding domain of the current time frame.
<Pre-Processing>As pre-processing, training data (y, sn, xs) is stored in the storage unit 121 of the knowledge distillation device 12. Training data (y, os, xs) includes a mixed signal y∈RK, correspondence information os corresponding to a specific class sn∈s, and time-series extraction information xs corresponding to an acoustic signal belonging to the specific class sn. Moreover, information (for example, model parameters) for specifying the trained teacher model TSEteacher is stored in the storage unit 111 of the teacher model device 11 and the storage unit 121 of the knowledge distillation device 12. Note that the training data (y, os, xs) is used for training the teacher model TSEteacher. The contents of the training data (y, os, xs) may be all the same as those stored in the storage unit 121 of the knowledge distillation device 12, may be partially different, or may be all different.
<Pre-Processing Using Teacher Model TSEteacher>The teacher model device 11 (
The mixed signal y and correspondence information os, which are input to the input unit 112 of the teacher model device 11, are input to an inference processing unit 113. The inference processing unit 113 inputs the mixed signal y and the correspondence information os to the teacher model TSEteacher extracted from the storage unit 111, and thus outputs the extraction information {circumflex over ( )}xsteacher output from the teacher model TSEteacher. The extraction information {circumflex over ( )}xsteacher is output from the output unit 114 and input to the input unit 122 of the knowledge distillation device 12.
The input unit 122 of the knowledge distillation device 12 sends the input mixed signal y, correspondence information os, and extraction information {circumflex over ( )}xsteacher to the training data setting unit 120. The training data setting unit 120 stores these sets in the storage unit 121 as training data (y, os, {circumflex over ( )}xsteacher). By repeating these pieces of processing, the training data (y, os, {circumflex over ( )}xsteacher is accumulated in the storage unit 121.
<Training Processing of Student Model by Knowledge Distillation>In the non-causal processing included in the inference processing of the teacher model TSEteacher, in order to obtain the output information corresponding to the current extraction information {circumflex over ( )}xsteacher, not only the input information based on the mixed signal y up to the present but also the input information based on the future mixed signal y are used. Therefore, there is an advantage that modeling to improve the extraction accuracy of the extraction information {circumflex over ( )}xsteacher is possible. On the other hand, in the non-causal processing included in the inference processing of the teacher model TSEteacher, in order to obtain the output information corresponding to the current extraction information {circumflex over ( )}xsteacher, the input information based on the future mixed signal y is used. Therefore, there is a disadvantage that the processing delay becomes larger as compared with the causal processing that does not use the input information based on the future mixed signal y.
On the other hand, in the causal processing included in the inference processing of the student model TSEstudent, the input information based on the future mixed signal y is not used in order to obtain the output information corresponding to the current extraction information {circumflex over ( )}xsstudent. Therefore, when the student model TSEstudent is simply trained, there is a disadvantage that it is difficult to perform modeling to improve the extraction accuracy of the extraction information {circumflex over ( )}xsstudent. On the other hand, the causal processing included in the inference processing of the student model TSEstudent has an advantage that a processing delay is smaller as compared with the non-causal processing using the input information based on the future mixed signal y.
In the present embodiment, in order to combine both the advantages, a student model TSEstudent including the causal processing without including the non-causal processing is obtained through training processing by knowledge distillation using training data based on the teacher model TSEteacher including the non-causal processing. That is, the knowledge distillation unit 123 of the knowledge distillation device 12 (
The training processing of the student model by the knowledge distillation of the present embodiment includes, for example, parameter transfer (PT) training performed by the parameter transfer unit 1231 (
In the PT training of the present embodiment, a part of the model parameters of the teacher model TSEteacher is set (reused) as a part of the model parameters of the student model TSEstudent. That is, the parameter transfer unit 1231 (
In the TS training of the present embodiment, the student model TSEstudent is trained using training data (y, os, xs) and (y, os, {circumflex over ( )}xsteacher) (training data including first mixed signal, first correspondence information, and first extraction information). That is, the teacher/student training unit 1232 (
LTS=αLext({circumflex over ( )}xs,xs,τ)(1−α)Lext({circumflex over ( )}xsstudent,{circumflex over ( )}xsteacher,τ′)
Here, α, τ, and τ′ are hyperparameters (for example, constants). α is a real number satisfying 0≤α<1, and τ and τ′ are zero or a positive real number. {circumflex over ( )}xs is extraction information output from the student model TSEstudent when y and os of the training data (y, os, xs) are input to the student model TSEstudent. {circumflex over ( )}xsstudent is extraction information output from the student model TSEstudent when y and os of the training data (y, os, {circumflex over ( )}xsteacher) are input to the student model TSEstudent. Note that the superscript “{circumflex over ( )}” of “{circumflex over ( )}x” should be originally disposed directly above “x” as follows.
Parentheses [Math. 3]
{circumflex over (X)}
However, in the present specification, due to restriction of description, “{circumflex over ( )}x” may be described. Furthermore, Lext({circumflex over ( )}xs, xs, τ) satisfies the following equation.
The same applies to Lext({circumflex over ( )}xsstudent, {circumflex over ( )}xsteacher, τ′). Note that in the loss function LTS, the following LKD is a component based on the knowledge distillation (
LKD=(1−α)Lext({circumflex over ( )}xsstudent,{circumflex over ( )}xsteacher,τ′)
The knowledge distillation is emphasized in the training as the value of a hyperparameter α is smaller (as α is closer to zero).
The knowledge distillation unit 123 (
However, this does not limit the present invention. For example, the knowledge distillation unit 123 may perform the PT training after performing the TS training, or may perform only the TS training without performing the PT training. The knowledge distillation unit 123 (
In the target sound extraction processing, the time-series mixed signal y obtained by mixing a plurality of the acoustic signals and the correspondence information os corresponding to the specific class sn∈s are input to the target sound extraction device 13 (
That is, the mixed signal y and the correspondence information os are input to the input unit 132 and sent to the inference processing unit 133. The inference processing unit 133 extracts the trained student model TSEstudent from the storage unit 131, and applies the input mixed signal y and correspondence information os to the student model TSEstudent to obtain and output the extraction information {circumflex over ( )}xs. For example, this processing is performed by replacing the extraction information {circumflex over ( )}xsstudent of the inference processing of the student model TSEstudent described above with the extraction information {circumflex over ( )}xs.
Features of Present EmbodimentIn the present embodiment, the knowledge distillation for obtaining the student model TSEstudent is performed through training processing using the training data (y, os, {circumflex over ( )}xsteacher) based on the teacher model TSEteacher. Here, the teacher model TSEteacher performs inference processing of obtaining, from a mixed signal y, time-series extraction information (first extraction information) {circumflex over ( )}xsteacher corresponding to an acoustic signal xn belonging to a class (first class) os and outputting the time-series extraction information {circumflex over ( )}xsteacher for the input of time-series mixed signal (first mixed signal) y∈RK obtained by mixing a plurality of acoustic signals xn∈RK and correspondence information (first correspondence information) os corresponding to a specific class (first class) sn∈s={s1, . . . , sN}. The inference processing of the teacher model TSEteacher includes non-causal processing of obtaining output information (first output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher by using input information (first input information) based on the mixed signal (first mixed signal) y∈RK up to the present and the future mixed signal (first mixed signal) y∈RK. The student model TSEstudent performs inference processing of obtaining, from the mixed signal y, time-series extraction information (second extraction information) {circumflex over ( )}xsstudent corresponding to the acoustic signal xn belonging to a class (second class) os and outputting the time-series extraction information {circumflex over ( )}xsstudent for the input of time-series mixed signal (second mixed signal) y∈RK obtained by mixing a plurality of acoustic signals xn∈RK and correspondence information (second correspondence information) os corresponding to a specific class (second class) sn∈s={s1, . . . , sN}. The inference processing of the student model TSEstudent includes causal processing of obtaining output information (second output information) corresponding to the current extraction information (second extraction information){circumflex over ( )}xsstudent by using input information (second input information) based on the mixed signal (second mixed signal) y∈RK up to the present without using the information based on the future mixed signal (second mixed signal) y∈RK. In the present embodiment, the student model TSEstudent including the causal processing without including the non-causal processing is obtained through training processing by knowledge distillation using training data based on the teacher model TSEteacher including the non-causal processing. By performing the knowledge distillation using the training data based on the teacher model TSEteacher including the non-causal processing with high extraction performance, the student model TSEstudent with high extraction performance can be obtained. Furthermore, since the inference processing of the student model TSEstudent obtained in this manner is based on the causal processing that does not use the future information, the delay is small. Therefore, by using the student model TSEstudent, it is possible to implement target sound extraction with a small delay and high extraction performance.
In addition to the non-causal processing, the inference processing of the teacher model TSEteacher may further include causal processing of obtaining output information (third output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher by using input information (third input information) based on the mixed signal (first mixed signal) y up to the present without using the information based on the future mixed signal (first mixed signal) y. In this case, since a part of the inference processing of the teacher model TSEteacher is causal processing similar to a part of the inference processing of the student model TSEstudent, the training accuracy of the student model TSEstudent by knowledge distillation is improved. In other words, the convergence speed of the student model TSEstudent in the knowledge distillation is increased, or the function value of the loss function LTS can be reduced. Note that even in this case, since a part of the inference processing of the teacher model TSEteacher is non-causal processing, the extraction performance of the student model TSEstudent obtained by the knowledge distillation is high. Therefore, by using the student model TSEstudent thus obtained, it is possible to implement target sound extraction with a small delay and higher extraction performance.
For example, (1) the non-causal processing included in the inference processing of the teacher model TSEteacher may include processing of performing convolution of the input information (first input information) based on the mixed signal (first mixed signal) y ∈RK up to the present and the future mixed signal (first mixed signal) y∈RK and obtaining the output information (first output information) corresponding to the current extraction information (first extraction information){circumflex over ( )}xsteacher, the causal processing included in the inference processing of the teacher model TSEteacher may include processing of performing statistical processing of the input information (third input information) based on the mixed signal (first mixed signal) y up to the present and obtaining the output information (third output information) corresponding to the current extraction information (first extraction information){circumflex over ( )}xsteacher, and the causal processing included in the inference processing of the student model TSEstudent may include processing of performing statistical processing of the input information (second input information) based on the mixed signal (second mixed signal) y∈RK up to the present and obtaining the output information (second output information) corresponding to the current extraction information (second extraction information) {circumflex over ( )}xsstudent.
For example, (2) the non-causal processing included in the inference processing of the teacher model TSEteacher may include processing of performing statistical processing of the input information (first input information) based on the mixed signal (first mixed signal) y∈RK up to the present and the future mixed signal (first mixed signal) y∈RK and obtaining the output information (first output information) corresponding to the current extraction information (first extraction information){circumflex over ( )}xsteacher, the causal processing included in the inference processing of the teacher model TSEteacher may include processing of performing convolution of the input information (third input information) based on the mixed signal (first mixed signal) y up to the present and obtaining the output information (third output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher, and the causal processing included in the inference processing of the student model TSEstudent may include processing of performing convolution of the input information (second input information) based on the mixed signal (second mixed signal) y∈RK up to the present and obtaining the output information (second output information) corresponding to the current extraction information (second extraction information) {circumflex over ( )}xsstudent.
Second EmbodimentIn the present embodiment, the present invention is implemented on the basis of “The fully-convolutional time-domain audio separation network (Conv-TasNet)” which is a target sound extraction technology described in Reference Literature 1. Hereinafter, differences from the first embodiment will be mainly described, and the description of matters common to the first embodiment will be simplified using the same reference numerals.
<Configuration>As illustrated in
As illustrated in
In the present embodiment, the knowledge distillation unit 223 of the knowledge distillation device 22 obtains a student model by performing training processing using training data based on a teacher model. Hereinafter, the processing will be described in more detail.
<Teacher Model>The teacher model TSEteacher of the present embodiment is a model based on a convolutional neural network. As illustrated in
As illustrated in
The mixed block 2131 is a layer that transforms the input encoded mixed signal Yteacher into an internal mixed signal Zteacher∈RD×K′ and outputs the internal mixed signal Zteacher∈RD×K′. This relationship is shown below.
Zteacher=MixBlock(Yteacher)
The fusion block 1132 is a layer that transforms the input internal mixed signal Zteacher and encoded correspondence information esteacher into an internal target signal Zsteacher∈RD×K′ and outputs the internal target signal Zsteacher∈RD×K′. This relationship is shown below.
Zsteacher=Adapt(Zteacher,esteacher)
The target block 2133 is a layer that transforms the input internal target signal Zsteacher into a target mask Msteacher∈RD×K′ and outputs the target mask Msteacher∈RD×K′. This relationship is shown below.
Msteacher=TgtBlock(Zsteacher)
As illustrated in
As illustrated in
As illustrated in
The 1×1-convolution operation blocks 2131b, 2133b, 2001, and 2007 are blocks that perform 1×1-cony operation described in Reference Literature 1. The PReLU block 2133a is a block that performs processing of a parametric rectified linear unit (PReLU) described in Reference Literature 1. The activation function blocks 2133c, 2002, and 2005 are layers that cause an activation function to act on the input information and output a function value thereof. The activation function is not limited, and for example, a known activation function such as a ReLU function or a sigmoid function can be used.
The layer normalization blocks 2131a, 2003, and 2006 perform processing of performing statistical processing on the input information to obtain the output information. The input information to the layer normalization blocks 2131a, 2003, and 2006 of the present embodiment is Z=[z1, . . . , zΓ]∈RH×Γ. Here, the element zt=[z1,t, . . . , zH,t]T of input information Z is an H-dimensional vector. H is a positive integer, and h=1, . . . , H. t represents a time frame, and t=1, . . . , Γ. αT represents the transpose of α. The layer normalization blocks 2131a, 2003, and 2006 perform the following statistical processing on the input information Z, and output output information [LN[z1], . . . , LN[zr]]∈RH×Γ for the current time frame tc.
Here, μ[Z] represents a mean (a statistical value or a statistical amount) of the input information Z. μ[Z] is represented as follows.
β∈RH and γ∈RH are model parameters of a trainable scale and a bias, respectively. [1, . . . , 1]T∈RH is satisfied. σ[Z] represents a variance (a statistical value or a statistical amount) of the input information Z. σ[Z] is represented as follows.
Whether the processing of the layer normalization blocks 2131a, 2003, and 2006 is the causal processing or the non-causal processing is determined by the time range t=1, . . . , Γ of the statistical processing of Equations (2) and (3) above for the current time frame tc. That is, when the time range t=1, . . . , Γ of the statistical processing of Equations (2) and (3) is only the time frame before the current time frame tc, the processing of the layer normalization blocks 2131a, 2003, and 2006 is the causal processing. In other words, when 1≤Γ≤tc is satisfied, the processing of the layer normalization blocks 2131a, 2003, and 2006 is the causal processing. The layer normalization blocks 2131a, 2003, and 2006 that perform the causal processing are collectively referred to as cumulative global LN (cgLN). On the other hand, when the time range t=1, . . . , Γ of the statistical processing of Equations (2) and (3) is not only the time frame before the current time frame tc but also the future time frame, the processing of the layer normalization blocks 2131a, 2003, and 2006 is the non-causal processing. In other words, when tc<Γ is satisfied, the processing of the layer normalization blocks 2131a, 2003, and 2006 is the non-causal processing. The layer normalization blocks 2131a, 2003, and 2006 that perform the non-causal processing are collectively referred to as global LN (gLN).
The dilated convolution operation block 2004 is a block that performs depthwise convolution (D-conv) operation described in Reference Literature 1. The dilated convolution operation block 2004 performs convolution of the input information to obtain the output information. This convolution includes convolution of input information of a plurality of time frames. When the dilated convolution operation block 2004 performs only the convolution of the input information of the time frame before the current time frame tc to obtain the output information of the current time frame tc, the processing of the dilated convolution operation block 2004 is the causal processing. The dilated convolution operation block 2004 that performs causal processing will be referred to as causal. On the other hand, when the dilated convolution operation block 2004 performs convolution of not only the input information of the time frame before the current time frame to but also the input information of the future time frame to obtain the output information of the current time frame tc, the processing of the dilated convolution operation block 2004 is the non-causal processing. The dilated convolution operation block 2004 that performs non-causal processing will be referred to as non-causal.
As described above, the inference processing by the teacher model TSEteacher of the present embodiment includes the non-causal processing. For example, at least one of the layer normalization blocks 2131a, 2003, or 2006 may be a gLN that performs non-causal processing. For example, the dilated convolution operation block 2004 may be non-causal that performs non-causal processing. The inference processing by the teacher model TSEteacher of the present embodiment may include the causal processing and the non-causal processing. For example, the layer normalization blocks 2131a, 2003, and 2006 may be gLNs that perform non-causal processing, and the dilated convolution operation block 2004 may be causal that performs causal processing. For example, the layer normalization blocks 2131a, 2003, and 2006 each may be cgLN that performs causal processing, and the dilated convolution operation block 2004 may be non-causal that performs non-causal processing. However, this is an example and does not limit the present invention.
<Student Model>The student model TSEstudent of the present embodiment is a model based on a convolutional neural network. As illustrated in
As illustrated in
The main layer 2230 of the present embodiment includes a mixed block 2231, a fusion block 1232, and a target block 2233.
The mixed block 2231 is a layer that transforms the input encoded mixed signal Ystudent into an internal mixed signal Zstudent∈RD×K′ and outputs the internal mixed signal Zstudent∈RD×K′. This relationship is shown below.
Zstudent=MixBlock(Ystudent)
The fusion block 1232 is a layer that transforms the input internal mixed signal Zstudent and encoded correspondence information esstudent into an internal target signal Zsstudent∈RD×K′ and outputs the internal target signal Zsstudent∈RD×K′. This relationship is shown below.
Zsstudent=Adapt(Zstudent,esstudent)
The target block 2233 is a layer that transforms the input internal target signal Zsstudent into a target mask Msstudent∈RD×K′ and outputs the target mask Msstudent∈RD×K′. This relationship is shown below.
Msstudent=TgtBlock(Zsstudent)
As illustrated in
As illustrated in
The 1×1-convolution operation blocks 2231b and 2233b are blocks that perform 1×1-cony operation described in Reference Literature 1. The PReLU block 2233a is a block that performs processing of a parametric rectified linear unit (PReLU) described in Reference Literature 1. The activation function block 2233c is a layer that causes an activation function to act on the input information and outputs a function value thereof. The activation function is not limited, and for example, a known activation function such as a ReLU function or a sigmond function can be used.
The layer normalization block 2231a performs processing of performing statistical processing on the input information to obtain the output information. The input information to the layer normalization block 2231a of the present embodiment is Z=[z1, . . . , zΓ]∈RH×Γ, the layer normalization block 2231 performs statistical processing on the input information Z using Equations (1), (2), and (3), and outputs output information [LN[z1], . . . , LN[zΓ]]∈RH×Γ for the current time frame tc. Whether the processing of the layer normalization block 2231a is the causal processing or the non-causal processing is determined by the time range t=1, . . . , Γ of the statistical processing of Equations (2) and (3) for the current time frame tc. That is, when the time range t=1, . . . , Γ of the statistical processing of Equations (2) and (3) is only the time frame before the current time frame tc, the processing of the layer normalization block 2231a is the causal processing. In other words, when 1≤Γ≤tc is satisfied, the processing of the layer normalization block 2231a is the causal processing. As described above, the layer normalization block 2231a that performs the causal processing is collectively referred to as cumulative global LN (cgLN). On the other hand, when the time range t=1, . . . , Γ of the statistical processing of Equations (2) and (3) is not only the time frame before the current time frame tc but also the future time frame, the processing of the layer normalization block 2231a is the non-causal processing. In other words, when tc<Γ is satisfied, the processing of the layer normalization block 2231a is the non-causal processing. As described above, the layer normalization block 2231a that performs the non-causal processing is collectively referred to as global LN (gLN).
As described above, the inference processing by the student model TSEstudent of the present embodiment includes the non-causal processing. For example, the layer normalization block 2231a may be a gLN that performs non-causal processing. For example, the layer normalization block 2231a may be gLN that performs non-causal processing, and the dilated convolution operation block 2004 may be causal that performs causal processing. For example, the layer normalization block 2231a may be cgLN that performs causal processing, and the dilated convolution operation block 2004 may be non-causal that performs non-causal processing. However, this is an example and does not limit the present invention.
Features of Present EmbodimentAs in the first embodiment, in the present embodiment, the knowledge distillation for obtaining the student model TSEstudent is performed through training processing using the training data (y, os, {circumflex over ( )}xsteacher) based on the teacher model TSEteacher. By using the student model TSEstudent thus obtained, it is possible to implement target sound extraction with a small delay and high extraction performance.
Furthermore, in addition to the non-causal processing, the inference processing of the teacher model TSEteacher may further include causal processing of obtaining output information (third output information) corresponding to the current extraction information (first extraction information) {circumflex over ( )}xsteacher by using input information (third input information) based on the mixed signal (first mixed signal) y up to the present without using the information based on the future mixed signal (first mixed signal) y. By using the student model TSEstudent thus obtained, it is possible to implement target sound extraction with a small delay and higher extraction performance.
[Modification Example of Second Embodiment]The target blocks 2133 and 2233 of the second embodiment may be replaced with a block including a skip structure. As illustrated in
As illustrated in
Next, experimental results showing the effect of knowledge distillation according to the present embodiment will be described.
In the experiment, the following models a) to d) for performing target sound extraction by inference processing were used. All the models have the same structure as the structure of the teacher model TSEteacher and the student model TSEstudent described in the second embodiment. Note that the ReLU function was used as the activation function.
The model (a) is that the dilated convolution operation block 2004 of the 1-D convolution block 2000 (
The model (b) is that the dilated convolution operation block 2004 of the 1-D convolution block 2000 (
The model (c) is that the dilated convolution operation block 2004 of the 1-D convolution block 2000 (
The model (d) is that the dilated convolution operation block 2004 of the 1-D convolution block 2000 (
In a case where the target sound extraction was performed using the models (a), (b), (c), and (d) trained without performing knowledge distillation, signal-to-distortion ratio improvement (SDRi) (see Non Patent Literature 1) was 8.26, 6.55, 7.74, and 7.95 [dB], respectively. Note that the target sound extraction accuracy is higher as the SDRi is higher. As described above, it can be seen that in a case where the training is performed without performing knowledge distillation, the extraction performance of the causal model (b) is the lowest, the extraction performance of the non-causal model (a) is the highest, and the extraction performance of the partially causal/non-causal models (c) and (d) is between them. More particularly, when the causal model (b) is used, the SDRi (performance) decreases by 1.71 [dB] as compared with the non-causal model (a). The performance of the partially causal/non-causal models (c) and (d) decreases as compared with the non-causal model (a), but the performance thereof increases as compared with the causal model (b). The performance of the partially causal/non-causal models (c) and (d) decreases as compared with the causal model (a), but the performance thereof increases as compared with the causal model (b). In the partially causal/non-causal models (c) and (d), the model (d) using the non-causal layer normalization block (gLN) has the performance higher than the model (c) using the non-causal dilated convolution operation block (non-causal), and the SDRi thereof is lower than that of the causal model (a) by 0.31 [dB].
Next, as in (1) to (5) below, the models (a), (c), and (d) are used as the teacher models TSEteacher, and the extraction performance in a case where the student model TSEstudent as the model (b) is subjected to knowledge distillation is compared.
In all of (1) to (5), the model (b) is the student model TSEstudent. The model (a) is the teacher model TSEteacher in (1), the model (c) is the teacher model TSEteacher in (2), and the model (d) is the teacher model TSEteacher in (3), (4), and (5). The TS training is executed in (1), (2), (3), and (4), but the TS learning is not executed in (5). The PT training is executed in (1), (2), (3), and (5), but the PT training is not executed in (4). As a result of the experiment, the SDRis of the student models TSEstudent obtained in (1), (2), (3), (4), and (5) were 6.93, 7.02, 7.35, 7.07, and 6.82 [dB], respectively, and the performance was improved by 0.38, 0.47, 0.80, 0.52, and 0.27 [dB], respectively, as compared with the model (b) trained without performing knowledge distillation. As described above, in all of (1), (2), (3), (4), and (5), by performing the knowledge distillation of the student model TSEstudent that performs causal processing using the teacher model TSEteacher that performs non-causal processing, the extraction performance can be improved as compared with the case of performing training without performing knowledge distillation. In particular, the performance of the student model TSEstudent, which is subjected to the knowledge distillation by executing the TS training and the PT training using the model (d) as the teacher model TSEteacher, was maximized. As described above, it has been found that the performance of the obtained student model TSEstudent can be maximized by performing knowledge distillation on the student model TSEstudent that performs causal processing using the teacher model TSEteacher that partially performs causal processing and non-causal processing. Furthermore, although both the PT training and the PT training improve the performance of the student model TSEstudent, it has been found that the performance of the student model TSEstudent can be further improved by combining both the TS training and the PT training.
[Hardware Configuration]The teacher model devices 11 and 21, the knowledge distillation devices 12 and 22, and the target sound extraction devices 13 and 23 in the embodiments are devices configured by a general-purpose or dedicated computer including, for example, a processor (hardware processor) such as a central processing unit (CPU) or a memory such as a random-access memory (RAM) or a read-only memory (ROM) executing a predetermined program. That is, for example, the teacher model devices 11 and 21, the knowledge distillation devices 12 and 22, and the target sound extraction devices 13 and 23 in the embodiments include processing circuitry configured to implement each unit included therein. This computer may include one processor and one memory, or may include a plurality of processors and a plurality of memories. The program may be installed into the computer or may be recorded in the ROM or the like in advance. Furthermore, some or all processing units may be configured by using electronic circuitry that independently implements a processing function, instead of electronic circuitry that implements a functional configuration by reading a program like a CPU. Furthermore, the electronic circuitry configuring one device may include a plurality of CPUs.
The above-described program can be recorded in a computer-readable recording medium. Examples of the computer-readable recording medium include a non-transitory recording medium. Examples of such a recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory.
The program is distributed by, for example, selling, transferring, or renting a portable recording medium such as a DVD or a CD-ROM in which the program is recorded. Moreover, the program may be stored in a storage device of a server computer, and the program may be distributed by transferring the program from the server computer to another computer via a network. As described above, for example, the computer executing such a program first temporarily stores the program recorded in the portable recording medium or the program transferred from the server computer in the storage device of the computer. Then, at the time of executing processing, the computer reads the program stored in the storage device of the computer and executes processing according to the read program. Furthermore, in another mode of the program, the computer may read the program directly from the portable recording medium and execute processing according to the program, or alternatively, every time the program is transferred from the server computer to the computer, the computer may sequentially execute processing according to the received program. Furthermore, the above-described processing may be executed by a so-called application service provider (ASP) service that implements a processing function only by an execution instruction and result acquisition without transferring the program from the server computer to the computer. Note that the program in the present mode includes information that is used for processing by an electronic computer and is equivalent to the program (data or the like that is not a direct command to the computer but has a property that defines the processing of the computer).
Although the present device is configured by executing a predetermined program on the computer in each embodiment, at least part of processing content may be implemented by hardware.
Note that the present invention is not limited to the above-described embodiments. For example, in the embodiments described above, the inference processing of the student model TSEstudent does not include the non-causal processing. However, when the number of pieces of the non-causal processing included in the inference processing of the student model TSEstudent is smaller than the non-causal processing included in the inference processing of the teacher model TSEteacher, the inference processing of the student model TSEstudent may include the non-causal processing.
Furthermore, the various types of processing described above may be performed not only in time series according to the description but also in parallel or individually according to the throughput of the device that performs the processing or as necessary. Furthermore, it goes without saying that changes can be made as appropriate without departing from the gist of the invention described in the claims.
REFERENCE SIGNS LIST
-
- 11, 21 Teacher model device
- 12, 22 Knowledge distillation device
- 13, 23 Target sound extraction device
Claims
1. A knowledge distillation device comprising processing circuitry configured to obtain a student model through training processing using training data based on a teacher model,
- wherein the teacher model performs inference processing of obtaining first extraction information in a time-series, which corresponds to an acoustic signal belonging to a first class, from a first mixed signal and outputting the first extraction information for an input of the first mixed signal in a time-series, which is obtained by mixing a plurality of the acoustic signals, and first correspondence information corresponding to a specific first class,
- the student model performs inference processing of obtaining second extraction information in a time-series, which corresponds to an acoustic signal belonging to a second class, from a second mixed signal and outputting the second extraction information for an input of the second mixed signal in a time-series, which is obtained by mixing a plurality of the acoustic signals, and second correspondence information corresponding to a specific second class,
- the inference processing of the teacher model includes non-causal processing of obtaining first output information corresponding to the current first extraction information by using first input information based on the first mixed signal up to the present and the future first mixed signal, and
- the inference processing of the student model includes causal processing of obtaining second output information corresponding to the current second extraction information by using second input information based on the second mixed signal up to the present without using information based on the future second mixed signal.
2. The knowledge distillation device according to claim 1,
- wherein the inference processing of the teacher model further includes causal processing of obtaining third output information corresponding to the current first extraction information by using third input information based on the first mixed signal up to the present without using information based on the future first mixed signal.
3. The knowledge distillation device according to claim 2,
- wherein:
- (1) the non-causal processing included in the inference processing of the teacher model includes processing of performing convolution of the first input information to obtain the first output information, the causal processing included in the inference processing of the teacher model includes processing of performing statistical processing of the third input information to obtain the third output information, and the causal processing included in the inference processing of the student model includes processing of performing statistical processing of the second input information to obtain the second output information; or
- (2) the non-causal processing included in the inference processing of the teacher model includes processing of performing statistical processing of the first input information to obtain the first output information, the causal processing included in the inference processing of the teacher model includes processing of performing convolution of the third input information to obtain the third output information, and the causal processing included in the inference processing of the student model includes processing of performing convolution of the second input information to obtain the second output information.
4. The knowledge distillation device according to claim 1,
- wherein the processing circuitry
- sets model parameters of the teacher model that does not affect the non-causal processing as a part of model parameters of the student model, and
- trains a remaining part of the model parameters of the student model using the training data including the first mixed signal, the first correspondence information, and the first extraction information.
5. A target sound extraction system comprising the knowledge distillation device according to claim 1 and a target sound extraction device comprising second processing circuitry configured to apply a time-series mixed signal obtained by mixing a plurality of acoustic signals and correspondence information corresponding to a specific class to the student model, and obtains and outputs time-series extraction information corresponding to each acoustic signal belonging to the class from the mixed signal.
6. A knowledge distillation method comprising obtaining a student model through training processing using training data based on a teacher model,
- wherein the teacher model performs inference processing of obtaining first extraction information in a time-series, which corresponds to an acoustic signal belonging to a first class, from a first mixed signal and outputting the first extraction information for an input of the first mixed signal in a time-series, which is obtained by mixing a plurality of the acoustic signals, and first correspondence information corresponding to a specific first class,
- the student model performs inference processing of obtaining second extraction information in a time-series, which corresponds to an acoustic signal belonging to a second class, from a second mixed signal and outputting the second extraction information for an input of the second mixed signal in a time-series, which is obtained by mixing a plurality of the acoustic signals, and second correspondence information corresponding to a specific second class,
- the inference processing of the teacher model includes non-causal processing of obtaining first output information corresponding to the current first extraction information by using first input information based on the first mixed signal up to the present and the future first mixed signal, and
- the inference processing of the student model includes causal processing of obtaining second output information corresponding to the current second extraction information by using second input information based on the second mixed signal up to the present without using information based on the future second mixed signal.
7. A target sound extraction method comprising the knowledge distillation method according to claim 6 and applying a time-series mixed signal obtained by mixing a plurality of acoustic signals and correspondence information corresponding to a specific class in the mixed signal to the student model, and obtaining and outputting time-series extraction information corresponding to each acoustic signal belonging to the class from the mixed signal.
8. A non-transitory computer readable medium that stores a program for causing a computer to perform the knowledge distillation method according to claim 6.
9. A non-transitory computer readable medium that stores a program for causing a computer to perform the target sound extraction method according to claim 7.
Type: Application
Filed: Jun 12, 2023
Publication Date: Nov 26, 2026
Applicant: NTT, Inc. (Tokyo)
Inventors: Keigo WAKAYAMA (Musashino-shi, Tokyo), Tsubasa OCHIAI (Musashino-shi, Tokyo), Marc DELCROIX (Musashino-shi, Tokyo), Masahiro YASUDA (Musashino-shi, Tokyo), Shoichiro SAITO (Musashino-shi, Tokyo), Shoko ARAKI (Musashino-shi, Tokyo), Akira NAKAYAMA (Musashino-shi, Tokyo)
Application Number: 19/482,817