Learning device, learning method, and program

The learning device optimizes feature extractors and classifiers using statistical property information to enhance recognition accuracy across diverse imaging conditions, addressing performance drops in pattern recognition systems.

JP7544254B2Active Publication Date: 2024-09-03NEC CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023504999
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-10
Publication Date
2024-09-03
Estimated Expiration
2041-03-10

AI Technical Summary

Technical Problem

Existing pattern recognition systems face performance degradation when encountering data with different statistical properties from the training data, leading to reduced recognition accuracy, particularly in scenarios like visible light vs. near-infrared imaging.

Method used

A learning device and method that adjusts the feature extractor and classifier parameters using statistical property information to minimize loss, ensuring improved recognition performance for data with varying statistical properties without compromising performance on data with original properties.

Benefits of technology

Enhances recognition accuracy for data with different statistical properties while maintaining performance on data with original properties, such as improving face recognition across various imaging conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007544254000001
    Figure 0007544254000001
  • Figure 0007544254000006
    Figure 0007544254000006
  • Figure 0007544254000005
    Figure 0007544254000005
Patent Text Reader

Abstract

The learning device (12) according to the present disclosure performs supervised learning of a classification problem. The learning device (12) includes: an input unit (109) for inputting target data to be learned, class label information pertaining to the target data, and statistical characteristic information pertaining to the target data; a feature quantity extractor (110) for extracting a feature quantity from the target data using a parameter; a classifier (111) for outputting a result of classification inference performed on the target data through statistical processing in which are used the feature quantity and weight vectors for the number of classes; a loss calculation unit (112) for calculating a loss using a loss function in which the classification inference result and the class label information are used as inputs; and a parameter correction unit (113) for correcting the weight vectors of the classifier (111) and the parameter of the feature quantity extractor (110) in accordance with the statistical characteristic information so that the loss decreases.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a learning apparatus, a learning method, and a computer-readable medium. [Background technology]

[0002] There is known a pattern recognition device that extracts features (patterns) of target data using a feature extractor and recognizes the data using the extracted features. For example, in object image recognition, a feature vector is extracted from an image showing a target object, and a linear classifier is used to estimate which class the target object belongs to. In face recognition, a feature vector is extracted from a person's face image, and the person is recognized as the person himself or herself based on the distance of the feature vector in the feature space.

[0003] To enable such recognition, statistical machine learning is widely used, which uses supervised data with correct class labels collected in advance (hereafter referred to as training data) to train a feature extractor so as to approximate the statistical properties of the target data and its class label. In the example of face recognition, different people are defined as different classes, and supervised learning of a multi-class classification problem is performed.

[0004] In general, statistical machine learning has high recognition performance for data that has the same statistical properties as the training data, but performance drops for data that has different statistical properties from the training data. Examples of images with different statistical properties include images that have different information other than class label information, such as images captured with a visible light camera and images captured with a near-infrared camera.

[0005] The reason why performance degrades for data with different statistical properties is that the statistical distribution of the extracted features in the feature space is different. We will explain this reason in detail using the upper diagram in Figure 1.

[0006] The top diagram in Figure 1 is a conceptual diagram of the distribution in feature space of features for data with different statistical properties. Here, we assume that there are only two classes of data, and the features of data belonging to the first class are represented by stars, and the features of data belonging to the second class are represented by triangles. Furthermore, the feature distribution of data with the first statistical property is represented by a solid line, and the feature distribution of data with the second statistical property is represented by a dotted line. In particular, we assume that the first statistical property is the statistical property of the training data, and the statistical property different from that of the training data is the second statistical property.

[0007] Through supervised learning using training data, the feature extractor is trained to increase the degree of separation between classes in the feature distribution (the range of the solid circle in the upper diagram of Figure 1) for data with the first statistical property. In other words, the feature extractor is trained to reduce the distance between features within the same class and to increase the distance between features in other classes.

[0008] In this case, the feature distribution for data with second statistical properties, which are different from the training data, has a different distribution from the feature distribution for data with the first statistical properties because it has not been trained sufficiently (or at all). In particular, it has a distribution with a lower degree of separation between classes than the feature distribution for data with the first statistical properties.

[0009] As a result, compared to features for data with the first statistical property, features for data with the second statistical property have larger distances between features within the same class or smaller distances between features in other classes, resulting in a decrease in recognition performance such as class classification. In particular, in the case of face recognition, even if the image is of the same person, the distance between features of images with different statistical properties increases, resulting in a decrease in recognition performance.

[0010] There are many situations where such differences in statistical properties with training data occur. For example, in the case of face recognition, training data generally contains many images taken with easily available visible light cameras, but few (or no) images taken with near-infrared or far-infrared cameras. This causes a problem of lower recognition accuracy in near-infrared images taken with near-infrared cameras compared to visible light images taken with visible light cameras.

[0011] In order to correct the difference in statistical properties between data as described above, a method is known in which a feature extractor is trained so as to bring feature distributions of data of the same class, which have different statistical properties, closer to each other.

[0012] The lower diagram in Figure 1 is a conceptual diagram showing the correction of differences in statistical properties between data. Before correction, the feature distribution extracted by the feature extractor has different distributions for data with different statistical properties, as shown in the upper diagram. In contrast, the feature distribution after correction is learned by the feature extractor so that the feature distributions of data in the same class with different statistical properties are brought closer to each other. The arrows in the diagram indicate the direction of correction of the feature distribution in the feature space, with the solid arrow representing the direction of correction of the feature distribution for data with a first statistical property and the dotted arrow representing the direction of correction of the feature distribution for data with a second statistical property.

[0013] This correction makes data of the same class with the first and second statistical properties have a certain distribution. In addition, the feature distribution after correction has a higher degree of separation between feature classes for data with the second statistical property compared to the feature distribution before correction.

[0014] In the feature distribution after correction, data having the first and second statistical properties have a certain distribution, so that the distance between features of data of the same class but with different statistical properties becomes smaller compared to the feature distribution before correction. As a result, for example, in the case of face recognition, there is an effect that the recognition accuracy between images with different statistical properties (for example, an image taken with a visible light camera and an image taken with a near-infrared camera) is improved.

[0015] In addition, the corrected feature distribution has a higher degree of separation between feature classes for data having the second statistical property compared to the uncorrected feature distribution, which has the effect of improving authentication accuracy for data having the second statistical property.

[0016] As one of the techniques for correcting the difference in statistical properties between pieces of data as described above, there is a learning method disclosed in Patent Documents 1 and 2.

