Learning method, learning device, and program
By calculating weights and coefficients using a dataset with some true labels and incorporating noise labels, the learning method aligns source and target domains, achieving model performance comparable to fully labeled datasets.
Patent Information
- Application Number
- JP2023062528
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-18
AI Technical Summary
In unsupervised domain adaptation, the weight calculation for training data relies on inference that may not converge to the true value, necessitating a method to generate a learning model with performance similar to that using a fully labeled training dataset.
A learning method and device that calculates weights and coefficients using a dataset with some true labels, aligning source and target domains through a conversion formula, incorporating noise labels to improve model performance.
Generates a learning model with performance comparable to using a fully labeled dataset, enhancing accuracy by converging weights to true values and improving model performance.
Smart Images

Figure 2024148934000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a learning method, a learning device, and a program. [Background technology]
[0002] A learning model can be generated by adding labels to training data. However, collecting labeled data takes time. Therefore, labels are often generated using a small amount of labeled data. One of the techniques for solving this problem is Unsupervised Domain Adaptation (UDA). Non-Patent Document 1 describes a technique for unsupervised domain adaptation. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] Tachet des Combes, R., Zhao, H., Wang, YX, & Gordon, GJ, “Domain adaptation with conditional distribution matching and generalized label shift”, 34th Conference on Neural Information Processing Systems (NeurIPS 2020), 2020 Summary of the Invention [Problem to be solved by the invention]
[0004] In unsupervised domain adaptation, the weights of the training data are important, but in the technology described in Non-Patent Document 1, the weights are calculated by inference dependent on the judgment results, and there is a possibility that they will not converge to true values. Therefore, it is desirable to develop a technology that uses a training data set in which some training data is labeled with true labels to generate a learning model with performance close to that of machine learning using a training data set in which all training data is labeled with true labels.
[0005] The present disclosure has been made to solve such problems, and has as its objective to provide a learning method, a learning device, and a program that are capable of using a learning dataset in which some of the training data is labeled with true labels to generate a learning model with performance close to that obtained by machine learning using a learning dataset in which all of the training data is labeled with true labels. [Means for solving the problem]
[0006] The learning method according to the present disclosure inputs, as a source domain, a dataset of correct learning data with a true label prepared for calculating the coefficients of a learning model to be generated, and as a target domain, a dataset of learning data with a noise label prepared for calculating the coefficients of the learning model to be generated, and calculates, by machine learning, weights, which are the ratios between the source domain dataset and the target domain dataset for each label, and the coefficients of the learning model to be generated, using the source domain dataset and the target domain dataset, under the condition that the source domain dataset and the target domain dataset have the same values for the same label using a predetermined conversion formula.
[0007] The learning device according to the present disclosure includes an input unit that inputs, as a source domain, a dataset of correct learning data with a true label, prepared for calculating coefficients of a learning model to be generated, and inputs, as a target domain, a dataset of learning data with a noise label, prepared for calculating coefficients of the learning model to be generated, and a calculation unit that uses the source domain dataset and the target domain dataset to calculate, by machine learning, weights that are the ratio between the source domain dataset and the target domain dataset for each label and coefficients of the learning model to be generated, under the condition that the source domain dataset and the target domain dataset have the same values for the same label using a predetermined conversion formula.
[0008] A program according to the present disclosure is a program for causing a computer to execute the learning method. Effect of the Invention
[0009] The present disclosure makes it possible to provide a learning method, a learning device, and a program that are capable of using a learning dataset in which some of the training data is labeled with true labels to generate a learning model with performance similar to that obtained by machine learning using a learning dataset in which all of the training data is labeled with true labels. [Brief description of the drawings]
[0010] [Figure 1] 1 is a block diagram showing an example of a configuration of a learning device according to an embodiment; [Diagram 2] 2 is a flow diagram for explaining an example of a learning method performed by the learning device of FIG. 1. [Diagram 3] FIG. 11 is a diagram showing an example of an algorithm of a learning method according to an embodiment. [Figure 4] 4 is a diagram showing experimental results using the algorithm of FIG. 3 and an algorithm according to a comparative example. FIG. [Diagram 5] FIG. 4 is a diagram showing experimental results for the algorithm of FIG. 3. [Figure 6] FIG. 4 is a diagram showing experimental results for the algorithm of FIG. 3. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] The present invention will be described below through embodiments of the invention, but the invention according to the claims is not limited to the following embodiments. Also, not all of the configurations described in the embodiments are necessarily essential as means for solving the problems.
[0012] (Embodiment) The learning method according to the present embodiment (hereinafter, this method) is a method for learning a source domain (hereinafter, D S ) dataset and target domain (hereafter, D T ) and the coefficient of the learning model to be generated (hereinafter, the target learning model) are calculated by machine learning. Here, D S The dataset is the correct training data with true labels (hereinafter, the first training data), and D T The dataset is a dataset of training data (hereinafter, the second training data) that has been previously labeled with noise. T The noise labels in are adopted to increase the learning information. These noise labels can be obtained relatively easily by using heuristics, crowdsourcing, or a simple model. In this method, by performing machine learning while calculating the weights using such a dataset, a learning model with performance close to that of machine learning performed using a dataset in which all learning data is labeled with true labels can be generated using a dataset in which a part (i.e., a small number) of learning data is labeled with true labels. An example of this method will be described below with reference to Figures 1 and 2. Note that in the following description, for convenience, the same symbols as those for scalar quantities are used for vector quantities in some places, but it is clear from the description which one is being represented.
[0013] Although not shown in FIG. 1, the learning device 1 according to this embodiment may include an input unit for inputting a data set used for learning, and a calculation unit for calculating weights and coefficients of a target learning model by machine learning. The learning device 1 may include the above-mentioned input unit and calculation unit as a control unit. This control unit may be realized, for example, by an integrated circuit, and may be realized, for example, by a processor such as an MPU (Micro Processor Unit) or a CPU (Central Processing Unit), a working memory, and a non-volatile storage device. A control program executed by the processor is stored in this storage device, and the processor reads the program into the working memory and executes it, thereby fulfilling the functions of the above-mentioned input unit and calculation unit.
[0014] The learning device 1 can be configured, for example, by a computer, and can also be configured to include a computer as is clear from the above-mentioned example of the control unit. Therefore, the above program can be said to be a program for causing a computer to execute the process described as the present method. The learning device 1 can also be configured by distributing the functions to multiple devices.
[0015] As shown in FIG. 1, the learning device 1 can include a learning model 11 expressed by a function g, a learning model 12 expressed by a function l, a learning model 13 expressed by a function h, an operator 14, an operator 15, and a discriminator 16.
[0016] The input unit receives a data set of the first training data, which is the correct training data with the true label attached, as D S The second training data set, which is training data with noise labels, is input as D T The label is a value attached to the data, and is, for example, a two-dimensional vector quantity that indicates either true or false. Of course, the label can also be a three- or higher-dimensional vector quantity.
[0017] In the configuration example of FIG. 1, the input unit corresponds to a part responsible for inputting a data set to the learning model 11, and inputting data sets from the learning model 11 to the learning models 12 and 13. The learning device 1 may also include a storage unit (not shown) that stores a data set to be input to the learning model 11, and the storage unit that stores this data set may be connected to the learning device 1 as long as the data set can be input by the input unit. The storage unit may also be embodied in the non-volatile storage device described above.
[0018] The above calculation section is D S The dataset and D T Using the dataset, for each label, D S The dataset and D T The weights, which are the ratios of the data set to D, and the coefficients of the target learning model are calculated by machine learning. S D for the dataset T The ratio of the data set, or D T The ratio of the source domain dataset to the total dataset can be used to refer to the ratio of the source domain dataset to the total dataset.
[0019] In particular, the calculation unit is D S The dataset and D T Machine learning is performed under the condition that the data set of D and D are the same value for the same label using a predetermined conversion formula. In other words, the calculation unit calculates D according to the setting of Generalized Label Shift (GLS). S The dataset and D T Using this dataset, the weights for each label and the coefficients of the target learning model are calculated by machine learning. Calculating the weights and coefficients means calculating the coefficients while calculating the weights, that is, generating the target learning model while calculating the weights.
[0020] The function g is a function corresponding to the above-mentioned predetermined conversion formula. For example, the function g is D S The dataset and D TThe function g can be a function expressing the learning model 11 that performs machine learning using both the data set of D and the data set of D. X is data indicating two or more dimensional features input to the learning model 11, and is a vector quantity. The algorithm of the learning model 11, including the function g, is not important, but the function g is expressed as D S The dataset and D T For example, D S The dataset is a photo image dataset and D T If the dataset is an animation graphics image dataset, the two have slightly different patterns, but there are also common patterns between these different domains. If we focus on the common patterns, we can see that D S and D T Since the information can be handled in the same way as in D, the function g can be a function that performs preprocessing to enable such handling. In other words, the function g is D S The dataset and D T It can be trained by machine learning to act as a filter that extracts only patterns common to both datasets.
[0021] The learning device 1 calculates the coefficients of the learning model 11, i.e., the coefficients of the above-mentioned predetermined conversion formula, by machine learning. The learning device 1 calculates the coefficients of the learning model 11, i.e., the coefficients of the above-mentioned predetermined conversion formula, by machine learning. S The dataset and D T Both the data set Z and g(X) are input to the learning model 11 to obtain an output result from the learning model 11. In the learning stage of the classifier 16, the output Z=g(X) from the learning model 11 is input to the learning models 12 and 13 and the calculators 14 and 15.
[0022] The function h is D Sis a function expressing the learning model 13 which performs machine learning in, and an output for the first learning data out of the output Z=g(X) of the learning model 11 is input to the learning model 13. The algorithm of the learning model 13 is not important, but it is advisable to determine the explanatory variables according to the output of the learning model 11. The learning device 1 calculates the coefficients of the learning model 13 by machine learning based on the input data set (step S1). In the operation stage of the learning model 13, that is, in the learning stage of the discriminator 16, the learning device 1 inputs the output for the first learning data out of the output Z from the learning model 11 to the learning model 13, and obtains an output result from the learning model 13. In the learning stage of the discriminator 16, the output Y=h(g(X)) from the learning model 13 is input to the calculator 14. Y is D S The calculator 14 calculates the cross product of g(X) and h(g(X)) in the learning stage of the classifier 16, and outputs the cross product to the classifier 16 (step S2).
[0023] The function l is D T g(X) is a function expressing the learning model 12 which performs machine learning in, and the output for the second learning data out of the output Z=g(X) of the learning model 11 is input to the learning model 12. The algorithm of the learning model 12 can be the same as the algorithm of the learning model 13, but the algorithm may be different from that of the learning model 13 as long as at least the explanatory variables and the target variables are the same. The learning device 1 calculates the coefficients of the learning model 12 by machine learning based on the input data set (step S3). In the operation stage of the learning model 12, that is, in the learning stage of the classifier 16, the learning device 1 inputs the output for the second learning data out of the output Z from the learning model 11 to the learning model 12 and obtains an output result from the learning model 12. In the learning stage of the classifier 16, the output from the learning model 13 is ~ Y=l(g(X)) is input to the calculator 15. ~ Y is D T This refers to the value of the noise label attached to the second learning data. ~ Not only Y, but also " before English letters ~" represents the English letter tilde. In the learning stage of the discriminator 16, the calculator 15 calculates the cross product of g(X) and l(g(X)) and outputs the result to the discriminator 16 (step S4). Note that in FIG. 2, as long as the order between steps S1 and S2 and the order between steps S3 and S4 are correct, the order of steps S1 to S4 does not matter, and the order of steps S1, S3, S2, S4 may be adopted.
[0024] The classifier 16 is an example of a learning device that generates a target learning model used in the operation stage, and before operation, that is, in the learning stage, the calculation results output from the calculators 14 and 15 are input, and the weights for each label and the coefficients of the target learning model are calculated by machine learning (step S5). Here, the classifier 16 calculates, for example, the cross product of g(X) and h(g(X)) and the cross product of g(X) and l(g(X)), i.e., D S The probability distribution of the true label for the dataset and D T By using machine learning to match the probability distribution of the noisy labels for the dataset, the weights can be adjusted to values that allow the noisy labels to be considered as true labels.
[0025] More specifically, the classifier 16 uses a probability distribution P S and the probability distribution P T The weight w jk and the coefficients of the target learning model can be calculated by machine learning. In this embodiment, as described above, the weights w jk To make the value closer to the true value, we use noise labels ~ We also use the information of Y, and the weight w jk is the (j,k) component of the weight. ~ T jk =P S Let (l(g(X))=j,Y=k), then w jk = ~ T jk -1 P T ( ~ Y), so the weight w jk can be defined as follows: w jk =(1-γ){Tjk -1 P T (h(g(X)))}+γ{ ~ T jk -1 P T ( ~ Y)}
[0026] In the above equation, γ is a hyperparameter that satisfies γ∈[0,1]. T jk D S The task for the (j,k)th component in ~ T jk D T The (j,k)th component of the task in P S (Specifically, P S (Z|Y) is D S Probability distribution of the true label in P T (Specifically, P T (Z|Y) is D T g is the probability distribution of the noise label in the above given transformation formula, D S and D. T h is a function that represents the common learning model 11 for D S A function that represents the learning model 13 for D T This is a function that represents the learning model 12 for
[0027] The algorithm of the target learning model is not important, but may be an algorithm including the algorithm of learning model 13 or learning model 13 and learning model 12. In practice, the algorithm of learning model 13 or learning models 12 and 13 may be determined so as to correspond to the algorithm of the target learning model. This makes it possible to calculate weights and coefficients of the target learning model that reflect the output results of learning model 13 or the output results of learning model 13 and learning model 12.
[0028] As described above, the calculation unit can be configured to include learning models 11 to 13, calculators 14 and 15, and a discriminator 16, and the learning model group 10a represented by learning models 11 to 13 is defined and arranged so as to be represented by mapping 10b.
[0029] As described above, according to this embodiment, it is possible to generate a learning model with performance close to that of a learning model performed using a learning data set in which all learning data is labeled with true labels, by using a learning data set in which a portion of the learning data (a small number of learning data) is labeled with true labels.
[0030] In the above explanation, the probability distribution P S and the probability distribution P T We will give an example of machine learning to combine and and also set the weights to w jk An example of the method defined by is given below, and a more detailed algorithm example of the method will be described later, but the method is not limited to these examples. In the method, the weights according to the probability distribution of the noise labels can be calculated by the process of attaching the noise labels as described above, and the weights can be converged to values close to the true values, that is, the calculation accuracy of the weights can be improved. Therefore, even if the method is not limited to these examples, it can be said that the method has the effect of bringing the target learning model closer to the performance of a learning model when machine learning is performed using a learning data set in which all learning data is labeled with true labels.
[0031] (Example of algorithm) An example of an algorithm (learning algorithm) for implementing this method will be described with reference to Figs. 3 to 6. The algorithm 20 shown in Fig. 3 will be described with reference to an example described as Algorithm 1 in Non-Patent Document 1 as a comparative example. Each symbol in the algorithm 20 shown in Fig. 3 follows the definition shown by reference numeral 21 in Fig. 3, and the other definitions follow the definitions described in Non-Patent Document 1. Fig. 4 is a diagram showing experimental results for the algorithm 20 in Fig. 3 and an algorithm according to the comparative example. Figs. 5 and 6 are diagrams showing experimental results for the algorithm 20 in Fig. 3.
[0032] We will start by explaining the background of Algorithm 20. The remarkable development of deep learning technology in recent years is largely due to the ability to collect and process large amounts of labeled data, but in reality, there are many situations in which collecting labeled data is difficult. Unsupervised Domain Adaptation (UDA) has been actively researched as one technique for solving this problem. UDA is a type of transfer learning that uses labeled data obtained from a different domain (distribution) to construct a high-performance classifier in the target domain. In what follows, we will refer to the domain in which the data of interest occurs as D T Let D be the domain from which the labeled data are obtained. S In many cases, UDA comes down to learning a transformation (function) that matches the joint distribution of label Y and data X in the source and target. T Since we cannot obtain labels for the source distribution D S (Y,X) and target distribution D T Certain assumptions about the relationship between (Y,X) are required. Commonly considered assumptions include covariate shift and label shift. The former is D S (X) ≠ D T (X),D S (Y|X)=D T (Y|X), the latter being D S (Y) ≠ D T (Y), D S (X|Y)=D T These assumptions simplify the problem and make UDA easier, but they also limit the range of problems that can be applied in practice. Therefore, Generalized Label Shift (GLS) has been attracting attention as a more lenient assumption. GLS is a setting that relaxes label shift, and D S (Y) ≠ D T (Y) remains the same, but D S (Z|Y)=D T We require that there exists a transformation Z=g(X) of X that satisfies (Z|Y). In UDA under GLS, it is important to estimate g, and since the class prior probabilities differ between the source and target, this information is also necessary. Specifically, w y =D T(Y=y) / D S (Y=y) is estimated, and D S It is necessary to adjust the distribution by weighting the data of , and the results of the numerical experiment of the technology in Non-Patent Document 1 show that the better the estimation of w, the lower the D T However, in UDA, the estimated value of w does not necessarily converge to the true value (Lemma 3.3 of the technique in Non-Patent Document 1). Algorithm 20 extends the technique in Non-Patent Document 1 and improves the classification accuracy in D T In this paper, we consider a new domain adaptation method in a situation where noise labels, which are relatively easy to obtain through crowdsourcing, can be used as auxiliary information. Although Algorithm 20 requires noise labels, it is possible to obtain an appropriate D S As long as you can set T Noise labels in are relatively easy to obtain. For example, when estimating the behavior of each user using a smartphone, it is difficult to achieve high-precision estimation for everyone using a single model trained using data collected from experiments in a controlled environment because there are individual differences in behavioral tendencies. However, it is possible to build individual models by performing domain adaptation using the experimental data as the source and each user's data in a real environment as the target. In this case, by making predictions using a model trained from the experimental data, noise labels for each user's data can be obtained with almost no additional cost.
[0033] Algorithm 20 is D T This paper defines Noisy-labeled Domain Adaptation (NDA) using noise labels in a deep learning algorithm that extends the technology in Non-Patent Document 1.
[0034] First, the task setting will be described. Consider k-class classification. X∈Χ⊂R p Let Y∈[k]:={1,...,k} be the probability vector of p-dimensional features, and let Y∈[k]:={1,...,k} be the true label. ~ Let Y∈[k] be a random variable with noise labels, and let Z∈Ζ⊂R denote samples by lowercase letters. qLet be the q-dimensional intermediate feature representation, and the functions from the data to the intermediate representation and from the intermediate representation to the true label and the noise label are denoted by g:Χ→Ζ, h:Ζ→[k], and l:Ζ→[k], respectively. The goal is D S i.d. sample of {(y S i ,x S i ) i=1 n and D T iid sample {( ~ y T j ,x T j ) i=1 m From D T The goal is to construct a classifier that is adapted to Z. For the noise labels, we assume that the feature-dependent noise (Instance-Dependent Noise; IDN) is determined depending on Z.
[0035] In GLS, the distribution is D S (Y) ≠ D T (Y) and D S (Z|Y)=D T The condition (Z|Y) is satisfied. The ratio of g and class prior probability w that gives a common representation Z between domains y =D T (Y=y) / D S Using (Y=y), we obtain the following proposition. Proposition 1: Under GLS, the following holds for any function f. Σ y=1 k {w y D S (f(Z),Y=y)}=D T (f(Z))
[0036] Proposition 1 is an extension of Lemma 3.2 of the technique in Non-Patent Document 1, so the proof is omitted. Lemma 3.2 in Non-Patent Document 1 is a special case of Proposition 1 where f = h, and w is estimated from this relationship. Specifically, the confusion matrix C∈R k×k and a vector of class probabilities μ∈R k If we define each component of by the following formula (1), then from Proposition 1 we have C w= μ, so if C is regular, then w = C -1 It can be estimated as μ. C y,y′ =D S (h(Z)=y,Y=y′), μ y =D T (h(Z)=y) (1)
[0037] Since Proposition 1 holds for any f, D T If noise labels are added, then by setting f = l, w can be estimated from the noise label information. k×k and the vector of class probabilities ν∈R k If each component is defined by the following equation (2), then w = K -1 ν holds. K y,y′ =D S (l(Z)=y,Y=y′), ν y =D T (l(Z)=y) (2)
[0038] Algorithm 20 is an NDA learning algorithm and a pseudocode example of such a method. θ , h φ ,l η are models of g, h, and l with the indices as parameters, and d ψ is a classifier with ψ as a parameter, and corresponds to an example of the classifier 16. DA w d ψ Identification error due to L C w h φ By D S Classification error of the sample, L N w is η By D T are the classification errors of the noise labels of, which are defined as follows: L DA w (x S ,y S ,x T ;θ,ψ)=-(1 / s)Σ i=1 s {w ySi log(d ψ (g θ (x S i )))+log(1-d ψ (g θ (x T i )))} L C w (x S ,y S ;θ,φ)=-(1 / s)Σ i=1 s {(1 / k D S (Y=y))log(hφ(g θ (x S i )) yS i} L N w (x T , ~ y T ;θ,η)=-(1 / s)Σ i=1 s {(1 / k D T (Y= ~ y))log(l η (g θ (x T i )) ~yT i}
[0039] In Algorithm 20, w is estimated by combining formula (1) and formula (2). Specifically, it is estimated from the following formula (3), which is a convex combination of the estimators C^, K^, μ^, and ν^ of C, K, μ, and ν using hyperparameters γ∈[0,1]. Note that the "^" after a letter, not just C^, represents the hat of that letter. (γC^+(1-γ)K^)w=γμ^+(1-γ)ν^ (3) In order to guarantee that w must satisfy this property, the constrained quadratic programming problem (expressed as QP(γC^+(1-γ)K^, γμ^+(1-γ)ν^)) shown in the following equation is solved, similar to the technique in non-patent document 1. min w ||γμ^+(1-γ)ν^-(γC^+(1-γ)K^)w||2 2 subject to w≧0,w T D S (Y)=1
[0040] Next, we evaluate the proposed method through numerical experiments using multiple datasets for algorithm 20. The following datasets and deep learning models are used, and the experimental results are presented. <Dataset> We have applied the method to three standard image datasets used in domain adaptation tasks: MNIST / USPS [LeCun 98(LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P.: Gradient-based learning applied to document recognition, Proceedings of the IEEE, Vol. 86, No. 11, pp. 2278-2324 (1998)), Briёt 09(Briёt, J. and Harremoёs, P.: Properties of classical and quantum Jensen-Shannon divergence, Physical review A, Vol. 79, No. 5, p. 052311 (2009))], and Office-31 [Saenko 10:Saenko, K., Kulis, B., Fritz, M., and Darrell, T.: Adapting visual category models to new domains, in European conference on computer vision, pp.213-226 (2010)] and Office-Home [Venkateswara 17(Venkateswara, H., Eusebio, J., Chakraborty, S., and Panchanathan, S.: Deep hashing network for unsupervised domain adaptation, in Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 5018-5027 (2017))].
[0041] MNIST / USPS are handwritten digit datasets, with 60,000 / 7,000 training images and 10,000 / 2,000 test images, respectively. Office-31 is a dataset consisting of 31 classes of images across three domains: Amazon, DSLR, and Webcam, with 2,000 / 400 / 600 training images and 600 / 100 / 200 test images. Office-Home is a dataset consisting of 65 classes of images across four domains: Artistic, Clipart, Product, and Real-World images, with 2,000 / 4,000 / 4,000 / 4,000 training images and 500 / 900 / 900 / 900 test images, respectively. For each task, D S In this case, we directly use the true labels, T We generated noisy labels using the method described in [Xia 20(Xia, X., Liu, T., Han, B., Wang, N., Gong, M., Liu, H., Niu, G., Tao, D., and Sugiyama, M.: Part-dependent label noise: Towards instance-dependent label noise, Advances in Neural Information Processing Systems, Vol. 33, pp. 7597-7610 (2020))].
[0042] <Deep learning model> Following the technique of Non-Patent Document 1, θFor MNIST / USPS, we used LeNet [LeCun 98(LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P.: Gradient-based learning applied to document recognition, Proceedings of the IEEE, Vol. 86, No. 11, pp. 2278-2324 (1998))], and for Office-31 / Office-Home, we used ResNet-50 [He 16(He, K., Zhang, X., Ren, S., and Sun, J.: Deep residual learning for image recognition, in Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770-778 (2016))]. φ ,l η is a linear mapping from the Z-space to class labels, d ψ A three-layer perceptron was used. Stochastic gradient descent was used for learning, and other parameters followed the technique in Non-Patent Document 1. As for γ, after examining several transition patterns, we decided to use the following implementation with δ=0.3. Gamma δ (t;E)=1-t / E if t / E<δ, =1-max(2δ-t / E,0) otherwise.
[0043] <Experimental Results> FIG. 4 shows tables Ta1, Ta2, and Ta3 showing the experimental results. Table Ta1 shows the experimental results for the MNIST / USPS dataset. Specifically, Table Ta1 shows the performance of D T The accuracy rate for the test data is shown. S The first letter of →D TThe label reversal rate in NDA is 30%. The bold text indicates the maximum value of each average accuracy rate. The sub-sampled data in Table Ta1 is D S In this method, the number of samples is reduced to 30% for only half of the classes. For comparison, the paper values for classification accuracy in the UDA task in Non-Patent Document 1 and the results of a reproduction experiment using the code published by the author (https: / / github.com / microsoft / Domain-Adaptation-with-Conditional-Distribution-Matching-and-Generalized-Label-Shift) are listed as [Combes 20]. While the paper values could be reproduced for M → U, the classification accuracy varied greatly depending on the initial values for U → M, and the paper values could not be reproduced. For M → U, accuracy is improved by more than the standard deviation, and even for U → M, NDA is slightly better.
[0044] Tables Ta2 and Ta3 show the experimental results for the Office-31 and Office-Home datasets, respectively. Specifically, Table Ta2 shows the performance of D T The accuracy rate for the test data of is shown together with the average and standard deviation of three trials. Here, the average deviation refers to the average deviation for each task. The label reversal rate for NDA is 30%. In Table Ta2, bold indicates the side with a higher accuracy rate. It can be seen that NDA has higher classification accuracy for many combinations of Office-31, and also has a higher average accuracy. Table Ta3 also shows the accuracy rate for D T The accuracy rate for the test data is shown. The average is shown for three trials for each domain combination. The label reversal rate for NDA is 30%. In Table Ta3, bold indicates the side with a higher accuracy rate. For Office-Home, NDA showed better performance in all combinations, and the average classification accuracy was improved by more than 5%.
[0045] Figure 5 shows the classification accuracy (correctness rate) on the target domain test data (solid line, dashed line) and the Euclidean distance from the true value of w (dashed line, dotted line) during training on the MNIST / USPS dataset for UDA and NDA, respectively. Here, the upper graph in Figure 5 shows the experimental results for M → U, and the lower graph shows the experimental results for U → M. The solid and dashed lines show the experimental results for NDA (label reversal rate 30%), and the dashed and dotted lines show the experimental results for UDA. In addition, for each line, the thin line shows the actual progress in each trial, and the thick line shows the average value. Looking at Figure 5, looking at the final convergence destination, w is closer to the true value for NDA. UDA converges monotonically in both accuracy and distance from the true value of the weight, but in NDA, w deviates from the true value during the period when γ is large (around epoch 20). As mentioned above, the classification accuracy and w tend to converge when going from M to U, whereas when going from U to M, there was variation in the classification accuracy and w for each learning session.
[0046] Figure 6 shows the label reversal rate and classification accuracy (correct rate) for the target domain test data in the MNIST / USPS dataset. Here, the upper graph in Figure 6 shows the experimental results for M → U, and the lower graph shows the experimental results for U → M. In addition, in each graph, × indicates the correct rate for each trial, - indicates the average value, and the dashed line indicates the correct rate for UDA. As can be seen from Figure 6, in all cases, including a reversal rate of 80%, NDA had a higher average correct rate. However, in the M → U case, there was a tendency for performance to slightly decrease as the noise rate increased.
[0047] As described above, Algorithm 20 has been shown to be effective through experiments using multiple datasets. In particular, even when the label reversal rate was extremely high at 80%, an average accuracy rate exceeding UDA was obtained. Although some experiments confirmed learning instability, as described above, it can be said that Algorithm 20 is effective.
[0048] The present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit and scope of the present invention. [Explanation of symbols]
[0049] 10 learning device, 11, 12, 13 learning model, 14, 15 calculator, 16 classifier
Claims
1. A dataset of correct learning data with true labels, prepared for calculating the coefficients of the learning model to be generated, is input as the source domain. A data set of noise-labeled learning data prepared for calculating the coefficients of the learning model to be generated is input as a target domain; Calculating weights, which are ratios between the source domain dataset and the target domain dataset for each label, and coefficients of the learning model to be generated, by machine learning using the source domain dataset and the target domain dataset, on the condition that the source domain dataset and the target domain dataset have the same values for the same label using a predetermined conversion formula; How to learn.
2. γ is a hyperparameter that satisfies γ∈[0,1], T jk the task of the (j, k) component in the source domain, ~ T jk Let P be the task of the (j, k) component in the target domain. S Let P be the probability distribution of the true label in the source domain. T is a probability distribution of the noise label in the target domain, g is a function expressing a learning model common to the source domain and the target domain as the predetermined transformation formula, h is a function expressing a learning model for the source domain, l is a function expressing a learning model for the target domain, and the (j, k) component of the weight is expressed by w jk Let P S and the probability distribution P T Calculating the weights and the coefficients of the learning model to be generated by machine learning so as to match w jk =(1-γ){T jk -1 P T (h(g(X)))}+γ{ ~ T jk -1 P T ( ~ Y)} Where: ~ T jk =P S (l(g(X))=j, Y=k) The learning method according to claim 1 .
3. an input unit that inputs, as a source domain, a data set of correct learning data with a true label, which is prepared for calculating coefficients of a learning model to be generated, and inputs, as a target domain, a data set of learning data with a noise label, which is prepared for calculating coefficients of the learning model to be generated; a calculation unit that calculates, by machine learning, a weight, which is a ratio between the source domain dataset and the target domain dataset for each label, and a coefficient of the learning model to be generated, using the source domain dataset and the target domain dataset, on the condition that the source domain dataset and the target domain dataset have the same value for the same label using a predetermined conversion formula; A learning device equipped with
4. The calculation unit is configured to set γ as a hyperparameter satisfying γ∈[0,1], T jk the task of the (j, k) component in the source domain, ~ T jk Let P be the task of the (j, k) component in the target domain. S Let P be the probability distribution of the true label in the source domain. T is a probability distribution of the noise label in the target domain, g is a function expressing a learning model common to the source domain and the target domain as the predetermined transformation formula, h is a function expressing a learning model for the source domain, l is a function expressing a learning model for the target domain, and the (j, k) component of the weight is expressed by w jk Let P S and the probability distribution P T Calculating the weights and the coefficients of the learning model to be generated by machine learning so as to match w jk =(1-γ){T jk -1 P T (h(g(X)))}+γ{ ~ T jk -1 P T ( ~ Y)} Where: ~ T jk =P S (l(g(X))=j, Y=k) The learning device according to claim 3 .
5. A program for causing a computer to execute the learning method according to claim 1 or 2.
Citation Information
Patent Citations
Method, apparatus and program for generating training speech data for target domain
JP2014219605A
Machine learning data generation method, meta-learning method, machine learning data generation device and program
JP2022124989A
Prediction model construction device, prediction model construction method and prediction model construction program recording medium
WO2019215904A1
