Training device, estimation device, training method, estimation method, and program

The integration of a nonlinear calculation layer and style normalization layer in the learning and estimation devices addresses the issue of misclassifying data with different atmospheres by extracting feature maps that remove atmospheric changes, improving the accuracy of category determination and recognition.

WO2024224533A1PCT designated stage expired Publication Date: 2024-10-31NT T INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/016538
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing techniques for image and voice recognition incorrectly classify data with different atmospheres as unknown categories, even though they are known categories, due to failure in distinguishing between changes in atmosphere and content.

Method used

A learning device and estimation device that incorporate a nonlinear calculation layer and a style normalization layer to extract feature maps that remove atmospheric changes, using a feature extraction model and calculation model to predict categories accurately, with a determination unit to differentiate between known and unknown categories based on posterior probabilities.

Benefits of technology

Improves the accuracy of determining unknown or known categories for data with different atmospheres by normalizing style information, allowing correct recognition of data with changed atmospheres as the same category, thereby enhancing the robustness of category estimation processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023016538_31102024_PF_FP_ABST
    Figure JP2023016538_31102024_PF_FP_ABST
Patent Text Reader

Abstract

This training device (20) comprises: a feature extraction unit (21) that extracts a feature map from training data by using a feature extraction model (211) composed of a plurality of calculation units each having a non-linear calculation layer that performs nonlinear processing on the training data and a normalization calculation layer that normalizes the style of the output of the non-linear calculation layer; a posterior probability calculation unit (22) that uses a calculation model (221) to calculate a posterior probability of each category of the training data on the basis of the feature map; a category prediction unit (23) that predicts the category of the training data on the basis of the posterior probability of each category of the training data calculated by the posterior probability calculation unit (22); and a training unit (24) that trains the feature extraction model (211) and the calculation model (221) so that the posterior probability calculation unit (22) and the category prediction unit (23) can predict the correct category corresponding to the training data.
Need to check novelty before this filing date? Find Prior Art

Description

Learning device, estimation device, learning method, estimation method, and program

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

[0002] Examples of media (e.g., audio, images) category classification problems include image recognition and speech recognition. In image recognition and speech recognition, predetermined target object images and subject speech are classified into known categories. Therefore, if an unintended object image or subject speech is input to a recognizer, the recognizer will produce an erroneous output. Therefore, technologies have been proposed that allow a machine to estimate whether an input to a recognizer belongs to a known category (Non-Patent Documents 1 and 2).

[0003] Specifically, the techniques described in Non-Patent Documents 1 and 2 extract a feature map from input data, calculate a posterior probability from this feature map, and predict the category of the input data from the posterior probability. Additionally, the techniques described in Non-Patent Documents 1 and 2 determine whether the input data belongs to a known category from the posterior probability. Then, the techniques described in Non-Patent Documents 1 and 2 determine a final output based on the result of the determination of whether the input data belongs to a known category and the predicted category.

[0004] Dan Hendrycks, and Gimpel Kevin, “A BASELINE FOR DETECTING MISCLASSIFIED AND OUT-OF-DISTRIBUTION EXAMPLES IN NEURAL NETWORKS”, International Conference on Learning Representations.Vaze, S., et al, “OPEN-SET RECOGNITION: A GOOD CLOSED-SET CLASSIFIER IS ALL YOU NEED?”, International Conference on Learning Representations (ICLR). 2022.

[0005] The techniques described in Non-Patent Documents 1 and 2 utilize category classification learned using training data, and determine that all data that are not similar to the training data do not belong to a known category.

[0006] However, actual data to be estimated includes data that has the same instance as the training data but has a different atmosphere (for example, images taken in different environments, sounds recorded in different environments). Although such data actually belongs to a known category, the techniques described in Non-Patent Documents 1 and 2 erroneously determine that the data does not belong to a known category, i.e., that the data belongs to an unknown category.