[0017] In the learning method of Patent Document 1, when the training data and the test data follow different probability distributions, a prediction model is learned by gradient boosting using an importance-weighted loss function that takes into account the importance, which is the ratio of the generation probability of the training data and the test data. This allows the label of the test data to be predicted with higher accuracy. In this way, the learning method of Patent Document 1 corrects the difference in statistical properties between the training data and the test data that have different probability distributions, that is, between the training data and the test data that have different statistical properties. When the prediction model is configured by a feature extractor such as a neural network, this correction is synonymous with learning the feature extractor so as to bring the feature distribution for the training data and the feature distribution for the test data closer to each other.

[0018] The learning method according to Patent Document 2 relates to a technique called domain adaptation, which corrects the difference in statistical properties between data, and is characterized by the effect of realizing semi-supervised learning using data without domain information in addition to data with domain information. In this way, the learning method according to Patent Document 2 corrects the difference in statistical properties between data with domain information and data without domain information, i.e., between data with domain information and data without domain information, which have different statistical properties. When the model is composed of a feature extractor such as a neural network, this correction is synonymous with training the feature extractor so that the feature distributions for each data in different domains are brought closer to each other. [Prior art documents] [Patent documents]

[0019] [Patent Document 1] JP 2010-092266 A [Patent Document 2] International Publication No. 2019 / 102962 Summary of the Invention [Problem to be solved by the invention]

[0020] The purpose of this disclosure is to solve problems in the related art. [Means for solving the problem]

[0021] A learning device according to one aspect includes: A learning device for performing supervised learning of a class classification problem, an input unit for inputting target data to be learned, class label information of the target data, and statistical property information of the target data; a feature extractor that extracts features from the target data using parameters; a classifier that outputs a class classification inference result of the target data by statistical processing using the feature amount and a weight vector for each class; a loss calculation unit that calculates a loss using a loss function that receives the class classification inference result and the class label information as input; a parameter modification unit that modifies the weight vector of the classifier and the parameters of the feature extractor according to the statistical property information so as to reduce the loss; Includes.

[0022] A learning method according to one aspect includes: A learning method for a learning device that performs supervised learning for a class classification problem, comprising: Inputting target data to be learned, class label information of the target data, and statistical property information of the target data; extracting features from the target data using parameters with a feature extractor; A classifier performs statistical processing using the feature amount and a weight vector for each class to output a class classification inference result for the target data; Calculating a loss using a loss function that has the class classification inference result and the class label information as inputs; The weight vector of the classifier and the parameters of the feature extractor are modified according to the statistical property information so as to reduce the loss.

[0023] According to one aspect, a non-transitory computer readable medium includes: A computer that performs supervised learning of classification problems A process of inputting target data to be learned, class label information of the target data, and statistical property information of the target data; extracting features from the target data using parameters by a feature extractor; a process of outputting a class classification inference result of the target data by a classifier through statistical processing using the feature amount and a weight vector for each class; A process of calculating a loss using a loss function having the class classification inference result and the class label information as inputs; modifying the weight vector of the classifier and the parameters of the feature extractor according to the statistical property information so as to reduce the loss; The program that executes the above is stored. Effect of the Invention

[0024] According to the above-described aspect, it is possible to improve the recognition performance for data having one or more statistical properties different from those of the training data, without degrading the recognition performance for data having the same statistical properties as the training data. [Brief description of the drawings]

[0025] [Figure 1] FIG. 1 is a conceptual diagram of distribution of features for data with different statistical properties in a feature space. [Diagram 2] 1 is a block diagram showing an example of a configuration of a learning device according to a first embodiment. [Diagram 3] 5 is a flowchart showing an example of the operation of the learning device according to the first embodiment. [Figure 4] 3 is a conceptual diagram relating to the distribution of feature quantities in a feature quantity space, used to explain the effect of the learning device according to the first embodiment. FIG. [Diagram 5] FIG. 11 is a block diagram showing an example of the configuration of a learning device according to a second embodiment. [Figure 6] FIG. 11 is a block diagram showing an example of the configuration of a learning device according to a third embodiment. [Figure 7] FIG. 13 is a block diagram showing an example of the configuration of a learning device according to a fourth embodiment. [Figure 8] FIG. 2 is a block diagram showing an example of the configuration of a computer that realizes the learning device according to the first, second, third and fourth embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0026] Before describing the embodiments of the present disclosure, the problem and objectives of the present disclosure will be described in detail. As described above, in the learning methods disclosed in Patent Documents 1 and 2, data having two specific statistical properties is used, and a feature extractor is trained so as to bring the feature distributions of the two data closer together. Therefore, there is a problem that the recognition performance remains low for data having a third statistical property that is different from the above two statistical properties.

[0027] In addition, in the learning methods of Patent Documents 1 and 2, a feature extractor is trained so as to bring the feature distributions of data having two statistical properties closer to each other. At this time, there is a problem that the recognition performance improves for data having the target statistical property (data having the second statistical property in FIG. 1), but conversely, the recognition performance deteriorates for data having the same statistical property as the original learning data (data having the first statistical property in FIG. 1). For example, when the visible light image has the same statistical property as the learning data and the near-infrared image has a statistical property different from that of the learning data, the recognition performance for the near-infrared image improves, but the recognition performance for the visible light image deteriorates. This is because the feature distribution for the visible light image and the feature distribution for the near-infrared image are brought closer to each other, and thus the feature distribution for the visible light image, which originally had a high degree of separation, is destroyed.

[0028] The purpose of this disclosure is to improve recognition performance for data that has one or more statistical properties different from those of the training data, without degrading recognition performance for data that has the same statistical properties as the training data.

[0029] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. The drawings used in the following description are intended to explain embodiments of this disclosure. However, this disclosure is not limited to the descriptions in the drawings. In addition, in each drawing, the same or corresponding elements are given the same reference numerals, and duplicate descriptions are omitted as necessary to clarify the description. In addition, in the drawings used in the following description, descriptions of configurations of parts not related to the description of this disclosure may be omitted and may not be illustrated.

[0030] Furthermore, data used in the embodiments of the present disclosure is not limited. The recognition target may be an image of an object or an image of a face. In the following description, an image of a face may be used as an example of data. However, this does not limit the target data.

[0031] (Embodiment 1) Hereinafter, the first embodiment of the present disclosure will be described with reference to FIG. Fig. 2 is a block diagram showing an example of the configuration of the learning device 10 according to the present embodiment 1. As shown in Fig. 2, the learning device 10 includes a data input unit 100, a feature extractor 101, a classifier 102, a correct answer information input unit 103, a statistical property information input unit 104, a loss calculation unit 105, a parameter correction amount calculation unit 106, and a parameter correction unit 107.

