Training device, signal generator, training method, and program

The learning device optimizes signal generators and discriminators using a competitive learning process with an encoder-decoder structure, addressing the challenge of high-quality speech synthesis with reduced resources by enabling efficient signal discrimination with fewer discriminators.

WO2024180650A1PCT designated stage expired Publication Date: 2024-09-06NT T INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/007232
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing methods for constructing signal generators using generative adversarial networks (GANs) require a large number of signal discriminators to achieve high-quality speech synthesis, leading to increased model size and training time as quality demands rise.

Method used

A learning device and method that optimizes a signal generator and discriminator using a competitive learning process, employing an encoder and decoder structure to reduce signal dimensionality and generate identification data of the same size as the input, allowing a single signal discriminator to distinguish between generated and real signals effectively.

Benefits of technology

This approach enables the generation of high-quality signals with a reduced number of signal discriminators, reducing model size and training time while maintaining accurate signal discrimination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023007232_06092024_PF_FP
    Figure JP2023007232_06092024_PF_FP
Patent Text Reader

Abstract

Provided is a training device comprising: a signal generator that generates a generated signal from input data; a signal identifier that identifies an input signal and includes an encoder unit that takes in either the generated signal generated by the signal generator or an actual signal as the input signal, and generates feature data by compressing information contained in the input signal while reducing the size of one or more dimensions of the taken-in input signal, a decoder unit that generates, from the feature data generated by the encoder unit, identification data for which the size of dimension(s) reduced in size in the input signal is larger than that of the feature data, and an identification unit that identifies whether the input signal is the generated signal or the actual signal on the basis of the identification data generated by the decoder unit; and a training processing unit that executes training processing for optimizing the signal generator and the signal identifier under competing conditions on the basis of the result of identification by the signal identifier.
Need to check novelty before this filing date? Find Prior Art

Description

Learning device, signal generator, learning method and program

[0001] The present invention relates to a learning device, a signal generator, a learning method, and a program.

[0002] Typical tasks for generating speech signals include text-to-speech synthesis and speech conversion, which often use a two-stage approach consisting of (Process 1) and (Process 2) shown below.

[0003] (Process 1) An intermediate representation for a target speech signal (hereinafter referred to as a "target intermediate representation") is estimated from input data. Specifically, in the case of text-to-speech synthesis, text is used as input data, and a target intermediate representation is estimated from the input text. In the case of speech conversion, a speech signal is used as input data, an input intermediate representation is extracted from the input speech signal, and then a target intermediate representation is estimated from the extracted input intermediate representation. Note that data used as an intermediate representation includes, for example, data indicating features such as a spectrogram obtained by applying a time-frequency transform based on basis functions, such as a short-time Fourier transform or a wavelet transform, to a speech signal.

[0004] (Process 2) A target speech signal is generated from the target intermediate representation estimated in (Process 1).

[0005] In contrast to this, an approach may be used in which (Process 1) and (Process 2) are executed consistently without explicitly expressing the target intermediate representation as described above. Here, executing consistently means, for example, in the case of text-to-speech synthesis, directly converting the input text into a target speech signal, or in the case of speech conversion, directly converting the input speech signal into a target speech signal.

[0006] A device that uses either of the two approaches described above and generates a target signal when given certain data as input is hereinafter referred to as a signal generator. Here, "certain data" refers to, for example, in the case of speech signal generation, text or a speech signal that is the input of (Process 1), or a target intermediate representation that is the input of (Process 2). "Target signal" refers to, for example, in the case of speech signal generation, a target speech signal that is the output of (Process 2).

[0007] One method for constructing such a signal generator through learning is to optimize a signal generator and a signal classifier that distinguishes between a generated signal generated by the signal generator and a real signal under competitive conditions. As such a method, a method using generative adversarial networks (hereinafter also referred to as "GANs") has been attracting attention in recent years (see, for example, Non-Patent Document 1).

[0008] The technology disclosed in Non-Patent Document 1 uses a signal generator that generates a speech signal from a mel spectrogram and a signal discriminator that discriminates between the speech signal generated by the signal generator and a real signal, and optimizes the signal generator and the signal discriminator by training them against each other under competitive conditions. This makes it possible to build a signal generator that can generate high-quality speech through training.

[0009] In particular, the technology disclosed in Non-Patent Document 1 uses a plurality of signal classifiers, each of which receives a signal with different scales or different periods, to enable discrimination between a generated signal and a real signal while taking into consideration various properties of the audio signal, such as multi-scale and multi-period properties.

[0010] Jungil Kong, Jaehyeon Kim, and Jaekyoung Bae, “HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis” in Adv. NeurIPS, 2020.

[0011] However, the total model size and total training time required for the process of training the signal generator and the signal classifier increase in proportion to the number of signal classifiers. As described above, in order to build a signal generator capable of generating high-quality speech by training using the technology disclosed in Non-Patent Document 1, it is necessary to use a number of signal classifiers corresponding to the required quality. Therefore, when using the technology disclosed in Non-Patent Document 1, there is a problem that as the required quality increases, the total model size increases and the total training time becomes longer.

[0012] In view of the above circumstances, an object of the present invention is to provide a technology for constructing a signal generator that can generate high-quality signals even with a small number of signal classifiers, in a method of optimizing a signal generator and a signal classifier by training them under competitive conditions.

[0013] One aspect of the present invention is a learning device comprising: a signal generator that generates a generated signal from input data; a signal discriminator that discriminates the input signal, the signal discriminator including an encoder that takes in either the generated signal generated by the signal generator or a real signal as the input signal and generates feature data by compressing information included in the input signal while reducing the size of one or more dimensions of the taken-in input signal; a decoder that generates, from the feature data generated by the encoder, discrimination data in which the size of the reduced dimension in the input signal is larger than the feature data; and a discrimination unit that discriminates whether the input signal is the generated signal or the real signal based on the discrimination data generated by the decoder; and a learning processing unit that performs a learning process to optimize the signal generator and the signal discriminator under competitive conditions based on a discrimination result of the signal discriminator.

[0014] One aspect of the present invention is a signal generator optimized by the above-described learning device, which takes in arbitrary input data and generates a generated signal corresponding to the arbitrary input data.

[0015] One aspect of the present invention is a learning method, in which a signal generator generates a generated signal from input data; a signal classifier takes in either the generated signal generated by the signal generator or a real signal as an input signal; the signal classifier generates feature data by reducing the size of one or more dimensions of the taken-in input signal and condensing information included in the input signal; the signal classifier generates classification data from the generated feature data, the size of the reduced dimension in the input signal being larger than the feature data; the signal classifier classifies whether the input signal is the generated signal or the real signal based on the generated classification data; and a learning processing unit performs a learning process to optimize the signal generator and the signal classifier under competitive conditions based on the classification result of the signal classifier.

[0016] One aspect of the present invention is a program for causing a computer to function as: signal generation means for generating a generated signal from input data; signal identification means for identifying the input signal, the signal identification means including encoder means for taking in either the generated signal generated by the signal generation means or a real signal as the input signal and generating feature data by compressing information included in the taken-in input signal while reducing the size of one or more dimensions of the input signal; decoder means for generating, from the feature data generated by the encoder means, identification data in which the size of the reduced dimension in the input signal is larger than that of the feature data; and identification means for identifying whether the input signal is the generated signal or the real signal based on the identification data generated by the decoder means; and learning processing means for performing a learning process to optimize the signal generation means and the signal identification means under competitive conditions based on the identification result of the signal identification means.

[0017] According to the present invention, a signal generator that can generate high-quality signals even with a small number of signal classifiers can be constructed using a method of optimizing a signal generator and a signal classifier by training them under competitive conditions.

[0018] 1 is a block diagram showing the configuration of a learning device according to a first embodiment. FIG. 2 is a block diagram showing the internal configuration of an encoder unit and a decoder unit according to the first embodiment, and the connection relationship between the decoder unit and a classification unit. FIG. 3 is a flowchart showing the flow of learning processing according to the first embodiment. FIG. 4 is a block diagram showing the configuration of a learning device according to a second embodiment. FIG. 5 is a block diagram showing the internal configuration of an encoder unit and a decoder unit according to the second embodiment, and the connection relationship between the decoder unit and a classification unit. FIG. 6 is a block diagram showing the internal configuration of a first down module and a fifth up module according to the second embodiment, and the connection relationship between the first down module, the fifth up module, and a concatenation layer. FIG. 7 is a diagram showing the experimental results of Experiment 1 conducted using the learning device according to the second embodiment. FIG. 8 is a diagram showing the experimental results of Experiment 2 conducted using the learning device according to the second embodiment. FIG. 9 is a block diagram showing another example configuration (part 1) of a signal classifier according to the first embodiment. FIG. 10 is a block diagram showing another example configuration (part 2) of a signal classifier according to the first embodiment. FIG. 11 is a block diagram showing another example configuration (part 3) of a signal classifier according to the first embodiment.

[0019] First Embodiment Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a learning device 1 according to the first embodiment. The learning device 1 includes a signal generator 2, a signal classifier 3, a teacher data storage unit 4, a model data storage unit 5, and a learning processing unit 6. The signal generator 2 is, for example, a neural network having one input layer, one or more intermediate layers, and one output layer, and generates a generated signal from input data taken in at the input layer. Here, the input data is, for example, text data, and the generated signal is a speech signal.

