SOUND SOURCE SEPARATION LEARNING APPARATUS, SOUND SOURCE SEPARATION LEARNING METHOD, AND SOUND SOURCE SEPARATION LEARNING PROGRAM
The attention mechanism in sound source separation models addresses computational challenges by optimizing learning efficiency and maintaining accuracy for multiple sound sources, using an attention matrix to reduce complexity from O(J!) to O(J 2).
Patent Information
- Application Number
- JP2021152169
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-09-17
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-09-17
AI Technical Summary
Existing time-domain-based monaural sound source separation methods face computational challenges due to high calculation costs, particularly with large numbers of sound sources, making it difficult to train sound source separation models effectively.
Implementing an attention mechanism to determine the correspondence between separated signals and correct sound source signals through an attention matrix, reducing computational complexity from O(J!) to O(J 2), while using a neural network-based extractor to enhance learning efficiency.
Improves learning efficiency and maintains sound source separation accuracy even with a large number of mixed sound sources by optimizing the learning criterion with an attention mechanism, reducing computational costs.
Smart Images

Figure 0007567730000009 
Figure 0007567730000010 
Figure 0007567730000011
Abstract
Description
[Technical field]
[0001] The disclosed technology relates to a sound source separation training device, a sound source separation training method, and a sound source separation training program. [Background technology]
[0002] The problem of extracting and separating each sound source signal from a monaural mixed sound signal, which is a mixture of sound signals from multiple sound sources, is called monaural source separation. Since the method based on deep neural networks emerged, monaural source separation technology has made great progress. The monaural source separation methods proposed to date are roughly divided into two types: spectrum-based and time-domain-based, and at present, the latter has the advantage in terms of accuracy.
[0003] In the time domain-based method, the objective is to appropriately design a neural network model (hereinafter referred to as "source separation model") that takes a mixed signal as input and outputs J separated signals, and to train this source separation model. However, which sound source each separated signal output from the source separation model corresponds to depends on the architecture and parameters of the source separation model, and is difficult to predict in advance. Therefore, in a simple method in which correct source signals (hereinafter referred to as "correct source signals") mixed into a mixed signal are arranged in an appropriate order and the error between the separated signal and the correct source signal is used as the learning criterion, the source separation model may not be trained as expected.
[0004] Therefore, a learning method called Permutation Invariant Training (PIT) (Non-Patent Document 1) has been proposed in which it is found for each learning sample which separated signal output from the sound source separation model corresponds to which correct sound source signal, the error between the separated signal and the correct sound source signal is evaluated, and the parameters of the sound source separation model are updated based on the evaluation value. This method is currently adopted in many techniques. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] D. Yu, M. Kolbak, Z. Tan, and J. Jensen, "Permutation invariant training of deep models for speaker-independent multitalker speech separation," in Proc. ICASSP, 2017, pp.241-245. Summary of the Invention [Problem to be solved by the invention]
[0006] However, in the above-mentioned PIT, the computational cost of learning is O(J!) for the number of sound sources J, so in the case of a sound source separation model targeted at a mixed signal with a large number of mixed sound sources (e.g., a mixed signal with 10 or more sound sources), it is difficult to learn with a realistic computational cost. For example, when J=20, J! is 2.4×10 18 This becomes an enormous number, and the computational costs of learning it become enormous.
[0007] The disclosed technology has been made in consideration of the above points, and aims to improve learning efficiency while suppressing a decrease in sound source separation accuracy, even when separating mixed signals containing a large number of sound sources, in learning a sound source separation model. [Means for solving the problem]
[0008] A first aspect of the present disclosure is a sound source separation learning device including: a separation unit that separates a mixed signal containing a plurality of sound source signals into a plurality of separated signals using a sound source separation model configured with a neural network; a calculation unit that extracts features from each of the plurality of separated signals and each of the plurality of sound source signals using an extractor, and calculates an attention matrix having elements representing the similarity between each of the plurality of separated signals and each of the plurality of sound source signals based on the extracted features; and a learning unit that learns parameters of the sound source separation model and the extractor so as to minimize a learning criterion including an error between each of the plurality of sound source signals and each of the plurality of separated signals associated based on the attention matrix.
[0009] A second aspect of the present disclosure is a sound source separation learning method, in which a separation unit separates a mixed signal containing a plurality of sound source signals into a plurality of separation signals using a sound source separation model configured with a neural network, a calculation unit extracts features from each of the plurality of separation signals and each of the plurality of sound source signals using an extractor, and calculates an attention matrix having elements representing the similarity between each of the plurality of separation signals and each of the plurality of sound source signals based on the extracted features, and a learning unit learns parameters of the sound source separation model and the extractor so as to minimize a learning criterion including an error between each of the plurality of sound source signals and each of the plurality of separation signals associated based on the attention matrix.
[0010] A third aspect of the present disclosure is a sound source separation learning program for causing a computer to function as each unit constituting the above-mentioned sound source separation learning device. Effect of the Invention
[0011] According to the disclosed technology, in training a sound source separation model, even when separating a mixed signal containing a large number of sound sources, it is possible to improve the learning efficiency while suppressing a decrease in sound source separation accuracy. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a diagram for explaining a learning method of PIT. [Diagram 2] FIG. 2 is a block diagram showing a hardware configuration of the sound source separation learning device. [Diagram 3] 1 is a block diagram showing an example of a functional configuration of a sound source separation learning device. [Figure 4] 13 is a flowchart showing the flow of a sound source separation learning process. [Diagram 5] FIG. 1 is a diagram for explaining a learning method of AttentionPIT. [Figure 6] 13 is a diagram showing an example of evaluation results of the sound source separation accuracy and learning efficiency of AttentionPIT and a reference method. [Figure 7] FIG. 2 is a block diagram illustrating an example of a functional configuration of a sound source separation device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an example of an embodiment of the disclosed technology will be described with reference to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals. In addition, the dimensional ratios of the drawings are exaggerated for the convenience of explanation and may differ from the actual ratios.
[0014] <Problem formulation> Before describing the details of the sound source separation learning device according to this embodiment, the problem in this embodiment will be formulated. Note that symbols expressed in bold alphabets in the following formulas represent matrices or vectors. In the text, the corresponding symbols are written with the letter of the matrix or vector before the alphabet. Also, an alphabet with an accent mark in a formula is written in the text with the accent mark before the alphabet, for example, "^S". For other symbols that cannot be written in the text in the same way as in the formula, the notation is converted with an appropriate explanation.
[0015] The acoustic signal of sound source j (hereafter referred to as the "sound source signal") is expressed as s j (n), J sound source signals s1(n),...,s JThe monaural mixed signal y(n) containing (n) is expressed by the following equation (1).
[0016]
number
[0017] Here, n is the time index and N is the total number of samples of the mixed signal. The purpose of mono source separation is to separate a mixed signal y = [y(1), ..., y(N)] ∈ real R 1×N From each sound source signal s j =[s j (1),...,s j (N)]∈Real number R 1×N (j=1,...,J).
[0018] The time-domain-based monaural sound source separation method using a neural network will be described with reference to the following equation (2).
[0019]
number
[0020] The time-domain based monaural source separation method using a neural network takes as input a vector y representing a mixed signal, and a matrix of vectors representing each separated signal (hereafter referred to as the "separated signal matrix")^S=[vector^s1;...;vector^s J ]∈Real number R J×N A function f that outputs θ We model (·) with a neural network of appropriate architecture and determine its parameters θ through learning. Note that ";" is a symbol that represents a line break in a matrix. Vector ^s1, ..., Vector ^s J The sound sources that correspond to each are determined by f θ It depends on the architecture and parameters of (·), and it is not necessarily easy to predict in advance during training. Therefore, a method is required to train the parameter θ while matching the separated signal with the correct sound source signal.
[0021] The method of performing the above-mentioned learning is the PIT described in the above-mentioned Non-Patent Document 1. In PIT, a matrix in which vectors representing the correct sound source signals mixed into the mixed signals (vector y) that are each a learning sample are arranged (hereinafter referred to as a "correct sound source signal matrix") as a matrix S = [vector s1, ..., vector s J ], the learning criterion is given by the following equation (3).
[0022]
number
[0023] However, E (in the formula, it is written with a double underline) (行列S,ベクトルy)~p_D(行列S,ベクトルy) [·] represents the ensemble average for all training samples. Matrix P is a binary matrix that represents the correspondence between each separated signal and each ground-truth source signal. Set P (written in cursive in the formula) represents the set of permutation matrices. D(A,B) is a measure of the error between A and B, such as absolute error, squared error, or negative scale-invariant signal-to-distortion ratio (SI-SDR, Reference 1). Reference 1: J. Le Roux, S. Wisdom, H. Erdogan, and JR Hershey, "SDR - half-baked or well done?," arXiv:1811.02508 [cs.SD], 2018.
[0024] In PIT, as shown in Figure 1, for each training sample, D(f θ The method is to search for the matrix P that minimizes (vector y), matrix P, matrix S) by exhaustive enumeration, and then update the parameter θ. Therefore, the calculation time for learning is on the order of O(J!). This method does not pose any particular problem when the number of sound sources J is 2 or 3, but as J becomes larger, a combinatorial explosion occurs, making it difficult to learn with a realistic amount of calculation.
[0025] Therefore, in this embodiment, an attention mechanism is used to find out which correct sound source signal each separated signal output from the sound source separation model corresponds to, and this correspondence is calculated as an attention matrix. Then, the separated signals or the correct sound source signal are rearranged based on the attention matrix, and the error between the separated signal and the correct sound source signal is evaluated. That is, the learning method in this embodiment is a method that optimizes a learning criterion equivalent to a relaxed version of the PIT learning criterion by an approach based on an attention mechanism. Hereinafter, the learning method in this embodiment will be referred to as "AttentionPIT". Hereinafter, the sound source separation learning device according to this embodiment will be described in detail.
[0026] <Configuration of the sound source separation learning device> Fig. 2 is a block diagram showing a hardware configuration of the sound source separation learning device 10. As shown in Fig. 2, the sound source separation learning device 10 has a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a storage 14, an input unit 15, a display unit 16, and a communication I / F (Interface) 17. Each component is connected to each other via a bus 19 so as to be able to communicate with each other.
[0027] The CPU 11 is a central processing unit, and executes various programs and controls each part. That is, the CPU 11 reads a program from the ROM 12 or the storage 14, and executes the program using the RAM 13 as a working area. The CPU 11 controls each of the above components and performs various calculation processes according to the program stored in the ROM 12 or the storage 14. In this embodiment, the ROM 12 or the storage 14 stores a sound source separation learning program for executing a sound source separation learning process described later.
[0028] The ROM 12 stores various programs and various data. The RAM 13 temporarily stores programs or data as a working area. The storage 14 is composed of storage devices such as a hard disk drive (HDD) or a solid state drive (SSD), and stores various programs including an operating system and various data.
[0029] The input unit 15 includes a pointing device such as a mouse and a keyboard, and is used to perform various inputs. The display unit 16 is, for example, a liquid crystal display, and displays various information. The display unit 16 may function as the input unit 15 by adopting a touch panel system. The communication I / F 17 is an interface for communicating with other devices. For example, the communication uses a wired communication standard such as Ethernet (registered trademark) or FDDI, or a wireless communication standard such as 4G, 5G, or Wi-Fi (registered trademark).
[0030] Next, a functional configuration of the sound source separation learning device 10 will be described. Fig. 3 is a block diagram showing an example of the functional configuration of the sound source separation learning device 10. As shown in Fig. 3, the sound source separation learning device 10 has, as its functional configuration, a separation unit 101, a calculation unit 102, and a learning unit 103. Each functional configuration is realized by the CPU 11 reading out a sound source separation learning program stored in the ROM 12 or storage 14, expanding it in the RAM 13, and executing it.
[0031] The separation unit 101 separates a mixed signal, in which a plurality of sound source signals are mixed, into a plurality of separated signals by a sound source separation model 111 configured by a neural network.
[0032] Specifically, the separation unit 101 acquires mixed signals that are to be learning samples input to the sound source separation learning device 10, and inputs a vector y representing the acquired mixed signals to the sound source separation model 111. As described in the above problem formulation, the sound source separation model 111 receives the vector y representing the mixed signals as input, and outputs a separation signal matrix ^S, as shown in equation (2). θ(·) is modeled by a neural network of an appropriate architecture. The separation unit 101 acquires a separated signal matrix ^S output from the sound source separation model 111. The separation unit 101 passes the correct sound source signal matrix S constituting a learning sample and the separated signal matrix ^S output from the sound source separation model 111 to the calculation unit 102.
[0033] The calculation unit 102 extracts features from each of the multiple separated signals and each of the multiple sound source signals using an extractor 112, and calculates an attention matrix whose elements represent the similarities between each of the multiple separated signals and each of the multiple sound source signals based on the extracted features.
[0034] The extractor 112 is an encoder configured with a neural network. This encoder receives the separated signal matrix ^S and the correct sound source signal matrix S as inputs, and outputs a matrix with the same number of rows as the inputs and an appropriate number of columns using a function g φ (·) is modeled using a neural network of appropriate architecture. Then, when the separated signal matrix ^S and the correct sound source signal matrix S are input, g φ The output of (·) is expressed as the following equations (4) and (5), respectively.
[0035]
number
[0036] Matrix K and matrix Q∈real number R J×N’ is a matrix that emphasizes (encodes) the features of the separated signal matrix ^S and the correct sound source signal matrix S. Here, N' is the number of columns of the matrices K and Q. The separated signal ^s calculated using the matrices K and Q j and the correct sound source signal s j’ Similarity with a jj’ A matrix A∈R with elements (0 to 1) J×J is called the “attention matrix.” The attention matrix A may be, for example, the following equation (6).
[0037]
number
[0038] Here, softmax(·) means the operation of applying the softmax function to each column of the matrix. Therefore, in the case of equation (6), the sum of the elements of each column of the attention matrix A is 1. Element a of attention matrix A jj’ is the separation signal ^s j and the correct sound source signal s j’ The more similar the two are, the closer the value is to 1, and the more dissimilar the two are, the closer the value is to 0. Therefore, if each element of the attention matrix A is strictly either 0 or 1, the matrix obtained by multiplying the separated signal matrix ^S by the attention matrix A from the right as shown in the following equation (7) is ~ S is a matrix obtained by finding the row of the separated signal matrix ^S that is most similar to each row of the correct sound source signal matrix S, and arranging them in the order of row numbers of the correct sound source signal matrix S.
[0039]
number
[0040] Specifically, the calculation unit 102 inputs the separation signal matrix ^S to the extractor 112, and acquires a feature amount (matrix K) of the separation signal matrix ^S output from the extractor 112. The calculation unit 102 also inputs the correct sound source signal matrix S to the extractor 112, and acquires a feature amount (matrix Q) of the correct sound source signal matrix S output from the extractor 112. Then, the calculation unit 102 uses the acquired feature amount to calculate the attention matrix A, for example, by equation (6). The calculation unit 102 passes the correct sound source signal matrix S, the separation signal matrix ^S, and the calculated attention matrix A to the learning unit 103.
[0041] The learning unit 103 learns the parameters θ of the sound source separation model 111 and the parameters φ of the extractor 112 so as to minimize a learning criterion including an error between each of the plurality of sound source signals associated with each other based on the attention matrix A and each of the plurality of separated signals. ~The learning goal of the parameters θ and φ is to make S as close as possible to the correct sound source signal matrix S. When formulas (6) and (7) are combined into formula (8) below, the learning criterion L(θ,φ) to be minimized is given by formulas (9) and (10) below.
[0042]
number
[0043] Each separated signal s j and each correct sound source signal s j’ It is desirable that there is a one-to-one correspondence between the attention matrix A and φ, but this corresponds to the case where the attention matrix A satisfies the requirements of a permutation matrix. The above learning criterion alone does not necessarily ensure that the attention matrix A satisfies the requirements of a permutation matrix. Therefore, in addition to the above learning criterion, the learning unit 103 may learn the parameters θ and φ using a learning criterion that takes smaller values the closer the attention matrix A is to an orthogonal matrix. For example, as shown in the following equation (11), the attention matrix A and its transpose matrix A T A learning criterion may be used that includes a regularization term R (written in cursive in the formula)(θ,φ) that represents the product of and the error with the unit matrix.
[0044]
number
[0045] The regularization term in equation (11) becomes 0 when the attention matrix A is a permutation matrix, where λ ≥ 0 is the regularization weight, matrix I is a J × J unit matrix, ||·|| ρ is the ρ norm of the matrix. λ may be a fixed value, or may be set to a small value at the start of learning and gradually increased as learning progresses.
[0046] The learning unit 103 calculates, for example, a matrix represented by the formula (7) from the separated signal matrix ^S and the attention matrix A received from the calculation unit 102. ~ S is calculated, and the correct sound source signal matrix S and the matrix ~From S, the learning criterion shown in equation (9) is calculated. The learning unit 103 updates the parameters θ and φ so that the calculated learning criterion becomes smaller. Then, the learning unit 103 repeats updating the parameters θ and φ until a termination condition is satisfied. The termination condition may be when the update of the parameters θ and φ reaches a predetermined number of repetitions, when the learning criterion becomes equal to or smaller than a predetermined value, when the difference between the previously calculated learning criterion and the currently calculated learning criterion becomes equal to or smaller than a predetermined value, etc. The learning unit 103 outputs the parameter θ when the termination condition is satisfied.
[0047] Next, the operation of the sound source separation learning device 10 will be described.
[0048] Fig. 4 is a flowchart showing the flow of the sound source separation learning process by the sound source separation learning device 10. The sound source separation learning process is performed by the CPU 11 reading out the sound source separation learning program from the ROM 12 or the storage 14, expanding it in the RAM 13, and executing it. Fig. 5 is a schematic diagram showing a learning method (AttentionPIT) in this embodiment. The sound source separation learning process shown in Fig. 4 will be described with reference to Fig. 5 as well.
[0049] In step S101, the CPU 11, functioning as the separation unit 101, acquires mixed signals that are to be learning samples input to the sound source separation learning device 10. Next, in step S102, the CPU 11, functioning as the separation unit 101, converts the vector y representing the acquired mixed signal into the sound source separation model 111(f θ (·) to obtain the separated signal matrix ^S output from the sound source separation model 111 (A in FIG. 5).
[0050] Next, in step S103, the CPU 11, as the calculation unit 102, outputs the separated signal matrix ^S acquired in step S102 to the extractor 112(g φ (·)) to obtain the feature quantity (matrix K) of the separated signal matrix ^S output from the extractor 112 (B in FIG. 5). In addition, the CPU 11, as the calculation unit 102, inputs the correct sound source signal matrix S constituting the learning sample obtained in step S101 to the extractor 112 (g φ(·)) to obtain a feature quantity (matrix Q) of the correct sound source signal matrix S output from the extractor 112. Then, the CPU 11, functioning as the calculation unit 102, calculates the attention matrix A by, for example, equation (6) using the obtained feature quantity.
[0051] Next, in step S104, the CPU 11, functioning as the learning unit 103, calculates a matrix represented by the formula (7) from the separated signal matrix ^S acquired in the above step S102 and the attention matrix A calculated in the above step S103. ~ Then, the CPU 11, as the learning unit 103, calculates the correct sound source signal matrix S and the matrix ~ A learning criterion, for example, as shown in equation (9), which indicates the error with S is calculated (E in FIG. 5), and the parameters θ and φ are updated so that the calculated learning criterion becomes smaller.
[0052] Next, in step S105, the CPU 11, functioning as the learning unit 103, determines whether or not the learning end condition is satisfied. If the learning end condition is satisfied, the process proceeds to step S106, and if not, the process returns to step S102. In step S106, the CPU 11, functioning as the learning unit 103, outputs the parameter θ when the end condition is satisfied, and the sound source separation learning process ends.
[0053] Here, the effect of the learning method (AttentionPIT) in this embodiment will be described in comparison with reference methods. Here, the reference methods are SinkPIT (Reference 2) and HungarianPIT (Reference 3).
[0054] Reference 2: H. Tachibana, "Towards Listening to 10 People Simultaneously: An Efficient Permutation Invariant Training of Audio Source Separation Using Sinkhorn's Algorithm," arXiv:2010.11871 [cs.SD], 2020. Reference 3: S. Dovrat, E. Nachmani, and L. Wolf, "Many-Speakers Single Channel Speech Separation with Optimal Permutation Training," arXiv:2104.08955 [cs.SD], 2021.
[0055] SinkPIT focuses on the fact that any positive value matrix can be converged to a double probability matrix using the Sinkhorn-Knopp algorithm, constructs a pairwise error matrix with the error of each pair between the output signal of the sound source separation model and the ground truth signal as elements, and uses the inner product of this error matrix and the double probability matrix to which the positive value matrix created based on the error matrix converges as the learning criterion. The computational cost of SinkPIT is O(J 2 ).
[0056] HungarianPIT uses the Hungarian method, which is one of the methods for solving assignment problems, to optimally assign the output signal of the sound source separation model to the ground truth signal, and then uses the error between the output signal of the sound source separation model and the ground truth signal (the same learning criterion as PIT) as the learning criterion. The computational cost of HungarianPIT is O(J 3 ).
[0057] The learning method (AttentionPIT) in this embodiment has the same order of calculation time as SinkPIT. However, unless infinite J is considered, the length of the actual learning time of each method depends on the architecture of the sound source separation model and the hyperparameters of each method, so the merits and demerits of each method need to be discussed after experimentally comparing the sound source separation accuracy and learning time.
[0058] Figure 6 shows the evaluation results of each method's sound source separation accuracy (SI-SDR improvement value) and learning efficiency (iteration cycles per second) in an experiment on monaural sound source separation targeting a mixed signal of the voices of 10 speakers. In this experiment, a dataset called LibriMix, which is based on LibrSpeech, was used as the training data and test data, and ConvTasNet (Reference 4) was used as the sound source separation model. The sound source separation model and learning conditions were the same for each method. Note that while the sound source separation accuracy when training with PIT was equivalent to that when training with HungarianPIT, the learning efficiency was significantly lower, so it has been omitted from the reference examples for comparison.
[0059] Reference 4: Y. Luo and N. Mesgarani, "Conv-TasNet: Surpassing ideal time frequency magnitude masking for speech separation," IEEE / ACM Transactions on Audio, Speech, and Language Processing, vol. 27, no. 8, pp. 1256-1266, 2019.
[0060] As shown in the evaluation results in Figure 6, AttentionPIT was confirmed to be superior to the other two methods in terms of sound source separation accuracy. In addition, in terms of learning efficiency, AttentionPIT was slightly behind HungarianPIT, but was confirmed to be slightly more efficient than SinkPIT.
[0061] As described above, the sound source separation learning device according to the present embodiment separates a mixed signal in which a plurality of sound source signals are mixed into a plurality of separated signals by a sound source separation model configured by a neural network. The sound source separation learning device also extracts features from each of the plurality of separated signals and each of the plurality of sound source signals by an extractor, and calculates an attention matrix having elements representing the similarity between each of the plurality of separated signals and each of the plurality of sound source signals based on the extracted features. The sound source separation learning device then learns parameters of the sound source separation model and the extractor so as to minimize a learning criterion including an error between each of the plurality of sound source signals associated based on the attention matrix and each of the plurality of separated signals. As a result, in learning the sound source separation model, even when a mixed signal containing a large number of mixed sound sources is separated, it is possible to improve learning efficiency while suppressing a decrease in sound source separation accuracy.
[0062] Specifically, the sound source separation training device according to this embodiment, like PIT, evaluates the error between the separated signal and the correct sound source separation signal after associating them with each other, thereby suppressing the deterioration of the sound source separation accuracy. On the other hand, while the learning calculation cost in PIT is O(C!), the sound source separation training device according to this embodiment has a calculation cost of O(C 2 ) and can improve learning efficiency.
[0063] In addition, the sound source separation learning device according to this embodiment uses an encoder configured with a neural network as an extractor, which makes it possible to find the correspondence between the separated signals and the correct sound source signals by an attention mechanism.
[0064] In addition, the sound source separation learning device according to this embodiment may use a learning criterion including a regularization term that takes a smaller value as the attention matrix approaches an orthogonal matrix. This increases the possibility that the attention matrix satisfies the requirements of the permutation matrix, making it easier to make a one-to-one correspondence between the separated signals and the correct sound source signals.
[0065] In the above embodiment, as shown in formula (7), a case has been described in which the learning criterion including the error between the matrix obtained by multiplying the separation signal matrix by the attention matrix and the correct sound source signal matrix is minimized. However, the present invention is not limited to this. A learning criterion including the error between the matrix obtained by multiplying the correct sound source signal matrix by the attention matrix and the separation signal matrix may be minimized.
[0066] Further, the sound source separation model configured using the parameter θ learned by the sound source separation learning device according to the present embodiment is used in a sound source separation device that infers each of a plurality of mixed sound source signals from a mixed signal to be inferred, each of which is unknown. FIG. 7 shows an example of a functional configuration of the sound source separation device 30. The sound source separation device 30 includes an inference unit 301 that outputs each of a plurality of separated signals obtained by separating the mixed signal to be inferred using a sound source separation model 311 as an inference result indicating each of the plurality of sound source signals included in the mixed signal to be inferred. The sound source separation model 311 stored in a predetermined storage area of the sound source separation device 30 has the same architecture as the sound source separation model 111 in the sound source separation learning device 10 of the above embodiment, and the parameter θ learned by the sound source separation learning device 10 is set.
[0067] In the above embodiment, the sound source separation learning process executed by the CPU by reading the software (program) may be executed by various processors other than the CPU. In this case, examples of the processor include a PLD (Programmable Logic Device) such as an FPGA (Field-Programmable Gate Array) whose circuit configuration can be changed after manufacture, and a dedicated electric circuit such as an ASIC (Application Specific Integrated Circuit) which is a processor having a circuit configuration designed exclusively for executing a specific process. The sound source separation learning process may be executed by one of these various processors, or may be executed by a combination of two or more processors of the same or different types (for example, a plurality of FPGAs, a combination of a CPU and an FPGA, etc.). The hardware structure of these various processors is, more specifically, an electric circuit that combines circuit elements such as semiconductor elements.
[0068] In addition, in each of the above embodiments, the sound source separation learning processing program is pre-stored (installed) in the ROM 12 or the storage 14, but the present invention is not limited to this. The program may be provided in a form stored in a non-transitory storage medium such as a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a USB (Universal Serial Bus) memory. The program may also be downloaded from an external device via a network.
[0069] The following supplementary notes are further disclosed regarding the above embodiment.
[0070] (Additional note 1) Memory, at least one processor coupled to the memory; Including, The processor, A mixed signal containing multiple sound source signals is separated into multiple separated signals using a sound source separation model composed of a neural network, extracting features from each of the plurality of separation signals and each of the plurality of sound source signals by an extractor, and calculating an attention matrix having elements each representing a similarity between each of the plurality of separation signals and each of the plurality of sound source signals based on the extracted features; The parameters of the sound source separation model and the extractor are trained so as to minimize a training criterion including an error between each of the plurality of sound source signals and each of the plurality of separation signals, the correspondence being made based on the attention matrix. The sound source separation learning device is configured as follows.
[0071] (Additional note 2) A non-transitory recording medium storing a program executable by a computer to execute a sound source separation learning process, The sound source separation learning process includes: A mixed signal containing multiple sound source signals is separated into multiple separated signals using a sound source separation model composed of a neural network, extracting features from each of the plurality of separation signals and each of the plurality of sound source signals by an extractor, and calculating an attention matrix having elements each representing a similarity between each of the plurality of separation signals and each of the plurality of sound source signals based on the extracted features; The parameters of the sound source separation model and the extractor are trained so as to minimize a training criterion including an error between each of the plurality of sound source signals and each of the plurality of separation signals, the correspondence being made based on the attention matrix. Non-transitory recording media, including [Explanation of symbols]
[0072] 10 Sound source separation learning device 11 CPU 12 ROM 13 RAM 14. Storage 15 Input section 16 Display section 17 Communication I / F 19 Bus 101 Separation part 102 Calculation section 103 Learning Department 111 Sound source separation model 112 Extractor 30 Sound source separation device 301 Reasoning Department 311 Sound Source Separation Model
Claims
1. A separation unit that separates a mixed signal, in which a plurality of sound source signals are mixed, into a plurality of separated signals by a sound source separation model configured with a neural network; a calculation unit that extracts features from each of the plurality of separation signals and each of the plurality of sound source signals by an extractor, and calculates an attention matrix having elements representing similarities between each of the plurality of separation signals and each of the plurality of sound source signals based on the extracted features, the sum of elements in each column being 1, and each element taking a value closer to 1 as the separation signals and the sound source signals are more similar, and taking a value closer to 0 as the separation signals and the sound source signals are less similar; A learning unit that learns parameters of the sound source separation model and the extractor so as to minimize a learning criterion that includes an error between each of the plurality of sound source signals and each of the plurality of separation signals that are associated based on the attention matrix, and that takes a smaller value as the attention matrix approaches an orthogonal matrix; A sound source separation learning device including:
2. The sound source separation learning device according to claim 1 , wherein the extractor is an encoder configured with a neural network.
3. The learning criterion includes a regularization term that takes a smaller value as the attention matrix approaches an orthogonal matrix, 3. The sound source separation learning device according to claim 1, wherein the learning unit increases a weight of the regularization term in the learning criterion as learning progresses.
4. The sound source separation learning device according to any one of claims 1 to 3, wherein the error is a difference between a matrix obtained by multiplying one of a sound source signal matrix representing the plurality of sound source signals and a separation signal matrix representing the plurality of separation signals by the attention matrix, and the other of the sound source signal matrix and the separation signal matrix.
5. The sound source signal matrix is a matrix in which row vectors representing each sound source signal are arranged vertically, the separation signal matrix is a matrix in which row vectors representing each separation signal are arranged vertically, an element in the i-th row and j-th column of the attention matrix is a value representing a similarity between a row vector in the i-th column of one of the sound source signal matrix and the separation signal matrix and a row vector in the j-th column of the other of the sound source signal matrix and the separation signal matrix, and a matrix multiplied by the attention matrix is a matrix obtained by multiplying one of the sound source signal matrix and the separation signal matrix by the attention matrix from the right.
6. A separation unit separates a mixed signal in which a plurality of sound source signals are mixed into a plurality of separated signals using a sound source separation model configured with a neural network; a calculation unit extracts features from each of the plurality of separation signals and each of the plurality of sound source signals using an extractor, and calculates, based on the extracted features, an attention matrix having elements representing similarities between each of the plurality of separation signals and each of the plurality of sound source signals, the sum of elements in each column being 1, and each element taking a value closer to 1 as the separation signal and the sound source signal are more similar, and taking a value closer to 0 as the separation signal and the sound source signal are less similar; A learning unit learns parameters of the sound source separation model and the extractor so as to minimize a learning criterion that includes an error between each of the plurality of sound source signals associated based on the attention matrix and each of the plurality of separated signals, and that takes a smaller value as the attention matrix approaches an orthogonal matrix. A method for learning audio source separation.
7. A sound source separation learning program for causing a computer to function as each of the components constituting the sound source separation learning device according to any one of claims 1 to 5.
Citation Information
Patent Citations
Signal processing device, learning device, signal processing method, learning method and program
JP2020134657A