[0032] The data input unit 100 inputs target data to be learned from the learning data. In this case, for example, when the target data is an image, the target data may be a normalized image in which the subject is normalized in advance based on the position of the subject included in the image. The number of target data input may be one or more.

[0033] The feature extractor 101 includes learnable parameters, and calculates and outputs features representing the features of the target data using the parameters. Here, the specific form of the feature extractor 101 is not limited, and may have functions such as a convolution layer, a pooling layer, or a fully connected layer included in a neural network such as a convolutional neural network used in machine learning such as deep learning. Specific forms of the parameters of the feature extractor 101 include, for example, the weight of a kernel (filter) in the case of a convolution layer, and the weight applied to an affine transformation in the case of a fully connected layer. In addition, the features output from the feature extractor 101 may be in the form of a tensor (i.e., a feature map) or in the form of a vector (i.e., a feature vector).

[0034] The classifier 102 outputs a class classification inference result for the target data by statistical processing using the features output from the feature extractor 101 and weight vectors for the number of classes. However, if the features output from the feature extractor 101 are tensors, the classifier 102 performs statistical processing using the feature map and weight vectors. The weight vector may also be in the form of a tensor.

[0035] The weight vectors for the number of classes, which are parameters of the classifier 102, represent the representative points of each class in the feature space, and the statistical processing of the weight vectors and the features represents the calculation of the distance of the features from the representative points of each class in the feature space. Therefore, the class classification inference result, which is the output of the classifier 102, is a value representing the distance between the features output from the feature extractor 101 and the representative points of each class. At this time, the number of weight vectors (i.e., the number of classes) does not need to match the number of class labels input to the correct answer information input unit 103 described later.

[0036] In the following description, the term “various parameters” refers to the parameters of the feature extractor 101 and weight vectors for the number of classes of the classifier 102.

[0037] The correct answer information input unit 103 inputs class label information as the correct answer information. The class label information is information that represents the correct label of the target data. For example, when the target data is a face image, the person ID of the person appearing in the face image may be used as the class label.

[0038] The statistical property information input unit 104 inputs statistical property information that is information that represents the statistical property of the target data. The statistical property information may be a scalar value having a certain value, or a vector or tensor based on the statistical property. For example, when the target data is an image, the statistical property information may be set to 1 for an image captured by a visible light camera, and may be set to 0 for an image captured by any other image sensor.

[0039] The loss calculation unit 105 calculates and outputs a loss using a loss function that receives as inputs (arguments) the class classification inference result output from the classifier 102 and the class label information input to the correct answer information input unit 103. The loss calculation unit 105 also simultaneously calculates the gradient of the loss function with respect to various parameters (i.e., the first-order differential of the loss function) to be used in calculating the correction amounts of various parameters, which will be described later.

[0040] In the loss calculation unit 105, the loss calculated using the loss function is defined to be a value according to the difference between the class classification inference result and the class label information. Specifically, the loss is defined to have a larger value as the difference between the class classification inference result and the class label information increases. Therefore, optimizing various parameters to reduce the loss is synonymous with optimizing the class classification inference result to approach the correct label.

[0041] Here, bringing the class classification inference result closer to the correct label generally means reducing the distance between the feature and the weight vector of the same class and increasing the distance between the feature and the weight vector of other classes in the feature space. In other words, optimizing various parameters so as to reduce the loss calculated by the loss calculation unit 105 is synonymous with optimizing to reduce the distance between the feature and the weight vector of the same class and to increase the distance between the feature and the weight vector of other classes.

[0042] In this case, the specific function form of the loss function used in the loss calculation unit 105 is not limited. For example, the loss function may be Softmax-Cross Entropy Loss, which is generally used in classification problems, or a margin-based Softmax Loss such as SphereFace, CosFace, or ArcFace. In addition, the loss function may be any of various loss functions used in distance learning, or a combination of these.

[0043] The parameter correction amount calculation unit 106 calculates the correction amounts of various parameters to reduce the loss calculated by the loss calculation unit 105. In particular, the parameter correction amount calculation unit 106 calculates the correction amounts of various parameters according to the gradient of the loss function for the various parameters and the value of the statistical property information input to the statistical property information input unit 104. Specifically, for example, with respect to the weight vector of the classifier 102, the correction amount of the weight vector is calculated by statistical processing using the gradient of the loss function for the weight vector and the value of the statistical property information. With respect to the parameters of the feature extractor 101, the gradient of the loss function for the parameters of the feature extractor 101 may be used as the correction amount, or the correction amount of the parameters may be calculated by statistical processing using the gradient and the value of the statistical property information.

[0044] The parameter correction unit 107 corrects various parameters based on the correction amounts of the various parameters calculated by the parameter correction amount calculation unit 106. At this time, the various parameters may be corrected using, for example, a stochastic gradient descent method, an error backpropagation method, or the like used in machine learning such as deep learning.

[0045] As will be described later, the learning device 10 repeatedly modifies various parameters of the feature extractor 101 and the classifier 102.

[0046] Furthermore, the statistical properties of the target data to be learned are not limited in the present embodiment 1. Furthermore, the types of statistical properties of the target data input to the statistical property information input unit 104 may be two or more.

[0047] Next, the operation of the learning device 10 according to the first embodiment will be described with reference to FIG. FIG. 3 is a flowchart showing an example of the operation of the learning device 10 according to the first embodiment. First, in S10, the data input unit 100 acquires a large amount of learning data from a learning database (not shown). As an example, the learning data may be a data set including an image serving as target data to be learned, a correct answer label indicating a classification of a subject of the image, and statistical property information of the image. In this case, the data input unit 100 inputs the above-mentioned image as target data, the correct answer information input unit 103 inputs class level information indicating the above-mentioned correct answer label, and the statistical property information input unit 104 inputs the above-mentioned statistical property information. Here, the image of the target data may be a normalized image that has been subjected to a normalization process in advance. In addition, when performing cross-validation, the learning data may be classified into training data and test data.

[0048] Next, in S11, the feature extractor 101 uses the parameters at that time to calculate feature amounts by extracting features of the target data input to the data input unit 100 in the operation of S10.

[0049] The parameters at that time are the parameters after being corrected by the parameter correction unit 107 in the previous operation of S16. In the case of the first operation, the parameters at that time are the initial values ​​of the parameters. The initial values ​​of the parameters of the feature extractor 101 may be determined randomly, or may be values ​​learned in advance by supervised learning.

[0050] Next, in S12, the classifier 102 uses the weight vector at that time to output a class classification inference result for the target data by statistical processing using the features calculated by the feature extractor 101 in the operation of S11 and the weight vector.

