Machine learning device, machine learning method, and machine learning program

The machine learning device enhances classification accuracy by generating labeled data from challenging inference results and re-training the model, addressing the inefficiency in existing semi-supervised learning methods.

JP7790541B2Active Publication Date: 2025-12-23JVC KENWOOD CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024228518
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-12-23
Estimated Expiration
2041-02-05

AI Technical Summary

Technical Problem

Classifier-based bootstrap methods in semi-supervised learning do not significantly improve classification accuracy despite using unlabeled data with high confidence, as the similarity of inference data to labeled data is not effectively leveraged.

Method used

A machine learning device that includes an inference unit to evaluate the likelihood of candidate labels for unlabeled data, an evaluation unit to generate labeled data by assigning a first candidate label, and a learning unit to re-train the model using this labeled data, focusing on data where the inference result is split between two candidates.

Benefits of technology

Improves classification accuracy by effectively utilizing data that is difficult to classify, enhancing the training process with additional labeled data generated from such challenging inputs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007790541000001
    Figure 0007790541000001
  • Figure 0007790541000002
    Figure 0007790541000002
Patent Text Reader

Abstract

To provide a machine learning technique capable of enhancing classification accuracy.SOLUTION: An inference unit 40 infers a label of unlabeled data using a trained model stored in a trained model storage unit 30. An evaluation unit 50 evaluates a probability indicative of likelihood of each candidate of an inference result and, if the inference result is split between a first candidate and a second candidate, attaches a label of the first candidate to the unlabeled data to generate labeled data. A learning unit 20 re-learns the trained model using the labeled data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to machine learning techniques. [Background technology]

[0002] Unsupervised learning does not require labeling of data, so data preparation is simplified. It has the advantage of being able to use a large amount of data for learning in a short time, but However, it has the drawback of being less efficient than learning with a small amount of labeled data. Semi-supervised learning that can easily and efficiently learn using a large amount of unlabeled data Practice is proposed.

[0003] Patent Document 1 includes a feature extractor but does not include a generator, and performs recognition processing of an input image. The semi-supervised learning of image recognizers, which are information converters, is performed by reducing the possibility of competition between learning. An information processing device is disclosed. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Publication No. 2019-207561 Summary of the Invention [Problem to be solved by the invention]

[0005] Classifier-based bootstrap methods in semi-supervised learning use trained classifiers to Inference is performed on unlabeled data using the algorithm, and the results are added to the labeled data with high confidence. Here, the inference data with high confidence is the There is a high probability that the data is similar to the data with a high level of accuracy. It is known that learning more data is effective, and the data is similar to the labeled data. Even if similar inference data with high confidence is used for training, classification accuracy does not improve significantly.

[0006] The present invention has been made in view of the above circumstances, and its object is to improve classification accuracy. The objective of this invention is to provide machine learning technology that can [Means for solving the problem]

[0007] In order to solve the above problem, a machine learning device according to an embodiment of the present invention uses a trained model. The inference part infers the label of unlabeled data, and the inference part estimates the likelihood of each candidate of the inference result. If the inference result is split between the first and second candidates, the unlabeled data is used. an evaluation unit that generates labeled data by assigning a first candidate label to the data; and a learning unit that re-learns the trained model using the trained data.

[0008] Another aspect of the present invention is a machine learning method. The method includes: The inference step for inferring labels for unlabeled data and the likelihood of each candidate inference result are shown. If the inference result is split between the first and second candidates, the unlabeled data An evaluation step generates labeled data by assigning the first candidate label to the data; and a learning step of re-learning the trained model using new data.

[0009] Any combination of the above components, and the expression of the present invention may be used as a method, an apparatus, a system, a recording medium, Conversions between the body, computer program, etc. are also valid aspects of the present invention. be. [Effects of the Invention]

[0010] According to the present invention, it is possible to provide a machine learning technique that can improve classification accuracy. Cut. [Brief explanation of the drawings]