[0007] The present invention has been made in view of the above, and aims to provide a learning device, an estimation device, a learning method, an estimation method, and a program that can improve the accuracy of determining whether a data item has an unknown category or a known category when the data item has a different atmosphere from the original data item.

[0008] In order to solve the above-mentioned problems and achieve the object, a learning device according to the present invention comprises: an extraction unit that extracts a feature map from training data using a feature extraction model composed of a plurality of calculation units, each having a nonlinear calculation layer that performs nonlinear processing on the training data and a normalization calculation layer that normalizes the style of the output of the nonlinear calculation layer; a calculation unit that calculates, using a calculation model, the posterior probability of each category of the training data based on the feature map; a prediction unit that predicts the category of the training data based on the posterior probability of each category of the training data calculated by the calculation unit; and a learning unit that performs learning between the feature extraction model and the calculation model so that the calculation unit and the prediction unit can predict the correct category corresponding to the training data.

[0009] Moreover, an estimation device according to the present invention is characterized in comprising: an extraction unit that extracts a feature map from input data using a feature extraction model constituted by computation units each having a nonlinear computation layer that performs nonlinear processing on input data and a normalization computation layer that normalizes a style of an output of the nonlinear computation layer; a calculation unit that calculates a posterior probability of each category of the input data based on the feature map using a computation model; a prediction unit that predicts a category of the input data based on the posterior probability of each category of the input data calculated by the calculation unit; a determination unit that determines whether the input data belongs to a known category based on the posterior probability of each category of the input data calculated by the calculation unit; and an integration unit that integrates a result from the prediction unit and a result from the determination unit.

[0010] According to the present invention, the accuracy of determining whether data having a different atmosphere from the original data is in an unknown category or a known category is improved.

[0011] FIG. 1 is a diagram illustrating an outline of a calculation model for calculating posterior probabilities. FIG. 2 is a diagram illustrating an example of a Softmax output result for an input image. FIG. 3 is a diagram illustrating another example of training data and data with a different atmosphere. FIG. 4 is a diagram illustrating an outline of processing according to an embodiment. FIG. 5 is a diagram illustrating an example of the configuration of a learning device according to an embodiment. FIG. 6 is a diagram illustrating an example of the configuration of a feature extraction model shown in FIG. 5. FIG. 7 is a diagram illustrating an example of an arithmetic unit of the feature extraction model shown in FIG. 6. FIG. 8 is a diagram illustrating an example of the configuration of an estimation device according to an embodiment. FIG. 9 is a flowchart illustrating a processing procedure for learning processing according to an embodiment. FIG. 10 is a flowchart illustrating a processing procedure for estimation processing according to an embodiment. FIG. 11 is a diagram illustrating an example of an arithmetic unit of a conventional feature extraction model. FIG. 12 is a diagram illustrating results of an evaluation experiment. FIG. 13 is a diagram illustrating an example of a computer on which a learning device and an estimation device are implemented by executing a program.

[0012] Hereinafter, embodiments of a learning device, an estimation device, a learning method, an estimation method, and a program according to the present application will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to the embodiments described below.

[0013] [Embodiment] This embodiment relates to the field of estimating the category of data (e.g., audio, image). In this embodiment, by extracting a feature map that removes changes in the atmosphere of input data (e.g., audio, image), it is possible to improve the accuracy of determining whether data has an unknown category or a known category, even for data that has an atmosphere different from that of training data.

[0014] [Overview of the embodiment] The category estimation process extracts a feature map from input data and calculates posterior probabilities from the feature map using a calculation model. The category estimation process predicts the category of the input data from the calculated posterior probabilities. Furthermore, the category estimation process determines whether the input data is a known category or an unknown category based on the posterior probabilities, and determines the final output based on this determination result and the predicted category.

[0015] Fig. 1 is a diagram illustrating an outline of a calculation model for calculating posterior probabilities. As shown in Fig. 1, the calculation model is a machine learning model and includes a deep neural network (DNN). The output of the DNN is transformed using a softmax function.