[0051] The weight vector at that time is the weight vector after being corrected by parameter correction unit 107 in the previous operation of S16. In the case of the first operation, the weight vector at that time is the initial value of the weight vector. The initial value of the weight vector may be determined randomly, or may be learned in advance by supervised learning.

[0052] Next, in S13, the loss calculation unit 105 uses a loss function to calculate the loss between the class classification inference result output by the classifier 102 in the operation of S12 and the correct label input to the correct answer information input unit 103 in the operation of S10. The loss calculation unit 105 also simultaneously calculates the gradient of the loss function with respect to various parameters.

[0053] Next, in S14, the parameter correction amount calculation unit 106 determines whether or not to end the learning. In the present embodiment 1, the parameter correction amount calculation unit 106 may determine whether or not to end the learning by determining whether or not the update count, which indicates the number of times the operation of S16 has been performed, has reached a preset count. The parameter correction amount calculation unit 106 may also determine whether or not to end the learning by determining whether or not the loss is less than a predetermined threshold. If the parameter correction amount calculation unit 106 determines to end the learning (Yes in S14), the process proceeds to S17, and if not (No in S14), the process proceeds to S15.

[0054] In S15, the parameter correction amount calculation unit 106 calculates the correction amount of various parameters to reduce the loss calculated by the loss calculation unit 105 in the operation of S13. For example, the parameter correction amount calculation unit 106 calculates the correction amount of various parameters based on the gradient of the loss function for various parameters calculated by the loss calculation unit 105 in the operation of S13 and the value of the statistical property information input to the statistical property information input unit 104 in the operation of S10. At this time, for the parameters (weight vector) of the classifier 102, the gradient of the loss function for the weight vector is statistically processed based on the statistical property information, and the correction amount is set as the gradient. On the other hand, for the parameters of the feature extractor 101, the gradient of the loss function for the parameters of the feature extractor 101 may be set as the correction amount, or the correction amount may be calculated by statistical processing using the gradient and the value of the statistical property information.

[0055] In S16, the parameter correction unit 107 corrects various parameters based on the correction amounts of the various parameters calculated by the parameter correction amount calculation unit 106 in the operation of step S15. The parameter correction unit 107 may update the various parameters using, for example, a stochastic gradient descent method and an error backpropagation method. At this time, the order in which the parameters are corrected is not limited. That is, the parameter correction unit 107 may correct the parameters of the feature extractor 101 and then correct the weight vector of the classifier 102, or may perform the correction in the reverse order. In addition, the parameter correction unit 107 may separately correct the parameters of the feature extractor 101 and the weight vector of the classifier 102 for each learning iteration. Then, the parameter correction unit 107 returns the process to S10.

[0056] In S17, the parameter modification unit 107 determines the various parameters to be the values ​​modified in the operation of the most recent step S16. This completes the operation of the learning device 10.

[0057] In this way, the learning device 10 optimizes the parameters included in the feature extractor 101 and the weight vectors included in the classifier 102 through machine learning.

[0058] Next, the effects of the learning device 10 according to the first embodiment will be described. As described above, according to the first embodiment, the parameter correction unit 107 corrects the parameters of the feature extractor 101 and the weight vectors of the classifier 102 so as to reduce the loss calculated by the loss calculation unit 105. This is synonymous with reducing the distance between the feature and the weight vector of the same class and increasing the distance between the feature and the weight vectors of other classes in the feature space.

[0059] Modifying the weight vector of the classifier 102 so as to reduce the loss means modifying the weight vector in the direction of the feature of the input target data. In other words, if the input target data is data having a first statistical property, the weight vector is modified in the direction of the feature distribution for the data having the first statistical property. Also, if the input target data is data having a second statistical property, the weight vector is modified in the direction of the feature distribution for the data having the second statistical property.

[0060] In addition, modifying the parameters of the feature extractor 101 to reduce the loss means modifying the features extracted by the feature extractor 101 in the direction of the weight vector of the same class and away from the weight vectors of other classes.

[0061] By repeatedly correcting the parameters of the feature extractor 101 and the weight vector of the classifier 102, the feature extractor 101 is trained so that feature distributions for data having different statistical properties approach each other.

[0062] Furthermore, according to the first embodiment, the parameter correction amount calculation unit 106 changes the amount of correction of the weight vector of the classifier 102 according to the statistical properties of the target data. That is, when data having specific statistical properties (for example, an image captured by a visible light camera) is input, the weight vector is corrected, but when data having other statistical properties is input, the weight vector is not corrected (or the amount of correction is reduced). As a result, the direction in which the weight vector is corrected becomes the direction of the feature distribution for data having specific statistical properties.

[0063] As a result, the feature extractor 101 is trained so that the feature distributions for data with different statistical properties approach each other, rather than approaching each other, so that the feature distributions for data with other statistical properties approach the feature distribution for data with a specific statistical property (for example, an image captured by a visible light camera). This makes it possible to improve the recognition performance for data with other statistical properties without degrading the recognition performance for data with a specific statistical property.

[0064] Moreover, according to the first embodiment, the feature distribution for data having other statistical properties is made closer to the feature distribution for data having one specific statistical property. Therefore, the type of data having other statistical properties is not limited to one, and the feature distribution for data having multiple types of statistical properties can be optimized simultaneously. This makes it possible to improve the recognition performance for data having one or more statistical properties different from the specific statistical property without degrading the recognition performance for data having the specific statistical property.

[0065] FIG. 4 is a conceptual diagram for explaining the effect of the learning device 10 according to the first embodiment. The upper diagram in Figure 4 is a conceptual diagram of the distribution of features for data with different statistical properties in a feature space. Here, it is assumed that there are only two classes of data, and the features of data belonging to the first class are represented by stars, and the features of data belonging to the second class are represented by triangles. In addition, the feature distribution of data with the first statistical property is represented by a solid line, the feature distribution of data with the second statistical property is represented by a dotted line, and the feature distribution of data with the third statistical property is represented by a dashed-dotted line. In particular, it is assumed that the first statistical property is the statistical property of the training data, and the statistical properties different from the training data are the second and third statistical properties.

[0066] The lower diagram of FIG. 4 is a diagram conceptually illustrating the correction of the difference in statistical properties between data according to the first embodiment. As shown in the upper diagram, the feature distributions extracted by the feature extractor 101 before correction are different for data with different statistical properties. In contrast, according to the first embodiment, the feature extractor 101 learns to make the feature distributions of data with other statistical properties closer to the feature distribution of data with the first statistical property without destroying the feature distribution of data with the first statistical property. The arrows in the diagram indicate the direction of correction of the feature distribution in the feature space, the dotted arrow indicates the direction of correction of the feature distribution for data with the second statistical property, and the dashed-dotted arrow indicates the direction of correction of the feature distribution for data with the third statistical property.