[0020] The signal identifier 3 includes an encoder unit 11, a decoder unit 12, and an identifier unit 13. Each of the encoder unit 11, the decoder unit 12, and the identifier unit 13 is, for example, a neural network. The neural networks of the encoder unit 11, the decoder unit 12, and the identifier unit 13 each have one or more layers. In each neural network, the lowest layer is referred to as the input layer, the highest layer is referred to as the output layer, and the layer between the input layer and the output layer is referred to as the intermediate layer. However, for example, if a neural network has only one convolutional layer that is connected to a previous neural network and performs convolution processing on the output of the previous neural network, the neural network has one layer. In this case, the neural network does not have an intermediate layer, and one layer serves as both the input layer and the output layer. The encoder unit 11 receives, as an input signal, either the generated signal generated by the signal generator 2 or the real signal in the input layer. The encoder unit 11 generates feature data by compressing information contained in the input signal while reducing the size of one or more dimensions of the input signal that has been taken in.

[0021] Here, "information contraction" means, for example, making information indicating features contained in a signal or data into a state where it is represented by a signal or data that is smaller in size in one or more dimensions than the original signal or data. In other words, it means extracting information indicating features from the information contained in the signal or data, and condensing the extracted information indicating features into a size smaller in one or more dimensions than the size of the original signal or data, so that the features are represented concisely. For example, if the input signal is a speech signal, it means making a state where the information indicating features contained in the speech signal is represented in a signal with a shorter data length in the time series direction of the original speech signal.

[0022] Here, the feature data refers to data including features output by neurons included in the output layer of the encoder unit 11, and when there are multiple neurons included in the output layer, the data includes multiple features. Hereinafter, the feature data is not a term that only refers to the data output by the output layer of the encoder unit 11, but also refers to data that is output by any layer included in the neural network of the signal generator 2, the decoder unit 12, and the classification unit 13 after undergoing some processing such as feature extraction, rather than outputting the data that has been taken in as is.

[0023] The input layer of the decoder unit 12 is connected to the output layer of the encoder unit 11. The decoder unit 12 takes in, in its input layer, feature data output from the output layer of the encoder unit 11, and generates, from the taken-in feature data, feature data of the same size as the size of the input signal taken in by the encoder unit 11. Hereinafter, the feature data of the same size as the input signal generated by the decoder unit 12 will be referred to as identification data.

[0024] The input layer of the discrimination unit 13 is connected to the output layer of the decoder unit 12. The discrimination unit 13 takes in discrimination data output from the output layer of the decoder unit 12 in the input layer, and discriminates whether the input signal is a generated signal generated by the signal generator 2 or a real signal based on the taken-in feature data.

[0025] The training data storage unit 4 stores at least one training data set, which is a combination of one piece of text data and one real signal. A set of text data included in one training data set and the real signal have a correspondence relationship, such as, for example, a voice signal generated when a person reads out the contents of the text data is the real signal corresponding to the text data.

[0026] The model data storage unit 5 stores model data to be applied to the signal generator 2 and model data to be applied to the signal discriminator 3. Here, the model data specifically refers to coefficients such as weights and biases to be applied to the neural networks of the signal generator 2 and the encoder unit 11, decoder unit 12, and discriminator unit 13 included in the signal discriminator 3. When the model data corresponding to the signal generator 2 is applied to the signal generator 2, a signal generation model is constructed. When the model data corresponding to the signal discriminator 3 is applied to the signal discriminator 3, a signal discrimination model is constructed.

[0027] The learning processing unit 6 performs a learning process using the training data stored in the training data storage unit 4, and optimizes the signal generator 2 and the signal classifier 3 by training them under competitive conditions based on the classification result output by the signal classifier 3. Here, the learning processing unit 6 performs a learning process using a generative adversarial network (GAN) as the learning process by which the signal generator 2 and the signal classifier 3 are optimized by training them under competitive conditions. The learning processing unit 6 records model data obtained in the course of the learning process in the model data storage unit 5.

[0028] 2, an example of the internal configuration of the encoder unit 11 and the decoder unit 12 of the signal identifier 3 will be described. The encoder unit 11 includes a first down-down module 21, a second down-down module 22, a third down-down module 23, a fourth down-down module 24, and a fifth down-down module 25. Each of the first down-down module 21, the second down-down module 22, the third down-down module 23, the fourth down-down module 24, and the fifth down-down module 25 is, for example, a convolutional neural network (CNN). The first down-down module 21 to the fifth down-down module 25 are connected in the order indicated by the connecting lines with arrows in FIG. 2. Note that the layers of the neural network of the encoder unit 11 are arranged in ascending order in the direction of the arrows, so that the input layer of the encoder unit 11 is the lowest layer of the first down-down module 21, the output layer of the encoder unit 11 is the highest layer of the fifth down-down module 25, and the layers other than the lowest and highest layers are intermediate layers of the encoder unit 11.

[0029] In the encoder unit 11, each of the first down-module 21 to the fifth down-module 25 performs, for example, convolution processing with a stride width of 2 or more or pooling processing (average pooling, maximum pooling, etc.) on the input signal. As a result, the encoder unit 11 performs down-sampling processing on the input signal, reducing the size of the input signal and compressing the information of the input signal.

[0030] The decoder unit 12 includes a first up module 31, a second up module 32, a third up module 33, a fourth up module 34, and a fifth up module 35. Each of the first up module 31, the second up module 32, the third up module 33, the fourth up module 34, and the fifth up module 35 is, for example, a convolutional neural network. The first up module 31 is connected to the fifth down module 25. The first up module 31 to the fifth up module 35 are connected in the order shown by the arrowed connection lines in FIG. 2. Note that the layers of the neural network of the decoder unit 12 are arranged in ascending order in the direction of the arrows, so that the input layer of the decoder unit 12 is the lowest layer of the first up module 31, and the output layer of the decoder unit 12 is the highest layer of the fifth up module 35, with the layers other than the lowest and highest layers being intermediate layers of the decoder unit 12.

[0031] In the decoder unit 12, each of the first up-module 31 to the fifth up-module 35 performs, for example, transposed convolution processing with a stride width of 2 or more or interpolation processing (nearest neighbor interpolation, bilinear interpolation, etc.) on the feature data output by the fifth down-module 25 of the encoder unit 11. As a result, the decoder unit 12 performs up-sampling processing on the feature data provided as input, increasing the size of the feature data, and ultimately obtaining classification data of the same size as the input signal.

[0032] The classification unit 13 is, for example, a neural network having a convolutional layer. It may be a neural network having only one convolutional layer that serves as both an input layer and an output layer, without the intermediate layer described above, or a neural network having other layers in addition to the convolutional layer. The classification unit 13 performs a convolution process on the classification data generated by the fifth amplifier module 35 of the decoder unit 12 to generate feature data with a channel number of "1." This feature data generated by the classification unit 13 serves as data indicating the classification result (hereinafter referred to as "classification result data"). The classification result data is data obtained for each sample of the input signal. The classification result data indicates, for example, the distance from either "0" or "1," where "0" indicates that the input signal is a generated signal generated by the signal generator 2, and "1" indicates that the input signal is a real signal. The classification result data may also be data indicating the probability of either "0" or "1."

[0033] (Learning Process by the Learning Device of the First Embodiment) FIG. 3 is a flowchart showing the flow of the learning process by the learning device 1 of the first embodiment. Before the processing of the flowchart shown in FIG. 3 starts, teacher data is pre-stored in the teacher data storage unit 4. The number of teacher data stored in the teacher data storage unit 4 is, for example, N×p. N and p are each integers equal to or greater than 1. p is a so-called batch size, and the teacher data stored in the teacher data storage unit 4 is stored in groups of p pieces starting from the top. Therefore, the number of groups is N. The model data storage unit 5 pre-stores initial values ​​of the model data.

[0034] When processing begins in the learning device 1, the learning processing unit 6 reads out the initial values ​​of the model data from the model data storage unit 5. As shown by the dashed connecting lines in Fig. 1 , the learning processing unit 6 applies each of the read out initial values ​​of the model data to the corresponding neural network of the signal generator 2 and the neural network of the signal discriminator 3, i.e., the neural networks of the encoder unit 11, decoder unit 12, and discriminator unit 13. The learning processing unit 6 sets "1" to a counter n provided in an internal storage area (S1).

[0035] The learning processing unit 6 selects and reads p pieces of teacher data included in the nth group, i.e., the batch size, from the teacher data storage unit 4. Here, since n=1, the learning processing unit 6 selects and reads p pieces of teacher data from the first group (S2).

[0036] The learning processing unit 6 selects one of the p pieces of teacher data that have been read out, and outputs the input data included in the selected teacher data, i.e., text data, to the signal generator 2 (S3). The signal generator 2 takes in the text data output by the learning processing unit 6, generates a generated signal from the taken-in text data, and outputs the generated signal to the encoder unit 11 of the signal classifier 3 (S4). The encoder unit 11 takes in the generated signal output by the signal generator 2 as an input signal and performs downsampling processing on the taken-in input signal. In this way, the encoder unit 11 generates feature data by compressing the information included in the input signal while reducing the size of the input signal. The encoder unit 11 outputs the generated feature data to the decoder unit 12.

[0037] The decoder unit 12 takes in the feature data output by the encoder unit 11 and performs upsampling processing on the taken-in feature data to generate classification data, which is feature data of the same size as the input signal. The decoder unit 12 outputs the generated classification data to the classification unit 13. The classification unit 13 takes in the classification data output by the decoder unit 12 and generates classification result data from the taken-in classification data. The classification unit 13 outputs the generated classification result data to the learning processing unit 6.

[0038] The learning processing unit 6 takes in the classification result data output by the classification unit 13. Since the classification result data taken in is classification result data obtained by outputting the input data included in the selected teacher data to the signal generator 2 in the immediately preceding process of S3, the learning processing unit 6 associates a label of “0” with the classification result data and records it in an internal storage area to indicate that it is classification result data corresponding to the generated signal (S5).

[0039] The learning processing unit 6 outputs the real signal included in the teacher data selected in the immediately preceding process of S3 to the encoder unit 11 (S6). The encoder unit 11 takes in the real signal output by the learning processing unit 6 as an input signal. The encoder unit 11, decoder unit 12, and classification unit 13 perform the same process as in S5 described above on the input signal, which is the real signal taken in by the encoder unit 11.