[0016] As shown in Figure 1, the maximum Softmax value of data whose category is known is large, and outputs a value close to 1. The maximum Softmax value of data whose category is unknown is small, and outputs a value close to 0. A sample with a small maximum Softmax value indicates that the data is of an unknown category to the DNN. In the training phase, the DNN trains so that the posterior probability of the correct category for each input data (training data) becomes 1.

[0017] However, samples with small Softmax values ​​are not necessarily samples of categories unknown to the DNN.

[0018] FIG. 2 is a diagram showing an example of the output result of Softmax for an input image. The left diagram of FIG. 2 shows an example of the output result of Softmax for training data G1. The right diagram of FIG. 2 shows an example of the output result of Softmax for data G2, which has a different atmosphere from training data G1. Data with a different atmosphere is, for example, an image captured in a different environment from the training data, as shown in FIG. 2. In addition, in the case of audio, data with a different atmosphere may be audio data captured in a different environment from the training data.

[0019] As shown in the left diagram of Figure 2, for example, in the case of training data G1, the maximum Softmax value is close to 1. In contrast, as shown in the right diagram of Figure 2, in the case of data G2, which has a different atmosphere, the maximum Softmax value is below 0.1.

[0020] Thus, the maximum Softmax value of data G2 was lower, even though the only difference between data G2 and training data G1 was the atmosphere. Therefore, data G2 was determined to be in an unknown category, even though it was in the category of training data G1.

[0021] FIG. 3 is a diagram illustrating another example of training data and data with a different atmosphere. In this embodiment, training data I ture And the atmosphere changed. observ This will be considered as follows.

[0022] Data I observ is the training data I ture It is considered that the data is the same instance as I but with a different atmosphere. Therefore, as shown in equation (1), the data I observ is the training data I ture It is assumed that the content is preserved while the atmosphere is changed by applying one of the transformations Trans(・).

[0023]

[0024] In the case of image data, the transformation Trans(·) can be a brightness or color transformation function, a function that changes contrast, a smoothing function, etc. The transformation Trans(·) is considered to be a function expressed by an image transformation that occurs when the shooting environment or shooting equipment changes.

[0025] In other words, we think that Trans(·) causes the same phenomenon as style conversion. Style represents a change other than the content of the data, i.e., a change in the atmosphere. Style conversion is a conversion that removes the style from one data and adds the style of another data (see Figure 3). Data I observ is the training data I ture to another data (e.g., I trans ) style has been given to it.

[0026] For this reason, data I observ and training data I ture And another data I trans If the style is not added, it is thought that they will be recognized in the same way in the feature space.

[0027] Therefore, in the embodiment, in the front stage of the DNN, data I observ By introducing a process to remove style from the data I observ and training data I ture and are recognized in the same way.

[0028] 4 is a diagram illustrating an outline of the processing of the embodiment. Specifically, in the embodiment, a layer in which Trans(·) is an identity transformation is introduced into the feature extraction model at the front stage of the DNN, so that different data I in the data space can be extracted. observ and training data I ture In the DNN recognition, that is, in the feature space, I observ =I ture This makes it possible to recognize this.

[0029] This is based on the assertion of style transfer (Equation (2)) that "style is captured in the statistical information of each channel of the feature map." Regarding Equation (2), strictly speaking, AdaIN(·,·) is repeated many times in the feature extraction layer.

[0030]

[0031] That is, it is considered that style information can be ignored if statistical information is not exchanged. Equation (3) and equation (4), which differ only in style information, become equivalent by normalizing the style information.

[0032]

[0033]

[0034] In the embodiment, a style normalization layer is introduced into the feature extraction model in the front stage of the DNN as a layer with Trans(·) as the identity transformation. In other words, in the embodiment, a layer that cancels changes other than those in the data content is introduced into the feature extraction model in the front stage of the DNN.