[0067] Next, a specific example of the learning device 10 according to the first embodiment will be described. For example, in face matching, the data input unit 100 inputs a face image as target data to be learned from the learning data. At this time, the input face image may be an image that has been normalized in advance based on face organ points. In the following description, the input face image is denoted as I.

[0068] The feature extractor 101 extracts features of the input face image I and outputs the feature. Φ Here, Φ is a parameter included in the feature extractor 101. If the feature output from the feature extractor 101 is denoted as x, the series of processes performed by the feature extractor 101 is as follows: x=F Φ In the following description, the feature amount x is a vector, and is referred to as a feature amount vector x.

[0069] The classifier 102 receives the feature vector x and performs statistical processing using weight vectors for the number of classes to output a class classification inference result for the input face image I. Here, the weight vectors for the number of classes are expressed as w i Here, i is the subscript that represents the class. Note that the dimensions of the feature vector x and the weight vector are the same. Also, the feature vector x and the weight vector wi is normalized to 1. The classification inference result is i As an example of statistical processing, the feature vector x and the weight vector w i Using the inner product with y i =w i In this case, the classification inference result y i is a scalar value ranging from -1 to 1. The larger the value, the smaller the feature vector x and the weight vector w i This indicates that the distance between the two features is close in the feature space.

[0070] The correct answer information input unit 103 inputs class label information (i.e., correct answer label) of the input face image I. Here, the correct answer label is t i and t i is a scalar value (i.e., a one-hot vector) that has a value of 1 only for the class to which the input face image I belongs and is 0 otherwise. i The specific form of is not limited, and may be, for example, a result of performing label-smoothing such that only the class to which the input face image I belongs has a value of 1, and other classes have certain small values.

[0071] The statistical property information input unit 104 inputs the statistical property information of the input face image I. Here, the statistical property information is denoted as P, where P is a scalar value having a value between 0 and 1. For example, if the input face image I is an image captured by a visible light camera, P=1, and if an image captured by any other image sensor is input, P=0. However, P may have any value between 0 and 1 depending on the type of image sensor.

[0072] The loss calculation unit 105 calculates the class classification inference result y i and class label information t iThe loss is calculated using a loss function with inputs (arguments) as well as the gradient of the loss function for various parameters. Here, the loss function is Softmax-Cross Entropy Loss, denoted as L. The specific form of L is L=-Σ where S is the Softmax function. i t i log[S(y i )]. The gradient of the loss function L with respect to the parameter Φ of the feature extractor 101 is ∂L / ∂Φ, and the weight vector w i The gradient of the loss function L with respect to ∂L / ∂w i It is.

[0073] The parameter correction amount calculation unit 106 calculates the correction amount of various parameters based on the loss function L and its gradient, and the statistical property information P. Here, the correction amount of the parameter Φ of the feature extractor 101 is calculated by subtracting −λ Φ Let ∂L / ∂Φ be the weight vector w of the classifier 102. i The amount of correction of is -Pλ using the gradient of the loss function L and the statistical property information P. w Let ∂L / ∂w, where λ Φ and λ w are hyperparameters that determine the learning rate of the parameter Φ and the weight vector w, respectively.

[0074] The parameter correction unit 107 corrects various parameters by the backpropagation method based on the correction amounts of various parameters calculated by the parameter correction amount calculation unit 106. At this time, the order in which the parameters are corrected is not limited. That is, the parameter correction unit 107 corrects the parameter Φ of the feature extractor 101, and then corrects the weight vector w of the classifier 102. i Alternatively, the parameter correction unit 107 may correct the parameter Φ of the feature extractor 101 and the parameter Φ of the classifier 102 separately for each iteration of learning.

[0075] In the above explanation, when the target data is an image, one image is input, but multiple images may be input at once to improve the efficiency of learning.

[0076] As described above, in this embodiment, the weight vector w of the classifier 102 i By multiplying the gradient of the loss function L with respect to the input face image I by the statistical property information P, the weight vector w i P has a value of 1 for images taken with a visible light camera and a value of 0 for images taken with other image sensors. Therefore, the weight vector w i is modified only in the direction of the feature distribution for the image captured by the visible light camera. Also, the parameter Φ of the feature extractor 101 is the weight vector w i As a result, the feature extractor 101 learns to approximate the feature distribution for images captured by other image sensors without destroying the feature distribution for images captured by the visible light camera.

[0077] (Embodiment 2) Next, a second embodiment of the present disclosure will be described with reference to FIG. 5 is a block diagram showing an example of the configuration of a learning device 11 according to embodiment 2. In the following, a description of the configuration and functions similar to those of the learning device 10 according to embodiment 1 described above will be omitted, and differences will be described.

[0078] As shown in FIG. 5, the learning device 11 according to the second embodiment differs from the learning device 10 according to the first embodiment described above in that a loss calculation unit 105 is connected to a feature extractor 101 and a statistical property information input unit 104, and in that the supervised information input to the supervised information input unit 103 is different.

[0079] The correct answer information input unit 103 inputs class label information or a correct answer vector as the correct answer information. The correct answer vector is a desirable feature vector for the target data. The correct answer vector may be generated by any method. For example, the correct answer information input unit 103 may generate a feature vector for the target data using a trained feature extractor (this feature extractor is prepared separately from the feature extractor 101), and may use the generated feature vector as the correct answer vector.

[0080] Here, the correct answer information input unit 103 inputs class label information or a correct vector depending on whether the target data is data having a specific statistical property. That is, when the target data is data having a specific statistical property, the correct answer information input unit 103 inputs a correct vector of the target data. Also, when the target data is data having a statistical property other than the specific statistical property, the correct answer information input unit 103 inputs class label information of the target data.

[0081] The loss calculation unit 105 judges whether the target data is data having a statistical property based on the statistical property information input to the statistical property information input unit 104. When the target data is data having a specific statistical property, the loss calculation unit 105 calculates a loss using a loss function having as inputs (arguments) the correct answer vector input to the correct answer information input unit 103 and the feature vector extracted by the feature extractor 101. When the target data is data having a statistical property other than the specific statistical property, the loss calculation unit 105 calculates a loss using a loss function having as inputs (arguments) the class classification inference result output from the classifier 102 and the class label information input to the correct answer information input unit 103.

[0082] In this way, in the second embodiment, when the target data has a specific statistical property, the distance between the feature vector and the correct vector is calculated as the loss, and various parameters are modified to reduce this loss. Therefore, it is possible to further improve the effect of not destroying the feature distribution of data with a specific statistical property.