[0040] The learning processing unit 6 takes in the classification result data output by the classification unit 13. Because the classification result data taken in is the classification result data obtained by outputting a real signal to the signal classifier 3 in the immediately preceding process of S3, the learning processing unit 6 associates a label of “1” with the classification result data and records it in an internal storage area to indicate that the classification result data corresponds to the real signal (S7).

[0041] The learning processing unit 6 selects one piece of teacher data that has not been subjected to the processing of S3 to S7 from the p pieces of teacher data that have been read out, and again performs the processing of S3 to S7 (loop L1s to L1e).

[0042] When the processing of loops L1s to L1e is completed, the learning processing unit 6 calculates new model data to be applied to the signal classifier 3, based on each of the 2×p pieces of classification result data stored in the internal storage area and the label of “0” or “1” associated with each piece, so as to minimize the adversarial loss function (Adversarial Loss) shown in equation (1).

[0043]

[0044] In formula (1), D(·) indicates an operation performed by the signal discriminator 3. G(·) indicates an operation performed by the signal generator 2. s indicates input data included in the training data, i.e., text data, and x indicates a real signal included in the training data. Note that the blackboard bold E in formula (1) is an operation symbol indicating that an expected value is calculated.

[0045] When the learning processing unit 6 calculates new model data to be applied to the signal discriminator 3, it rewrites the model data corresponding to the signal discriminator 3 stored in the model data storage unit 5 with the calculated new model data. The learning processing unit 6 applies the calculated new model data to the neural networks of the encoder unit 11, the decoder unit 12, and the discriminator 13, thereby updating the model data of the signal discriminator 3. The learning processing unit 6 erases each of the 2×p pieces of discrimination result data stored in an internal storage area and the label of “0” or “1” associated with each piece (S8).

[0046] The learning processing unit 6 repeatedly performs the processes of S3 to S5 based on each of the p pieces of training data selected in the immediately preceding process of S2 (S9) (loops L2s to L2e). When the processes of loops L2s to L2e are completed, the learning processing unit 6 calculates new model data to be applied to the signal generator 2 based on each of the p pieces of classification result data associated with the label "0" stored in the internal storage area, so as to minimize the adversarial loss function (Adversarial Loss) shown in equation (2).

[0047]

[0048] When the learning processing unit 6 calculates new model data to be applied to the signal generator 2, it rewrites the model data corresponding to the signal generator 2 stored in the model data storage unit 5 with the calculated new model data. The learning processing unit 6 applies the calculated new model data to the neural network of the signal generator 2 to update the model data of the signal generator 2. The learning processing unit 6 erases each of the p pieces of classification result data stored in an internal storage area and the label of "0" associated with each piece (S10).

[0049] The learning processing unit 6 determines whether or not the counter n in the internal storage area exceeds N (S11). If the learning processing unit 6 determines that the counter n does not exceed N (No in S11), it adds 1 to the counter n, sets the new value of the counter n (S12), and then performs the process of S2.

[0050] In the process of S2 that is performed again, since n=2, the learning processing unit 6 selects and reads out p pieces of teacher data included in the second group from the teacher data storage unit 4. In this way, the processes of S2, loops L1s to L1e, S8, loops L2s to L2e, and S10 are repeated until counter n reaches N, and when the learning processing unit 6 determines in the process of S11 that counter n has exceeded N (S11, Yes), it terminates the process.

[0051] 3 constitutes one set of processing, and this one set of processing is repeated multiple times until the model data has sufficiently converged and it can be determined that sufficient learning processing has been performed. Note that at the start of the second and subsequent sets of processing, the model data at the end of the previous set of learning processing has already been applied to the neural network of signal generator 2 and the neural network of signal discriminator 3. Therefore, in the processing of S1, the learning processing unit 6 does not read the initial value of the model data from the model data storage unit 5 and apply the read model data to the neural network of signal generator 2 and the neural network of signal discriminator 3, but simply sets counter n to "1."

[0052] Furthermore, when processing the second set or later, before starting processing, the order of the teacher data stored in the teacher data storage unit 4 may be rearranged, for example by randomly shuffling, so that the combination of p teacher data included in each of the N groups is as different as possible from the combinations used in the sets processed up to that point, and then processing may be started.

[0053] In the process of FIG. 3, the processes of S6 and S7 may be performed before the processes of S3 to S5.

[0054] 3 is repeatedly performed, the signal discriminator 3 gradually improves the accuracy with which it can distinguish between the real signal x and the generated signal G(s) generated by the signal generator 2. In contrast, by repeatedly performing the process of S10, the signal generator 2 gradually generates a generated signal G(s) that is indistinguishable from the real signal x. By allowing the signal discriminator 3, which attempts to separate the real signal x from the generated signal G(s), and the signal generator 2, which attempts to bring the real signal x and the generated signal G(s) closer together, to mutually learn and optimize the signal discriminator 3 and the signal generator 2, which perform processing under competing conditions, the optimized signal generator 2 will ultimately be able to generate a high-quality generated signal G(s) that makes it impossible for the signal discriminator 3 to distinguish between the real signal x and the generated signal G(s).

[0055] A signal classifier used in the technology disclosed in Non-Patent Document 1 and the like (hereinafter referred to as an "existing signal classifier") reduces the size of an input signal by using, for example, an encoder equivalent to the encoder unit 11 included in the signal classifier 3 of the first embodiment, thereby condensing the information included in the input signal, in order to efficiently describe the relationship between signals over a wide range. Then, in the case of an existing signal classifier, the signal is classified as being a real signal or a generated signal based on the information condensed by the encoder.

[0056] However, in the case of existing signal classifiers, since information contained in an input signal is condensed, it is difficult for a single signal classifier to represent various properties of the input signal, such as multi-scale, multi-period, etc. Therefore, as described above, it has been necessary to use a plurality of signal classifiers suited to each of the various properties of the input signal.

[0057] In contrast to this, the signal discriminator 3 of the first embodiment is provided with a decoder unit 12 connected after the encoder unit 11, which generates discrimination data of the same size as the original input signal from the information condensed by the encoder unit 11. In addition, a discrimination unit 13 is connected after the decoder unit 12, and discriminates whether the input signal is a real signal or a generated signal based on the discrimination data of the same size as the input signal output by the decoder unit 12.

[0058] As described above, the learning device 1 of the first embodiment is capable of identifying whether an input signal is a real signal or a generated signal based on classification data that has the same size as the input signal. Because this classification data has the same size as the input signal, it has the same resolution as the input signal, and the various properties of the input signal described above are maintained in the classification data. Therefore, even without using multiple signal classifiers corresponding to each of the various properties of the input signal, it is possible to reduce the number of signal classifiers while maintaining the ability to fully represent the various properties of the input signal and sufficient classification ability. As in the learning device 1 of the first embodiment, it may be possible to accurately identify whether an input signal is a real signal or a generated signal using only a single signal classifier 3.

[0059] In the learning device 1 of the first embodiment, if the classification accuracy is insufficient, another signal classifier may be used in addition to the signal classifier 3. Even if another signal classifier is used, if the classification accuracy is to be the same as that of the technology disclosed in Non-Patent Document 1, for example, the total number of signal classifiers including the signal classifier 3 can be made smaller than that of the technology disclosed in Non-Patent Document 1 because the classification accuracy of the signal classifier 3 is high. As the other signal classifier, some of multiple signal classifiers each including only an encoder equivalent to the encoder unit 11 used in the technology disclosed in Non-Patent Document 1 may be applied. Furthermore, as the other signal classifier, a classifier similar to the signal classifier 3 or a classifier in which some layers of the signal classifier 3 have been modified may be used.

[0060] In this way, by using the learning device 1 of the first embodiment, it is possible to construct a signal generator 2 that can generate high-quality signals even if the number of signal classifiers 3 is small, in a method of optimizing the signal generators 2 and the signal classifiers 3 through a learning process under competitive conditions.

[0061] 3 has been fully performed, the model data storage unit 5 stores trained model data corresponding to the signal generator 2, i.e., optimized model data for the signal generator 2. An optimal signal generation model is constructed by applying this optimized model data for the signal generator 2 to the signal generator 2. By providing any text data to the optimal signal generation model constructed in this manner, it becomes possible to generate a high-quality speech signal corresponding to the any text data.

[0062] Second Embodiment Fig. 4 is a block diagram showing the configuration of a learning device 1a according to a second embodiment. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and only the different components will be described below. The learning device 1a includes a signal generator 2, a signal classifier 3a, a teacher data storage unit 4, a model data storage unit 5, and a learning processing unit 6.

[0063] The signal classifier 3a includes an encoder unit 11a, a decoder unit 12a, and a classifier unit 13a. Each of the encoder unit 11a, the decoder unit 12a, and the classifier unit 13a is, for example, a neural network. The neural networks of the encoder unit 11a, the decoder unit 12a, and the classifier unit 13a each have one or more layers. In each neural network, the lowest layer is referred to as the input layer, the highest layer is referred to as the output layer, and the layer between the input layer and the output layer is referred to as the intermediate layer. However, for example, if a neural network has only one convolutional layer that is connected to a previous neural network and performs convolution processing on the output of the previous neural network, the neural network has one layer. In this case, the neural network does not have an intermediate layer, and one layer serves as both the input layer and the output layer. In the input layer, the encoder unit 11a receives either a generated signal generated by the signal generator 2 or a real signal as an input signal. The encoder unit 11a generates feature data by compressing information included in the received input signal while reducing the size of one or more dimensions of the input signal.