[0035] As a result, in the embodiment, the feature extraction model can extract a feature map that removes changes in the atmosphere of the input data. That is, in the embodiment, different data I observ and training data I ture In the feature space, I observ =I ture As a result, in this embodiment, the accuracy of determining whether data has a different atmosphere is an unknown category or a known category can be improved.

[0036] [Learning Device] First, a learning device according to an embodiment will be described. The learning device according to an embodiment implements a feature extraction unit that is robust against changes in the atmosphere of data (e.g., audio, images), thereby realizing learning for correct category prediction of training data.

[0037] 5 is a diagram showing an example of the configuration of a learning device according to an embodiment. The learning device 20 according to the embodiment is realized by, for example, loading a predetermined program into a computer or the like including a ROM (Read Only Memory), a RAM (Random Access Memory), a CPU (Central Processing Unit), etc., and having the CPU execute the predetermined program. The learning device 20 also has a communication interface for transmitting and receiving various information to and from other devices connected via a network, etc.

[0038] The learning device 20 includes a feature extraction unit 21 (extraction unit), a posterior probability calculation unit 22 (calculation unit), a category prediction unit 23 (prediction unit), and a learning unit 24. The learning device 20 receives input of training data to which a correct answer category has been assigned. The data may be, for example, audio data or image data.

[0039] The feature extraction unit 21 extracts a feature map of the training data. The feature extraction unit 21 uses a feature extraction model 211, which is a machine learning model, to extract a feature map from which changes in the atmosphere of the training data have been removed. The feature extraction model 211 is, for example, a neural network, and the feature map is its output. The feature map is an audio feature map when the training data is audio data, and an image feature map when the training data is image data.

[0040] The posterior probability calculation unit 22 uses the calculation model 221 to calculate the posterior probability of each category of the training data based on the feature map output by the feature extraction unit 21 .

[0041] The calculation model 221 includes a DNN, the output of which is transformed using a Softmax function (see FIG. 1).

[0042] As mentioned above, a DNN outputs a large maximum Softmax value close to 1 for data whose category is known. A DNN outputs a small maximum Softmax value close to 0 for data whose category is unknown. A sample with a small maximum Softmax value indicates that the data is in an unknown category to the DNN. A DNN learns so that the posterior probability of the correct category for each input data (training data in a learning device) becomes 1. As shown in Figure 1, Softmax outputs the posterior probability of each category in vector format (also called a posterior probability vector).

[0043] The category prediction unit 23 predicts the category of the training data based on the posterior probability of each category of the training data calculated by the posterior probability calculation unit 22. The category prediction unit 23 assigns a category to the input training data based on the posterior probability vector of each category of the training data calculated by the posterior probability calculation unit 22. For example, a category assignment method may be a method of outputting the category with the highest posterior probability.

[0044] The learning unit 24 executes learning of the feature extraction model 211 and the calculation model 221 so that the posterior probability calculation unit 22 and the category prediction unit 23 can predict the correct category corresponding to the training data.

[0045] The learning unit 24 calculates a loss ("loss" in FIG. 1 ) using a predetermined loss function indicating the error between the posterior probability output by the posterior probability calculation unit 22 and the correct category of the training data, and updates the parameters of the feature extraction model and the calculation model so as to reduce the loss value. The learning unit 26 updates the parameters used by the category prediction unit 23 in calculations, etc.

[0046] The learning unit 24 determines whether to terminate learning of the feature extraction model and the calculation model based on a predetermined termination condition. The termination condition for learning is, for example, when the number of parameter updates reaches a predetermined number, when the parameter update amount is equal to or less than a predetermined threshold, when the calculated loss is equal to or less than a predetermined threshold, etc. Note that the learning unit 24 may omit updating the parameters of the calculation model 221.

[0047] [Feature Extraction Unit] Next, a description will be given of the configuration of the feature extraction unit 21. Fig. 6 is a diagram showing an example of the configuration of the feature extraction model 211 shown in Fig. 5 .