[0083] (Embodiment 3) Next, a third embodiment of the present disclosure will be described with reference to FIG. 6 is a block diagram showing an example of the configuration of a learning device 12 according to embodiment 3. In the following, descriptions of the configuration and functions similar to those of the learning device 10 according to embodiment 1 described above will be omitted, and differences will be described.

[0084] According to the learning device 10 of the first embodiment described above, statistical property information is required for all target data to be learned, but there are cases where statistical property information cannot be obtained depending on the target data.

[0085] As shown in FIG. 6, the learning device 12 according to the third embodiment is characterized in that it includes a statistical property information estimation unit 108 instead of the statistical property information input unit 104 according to the first embodiment described above.

[0086] The statistical property information estimation unit 108 estimates statistical property information of the target data from the target data input to the data input unit 100, and outputs the estimated statistical property information. The output statistical property information is used to calculate the correction amounts of various parameters in the parameter correction amount calculation unit 106, as in the above-mentioned first embodiment.

[0087] Here, the specific form of the statistical property information estimation unit 108 is not limited, and may have functions such as a convolution layer, a pooling layer, or a fully connected layer included in a neural network such as a convolutional neural network used in machine learning such as deep learning. Furthermore, the statistical property information estimation unit 108 may use a model trained in advance so that the statistical property of the target data can be estimated from the target data.

[0088] In this manner, in the third embodiment, the statistical property information estimation unit 108 estimates the statistical property information of the target data from the target data input to the data input unit 100. Therefore, even if the statistical property information is not added to the target data, the same effect as in the first embodiment can be obtained.

[0089] In this embodiment 3, statistical property information is estimated for all target data. However, if statistical property information is added to some of the target data, the learning using that target data may take the form of embodiment 1 described above.

[0090] That is, in the third embodiment, the statistical property information estimation unit 108 and the statistical property information input unit 104 according to the first embodiment may be simultaneously provided. In this case, when the statistical property information is input to the statistical property information input unit 104, the parameter correction amount calculation unit 106 uses the input statistical property information, and when the statistical property information is not input to the statistical property information input unit 104, the parameter correction amount calculation unit 106 uses the statistical property information estimated by the statistical property information estimation unit 108.

[0091] In addition, the third embodiment has been described as including the statistical property information estimation unit 108 instead of the statistical property information input unit 104 according to the first embodiment, but is not limited to this. The third embodiment may also be configured to include the statistical property information estimation unit 108 instead of the statistical property information input unit 104 according to the second embodiment.

[0092] Moreover, the third embodiment may simultaneously include the statistical property information estimation unit 108 and the statistical property information input unit 104 according to the second embodiment. In this case, the loss calculation unit 105 may determine the statistical property information to be used in the same manner as the parameter correction amount calculation unit 106 described above.

[0093] (Embodiment 4) Next, a fourth embodiment of this disclosure will be described with reference to Fig. 7. The fourth embodiment corresponds to an embodiment that is a generic concept of the first, second, and third embodiments described above. Fig. 7 is a block diagram showing an example of the configuration of the learning device 13 according to the present embodiment 4. As shown in Fig. 7, the learning device 13 includes an input unit 109, a feature extractor 110, a classifier 111, a loss calculation unit 112, and a parameter correction unit 113.

[0094] The input unit 109 inputs target data to be learned, class label information indicating a correct label of the target data, and statistical property information indicating a statistical property of the target data. The input unit 109 corresponds to the data input unit 100 and the correct answer information input unit 103 according to the first, second, and third embodiments described above, and the statistical property information input unit 104 according to the first and second embodiments described above.

[0095] The feature extractor 110 uses the parameters to extract features from the target data input to the input unit 109. The feature extractor 110 corresponds to the feature extractor 101 according to the first, second and third embodiments described above.

[0096] The classifier 111 performs statistical processing using the features calculated by the feature extractor 110 and weight vectors for the number of classes, and outputs a class classification inference result for the target data input to the input unit 109. The classifier 111 corresponds to the classifier 102 according to the above-mentioned first, second, and third embodiments.

[0097] The loss calculation unit 112 calculates a loss by using a loss function that receives as inputs (arguments) the class classification inference result output from the classifier 111 and the class label information input to the input unit 109. The loss calculation unit 112 corresponds to the loss calculation unit 105 according to the first, second and third embodiments described above.

[0098] The parameter modification unit 113 modifies the weight vector of the classifier 111 and the parameters of the feature extractor 110 so as to reduce the loss calculated by the loss calculation unit 112, according to the statistical property information input to the input unit 109. The parameter modification unit 113 corresponds to the parameter modification unit 107 according to the first, second and third embodiments described above.

[0099] As described above, according to the fourth embodiment, the parameter correction unit 113 corrects the weight vector of the classifier 111 and the parameters of the feature extractor 110 so as to reduce the loss. Therefore, the feature extractor 110 is trained so that the feature distributions for data having different statistical properties become closer to each other.

[0100] Furthermore, the parameter correction unit 113 corrects the weight vector of the classifier 111 according to the statistical property information of the target data. Therefore, instead of bringing feature distributions for data having different statistical properties closer to each other, the feature extractor 110 is trained so that the feature distribution for data having a specific statistical property approaches the feature distribution for data having other statistical properties.

[0101] Furthermore, in order to bring the feature distribution for data having other statistical properties closer to the feature distribution for data having specific statistical properties, the type of data having other statistical properties is not limited to one, but can be multiple.

[0102] As a result, according to this embodiment 4, it is possible to improve the recognition performance for data having one or more statistical properties different from the specific statistical property, without degrading the recognition performance for data having the specific statistical property.

[0103] The learning device 12 may further include a parameter correction amount calculation unit that calculates the amount of correction of the weight vector of the classifier 111 and the amount of correction of the parameters of the feature extractor 110 according to the statistical property information so as to reduce the loss. This parameter correction amount calculation unit corresponds to the parameter correction amount calculation unit 106 according to the above-mentioned first, second and third embodiments. Furthermore, the parameter correction unit 113 may correct the weight vector of the classifier 111 and the parameters of the feature extractor 110 using the amount of correction calculated by the parameter correction amount calculation unit.

[0104] Furthermore, the input unit 109 may input a correct vector of the target data when the target data has a specific statistical property, and may input class label information of the target data when the target data has a statistical property other than the specific statistical property. The feature extractor 110 may extract a feature vector as a feature from the target data. Furthermore, the loss calculation unit 112 may calculate a loss using a loss function that receives as input the correct vector and the feature vector when the target data has a specific statistical property, and may calculate a loss using a loss function that receives as input the class classification inference result and class label information when the target data has a statistical property other than the specific statistical property.