[0064] The input layer of the decoder unit 12a is connected to the output layer of the encoder unit 11a. As indicated by reference numeral 14, the output of the intermediate layer of the encoder unit 11a is connected to the input of one or more intermediate layers of the decoder unit 12a. Hereinafter, the connection indicated by reference numeral 14 is referred to as a skip connection 14. The intermediate layers of the decoder unit 12a and the intermediate layers of the encoder unit 11a connected by the skip connections 14 are previously associated one-to-one. The decoder unit 12a takes in feature data output from the output layer and one or more intermediate layers of the encoder unit 11a, and generates, from the taken-in feature data, identification data that is feature data of the same size as the size of the input signal taken in by the encoder unit 11a.

[0065] The input layer of the classification unit 13a is connected to the output layer of the decoder unit 12a. The classification unit 13a receives classification data output from the output layer of the decoder unit 12a in the input layer, and determines whether the input signal is a generated signal generated by the signal generator 2 or a real signal based on the received feature data.

[0066] An example of the internal configuration of the encoder unit 11a, decoder unit 12a, and discrimination unit 13a of the signal discriminator 3a will be described with reference to Fig. 5. The encoder unit 11a includes a first down module 21a, a second down module 22a, a third down module 23a, a fourth down module 24a, and a fifth down module 25a. The first down module 21a to the fifth down module 25a are connected in the order shown by the connecting lines with arrows in Fig. 5.

[0067] The first down-module 21a receives an input signal, performs down-sampling processing with a stride width of "3," for example, to generate 32-channel feature data, and outputs the generated feature data to the second down-module 22a. Each of the second down-module 22a to the fifth down-module 25a receives feature data generated by the previous down-module, and performs down-sampling processing with a stride width of "3," for example. The number of channels of feature data generated by the second down-module 22a to the fifth down-module 25a is "64," "128," "256," and "512," respectively. In this way, in the encoder unit 11a, the input signal is down-sampled sequentially by each of the first down-module 21a to the fifth down-module 25a, thereby reducing the size of the input signal while increasing the number of channels.

[0068] The decoder unit 12a includes a first up module 31a, a second up module 32a, a third up module 33a, a fourth up module 34a, a fifth up module 35a, and concatenation layers 41, 42, 43, and 44. The first up module 31a is connected to a fifth down module 25a. The first up module 31a through the fifth up module 35a and the concatenation layers 41 to 44 are connected in the order shown by the arrowed connection lines in FIG. 5. The concatenation layers 41, 42, 43, and 44 are connected to the fourth down module 24a, the third down module 23a, the second down module 22a, and the first down module 21a, respectively, via skip connections 14-4, 14-3, 14-2, and 14-1.

[0069] The first up-module 31a takes in 512 channels of feature data output by the fifth down-module 25a of the encoder unit 11a. The first up-module 31a performs up-sampling processing on the taken-in feature data, for example, with a stride width of "3," to generate 256 channels of feature data, and outputs the generated feature data to the concatenation layer 41. The concatenation layer 41 takes in the 256 channels of feature data output by the first up-module 31a and the 256 channels of feature data output by the fourth down-module 24a, concatenates them in the channel direction, and outputs the concatenated feature data to the second up-module 32a.

[0070] The second up-module 32a takes in the feature data output by the concatenation layer 41. The second up-module 32a performs up-sampling processing on the taken-in feature data, for example, with a stride width of "3," to generate 128-channel feature data, and outputs the generated feature data to the concatenation layer 42. The concatenation layer 42 takes in the 128-channel feature data output by the second up-module 32a and the 128-channel feature data output by the third down-module 23a, concatenates them in the channel direction, and outputs the concatenated feature data to the third up-module 33a.

[0071] The third up-module 33a takes in the feature data output by the concatenation layer 42. The third up-module 33a performs up-sampling processing on the taken-in feature data, for example, with a stride width of "3," to generate 64-channel feature data, and outputs the generated feature data to the concatenation layer 43. The concatenation layer 43 takes in the 64-channel feature data output by the third up-module 33a and the 64-channel feature data output by the second down-module 22a, concatenates them in the channel direction, and outputs the concatenated feature data to the fourth up-module 34a.

[0072] The fourth up-module 34a takes in the feature data output by the concatenation layer 43. The fourth up-module 34a performs up-sampling processing on the taken-in feature data, for example, with a stride width of "3," to generate 32-channel feature data, and outputs the generated feature data to the concatenation layer 44. The concatenation layer 44 takes in the 32-channel feature data output by the fourth up-module 34a and the 32-channel feature data output by the first down-module 21a, concatenates them in the channel direction, and outputs the concatenated feature data to the fifth up-module 35a.

[0073] The fifth up-module 35a receives the feature data output by the concatenation layer 44. The fifth up-module 35a performs up-sampling processing on the received feature data, for example, with a stride width of "3," to generate 32-channel feature data, i.e., classification data. The fifth up-module 35a outputs the generated classification data to the classification unit 13a.

[0074] In this way, in the decoder unit 12a, the feature data output by the first down-down module 21a to the fifth down-down module 25a of the encoder unit 11a are sequentially up-sampled by the first up-module 31a to the fifth up-module 35a, resulting in an increase in the size of the feature data while a decrease in the number of channels. However, the fifth up-module 35a adjusts the number of channels of the feature data it outputs to be the same as the number of channels of the feature data output by the fourth up-module 34a. Note that the size of each of the two pieces of feature data linked by each of the linking layers 41 to 44 is the same.

[0075] The classification unit 13a is, for example, a neural network with a convolution layer that performs convolution processing with a kernel size of "5" and a stride width of "1", and this convolution layer serves as both an input layer and an output layer. The classification unit 13a takes in classification data output by the fifth upmodule 35a of the decoder unit 12a, and performs convolution processing on the taken-in classification data to generate feature vector data with a channel count of "1". The feature vector data generated by this classification unit 13a becomes classification result data similar to the feature vector data generated by the classification unit 13 of the first embodiment.

[0076] In FIG. 5, the notation "c number" indicates the number of output channels. The notation "s number" indicates the stride width. The notation "k number" indicates the kernel size. The meanings of these "c number", "s number", and "k number" are the same in FIG. 6.

[0077] Figure 6 is a block diagram showing an example of the internal configuration of the first down module 21a provided in the encoder unit 11a shown in Figure 5, an example of the internal configuration of the fifth up module 35a of the decoder unit 12a, and the connection relationship between the first down module 21a, the fifth up module 35a, and the coupling layer 44.

[0078] The first down module 21a includes a branching unit 50, a skip connection model unit 51, a residual connection model unit 52, an addition unit 53, and a global normalization layer 54. The branching unit 50 receives an input signal and outputs the received input signal to the skip connection model unit 51 and the residual connection model unit 52.

[0079] The skip connection model unit 51 includes an average pooling layer 100, a convolutional layer 101, and a concatenation layer 102. The average pooling layer 100 performs averaging processing with a stride width of "3" on the input signal output from the branching unit 50, i.e., outputs the average value of three sample values ​​included in the input signal, thereby generating feature data with the size of the input signal reduced to one-third. The average pooling layer 100 outputs the generated feature data to the convolutional layer 101 and the concatenation layer 102.

[0080] The convolutional layer 101 performs convolution processing on the feature data from the average pooling layer 100 with a kernel size of "1," a stride width of "1," and the same number of input and output channels, and outputs the feature data obtained as a result of the convolution processing to the concatenation layer 102. The concatenation layer 102 generates feature data by concatenating the feature data output by the average pooling layer 100 and the feature data output by the convolutional layer 101 in the channel direction, and outputs the generated feature data to the addition unit 53.

[0081] The residual connection model unit 52 includes a branching unit 103, a convolutional layer 104, an average pooling layer 105, a channel duplication unit 106, an addition unit 107, a leaky rectified linear unit (Leaky ReLU) 108, a convolutional layer 109, and a 0.4 multiplication unit 110. The branching unit 103 receives the input signal output by the branching unit 50, and outputs the received input signal to the convolutional layer 104 and the average pooling layer 105.

[0082] The average pooling layer 105 performs the same processing as the average pooling layer 100 on the input signal output by the branching unit 103. The channel duplication (Duplicate Channels) unit 106 performs the following processing for each channel of the feature data output by the average pooling layer 105. That is, the channel duplication unit 106 duplicates one channel and connects the duplicated channel to the original channel in the channel direction, so that two identical features are lined up consecutively in the channel direction, for all channels. In this way, the channel duplication unit 106 generates feature data with twice the number of dimensions in the channel direction as the feature data output by the average pooling layer 105. The channel duplication unit 106 outputs the generated feature data to the addition unit 107.

[0083] The convolutional layer 104 performs convolution processing on the input signal output from the branching unit 103 with a kernel size of 6, a stride width of 3, and the number of output channels being twice the number of input channels, to generate feature data. The convolutional layer 104 outputs the generated feature data to the addition unit 107.

[0084] The addition unit 107 adds the feature data output by the convolution layer 104 and the feature data output by the channel duplication unit 106. Here, the addition operation performed by the addition unit 107 is the following calculation process: The two feature data to be added by the addition unit 107 have the same size and the same number of channels, and there are channels that correspond one-to-one between the two feature data, and there are positions that correspond one-to-one for each corresponding channel.

[0085] The addition unit 107 calculates an addition value by adding two feature quantities present at corresponding positions of two pieces of feature data to be added. The addition unit 107 sets the calculated addition value as the feature quantity at that position. As a result, the addition unit 107 generates feature data having the calculated addition value as its feature quantity, and having the same size and number of channels as the feature data to be added. The addition unit 107 outputs the generated feature data to the leaky normalized linear unit 108. The leaky normalized linear unit 108 applies a so-called Leaky ReLU activation function to each of the feature quantities included in the feature data output by the addition unit 107. The leaky normalized linear unit 108 outputs the feature data obtained by applying the activation function to the convolution layer 109.