[0011] [Figure 1] FIG. 1 is a configuration diagram of a machine learning device according to an embodiment. [Figure 2] 2 is a flowchart illustrating a machine learning procedure performed by the machine learning device of FIG. 1. DETAILED DESCRIPTION OF THE INVENTION

[0012] FIG. 1 is a configuration diagram of a machine learning device 100 according to an embodiment. , an input unit 10, a learning unit 20, a trained model storage unit 30, an inference unit 40, an evaluation unit 50, and and an output section 60.

[0013] The input unit 10 supplies unlabeled data to the inference unit 40 and the labelled data supplied by the evaluation unit 50. The data with a bell is supplied to the learning unit 20. Here, an example of image recognition will be explained. The data input to the system is an image of the object to be recognized, for example, an image of a person, a motor vehicle, These include images of Iku, images of cars, and images of bicycles.

[0014] The trained model storage unit 30 stores a trained model using a pre-trained data set with labels. The object recognition model with excellent recognition accuracy is stored.

[0015] The inference unit 40 uses the trained object recognition model stored in the trained model storage unit 30. The output unit 60 recognizes objects in the input image, which is unlabeled data. The recognition result is output.

[0016] The evaluation unit 50 evaluates the likelihood of each candidate of the inference result of the inference unit 40 on the unlabeled data. The evaluation unit 50 evaluates the probability that the inference result is divided into two parts, the first candidate and the second candidate. The first candidate label is assigned to the data that is difficult to classify, and labeled data is generated. In the case of image recognition, the probability of each candidate recognition result for the input image is evaluated, and the recognition result is Extracts input images that are difficult to classify, and assigns the first candidate label to the image. For example, if the recognition result of an input image is a bicycle as the first candidate and a bicycle as the second candidate, If the classification is between two motorcycles, the input image is labeled as the first candidate bicycle. and generate a labeled image.

[0017] The inference result is split into two parts: the inference result is split between the first and second candidates, and the third and subsequent candidates are split. The lower probability is a very low state.

[0018] The condition for the inference result to be split into two is, more specifically, the sum of the probability of the first candidate and the probability of the second candidate. The total is greater than the predetermined lower limit A, and the difference or ratio between the probability of the first candidate and the probability of the second candidate is The probability of the third or lower candidate being less than the predetermined upper limit B is also less than the predetermined upper limit C. Here, A, B, and C are generally different values. However, B and C can be the same value. For example, the probability that the input image is a bicycle is 57%, The probability that it is a motorcycle is 38%, the probability that it is a car is 5%, and the probability that it is a person is 0%. This is the result of inference.

[0019] Alternatively, the condition for the inference result to be divided into two is when the probability of the first candidate falls below a predetermined lower limit D. The range is an upper limit value E, and the sum of the probability of the first candidate and the probability of the second candidate is less than a predetermined lower limit value F. Furthermore, the condition is that the probability of the third or lower candidate is smaller than a predetermined upper limit G. Here, D, E, F, and G are generally different values, but E and F are For example, if 50%<probability of the first candidate<70%, and the first candidate You can also set the condition that the probability of the first candidate + the probability of the second candidate > 80%. Alternatively, you can set the condition that the probability of the first candidate < 55%. The probability range of the first candidate is 35% < 65% and the probability of the second candidate is 45%. The range of probability of each second candidate may be determined and used as a condition.

[0020] If the inference result of the unlabeled data satisfies the condition for dichotomy, the evaluation unit 50 classifies the data as The first candidate label is assigned to the data to generate labeled data, which is then supplied to the input unit 10. If the inference result of unlabeled data does not meet the dichotomous condition, the data has a low classification accuracy. Since this is not training data that is effective for improvement, it is not supplied to the input unit 10.

[0021] The learning unit 20 uses the labeled data supplied from the input unit 10 as data used for pre-learning. The trained object recognition model stored in the trained model storage unit 30 is added to the trained object recognition model set. Retraining is performed, the weights of the object recognition model are updated, and a new object recognition model is generated.

[0022] FIG. 2 is a flowchart illustrating the machine learning procedure performed by the machine learning device 100.