[0105] Furthermore, the loss calculation unit 112 may further calculate a gradient of a loss function with respect to the weight vectors for the number of classes of the classifier 111. Furthermore, the parameter correction amount calculation unit may calculate the correction amount of the weight vector of the classifier 111 by statistical processing using the gradient of the loss function with respect to the weight vectors for the number of classes of the classifier 111 and the statistical property information.

[0106] Furthermore, the loss calculation unit 112 may further calculate a gradient of a loss function with respect to the parameters of the feature extractor 110. Furthermore, the parameter correction amount calculation unit may take the gradient of the loss function with respect to the parameters of the feature extractor 110 as the correction amount of the parameters of the feature extractor 110, or may calculate the correction amount of the parameters of the feature extractor 110 by statistical processing using the gradient of the loss function with respect to the parameters of the feature extractor 110 and statistical property information.

[0107] Moreover, the learning device 12 may further include a statistical property information estimation unit that estimates statistical property information of the target data. This statistical property information estimation unit corresponds to the statistical property information estimation unit 108 according to the above-mentioned third embodiment. Moreover, when statistical property information is input to the input unit 109, the parameter correction amount calculation unit may use the input statistical property information, and when no statistical property information is input to the input unit 109, may use the statistical property information estimated by the statistical property information estimation unit.

[0108] (A computer that realizes a learning device) The learning devices 10, 11, 12, and 13 according to the above-mentioned first, second, third, and fourth embodiments can be realized by a computer. This computer is configured as a computer system including a personal computer, a word processor, and the like. However, the present invention is not limited to this, and the computer can also be configured as a server of a LAN (local area network), a host for computer (personal computer) communication, a computer system connected to the Internet, and the like. It is also possible to distribute functions to each device on the network and configure a computer as a whole network.

[0109] In addition, in the above-mentioned first, second, third and fourth embodiments, the learning devices 10, 11, 12 and 13 according to this disclosure have been described as being configured as hardware, but this disclosure is not limited to this. This disclosure can also be realized by having a processor 1010 (described later) execute a computer program to perform various processes such as the above-mentioned learning data acquisition process, feature extraction process, class classification process, loss calculation process, parameter correction amount calculation process, parameter correction process and parameter determination process.

[0110] Fig. 8 is a block diagram showing an example of the configuration of a computer 1900 that realizes the learning devices 10, 11, 12, and 13 according to the above-mentioned embodiments 1, 2, 3, and 4. As shown in Fig. 8, the computer 1900 includes a control unit 1000 for controlling the entire system. An input device 1050, a display device 1100, a storage device 1200, a storage medium drive device 1300, a communication control device 1400, and an input / output I / F 1500 are connected to the control unit 1000 via a bus line such as a data bus.

[0111] The control unit 1000 includes a processor 1010, a read only memory (ROM) 1020, and a random access memory (RAM) 1030.

[0112] The processor 1010 performs various types of information processing and control in accordance with programs stored in various storage units such as the ROM 1020 and the storage device 1200.

[0113] The ROM 1020 is a read-only memory in which various programs and data for the processor 1010 to perform various controls and calculations are stored in advance.

[0114] The RAM 1030 is a random access memory used as a working memory by the processor 1010. In this RAM 1030, various areas for carrying out the various processes according to the first, second, third and fourth embodiments described above can be secured.

[0115] The input device 1050 is an input device that accepts input from a user, such as a keyboard, a mouse, and a touch panel. For example, the keyboard is provided with various keys, such as a numeric keypad, function keys for executing various functions, and a cursor key. The mouse is a pointing device, and is an input device that designates a corresponding function by clicking on a key or icon displayed on the display device 1100. The touch panel is an input device that is placed on the surface of the display device 1100, and identifies a user's touch position corresponding to various operation keys displayed on the screen of the display device 1100, and accepts input of the operation keys displayed corresponding to the touch position.

[0116] The display device 1100 may be, for example, a CRT (Cathode Ray Tube) display or a liquid crystal display. The display device 1100 displays the results of input using a keyboard or mouse, and finally displays the image information that is searched. The display device 1100 also displays images of operation keys for performing various operations required from a touch panel in accordance with various functions of the computer 1900.

[0117] The storage device 1200 is composed of a readable / writable storage medium and a drive for reading and writing various information such as programs and data from and to the storage medium.

[0118] The storage medium used in this storage device 1200 is primarily a hard disk or the like, but may also be a non-transitory computer-readable medium used in a storage medium drive device 1300 described below.

[0119] The storage device 1200 has a data storage unit 1210, a program storage unit 1220, and other storage units (not shown, for example, a storage unit for backing up programs and data stored in the storage device 1200), etc. The program storage unit 1220 stores programs for implementing various processes in the above-mentioned embodiments 1, 2, 3, and 4. The data storage unit 1210 stores various data of various databases according to the above-mentioned embodiments 1, 2, 3, and 4.

[0120] The storage medium drive device 1300 is a drive device for the processor 1010 to read data including computer programs and documents from an external storage medium (external storage medium).

[0121] Here, the external storage medium refers to a non-transitory computer-readable medium in which computer programs, data, etc. are stored. The non-transitory computer-readable medium includes various types of tangible storage media. Examples of the non-transitory computer-readable medium include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Compact Disc-ROMs), CD-Rs (CD-Recordables), CD-R / Ws (CD-ReWritables), and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs). In addition, various programs may be supplied to the computer by various types of transitory computer-readable media. Examples of the transitory computer-readable medium include electrical signals, optical signals, and electromagnetic waves. The transitory computer-readable medium can supply various programs to the computer via wired communication paths such as electric wires and optical fibers, or wireless communication paths, and the storage medium drive device 1300.

[0122] That is, in the computer 1900 , the processor 1010 of the control unit 1000 reads various programs from an external storage medium set in the storage medium drive device 1300 , and stores them in each unit of the storage device 1200 .

[0123] When the computer 1900 executes various processes, it loads the corresponding programs from the storage device 1200 into the RAM 1030 and executes them. However, the computer 1900 can also load the programs directly from an external storage medium into the RAM 1030 using the storage medium drive device 1300, rather than from the storage device 1200, and execute the programs. Depending on the computer, various programs and the like may be stored in the ROM 1020 in advance and executed by the processor 1010. Furthermore, the computer 1900 may download various programs and data from other storage media via the communication control device 1400 and execute them.

[0124] The communication control device 1400 is a control device for networking the computer 1900 with various external electronic devices such as other personal computers and word processors. The communication control device 1400 enables the computer 1900 to be accessed from these various external electronic devices.