[0086] The convolutional layer 109 performs convolution processing on the feature data output by the leaky normalized linear unit 108, with a kernel size of 5, a stride width of 1, and the same number of input and output channels, and outputs the feature data obtained as a result of the convolution processing to the 0.4 multiplication unit 110. The 0.4 multiplication unit 110 multiplies each of the feature quantities included in the feature data output by the convolutional layer 109 by 0.4. The 0.4 multiplication unit 110 outputs the feature data including each of the 0.4-multiplied feature quantities to the addition unit 53.

[0087] The addition unit 53 generates feature data by performing the same arithmetic processing as that performed by the addition unit 107 on the feature data output by the concatenation layer 102 and the feature data output by the 0.4x unit 110. The addition unit 53 outputs the generated feature data to the global normalization layer 54.

[0088] The global normalization layer 54 normalizes the feature data output by the addition unit 53 by applying the following equation (3).

[0089]

[0090] In equation (3), ε is a constant that prevents division by 0, for example, ε=10 -8The values ​​N and b are used. N is the number of individual features included in the feature data to be normalized. a is the feature data to be normalized, and b is the feature data after normalization. a i is the i-th feature included in the feature data a.

[0091] The global normalization layer 54 outputs the normalized feature data to the second down module 22a, and also outputs it to the concatenation layer 44 via the skip connection 14-1.

[0092] The linking layer 44 links the 32-channel feature data output by the first down module 21a and the 32-channel feature data output by the fourth up module 34a in the channel direction to generate 64-channel feature data. The linking layer 44 outputs the generated feature data to the fifth up module 35a.

[0093] The fifth up-module 35a includes a branching unit 60, a skip connection model unit 61, a residual connection model unit 62, an addition unit 63, and a global normalization layer 64. The branching unit 60 receives feature data output by the concatenation layer 44 and outputs the received feature data to the skip connection model unit 61 and the residual connection model unit 62.

[0094] The skip connection model unit 61 includes a convolutional layer 200 and an upsampling layer 201. The convolutional layer 200 performs convolution processing on the feature data output by the branching unit 60, with a kernel size of "1," a stride width of "1," and the number of output channels being ¼ the number of input channels, and outputs the feature data obtained as a result of the convolution processing to the upsampling layer 201. The upsampling layer 201 performs upsampling processing on the feature data output by the convolutional layer 200, with a stride width of "3." As a result, the upsampling layer 201 generates feature data three times the size of the feature data output by the convolutional layer 200. The upsampling layer 201 outputs the generated feature data to the addition unit 63.

[0095] The residual connection model unit 62 includes a leaky normalized linear unit 202, a transposed convolutional layer 203, an upsampling layer 204, a channel drop unit 205, an addition unit 206, a leaky normalized linear unit 207, a convolutional layer 208, and a 0.4 multiplication unit 209. The leaky normalized linear unit 202 performs the same processing as the leaky normalized linear unit 108 on the feature data output by the branching unit 60 to generate feature data. The leaky normalized linear unit 202 outputs the generated feature data to the transposed convolutional layer 203 and the upsampling layer 204.

[0096] The upsampling layer 204 performs the same processing as the upsampling layer 201 on the feature data output by the leaky normalized linear unit 202 to generate feature data. The upsampling layer 204 outputs the generated feature data to the channel drop unit 205. The channel drop unit 205 generates feature data by thinning out some channels from the feature data output by the upsampling layer 204 so that the number of dimensions in the channel direction of the feature data output by the upsampling layer 204 becomes 1 / 4. The channel drop unit 205 outputs the generated feature data to the addition unit 206.

[0097] The transposed convolution layer 203 performs transposed convolution processing on the feature data output by the leaky normalized linear unit 202 with a kernel size of 6, a stride width of 3, and the number of output channels being ¼ of the number of input channels, to generate feature data. The transposed convolution layer 203 outputs the generated feature data to the addition unit 206.

[0098] The addition unit 206 generates feature data by performing an addition operation similar to the addition operation performed by the addition unit 107 on the feature data output by the transposed convolution layer 203 and the feature data output by the channel drop unit 205. The addition unit 206 outputs the generated feature data to the leaky normalized linear unit 207.

[0099] The processing that the leaky normalized linear unit 207, the convolutional layer 208, and the 0.4-fold unit 209 perform on the feature data output by the addition unit 206 is the same as the processing that the leaky normalized linear unit 108, the convolutional layer 109, and the 0.4-fold unit 209 perform on the feature data output by the addition unit 107. The 0.4-fold unit 209 outputs the generated feature data to the addition unit 63.

[0100] The addition unit 63 generates feature data by performing an addition operation similar to that performed by the addition unit 107 on the feature data output by the upsampling layer 201 and the feature data output by the 0.4x unit 209. The addition unit 63 outputs the generated feature data to the global normalization layer 64. The global normalization layer 64 generates feature data by performing the same processing as the global normalization layer 54 on the feature data output by the addition unit 63. The global normalization layer 64 outputs the generated feature data to the identification unit 13a.

[0101] The second down module 22a to the fifth down module 25a also have the same configuration as the first down module 21a shown in Fig. 6. However, in the case of the second down module 22a to the fifth down module 25a, a residual connection model unit 52 is applied in which the branching unit 103 in the residual connection model unit 52 is replaced with a leaky normalized linear unit 202 that branches the output of the residual connection model unit 62 into two.

[0102] The first up module 31a to the fourth up module 34a also have the same configuration as the fifth up module 35a shown in Fig. 6. However, as described above, the fifth up module 35a is adjusted differently from the first up module 31a to the fourth up module 34a so that the number of channels of the feature data it outputs is the same as the number of channels of the feature data output by the fourth up module 34a.

[0103] The layers of the neural network of the encoder unit 11a are arranged in ascending order in the direction of the arrow shown in FIG. 5, so that the input layer of the encoder unit 11a is the branching unit 50 of the first down module 21a, and the output layer of the encoder unit 11a is the global normalization layer 54 of the fifth down module 25a.

[0104] Similarly, the layers of the neural network of the decoder unit 12a become higher layers in the direction of the arrow shown in Figure 5, so that the input layer of the decoder unit 12a becomes the branching unit 60 of the first up module 31a, and the output layer of the decoder unit 12a becomes the global normalization layer 64 of the fifth up module 35a.

[0105] (Learning process by the learning device of the second embodiment) In the learning device 1a of the second embodiment, the same learning process as that performed by the learning device 1 of the first embodiment shown in Figure 3 is performed, except that the signal discriminator 3, the encoder unit 11, the decoder unit 12, and the discrimination unit 13 are replaced with the signal discriminator 3a, the encoder unit 11a, the decoder unit 12a, and the discrimination unit 13a, respectively.

[0106] (Actions and Effects of Second Embodiment) The learning device 1a of the second embodiment can provide actions and effects similar to those provided by the learning device 1 of the first embodiment. That is, even when the learning device 1a is used, it is possible to construct a signal generator 2 that can generate high-quality signals even if the number of signal classifiers 3a is small, in a technique of optimizing the signal generator 2 and the signal classifiers 3a through a learning process under competitive conditions.

[0107] The learning device 1a of the second embodiment further provides the following actions and effects. When the encoder unit 11 and the decoder unit 12 are connected, as in the signal discriminator 3 of the learning device 1 of the first embodiment, the number of layers in the neural network increases compared to when only an encoder corresponding to the encoder unit 11 is used, as in the technology disclosed in Non-Patent Document 1. In the learning process in a neural network with such a large number of layers, phenomena such as gradient disappearance and divergence may occur during the process, making it difficult to achieve stable convergence.

[0108] In contrast, the learning device 1a of the second embodiment includes a skip connection 14, and further includes a skip connection model unit 51 for each of the first down module 21a to the fifth down module 25a, and a skip connection model unit 61 for each of the first up module 31a to the fifth up module 35a. The skip connection model units 51 and 61 perform processing to generate feature data that minimizes changes to the content of the supplied data. This allows information that may be lost in the process of the encoder unit 11a condensing the input signal to be efficiently propagated to the decoder unit 12a, making it possible to stabilize the learning process.

[0109] In the learning device 1a, each of the first down module 21a to the fifth down module 25a includes a residual connection model unit 52, and each of the first up module 31a to the fifth up module 35a includes a residual connection model unit 62. The residual connection model units 52, 62 generate feature data indicating changes that occur in the supplied data, i.e., residuals. Therefore, the feature data indicating the residuals of each sample included in the input signal is propagated to the identification unit 13a via the first down module 21a to the fifth down module 25 and the first up module 31a to the fifth up module 35a, making it possible to stabilize the learning process even if the propagated error becomes large.

[0110] In the first down-down module 21a to the fifth down-down module 25a, the residual connection model unit 52 multiplies the feature amounts included in the feature amount data by 0.4 using the 0.4 multiplication unit 110. The feature amount data output by the skip connection model unit 51 and the feature amount data output by the residual connection model unit 52 are added together, and the feature amount data obtained by the addition is normalized using equation (3) by the global normalization layer 54.

[0111] In the first up-module 31a to the fifth up-module 35a, the 0.4 multiplication unit 209 in the residual connection model unit 62 multiplies the feature quantities included in the feature quantity data by 0.4. The feature quantity data output by the skip connection model unit 61 and the feature quantity data output by the residual connection model unit 62 are added together, and the feature quantity data obtained by the addition is normalized using equation (3) by the global normalization layer 64. The processing by the 0.4 multiplication units 110, 209 and the processing by the global normalization layers 54, 64 described above makes it possible to reduce the occurrence of phenomena such as gradient vanishing and divergence that occur during the learning process, thereby further stabilizing the learning process.