[0023] The inference unit 40 processes the input image of the recognition target given from the input unit 10 using the trained object recognition model. The image is input into the rule to recognize objects in the image (S10).

[0024] The evaluation unit 50 evaluates the inference result by the inference unit 40 and determines whether the inference result is a first candidate or a second candidate. If the image is divided into two parts (Y in S20), the first candidate label is assigned to the input image, and the input unit 10 If the inference result is not dichotomous (S20), N), no labeled data is generated, and the process returns to step S10 to input the next image.

[0025] Step 4: Repeat until a predetermined number of input images with the same label are collected, for example, 30 images (N in S40). The procedure from step S10 to step S30 is repeated. When the input images of the group have been accumulated (Y in S40), the learning unit 20 Generate a new dataset by adding a given number of labeled images to the set, and then The trained object recognition model is retrained using the dataset, and the weights of the trained object recognition model are The learning unit 20 generates a new object recognition model and updates the learned model record (S50). The data is stored in the memory unit 30 (S60).

[0026] In the above explanation, transfer learning was performed after a certain number of input images with the same label had been accumulated. Learning may be performed each time a labeled image is generated.

[0027] The various processes of the machine learning device 100 described above are performed using hardware such as a CPU and memory. It can be realized as a device using ROM (Read Only Memory) firmware stored in the device, flash memory, etc., and software such as computers This can also be achieved by firmware programs, software The program can be provided by recording it on a computer-readable recording medium, or by transmitting it via wired Alternatively, you can send and receive data to and from the server via a wireless network, or via terrestrial or satellite data. It is also possible to transmit and receive it as digital broadcast data.

[0028] As described above, according to the machine learning device 100 of this embodiment, the inference results of the classifier are By using this to perform additional learning on data that is difficult to classify, classification accuracy can be improved. To improve classification accuracy, it is effective to train more data that is difficult to classify. In this embodiment, data for which the inference result is divided into the first and second candidates is labeled. By using it as valid data for learning, classification accuracy is improved.

[0029] The present invention has been described above based on the embodiments. The embodiments are merely examples, and the respective structures thereof are not intended to be limiting. The fact that various variations are possible in the combination of components and each treatment process, and that such variations It will be understood by those skilled in the art that such modifications are also within the scope of the present invention. [Explanation of symbols]

[0030] 10 input unit, 20 learning unit, 30 trained model memory unit, 40 inference unit, 50 evaluation unit, 60 output unit, 100 machine learning device.

Claims

1. The probability of each candidate inference result when inferring the label of unlabeled data using a trained model. If the inference result is split between the first and second candidates, the label is an evaluation unit that generates labeled data by assigning a first candidate label to the unlabeled data; Including, The evaluation unit further determines whether the probability of the third or lower candidate in the inference result is smaller than a predetermined upper limit value. and as a condition for determining whether the inference result is divided between the first and second candidates. A learning device that features:

2. The probability of each candidate inference result when inferring the label of unlabeled data using a trained model. If the inference result is split between the first and second candidates, the label is an evaluation step of generating labeled data by assigning a first candidate label to the unlabeled data; Including, The evaluation step further determines whether the probability of the third or lower candidate in the inference result is smaller than a predetermined upper limit value. Add this as a condition for determining whether the inference result is split between the first and second candidates. A learning method characterized by:

3. The probability of each candidate inference result when inferring the label of unlabeled data using a trained model. If the inference result is split between the first and second candidates, the label is an evaluation step of generating labeled data by assigning a first candidate label to the unlabeled data; on the computer, The evaluation step further determines whether the probability of the third or lower candidate in the inference result is smaller than a predetermined upper limit value. Add this as a condition for determining whether the inference result is split between the first and second candidates. A learning program characterized by:

Citation Information

Patent Citations

  • Learning data selection device

    JP2017167834A

  • Information processing device, information processing method and program

    JP2019207561A

  • Learning device, identifier, learning method, and recording medium

    WO2016111241A1