[0048] As shown in Fig. 6, the feature extraction model 211 has a plurality of arithmetic units 2111 to 211n. The feature extraction model extracts and outputs a feature extraction map from input data. Fig. 7 is a diagram showing an example of the arithmetic units of the feature extraction model 211 shown in Fig. 6.

[0049] As shown in FIG. 7, the arithmetic unit 2111 includes a non-linear arithmetic layer 2111-1 and a style normalization arithmetic layer 2111-2.

[0050] The nonlinear operation layer 2111-1 performs any nonlinear processing using linear operations, convolution operations, application of nonlinear functions, etc. The nonlinear operation layer 2111-1 performs nonlinear processing on training data and outputs the operation results through multiple channels. In the case of a neural network, the nonlinear operation layer 2111-1 represents layers such as a linear layer, a dense layer, a convolution layer, and an activation layer. The specific implementation of the nonlinear operation in the nonlinear operation layer 2111-1 may differ for each unit.

[0051] The style normalization operation layer 2111-2 normalizes the style of the output of the nonlinear operation layer 2111-1. The style normalization operation layer 2111-2 performs processing to remove the style from the output data of the nonlinear operation layer 2111-1. The style normalization operation layer 2111-2 performs style normalization processing to normalize the output results of each channel based on the mean and variance of each channel of the feature map.

[0052] The arithmetic unit 2111 may further include a batch normalization arithmetic layer. The batch normalization arithmetic layer performs an operation to normalize the feature map of each data by the mean and variance of the feature map of the entire batch, for the output of the nonlinear arithmetic layer input for each batch. The batch normalization arithmetic layer may also be applied when the batch size is 1 (when performing online processing).

[0053] [Estimation Device] Next, an estimation device according to an embodiment will be described. Fig. 8 is a diagram showing an example of the configuration of the estimation device according to an embodiment.

[0054] The estimation device 30 according to the embodiment is realized, for example, by loading a predetermined program into a computer or the like including a ROM, a RAM, a CPU, etc., and executing the predetermined program by the CPU. The estimation device 30 also has a communication interface for transmitting and receiving various information to and from other devices connected via a network, etc. The estimation device 30 has a feature extraction unit 31, a posterior probability calculation unit 32, a category prediction unit 33, an unknown / known determination unit 34, and a result integration unit 35.

[0055] 5, the feature extraction unit 31 has a feature extraction model 311 and executes the same processing as the feature extraction unit 21. The feature extraction model 311 is set with the model parameters of the feature extraction model 211 updated by the learning device 20. Like the feature extraction model 211, the feature extraction model 311 has a plurality of arithmetic units, each of which is made up of a non-linear arithmetic layer and a style normalization arithmetic layer (see, for example, FIGS. 6 and 7).

[0056] The posterior probability calculation unit 32, like the posterior probability calculation unit 22 shown in Fig. 5, has a calculation model 321 and executes the same processing as the posterior probability calculation unit 22. The posterior probability calculation unit 32 uses the calculation model 321 to calculate the posterior probability of each category of input data based on the feature map output by the feature extraction unit 31. The calculation model 321 has a DNN. The calculation model 321 is set with model parameters of the calculation model 221 updated in the learning device 20. Alternatively, the calculation model 321 may be set with model parameters that have been trained by another device or the like.

[0057] The category prediction unit 33 executes the same processing as the category prediction unit 23. The category prediction unit 33 predicts the category of the input data based on the posterior probability of each category of the input data calculated by the posterior probability calculation unit 32. The category prediction unit 33 has already been trained in the learning device 20.

[0058] The unknown / known determination unit 34 determines whether the input data belongs to a known category based on the posterior probability of each category of the input data calculated by the category prediction unit 33. If the posterior probability is higher than a predetermined threshold, the unknown / known determination unit 34 determines that the input data belongs to a known category. If the posterior probability is lower than the threshold, the unknown / known determination unit 34 determines that the input data does not belong to a known category, i.e., belongs to an unknown category.