[0112] 3 is performed sufficiently using the learning device 1a, the model data storage unit 5 stores trained model data corresponding to the signal generator 2, i.e., optimized model data for the signal generator 2. An optimal signal generation model is constructed by applying this optimized model data for the signal generator 2 to the signal generator 2. By providing any text data to the optimal signal generation model constructed in this way, it becomes possible to generate a high-quality speech signal corresponding to the any text data.

[0113] (Variations of Training Data) In the first and second embodiments described above, it is assumed that the signal generator 2 performs text-to-speech synthesis, and the combination of input data included in training data used by the training processing unit 6 for the training process and a real signal is such that the input data is text data and the real signal is a speech signal. In contrast, when the signal generator 2 performs speech conversion, the combination of input data included in training data and a real signal may be such that both the input data and the real signal are speech signals, or the input data is an intermediate representation and the real signal is a speech signal. Furthermore, even in the case of text-to-speech synthesis, the combination may be such that the input data is an intermediate representation obtained from text and the real signal is a speech signal.

[0114] The following data, for example, can be used as intermediate representation data to be used as input data. Data indicating features such as a spectrogram obtained by applying a time-frequency transformation based on a basis function, such as a short-time Fourier transform or a wavelet transform, to an audio signal or the like may be used as intermediate representation data. Data indicating features such as a mel spectrogram obtained by scaling data indicating features such as a spectrogram may be used as intermediate representation data. Data indicating features such as a cepstrum or mel cepstrum obtained by applying a time-frequency transformation based on a basis function, such as a Fourier transform, to the above-mentioned data indicating features such as a spectrogram or mel spectrogram may be used as intermediate representation data.

[0115] The intermediate representation data may be data indicating features that can be extracted from the audio signal, such as a fundamental frequency or an aperiodicity index. The intermediate representation data may be data indicating features obtained by applying a predetermined function, such as a signal processing function or a function represented by a neural network, to the audio signal or the data indicating the above features. Furthermore, the intermediate representation data may be any combination of the above data that may be used as the intermediate representation data.

[0116] In the first and second embodiments described above, any or all of the generated signal generated by the signal generator 2, the input data provided to the signal generator 2, and the real signal provided to the signal identifiers 3 and 3a may be the following signals or data. That is, any or all of the generated signal, input data, and real signal may be a one-dimensional time-series signal or one-dimensional time-series data. Here, one-dimensional time-series signals or one-dimensional time-series data include, for example, the above-mentioned voice signals, acoustic signals, and character sequence signals, i.e., the above-mentioned text data. Any or all of the generated signal, input data, and real signal may be a multidimensional signal or multidimensional data such as an image or video. Any or all of the generated signal, input data, and real signal may be signals or data acquired using a sensor. Any or all of the generated signal, input data, and real signal may be signals or data obtained by any combination of the above-mentioned signals or data that may be any of the generated signal, input data, and real signals.

[0117] (GAN Variations) In the first and second embodiments described above, an example of a learning process based on a least squares GAN (LSGAN) using equations (1) and (2) as the adversarial loss function was shown as an example of a learning process using a generative adversarial network, i.e., a GAN, performed by the learning processing unit 6. In contrast, the learning processing unit 6 may perform a learning process based on a Wasserstein GAN, a learning process based on a non-saturating GAN, or a learning process based on a hinge GAN. The learning processing unit 6 may perform a learning process using a GAN that uses an adversarial loss function based on an arbitrary scale, which is an arbitrary combination of the LSGAN, Wasserstein GAN, non-saturating GAN, and hinge GAN.

[0118] The learning processing unit 6 may perform learning processing using a GAN that uses, in addition to equations (1) and (2), an intermediate representation-matching loss function (Intermediate Representation-Matching Loss) shown in the following equation (4):

[0119]

[0120] In equation (4), φ is a function for extracting an intermediate representation from an input signal. For example, when an intermediate representation is used as input data to be provided to the signal generator 2, the extraction function φ may be the same as the function used to extract data to be used in the intermediate representation, or any other function may be applied. Note that the function used to extract data to be used in the intermediate representation may be, for example, a function for extracting data indicating features such as the above-mentioned spectrogram, mel spectrogram, cepstrum, mel cepstrum, fundamental frequency, or aperiodicity index, or a signal processing function used to extract data indicating features or a function expressed by a neural network.

[0121] The learning processing unit 6 performs the learning process using a GAN that uses the intermediate representation adaptation loss function of equation (4), thereby making it possible to bring the generated signal G(s) generated by the signal generator 2 and the real signal x closer together within the feature space of the intermediate representation.

[0122] Note that the intermediate representation matching loss function of equation (4) calculates the L1 distance. Alternatively, an intermediate representation matching loss function that calculates the L2 distance, the Wasserstein distance, and the Hinge distance may be used. Alternatively, an intermediate representation matching loss function that calculates an arbitrary measure that is an arbitrary combination of the L1 distance, the L2 distance, the Wasserstein distance, and the Hinge distance may be used.

[0123] In addition to the loss functions of Equations (1), (2), and (4), the learning processing unit 6 may further use a feature-matching loss function shown in the following Equation (5) to stabilize the learning process.

[0124]

[0125] In equation (5), T is the number of layers of the signal discriminators 3 and 3a, and D i is the feature data output in the i-th layer of the signal classifier 3, 3a, N i is the number of individual features included in the feature data of the i-th layer of the signal classifiers 3 and 3a.

[0126] In equation (5), the layers of the signal discriminators 3 and 3a refer to the first down modules 21 and 21a through the fifth down modules 25 and 25a provided in the encoder units 11 and 11a and the first up modules 31 and 31a through the fifth up modules 35 and 35a provided in the decoder units 12 and 12a. Therefore, "T" in equation (5), i.e., the number of layers of the signal discriminators 3 and 3a, is 10, which is the sum of the number of the first down modules 21 and 21a through the fifth down modules 25 and 25a and the number of the first up modules 31 and 31a through the fifth up modules 35 and 35a, i.e., "T=10." However, the layers of the signal discriminators 3 and 3a in equation (5) may be various layers present in the neural network structure shown in FIG. 6.

[0127] The learning processing unit 6 performs the learning process using a GAN that uses the feature adaptation loss function of equation (5), thereby making it possible to bring the generated signal G(s) generated by the signal generator 2 and the real signal x closer together in the feature space of the signal classifiers 3 and 3a.

[0128] Note that the feature adaptation loss function of equation (5) calculates the L1 distance. Alternatively, a feature adaptation loss function that calculates the L2 distance, the Wasserstein distance, and the Hinge distance may be used. A feature adaptation loss function that calculates an arbitrary measure that is an arbitrary combination of the L1 distance, the L2 distance, the Wasserstein distance, and the Hinge distance may be used. The feature adaptation loss function of equation (5) uses feature data from all layers of the signal classifiers 3 and 3a, but may also use feature data from only some layers.

[0129] When the learning processing unit 6 uses the above-mentioned formulas (1), (2), (4), and (5) as loss functions, the loss function used to optimize the signal generator 2 is the following formula (6), which combines formulas (2), (4), and (5).

[0130]

[0131] In equation (6), the third term on the right side, λ imis the weighting parameter of the intermediate representation adaptation loss function in Equation (4). fm λ is the weighting parameter of equation (5), i.e., the intermediate representation fitness loss function. im and λ fm is a parameter that is determined as appropriate depending on, for example, the quality required of the signal generator 2. Note that in equation (6), a weighting parameter may also be applied to the first term on the right-hand side. In the process of S10 in FIG. 3 , the learning processing unit 6 calculates model data for the signal generator 2 that minimizes the loss function of equation (6).

[0132] Even when equation (6) is used to optimize the signal generator 2, the loss function used to optimize the signal discriminators 3 and 3a is the following equation (7), that is, equation (1).

[0133]

[0134] Although the above formula (6) includes all of formulas (2), (4), and (5), it is not necessary to include all of them. For example, after applying a weighting parameter to the first term on the right side of formula (6), the values ​​of the weighting parameters for the first, second, and third terms on the right side of formula (6) are allowed to be "0." Then, the weighting parameter may be determined so that a combination of any two of formulas (2), (4), and (5) is the loss function corresponding to the signal generator 2, or the weighting parameter may be determined so that any one of formulas (2), (4), and (5) is the loss function corresponding to the signal generator 2.

[0135] (Variations of the Learning Process) In the first and second embodiments described above, an example was shown in which the learning processing unit 6 uses a GAN as the learning process for optimizing the signal generator 2 and the signal discriminators 3 and 3 a by training them under competitive conditions. Alternatively, the learning processing unit 6 may perform a learning process other than a GAN, in which the learning processing unit 6 optimizes the signal generator 2 and the signal discriminators 3 and 3 a by training them under competitive conditions. For example, the learning processing unit 6 may perform the learning process based on a generative model such as an autoregressive model, a flow model, a diffusion probabilistic model, or a variational autoencoder (VAE). The learning processing unit 6 may perform the learning process based on a generative model obtained by selecting and combining any of a plurality of generative models obtained by adding a GAN-based generative model to these generative models. The learning processing unit 6 may use any loss function other than the loss functions described above as the loss function used in the learning process.

[0136] (Variations of Neural Networks Applied to Signal Classifier) ​​In the first and second embodiments described above, examples of neural networks used in the encoder units 11 and 11a, the decoder units 12 and 12a, and the classifiers 13 and 13a are shown in Figures 2, 5, and 6. In addition to the above examples, other neural networks such as recurrent neural networks (RNNs), transformer networks, attention networks, and fully connected neural networks (FNNs) may also be used as the neural networks used in the encoder units 11 and 11a, the decoder units 12 and 12a, and the classifiers 13 and 13a. A neural network may be used that is arbitrarily selected from a plurality of neural networks including a convolutional neural network and a combination of these neural networks.