[0125] The input / output I / F 1500 is an interface for connecting various input / output devices via a parallel port, serial port, keyboard port, mouse port, etc.

[0126] The processor 1010 may be a central processing unit (CPU), a graphics processing unit (GPU), a field-programmable gate array (FPGA), a digital signal processor (DSP), an application specific integrated circuit (ASIC), or the like.

[0127] The order of execution of each process in the systems and methods shown in the claims, specification, and drawings is not specifically stated as "before," "prior to," etc., and may be implemented in any order as long as the output of a previous process is not used in a subsequent process. Even if the operational flow in the claims, specification, and drawings is explained using "first," "next," etc. for convenience, it does not mean that it is essential to implement the process in this order.

[0128] Although the present disclosure has been described above with reference to the embodiments, the present disclosure is not limited to the above-described embodiments. Various modifications that can be understood by a person skilled in the art can be made to the configuration and details of the present disclosure within the scope of the present disclosure. [Industrial Applicability]

[0129] This disclosure is applicable to various data, including image processing such as face recognition, object recognition, etc. In particular, this disclosure is applicable to applications in which an image processing device improves the recognition performance of near-infrared images, far-infrared images, etc., without degrading the recognition performance of visible light images. [Explanation of symbols]

[0130] 10, 11, 12, 13 Learning device 100 Data Entry Section 101,110 Feature Extractor 102,111 class classifier 103 Answer information input section 104 Statistical property information input section 105,112 Loss calculation section 106 Parameter correction amount calculation unit 107,113 Parameter correction section 108 Statistical property information estimation section 109 Input section 1000 Control section 1010 Processor 1020 ROM 1030 RAM 1050 Input Device 1100 Display device 1200 storage device 1210 Data Storage Unit 1220 Program Storage Unit 1300 Storage media drive 1400 Communication control device 1500 Input / Output Interface 1900 Computer

Claims

1. A learning device for performing supervised learning of a class classification problem, an input unit for inputting target data to be learned, class label information of the target data, and statistical property information of the target data; a feature extractor that extracts features from the target data using parameters; a classifier that outputs a class classification inference result of the target data by statistical processing using the feature amount and a weight vector for each class; a loss calculation unit that calculates a loss using a loss function that receives the class classification inference result and the class label information as input; a parameter correction amount calculation unit that calculates a correction amount of the weight vector of the classifier and a correction amount of the parameters of the feature extractor according to the statistical property information so that the loss is reduced; a parameter correction unit that corrects the weight vector of the classifier and the parameters of the feature extractor by using the correction amount calculated by the parameter correction amount calculation unit; Including, The input unit is When the target data has specific statistical properties, a correct vector of the target data is input; When the target data is data having a statistical property other than the specific statistical property, input the class label information of the target data; The feature extractor includes: A feature vector is extracted as the feature from the target data; The loss calculation unit is When the target data is data having the specific statistical property, the loss is calculated using a loss function having the ground truth vector and the feature vector as inputs; When the target data is data having a statistical property other than the specific statistical property, the loss is calculated using a loss function having the class classification inference result and the class label information as inputs. Learning device.

2. The loss calculation unit is Further calculating a gradient of the loss function with respect to the weight vector for the number of classes of the classifier; The parameter correction amount calculation unit calculating a correction amount of the weight vector of the classifier by statistical processing using a gradient of the loss function with respect to the weight vector for the number of classes of the classifier and the statistical property information; The learning device according to claim 1 .

3. The loss calculation unit is further calculating a gradient of the loss function with respect to the parameters of the feature extractor; The parameter correction amount calculation unit a gradient of the loss function with respect to the parameters of the feature extractor is used as a correction amount of the parameters of the feature extractor, or a correction amount of the parameters of the feature extractor is calculated by a statistical process using the gradient of the loss function with respect to the parameters of the feature extractor and the statistical property information. The learning device according to claim 2 .

4. Further comprising a statistical property information estimation unit that estimates the statistical property information of the target data, The parameter correction amount calculation unit When the statistical property information is input to the input unit, the input statistical property information is used, When the statistical property information is not input to the input unit, the statistical property information estimated by the statistical property information estimation unit is used. The learning device according to any one of claims 1 to 3.

5. A learning method for a learning device that performs supervised learning for a class classification problem, comprising: Inputting target data to be learned, class label information of the target data, and statistical property information of the target data; extracting features from the target data using parameters with a feature extractor; A classifier performs statistical processing using the feature amount and a weight vector for each class to output a class classification inference result for the target data; Calculating a loss using a loss function that has the class classification inference result and the class label information as inputs; calculating a correction amount of the weight vector of the classifier and a correction amount of the parameters of the feature extractor according to the statistical property information so as to reduce the loss; Using the correction amount, the weight vector of the classifier and the parameters of the feature extractor are corrected. A learning method comprising: When the target data has specific statistical properties, a correct vector of the target data is input; When the target data is data having a statistical property other than the specific statistical property, input the class label information of the target data; The feature extractor extracts a feature vector as the feature from the target data; When the target data is data having the specific statistical property, the loss is calculated using a loss function having the ground truth vector and the feature vector as inputs; When the target data is data having a statistical property other than the specific statistical property, the loss is calculated using a loss function having the class classification inference result and the class label information as inputs. How to learn.

6. A computer that performs supervised learning of classification problems A process of inputting target data to be learned, class label information of the target data, and statistical property information of the target data; extracting features from the target data using parameters by a feature extractor; a process of outputting a class classification inference result of the target data by a classifier through statistical processing using the feature amount and a weight vector for each class; A process of calculating a loss using a loss function having the class classification inference result and the class label information as inputs; calculating a correction amount of the weight vector of the classifier and a correction amount of the parameters of the feature extractor according to the statistical property information so as to reduce the loss; a process of correcting the weight vector of the classifier and the parameters of the feature extractor using the correction amount; A program for executing When the target data has specific statistical properties, a correct vector of the target data is input; When the target data is data having a statistical property other than the specific statistical property, input the class label information of the target data; The feature extractor extracts a feature vector as the feature from the target data; When the target data is data having the specific statistical property, the loss is calculated using a loss function having the ground truth vector and the feature vector as inputs; When the target data is data having a statistical property other than the specific statistical property, a process of calculating the loss using a loss function having the class classification inference result and the class label information as inputs. A program that executes the following.

Citation Information

Patent Citations

  • Automatic document sorting method

    JP1998254883A

  • Learning device, learning method and program

    JP2010092266A

  • Instance selection device, classification device, method, and program

    JP2017107386A

  • Learning device, learning method, and recording medium

    WO2019102962A1

  • Prediction model construction device, prediction model construction method and prediction model construction program recording medium

    WO2019215904A1