[0059] This threshold is determined in advance. A method for determining the threshold may involve determining a threshold that can accurately determine data that is not considered to belong to a known category, such as a noise image, using training data and data based on, for example, the binarization method proposed by Otsu (Reference 1). Alternatively, the threshold may be determined empirically. Reference 1: NOBUYUKI OTSU, "A Threshold Selection Method from Gray-Level Histograms," IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS, VOL. SMC-9, NO. 1, JANUARY 1979.

[0060] Furthermore, the unknown / known determination unit 34 may determine whether the input data belongs to a known category based on the feature map output from the feature extraction unit 31. If the feature map output from the feature extraction unit 31 is similar to the feature map of the training data by a threshold or more, the unknown / known determination unit 34 determines that the input data belongs to a known category. If the feature map output from the feature extraction unit 31 is not similar to the feature map of the training data by a threshold or more, the unknown / known determination unit 34 determines that the input data belongs to an unknown category. For example, assuming that the feature map of the training data follows a Gaussian distribution, the threshold is determined to be a distance equal to a constant multiple of the variance value.

[0061] 5 may be added with an unknown / known determination unit 34 to perform learning including unknown / known determination. In this case, data in an unknown category is used to learn so that the learning data can be correctly distinguished from data in the unknown category.

[0062] The result integration unit 35 integrates the result from the category prediction unit 33 and the result from the unknown / known determination unit 34. If the unknown / known determination unit 34 determines that the category is a known category, the result integration unit 35 outputs the category predicted by the category prediction unit 33. If the unknown / known determination unit 34 determines that the category is not a known category, the result integration unit 35 outputs a message indicating that the category is not a known category (that the category is unknown).

[0063] 9 is a flowchart showing the procedure of the learning process according to the embodiment. In the learning device 20, when input of learning data is accepted (step S1), the feature extraction unit 21 extracts a feature map from the learning data using the feature extraction model 211 (step S2).

[0064] The posterior probability calculation unit 22 calculates the posterior probability of each category of the training data based on the feature map extracted in step S2 using the calculation model 221 (step S3). The category prediction unit 23 predicts the category of the training data based on the posterior probability of each category of the training data calculated in step S3 (step S4).

[0065] The learning unit 24 updates the parameters of the feature extraction model 211 and the calculation model 221 so that the posterior probability calculation unit 22 and the category prediction unit 23 can predict the correct category corresponding to the training data (step S5).

[0066] The learning unit 24 determines whether to terminate learning of the feature extraction model 211 and the calculation model 221 based on a predetermined termination condition (step S6). If learning is not to be terminated (step S6: No), the learning unit 24 returns to step S2 and continues the learning process based on the learning data. If learning is to be terminated (step S6: Yes), the learning unit 24 terminates the learning process based on the input learning data.

[0067] 10 is a flowchart showing the procedure of the estimation process according to the embodiment. When the estimation device 30 receives input of estimation target data (step S11), it performs feature extraction processing (step S12), posterior probability calculation processing (step S13), and category prediction processing (step S14) on the input data, similar to steps S2 to S4.

[0068] The unknown / known determination unit 34 determines whether the input data is a known category based on the posterior probability of each category of the input data calculated by the category prediction unit 33 (step S15). The result integration unit 35 integrates the result from the category prediction unit 33 and the result from the unknown / known determination unit 34 (step S16) and outputs the integrated estimation result (step S17).

[0069] 11 is a diagram showing an example of an arithmetic unit of a conventional feature extraction model. The conventional feature extraction model is composed of only a plurality of arithmetic units each having a nonlinear arithmetic layer and a batch normalization arithmetic layer, and cannot be said to be robust against changes in the atmosphere of the data.

[0070] In contrast to this, in the embodiment, a style normalization layer for style normalization is introduced in addition to a nonlinear operation layer in the operation unit 2111 of the feature extraction model 211. This makes it possible to extract a feature map from which changes in the atmosphere of the input data have been removed.