[0137] The signal discriminator 3 a of the second embodiment is obtained by adding a skip connection 14 to the signal discriminator 3 of the first embodiment and further specifying the internal configuration. However, the signal discriminator 3 of the first embodiment may also be configured as shown below, for example.

[0138] When a neural network includes one or more modules, such as the first down module 21 to the fifth down module 25 provided in the encoder unit 11 of the signal identifier 3 of the first embodiment and the first up module 31 to the fifth up module 35 provided in the decoder unit 12, the one or more modules may be modules such as those described below.

[0139] For example, a module may include a convolution layer such as a one-dimensional convolution layer and an activation function unit. Here, the activation function unit may be, for example, a rectified linear unit (ReLU) or the leaky rectified linear units 108, 202, and 207 shown in the second embodiment. Note that, in the second embodiment, a rectified linear unit may be applied instead of the leaky rectified linear units 108, 202, and 207 shown in FIG. 6.

[0140] The module may include the normalized linear unit, the leaky normalized linear unit, and various units and layers shown in Fig. 6 as standalone components, or may include one or more units or one or more layers connected in series as shown in Fig. 6. Here, when the output of these components is feature data A, the module may further perform identity transformation or linear transformation in parallel, and the output of these transformations may be feature data B, and may function as a residual model that performs processing to add the feature data A and the feature data B. Specific examples of a configuration that performs this processing are the residual connection model units 52 and 62 shown in the second embodiment.

[0141] Dilated convolution layers may be applied to some or all of the convolution layers included in the module. This makes it possible to expand the receptive field of the convolutional neural network with fewer parameters. Note that, in the second embodiment, convolution layers where dilated convolution layers are applicable may also be replaced with dilated convolution layers.

[0142] In the neural networks used in the encoder unit 11 and the decoder unit 12, normalization processing may be performed in one or more modules to prevent gradient divergence, which may occur during the learning process. The normalization processing may be performed at any point in the module that performs the normalization processing, but is preferably performed after the residual model processing described above. Any normalization processing may be used as this normalization processing. For example, the normalization processing shown in equation (3) performed by the global normalization layers 54 and 64 described in the second embodiment may be used. Note that the normalization processing performed by the global normalization layers 54 and 64 in the second embodiment is not limited to the normalization processing shown in equation (3), which involves calculating the root mean square and then the square root, and any normalization processing may be used.

[0143] In the first embodiment described above, each of the first down-module 21 to the fifth down-module 25 of the encoder unit 11 is configured to perform downsampling processing. In contrast, since it is sufficient that the encoder unit 11 performs downsampling processing as a whole, it is also possible to configure the encoder unit 11 so that not all of the first down-module 21 to the fifth down-module 25 perform downsampling processing, but rather one or more modules perform downsampling processing, and the modules other than the module performing downsampling processing do not perform downsampling processing. Similarly, in the second embodiment, any of the first down-module 21a to the fifth down-module 25a of the encoder unit 11a does not perform downsampling processing.

[0144] In the first embodiment described above, each of the first up-module 31 to the fifth up-module 35 of the decoder unit 12 is configured to perform upsampling processing. In contrast, since it is sufficient that the decoder unit 12 performs upsampling processing as a whole, it is also possible to configure the decoder unit 12 so that not all of the first up-module 31 to the fifth up-module 35 perform upsampling processing, but rather one or more modules perform upsampling processing, and modules other than the module performing upsampling processing do not perform upsampling processing. Similarly, in the second embodiment, any of the first up-module 31a to the fifth up-module 35a of the decoder unit 12a does not perform upsampling processing.

[0145] In the second embodiment described above, instead of providing all of the skip connections 14-1 to 14-4 between the encoder unit 11a and the decoder unit 12a shown in Figure 5, some of the skip connections 14-1 to 14-4 may be provided. For example, only the skip connection 14-3 may be provided, in which case the decoder unit 12a does not need to provide the coupling layers 44, 43, and 41 corresponding to the skip connections 14-1, 14-2, and 14-4. In this case, the second upload module 32a, the fourth upload module 34a, and the fifth upload module 35a connected to the coupling layers 41, 43, and 44 that no longer need to be provided will have different numbers of channels of feature data provided from the previous stage, and adjustments must be made in response to these changes.

[0146] In the second embodiment described above, in addition to the connection configuration between the encoder unit 11a and the decoder unit 12a shown in FIG. 5, or instead of all or some of the skip connections 14-1 to 14-4 included in the connection configuration, for example, the input signal taken in by the first down module 21a of the encoder unit 11a may be linked to the feature data output by the fifth up module 35a of the decoder unit 12a, and the input signal may be provided to the identification unit 13a.

[0147] (Experimental Results) The results of two experiments, "Experiment 1" and "Experiment 2," conducted using the learning device 1a of the second embodiment are shown below.

[0148] (Prerequisites and Results of Experiment 1) Experiment 1 is an experiment in which a signal generator 2 that performs voice conversion is constructed through a learning process. In Experiment 1, approximately 24 hours of speech signal from a female speaker is used. The sampling frequency of the speech signal is 22.05 kHz. An intermediate representation generated from the speech signal is used as input data to be included in the training data. An 80-dimensional logarithmic mel spectrogram, which is an intermediate representation obtained by applying a short-time Fourier transform to the speech signal with an FFT (Fast Fourier Transform) size of 1024, a shift width of 256, and a window width of 1024, was used as input data to be included in the training data. The real signal included in the training data is the speech signal used to generate the input data.

[0149] The existing method to be compared with the learning device 1a of the second embodiment is the method disclosed in Non-Patent Document 1, and hereinafter this method will be referred to as "Existing Method 1." The training data generated as described above was applied to each of Existing Method 1 and the learning device 1a of the second embodiment to perform a learning process, and the signal identification model and signal generation model obtained corresponding to each method were used to perform the evaluation described below.

[0150] The speech quality was evaluated subjectively, specifically, by the MOS (Mean Opinion Score) test. The MOS test score is rated on a 5-point scale, with "5" being the best and "1" being the worst. In other words, the higher the MOS score, the better the speech quality.

[0151] The processing speed was evaluated by measuring the time required for each signal identification model to process an actual signal and a generated signal with 16 samples, each with a signal length of 8192. Note that the number of samples and the signal length of each sample were the same as those used in the learning process in Experiment 1. The processing speed was evaluated in a GPU (Graphics Processing Unit) environment. A smaller evaluation value for the processing speed indicates a faster processing speed.

[0152] The signal classifier corresponding to the signal classification model of Existing Method 1 and the signal classifier 3a corresponding to the signal classification model of the second embodiment are configured with neural networks. Therefore, the model size was evaluated based on the number of parameters of each neural network of the signal classifier of Existing Method 1 and the signal classifier 3a of the second embodiment. A smaller evaluation value of the model size indicates a smaller model size.

[0153] FIG. 7 is a table showing the results of Experiment 1. In the table of FIG. 7, the unit of processing speed is "seconds," and the unit of the number of parameters is "M (Million)." As can be seen from the table of FIG. 7, the MOS evaluation shows that the learning device 1a of the second embodiment is approximately equivalent to that of Existing Method 1. The evaluation of processing speed shows that the learning device 1a of the second embodiment has a faster processing speed than Existing Method 1. The evaluation of the number of parameters, i.e., the model size, shows that the learning device 1a of the second embodiment has a smaller model size than Existing Method 1. Therefore, it can be seen that the learning device 1a of the second embodiment is able to increase the processing speed and reduce the model size while maintaining a level of speech quality equivalent to that of Existing Method 1.

[0154] (Prerequisites and Results of Experiment 2) Experiment 2 is an experiment in which a signal generator 2 that generates a voice signal from text data is constructed through a learning process. In Experiment 2, a voice signal of a female speaker over approximately 24 hours was used as the actual signal to be included in the training data, and text data corresponding to the voice data was used as input data to be included in the training data.

[0155] The existing method with which the learning device 1a of the second embodiment is compared is a method disclosed in the following reference document, and hereinafter this method will be referred to as "existing method 2." Training processing was performed on each of existing method 2 and the learning device 1a of the second embodiment by applying the teacher data generated as described above, and the signal identification model and signal generation model obtained for each were used to evaluate MOS, processing speed, and model size.

[0156] [Reference: Jaehyeon Kim, Jungil Kong, and Juhee Son, “Conditional variational autoencoder with adversarial learning for end-to-end text-to-speech”, in Proc. ICML, 2021, pp. 5530-5540.]

[0157] The evaluation methods for MOS evaluation and model size evaluation were the same as those in Experiment 1. For the evaluation of processing speed, the time required for the signal identification model to process real signals and generated signals with 64 samples and a signal length of 8192 for each sample was measured. Note that the number of samples and the signal length of each sample were the same as those used in the learning process in Experiment 2. The evaluation of processing speed was performed in a GPU (Graphics Processing Unit) environment. A smaller evaluation value for processing speed indicates a faster processing speed.

[0158] In the table of FIG. 8 , the unit of processing speed is "seconds," and the unit of the number of parameters is "M (Million)." As can be seen from the table of FIG. 8 , the MOS evaluation shows that the learning device 1a of the second embodiment is approximately equivalent to existing method 2. The evaluation of processing speed shows that the learning device 1a of the second embodiment has a faster processing speed than existing method 2. The evaluation of the number of parameters, i.e., the evaluation of model size, shows that the learning device 1a of the second embodiment has a smaller model size than existing method 2. Therefore, it can be seen that the learning device 1a of the second embodiment is able to increase the processing speed and reduce the model size while maintaining a level of voice quality equivalent to that of existing method 2.

[0159] (Other Configuration Examples of Each Embodiment) Instead of the signal discriminator 3 of the learning device 1 of the first embodiment described above, a signal discriminator 3b shown in Fig. 9, a signal discriminator 3c shown in Fig. 10, or a signal discriminator 3d shown in Fig. 11 may be applied. In the signal discriminator 3b shown in Fig. 9, the encoder unit 11 is connected to a discrimination unit 13b. The discrimination unit 13b discriminates whether an input signal is a real signal or a generated signal based on discrimination data acquired from the decoder unit 12 and data acquired from the encoder unit 11.

[0160] Here, the data acquired by the identification unit 13b from the encoder unit 11 refers to data arbitrarily selected from all data acquired by the encoder unit 11. For example, if the encoder unit 11 is a neural network having one or more layers, the data may be data provided to one or more layers or data output by one or more layers. The data provided to one or more layers and the data output by one or more layers are feature data generated in one or more layers of the neural network. However, the data may also be data other than feature data. For example, if the layer corresponding to one or more layers is, for example, an input layer that takes in data provided to it and outputs the taken-in data as is to the next layer, the "data provided to one or more layers and the data output by one or more layers" may include the data taken in by the input layer.

[0161] The point in the encoder unit 11 that is connected to the identification unit 13b is the point in the encoder unit 11 where the data acquired by the identification unit 13b is obtained, and is the input or output of the layer where the data is obtained in the neural network of the encoder unit 11. Furthermore, the number of points in the encoder unit 11 that are connected to the identification unit 13b is not limited to one, and there may be multiple points. In the case where there are multiple points, the identification unit 13b acquires multiple pieces of data from the encoder unit 11.

[0162] 10, a classification unit 13c is connected to the output of the output layer of the decoder unit 12, as well as to a location other than the output of the output layer of the decoder unit 12. The classification unit 13c classifies whether an input signal is a real signal or a generated signal, based on the classification data output by the decoder unit 12 and data acquired from the decoder unit 12 in addition to the classification data.

[0163] Here, the data that the identification unit 13c acquires from the decoder unit 12 in addition to the identification data refers to data arbitrarily selected from all data other than the identification data obtained in the decoder unit 12. For example, if the decoder unit 12 is a neural network having one or more layers, the data may be data provided to one or more layers, or data output by one or more layers. The data provided to one or more layers and the data output by one or more layers are feature data generated in one or more layers of the decoder unit 12, or feature data acquired by the decoder unit 12 from the encoder unit 11.

[0164] The point in the decoder unit 12 that is connected to the classification unit 13c is the point in the decoder unit 12 where the feature data that the classification unit 13c acquires in addition to the classification data is obtained, and corresponds to the input or output of the layer in the neural network where the feature data is obtained. Furthermore, the number of points in the decoder unit 12 that are connected to the classification unit 13c is not limited to one, and may be multiple. In the case where there are multiple points, the classification unit 13c acquires multiple pieces of feature data in addition to the classification data from the decoder unit 12.

[0165] 11 is a configuration in which signal classifier 3d is a combination of signal classifier 3b and signal classifier 3c, in which encoder unit 11 is connected to classifier 13d, and classifier 13d is connected to the output of the output layer of decoder unit 12 as well as to a location other than the output of the output layer of decoder unit 12. Classifier 13d classifies whether an input signal is a real signal or a generated signal based on the classification data output by decoder unit 12, one or more pieces of data output by encoder unit 11, and one or more pieces of feature data output by decoder unit 12 in addition to the classification data. In this way, when classifiers 13b, 13c, and 13d classify whether an input signal is a real signal or a generated signal, the more data used for classification, the more accurate the classification becomes.

[0166] In the signal classifier 3a of the second embodiment, the encoder unit 11a and the classifier 13a may also be connected as shown in FIG. 9. As shown in FIG. 10, in addition to the output of the output layer of the decoder unit 12a, a location other than the output of the output layer of the decoder unit 12a may also be connected to the classifier 13a. As shown in FIG. 11, the encoder unit 11a and the classifier 13a may be connected, and further, in addition to the output of the output layer of the decoder unit 12a, a location other than the output of the output layer of the decoder unit 12a may also be connected to the classifier 13a. In this case, the classifier 13a classifies whether the input signal is a real signal or a generated signal based on the classification data and either or both of the data acquired from the encoder unit 11a and the feature data acquired from the decoder unit 12a in addition to the classification data.

[0167] In the first and second embodiments, the decoder units 12 and 12a generate identification data of the same size as the input signal captured by the encoder units 11 and 11a. Alternatively, the decoder units 12 and 12a may generate identification data larger than the feature data output by the encoder units 11 and 11a. The larger the size of the identification data is compared to the feature data generated by the encoder units 11 and 11a, the higher the quality of the signal generator 2 that can generate signals. However, this increases the time required for the learning process. Considering the increased time required for the learning process, in order to achieve the same effects as those of the first and second embodiments, it is desirable for the decoder units 12 and 12a to generate identification data that is larger than the feature data output by the encoder units 11 and 11a and slightly larger or slightly smaller than the size of the input signal captured by the encoder units 11 and 11a. 5, upsampling with a stride width of 3 is performed five times, but the number of upsamplings with a stride width of 3 may be adjusted to one to four, or six or more times as long as the amount of calculation does not exceed that of existing methods. Here, an example in which the number of upsamplings is changed has been described, but the size of the classification data may also be changed by changing the stride width.

[0168] The learning device 1, 1a and the signal generator 2 to which the trained model data is applied in the above-described embodiments may be implemented by a computer. In this case, a program for implementing this function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be loaded and executed by a computer system. Note that the term "computer system" as used herein includes hardware such as an operating system (OS) and peripheral devices. Furthermore, the term "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, read-only memories (ROMs), and compact disc-ROMs (CD-ROMs), as well as storage devices such as hard disks built into computer systems. Furthermore, the term "computer-readable recording medium" may also include media that dynamically store programs for a short period of time, such as communication lines used when transmitting programs via networks such as the Internet or telephone lines, and media that store programs for a fixed period of time, such as volatile memory within the computer systems that serve as the server or client in such cases. Furthermore, the above program may be one that realizes part of the above-mentioned functions, or may be one that can realize the above-mentioned functions in combination with a program already recorded in a computer system, or may be one that is realized using a programmable logic device such as an FPGA (Field Programmable Gate Array).

[0169] Although an embodiment of the present invention has been described above in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and includes designs within the scope of the gist of the present invention.

[0170] The present invention can be applied to the technical field of signal generation such as text-to-speech synthesis and speech conversion, and more specifically to machine learning and signal processing technologies aimed at generating signals.

[0171] 1...Learning device, 2...Signal generator, 3...Signal classifier, 4...Teacher data storage unit, 5...Model data storage unit, 6...Learning processing unit, 11...Encoder unit, 12...Decoder unit, 13...Classification unit

Claims

1. A learning device comprising: a signal generator that generates a generated signal from input data; and a signal discriminator that discriminates the input signal, the signal discriminator comprising: an encoder unit that takes in either the generated signal generated by the signal generator or a real signal as the input signal, and generates feature data by compressing information included in the input signal while reducing the size of one or more dimensions of the taken-in input signal; a decoder unit that generates discrimination data from the feature data generated by the encoder unit, the size of the dimension whose size has been reduced in the input signal being larger than the feature data; and a discrimination unit that discriminates whether the input signal is the generated signal or the real signal based on the discrimination data generated by the decoder unit; and a learning processing unit that performs a learning process to optimize the signal generator and the signal discriminator under competitive conditions based on the discrimination result of the signal discriminator.

2. The learning device according to claim 1, wherein the decoder unit generates the classification data having the same size as the input signal from the feature data generated by the encoder unit.

3. The learning device of claim 1, wherein each of the encoder unit and the decoder unit is a neural network having one or more layers, feature data output from an output layer which is the top layer of the neural network of the encoder unit is propagated to the input of an input layer which is the bottom layer of the neural network of the decoder unit, and further, any one or more pieces of data among data provided to any one or more layers of the neural network of the encoder unit and data output from any one or more layers other than the output layer of the neural network of the encoder unit are propagated to any one or more layers of the neural network of the decoder unit.

4. The learning device according to claim 1, wherein the identification unit identifies whether the input signal is the generated signal or the real signal based on the identification data and data acquired from the encoder unit.

5. A learning device as described in claim 1 or claim 4, wherein the identification unit identifies whether the input signal is the generated signal or the real signal based on the identification data and, in addition to the identification data, feature data acquired from the decoder unit.

6. A signal generator optimized by the learning device of claim 1, the signal generator taking in arbitrary input data and generating a generated signal corresponding to said arbitrary input data.

7. A learning method, comprising: a signal generator generating a generated signal from input data; a signal discriminator taking in either the generated signal generated by the signal generator or a real signal as an input signal; the signal discriminator generating feature data by compressing information included in the taken-in input signal while reducing the size of one or more dimensions of the input signal; the signal discriminator generating discrimination data from the generated feature data, the size of the dimension whose size has been reduced in the input signal being larger than the feature data; the signal discriminator discriminating whether the input signal is the generated signal or the real signal based on the generated discrimination data; and a learning processing unit performing a learning process to optimize the signal generator and the signal discriminator under competitive conditions based on the discrimination result of the signal discriminator.

8. A program for causing a computer to function as: signal generation means for generating a generated signal from input data; signal identification means for identifying an input signal, the signal identification means having: encoder means for taking in either a generated signal generated by the signal generation means or a real signal as the input signal, and generating feature data by compressing information included in the input signal while reducing the size of one or more dimensions of the taken-in input signal; decoder means for generating identification data from the feature data generated by the encoder means, the size of the dimension whose size has been reduced in the input signal being larger than that of the feature data; and identification means for identifying whether the input signal is the generated signal or the real signal based on the identification data generated by the decoder means; and learning processing means for performing a learning process to optimize the signal generation means and the signal identification means under competitive conditions based on the identification result of the signal identification means.

Citation Information

Patent Citations

  • Method and apparatus for updating neural networks

    JP2022522685A