[0071] [Evaluation Experiment] An evaluation experiment of the determination accuracy was actually conducted using the estimation device 30 according to the embodiment. Fig. 12 shows the results of the evaluation experiment. The learning device 20 learned some categories of the Mixed National Institute of Standards and Technology database (MNIST), and the estimation device 30 evaluated the OSR performance on MNIST-C, which is data with the same instances as MNIST but a different atmosphere. In the evaluation experiment, the magnitude of the maximum Softmax value was used to determine whether the category was a known category or an unknown category.

[0072] The baseline results are obtained by using a conventional feature extraction unit having the computational units shown in Fig. 11 and an 11-layer VGG-like convolutional neural network (CNN). The style normalization corresponds to this embodiment, which is equipped with a feature extraction unit having computational units of a feature extraction model 211 in which all conventional batch normalization layers have been replaced with style normalization layers. The parameters for learning are the same in both cases.

[0073] The evaluation index is the area under the ROC curve (AUROC), and the closer it is to 1, the higher the performance. In other words, the closer it is to 1, the larger the maximum Softmax value is for known data and the smaller it is for unknown data.

[0074] As shown in FIG. 12, in the embodiment, the OSR performance for data with different atmospheres is improved compared to the conventional technique.

[0075] Therefore, according to the embodiment, by introducing a layer that cancels changes other than those in the content of the data, it is possible to extract a feature map that removes changes in the atmosphere of the input data, thereby realizing a judgment that is robust against changes in the atmosphere of the data.

[0076] [System Configuration of the Embodiment] The components of the learning device 20 and the estimation device 30 shown above are conceptual functional components and do not necessarily need to be physically configured as shown in the drawings. In other words, the specific forms of distribution and integration of the functions of the learning device 20 and the estimation device 30 are not limited to those shown in the drawings, and all or part of them can be functionally or physically distributed or integrated in any unit depending on various loads, usage conditions, etc.

[0077] Furthermore, all or any part of the processes performed by the learning device 20 and the estimation device 30 may be realized by a CPU and a program analyzed and executed by the CPU. Furthermore, each process performed by the learning device 20 may be realized as hardware using wired logic.

[0078] Furthermore, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually. Alternatively, all or part of the processes described as being performed manually can be performed automatically using a known method. In addition, the process procedures, control procedures, specific names, and information including various data and parameters described above and illustrated can be changed as appropriate unless otherwise specified.

[0079] 13 is a diagram showing an example of a computer in which the learning device 20 and the estimation device 30 are realized by executing a program. The computer 1000 includes, for example, a memory 1010 and a CPU 1020. The computer 1000 also includes a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.

[0080] The memory 1010 includes a ROM 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.

[0081] The hard disk drive 1090 stores, for example, an OS (Operating System) 1091, an application program 1092, a program module 1093, and program data 1094. That is, a program that describes each process of the learning device 20 is implemented as a program module 1093 in which code executable by the computer 1000 is written. The program module 1093 is stored, for example, on the hard disk drive 1090. For example, a program module 1093 for executing processes similar to those of the functional configuration of the learning device 20 is stored on the hard disk drive 1090. The hard disk drive 1090 may be replaced by an SSD (Solid State Drive).

[0082] Furthermore, setting data used in the processing of the above-described embodiment is stored as program data 1094, for example, in memory 1010 or hard disk drive 1090. Then, CPU 1020 reads out program module 1093 or program data 1094 stored in memory 1010 or hard disk drive 1090 into RAM 1012 as necessary and executes them.

[0083] The program module 1093 and program data 1094 may not necessarily be stored in the hard disk drive 1090, but may also be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and program data 1094 may be stored in another computer connected via a network (such as a local area network (LAN) or a wide area network (WAN)). The program module 1093 and program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070.

[0084] Although the present invention has been described above as an embodiment, the present invention is not limited to the descriptions and drawings that form part of the disclosure of the present invention. In other words, other embodiments, examples, and operational techniques that are made by those skilled in the art based on the present invention are all included in the scope of the present invention.

[0085] 20 Learning device 21, 31 Feature extraction unit 22, 32 Posterior probability calculation unit 23, 33 Category prediction unit 24 Learning unit 30 Estimation device 34 Unknown / known determination unit 35 Result integration unit 211, 311 Feature extraction model 221, 321 Calculation model 2111 Arithmetic unit 2111-1 Nonlinear calculation layer 2111-2 Style normalization calculation layer

Claims

1. A learning device comprising: an extraction unit that extracts a feature map from learning data using a feature extraction model composed of multiple calculation units, each of which has a nonlinear calculation layer that performs nonlinear processing on learning data and a normalization calculation layer that normalizes the style of the output of the nonlinear calculation layer; a calculation unit that calculates the posterior probability of each category of the learning data based on the feature map using a calculation model; a prediction unit that predicts the category of the learning data based on the posterior probability of each category of the learning data calculated by the calculation unit; and a learning unit that performs learning between the feature extraction model and the calculation model so that the calculation unit and the prediction unit can predict the correct category corresponding to the learning data.

2. The learning device described in claim 1, characterized in that the nonlinear operation layer performs nonlinear processing on the learning data and outputs the operation results in multiple channels, and the normalization operation layer performs style normalization processing to normalize the output results of each channel based on the average and variance of each channel of the feature map.

3. An estimation device comprising: an extraction unit that extracts a feature map from the input data using a feature extraction model composed of calculation units each having a nonlinear calculation layer that performs nonlinear processing on input data and a normalization calculation layer that normalizes the style of the output of the nonlinear calculation layer; a calculation unit that calculates the posterior probability of each category of the input data based on the feature map using a calculation model; a prediction unit that predicts the category of the input data based on the posterior probability of each category of the input data calculated by the calculation unit; a judgment unit that judges whether the input data is of a known category based on the posterior probability of each category of the input data calculated by the calculation unit; and an integration unit that integrates the prediction result by the prediction unit and the judgment result by the judgment unit.

4. The estimation device according to claim 3, characterized in that the nonlinear operation layer performs nonlinear processing on the input data and outputs operation results in multiple channels, and the normalization operation layer performs style normalization processing to normalize the output results of each channel based on the average and variance of each channel of the feature map.

5. A learning method executed by a learning device, comprising: a step of extracting a feature map from the learning data using a feature extraction model composed of a plurality of calculation units, each having a nonlinear calculation layer that performs nonlinear processing on the learning data and a normalization calculation layer that normalizes the style of the output of the nonlinear calculation layer; a step of calculating the posterior probability of each category of the learning data based on the feature map using a calculation model; a step of predicting the category of the learning data based on the posterior probability of each category of the learning data calculated in the calculation step; and a step of executing learning between the feature extraction model and the calculation model so that a correct category corresponding to the learning data can be predicted in the calculation step and the prediction step.

6. An estimation method performed by an estimation method, comprising: a step of extracting a feature map from the input data using a feature extraction model composed of calculation units each having a nonlinear calculation layer that performs nonlinear processing on input data and a normalization calculation layer that normalizes the style of the output of the nonlinear calculation layer; a step of calculating the posterior probability of each category of the input data based on the feature map using a calculation model; a step of predicting the category of the input data based on the posterior probability of each category of the input data calculated in the calculation step; a step of determining whether the input data is of a known category or not based on the posterior probability of each category of the input data calculated in the calculation step; and a step of integrating the prediction result in the prediction step and the judgment result in the judgment step.

7. A program for causing a computer to function as the learning device according to claim 1 or 2, or the estimation device according to claim 3 or 4.

Citation Information

Patent Citations

  • Model parameter estimation method, device, and program

    JP2015038709A

  • Learning and applying method, apparatus and storage medium of multilayer neural network model

    JP2020109648A

  • Data classification system, data classification method, and recording medium

    WO2021240707A1