Generation method, generation device, and generation program for re-learning model

The method automates the relearning process for object detection models by using initial training data with correct labels and position coordinates, reducing manual workload and enabling efficient, continuous data updates.

JP2024118978AActive Publication Date: 2024-09-02JFE STEEL CORP

Patent Information

Application Number
JP2023025619
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-09-02
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

The accuracy of machine learning models, particularly object detection models, is compromised by insufficient initial learning data or biased data, leading to the need for relearning, which involves a significant manual workload, especially when location information is required for training data.

Method used

A method for generating a relearning model through a process involving learning, prediction, relearning data generation, and retraining, using initial training datasets with correct labels and position coordinates, and automating the selection of relearning data based on confidence levels and feature amounts.

Benefits of technology

This approach significantly reduces the manual effort required for relearning, enabling continuous and automatic data updates, thereby minimizing the number of man-hours needed for model development and implementation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024118978000001
    Figure 2024118978000001
Patent Text Reader

Abstract

To provide a generation method for a re-learning method that reduces burden of re-learning a learning model in machine learning.SOLUTION: A generation method for a re-learning model for an object detection model in machine learning performed by an information processor comprises the steps of: outputting, using a learned model, a prediction result including a label of a candidate object and text data of a position coordinate and a confidence level from new image data; creating, on the basis of the confidence level and a feature of the candidate object included in the new image data, a re-learning dataset; and performing re-learning using the re-learning dataset.SELECTED DRAWING: Figure 2A
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to the field of retraining a trained object detection model generated using machine learning such as a neural network, and in particular to the automatic generation of a training dataset for use in retraining. [Background technology]

[0002] The accuracy of a learning model generated using machine learning such as neural networks depends on the data used for learning. Therefore, if there is little initial learning data or if the learning data is biased, the accuracy of the model decreases. For example, when generating a learning model that classifies defective products from images, there are cases where it is not possible to obtain sufficient images of defective products to use as learning data because the frequency of defective products occurring in the first place is low. Even if there is sufficient learning data, the vulnerability of the model becomes evident for data that is extrapolated from irregular cases. For example, there are cases where defective products occurring due to chronic issues are sufficient as learning data, but defective products occurring due to irregular cases such as sudden troubles cannot be determined. Therefore, in order to continuously maintain the accuracy of the learning model, ``relearning'' is required, in which learning data is continuously added and learning is performed.

[0003] Conventionally, in the task of generating training data for creating a learning model, a method has existed in which pseudo labels that are candidates for the correct label are generated and a judgment is made from among the pseudo labels using a combination of human visual inspection and calculations to determine the correct label to be assigned to an object in an image (Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent Publication No. 2021-89491

[0005] Japanese Patent Laid-Open Publication No. 2006-203363 (Patent Publication No. 2006-203363) introduces a method for reducing the burden of annotation work, which is one of the tasks of generating a learning model, in which metadata is added to learning data. This is effective in cases where the learning data is predetermined, but since the task of generating a learning model must start mainly with the selection of learning data, in cases such as re-learning, the task of selecting this learning data becomes a heavy burden. Specifically, in re-learning, learning data is extracted from images that could not be judged by the existing learning model. Therefore, there is a problem in that data for re-learning must be extracted from a large amount of image data that was once judged by the existing model. Furthermore, in a learning model, when only correct labels are assigned as metadata to image data for learning, such as an image classifier, it is possible to reduce the workload using a method such as that described in Japanese Patent Laid-Open No. 2003-203366. Summary of the Invention [Problem to be solved by the invention]

[0006] However, when learning data with location information added to it in addition to the correct answer label as metadata for object detection or region detection is required, the addition of location information requires manual intervention. In particular, when performing region extraction, the number of coordinate data points to be added as location information is very large, which causes a large workload. An object of the present disclosure is to provide an efficient re-learning method that solves the above problems. [Means for solving the problem]

[0007] A method for generating a re-learning model executed by an information processing device according to an embodiment of the present disclosure includes: A method for generating a re-learning model for an object detection model in machine learning, comprising: A learning step of generating a trained model using an initial learning dataset including a plurality of image data to which correct labels of objects and text data of position coordinates are assigned; A prediction step of outputting a prediction result including a label of a candidate object, a position coordinate, and text data of a confidence level from new image data using the generated trained model; a re-learning data generation step of creating a re-learning data set from the prediction result based on the confidence level and features of the candidate object included in the new image data; a retraining step of generating a retrained model using the retrained data set; has.

[0008] An apparatus for generating a re-learning model according to an embodiment of the present disclosure includes: A device for generating a re-learning model for an object detection model in machine learning, comprising: A learning unit that generates a trained model using an initial training data set including a plurality of image data to which correct labels of objects and text data of position coordinates are assigned; A prediction unit that uses the generated trained model to output a prediction result including a label of a candidate object, position coordinates, and text data of a confidence level from new image data; a re-learning data generation unit that creates a re-learning data set from the prediction result based on the confidence level and features of the candidate object included in the new image data; a re-learning unit for generating a re-learned model using the re-learning dataset; Equipped with.

[0009] A program for generating a re-learning model according to an embodiment of the present disclosure includes: A program for generating a re-learning model for an object detection model in machine learning, comprising: generating a trained model using an initial training dataset including a plurality of image data to which correct labels of objects and text data of position coordinates are assigned; outputting a prediction result including a label of a candidate object, position coordinates, and text data of a confidence level from new image data using the generated trained model; creating a re-learning data set from the prediction result based on the confidence level and features of the candidate object included in the new image data; generating a retrained model using the retrained dataset; This is a program that executes the above. Effect of the Invention

[0010] According to an embodiment of the present disclosure, it is possible to significantly reduce the load of the re-learning work of the learning model, which has conventionally required a large amount of manpower. In addition, since the learning data can be continuously and automatically re-learned, it is possible to reduce the amount of learning data when generating the initial model, and the man-hours from model development to implementation can be reduced. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a re-learning model generation device according to an embodiment of the present disclosure. [Figure 2A] FIG. 1 is a diagram illustrating an overview of a method and apparatus for generating a re-learning model according to an embodiment of the present disclosure. [Figure 2B] FIG. 1 is a diagram illustrating an overview of a method and apparatus for generating a re-learning model according to an embodiment of the present disclosure. [Diagram 3] 1 is a flowchart illustrating a procedure of a re-learning model generation method according to an embodiment of the present disclosure. [Figure 4A] FIG. 13 is a diagram showing an overview of a detection result according to an embodiment of the present disclosure. [Figure 4B] FIG. 13 is a diagram showing an overview of a detection result according to an embodiment of the present disclosure. [Figure 4C] FIG. 13 is a diagram showing an overview of a detection result according to an embodiment of the present disclosure. [Figure 5A] FIG. 13 is a diagram illustrating an example of determining re-learning data according to an embodiment of the present disclosure. [Figure 5B] FIG. 13 is a diagram illustrating an example of determining re-learning data according to an embodiment of the present disclosure. [Figure 6A]FIG. 13 is a diagram illustrating an example of a summary of a detection result according to an embodiment of the present disclosure. [Figure 6B] FIG. 13 is a diagram illustrating an example of a summary of a detection result according to an embodiment of the present disclosure. [Figure 7] FIG. 1 is a diagram showing examples of various machine learning parameters and performance evaluation indexes according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, a re-learning model generating method and a re-learning model generating device according to an embodiment of the present disclosure will be described with reference to the drawings.

[0013] In each drawing, the same or corresponding parts are denoted by the same reference numerals. In the description of this embodiment, the description of the same or corresponding parts will be omitted or simplified as appropriate.

[0014] (Outline of the re-learning model generating device 20) A configuration of an information processing device 20 (hereinafter, referred to as a generating device 20) for generating a re-learning model according to this embodiment will be described below. Fig. 1 is a configuration diagram of the generating device 20 for a re-learning model according to this embodiment.

[0015] The relearning model generation device 20 includes a learning unit 21, a prediction unit 22, a prediction result processing unit 23, a relearning data candidate generation unit 24, a relearning data selection unit 25, a dataset creation unit 26, a relearning data generation unit 27, a relearning unit 28, a learning parameter optimization unit 29, a performance evaluation unit 30, and a judgment unit 31.

[0016] The learning unit 21 performs machine learning on an initial learning dataset 3, which includes initial image data 1, correct labels, and text data 2 of position coordinates, using an algorithm for object detection, and generates a learned model 4.

[0017] The prediction unit 22 infers new image data 5 using the trained model 4 generated by the learning unit 21, and obtains an output result for a candidate object in the image as a prediction result 6. The prediction result 6 may include the output result of the model including the label, position coordinate data, and confidence level of the candidate object.

[0018] The prediction result processing unit 23 uses a first threshold value related to the confidence level determined arbitrarily for the obtained prediction result 6, and adopts a prediction result with a confidence level equal to or higher than the first threshold value as a prediction result in which an object has been detected. On the other hand, the prediction result processing unit 23 rejects a prediction result with a confidence level lower than the first threshold value as a prediction result in which an object has not been detected. That is, even if a candidate object is detected as a result of a prediction using the trained model 4 for new image data 5, the prediction result 6 with a confidence level lower than the first threshold value is treated as a rejection result in which an object has not been detected. On the other hand, the prediction result 6 with a confidence level equal to or higher than the first threshold value is treated as a rejection result in which an object has been detected. The output of the prediction result processing unit 23 is the result of object detection by machine learning.

[0019] Next, a method of re-learning will be described. The re-learning data candidate generation unit 24, for prediction results 6 whose confidence level is less than the second threshold, sets the prediction results 6 together with the corresponding new image data 5 as a re-learning candidate dataset 7 (see FIG. 2A). The prediction results 6 determined to be adopted by the prediction result processing unit 23 include prediction results 6 whose object detection results have high confidence levels and prediction results 6 whose object detection results have low confidence levels. The re-learning data candidate generation unit 24 extracts the prediction results 6 whose confidence level is less than the second threshold level as the re-learning candidate dataset 7. Here, the re-learning candidate dataset 7 may include prediction results 6 determined to be unadopted by the prediction result processing unit 23.

[0020] The re-learning candidate dataset 7 contains a mixture of object groups 8 that should have been detected and object groups 9 that should not have been detected. That is, the low-confidence prediction results 6 include prediction results 6 that were correctly determined to be adopted and prediction results 6 that should not have been adopted. Furthermore, the rejected prediction results 6 may also include prediction results 6 that were correctly determined to be rejected and prediction results 6 that should have been adopted. For this reason, the re-learning data selection unit 25 separates these and selects a re-learning dataset 10 consisting of object groups 8 that should have been detected.

[0021] The classification of data for re-learning is determined based on a predetermined feature value related to the candidate object. The determination based on the predetermined feature value is performed by setting a third threshold value such as brightness value, RGB value, HSV value, etc., but it is effective to perform the classification determination after removing noise by binarizing the image data and performing grayscale processing.

[0022] The dataset creation unit 26 combines the re-learning dataset 10 with an existing learning dataset to create a new learning dataset 11. The new learning dataset 11 is used to generate a re-learning model 12 in a re-learning unit 28. As the learning parameters 13 at this time, the learning parameters used when the trained model 4 was generated may be used, but preferably, those optimized by a learning parameter optimization unit 29 are used.

[0023] The re-learning data candidate generation unit 24, the re-learning data selection unit 25, and the dataset creation unit 26 are components for creating a dataset for re-learning, and are collectively referred to as a re-learning data generation unit 27. The dataset creation unit 26 is optional, and when a new training dataset 11 is not created, the re-learning data candidate generation unit 24 outputs the re-learning dataset 10 to the re-learning unit 28.

[0024] The learning parameter optimization unit 29 generates various parameter values ​​13a, 13b... that are conditions during learning, generates a learning model using those parameters, and adopts the parameters that gave the best performance using each performance evaluation index 14 of the learning model.

[0025] The various parameters used are the learning rate, the hold-out ratio when dividing the entire data into training data and validation data in the hold-out method, momentum, weight decay, etc. The performance evaluation index 14 used is the precision rate, recall rate, IOU, etc.

[0026] The performance evaluation unit 30 performs performance evaluation of the re-learned model 12 and the existing trained model 4. The judgment unit 31 uses the performance evaluation index 14 of the re-learned model 12 and the existing trained model 4 provided by the performance evaluation unit 30 to make a judgment on switching the trained model.

[0027] According to the re-learning model generation device according to an embodiment of the present disclosure, a re-learning candidate dataset is generated together with new image data corresponding to a prediction result in which the confidence level is less than a second threshold and the feature amount of the candidate object satisfies a predetermined standard, and a re-learning data generation unit is included that creates a re-learning dataset from the re-learning candidate dataset, so that it is possible to significantly reduce the load of the re-learning work of the learning model, which has conventionally required a great deal of manpower. In addition, since the learning data can be continuously and automatically re-learned, it is possible to reduce the amount of learning data at the time of generating the initial model, and the man-hours from model development to implementation can be reduced.

[0028] (Method and device for generating relearning model) The method and device for generating a re-learning model according to this embodiment will be described in detail with reference to FIGS. 2A and 2B.

[0029] As shown in FIG. 2A, in this embodiment, first, an initial learning dataset 3 is prepared, which includes initial image data 1 for initial learning and text data 2 in which a correct answer label and position coordinates are described as metadata for an object (object) in the image. Here, the image data is color, grayscale, or monochrome, and preprocessing such as contrast adjustment may be added as necessary. In addition, the resolution and data format are arbitrary. As for the text data, a data format in which information corresponding to the algorithm to be used is described using a markup language such as xml may be used. The position coordinate data to be described is described in a format in which the coordinates of four points are described in the case of a rectangular box, or in a format in which the coordinates of the origin and the height and width of the box are described, and in the case of an area, the coordinates of the vertices of the area are specified. In this case, the origin may be determined arbitrarily. The number of objects in the image may be multiple, but one piece of text data is prepared for one piece of image data.

[0030] 4A to 4C show examples of image data and text data to be used. Two objects (objects ob1 and ob2) exist in the image, and the labels and position coordinate data for each object are described in the text data as area data in xml format.

[0031] In this way, the learning unit 21 learns the initial learning dataset 3 including a plurality of initial image data 1 and the corresponding text data 2 using an algorithm for object detection. The hardware constituting the learning unit 21 may be arbitrarily determined based on the number of learning data to be used, the capacity of the initial image data 1, the type of learning algorithm, etc., but preferably, hardware equipped with a core capable of performing complex calculations in parallel is used. The algorithm used here may be a commercially available learning algorithm for image recognition or an open source published on the Internet. When performing object detection, it is preferable to use Faster R-CNN or YOLO, and when performing area detection, it is preferable to use Detectron.

[0032] The trained model 4 generated by the learning unit 21 is installed in the hardware constituting the prediction unit 22. The hardware constituting the prediction unit 22 may be the same as the hardware constituting the learning unit 21. New image data 5 different from the initial image data 1 is inferred by the trained model 4 of the prediction unit 22, and an output result for an object in the image is obtained as a prediction result 6. The prediction result 6 may include the output result of the model including the object's label, position coordinate data, and confidence level.

[0033] Of the obtained prediction results 6, a prediction result processor 23 adopts prediction results with a certainty level equal to or greater than an arbitrarily determined first threshold as an output result in which an object has been detected, and a prediction result with a certainty level less than the first threshold as an unadopted output result in which an object has not been detected. The output of the prediction result processor 23 becomes the result of object detection by machine learning.

[0034] Next, the re-learning data candidate generation unit 24 sets the prediction result having a confidence level less than the second threshold together with the corresponding image data as the re-learning candidate dataset 7 for re-learning. Note that the prediction result having a confidence level less than the second threshold and equal to or greater than the first threshold may be set together with the corresponding image data as the re-learning candidate dataset 7. As the image data of the re-learning candidate dataset 7, candidate image data in which a candidate position of an object generated from text data of the position coordinates of the object in the prediction result is superimposed may be used.

[0035] Since the re-learning candidate dataset 7 contains a mixture of a group of objects 8 that should be detected and a group of objects 9 that are not the target of detection, the re-learning data selection unit 25 sorts these and selects a re-learning dataset 10 consisting of the group of objects 8 that should be detected.

[0036] The determination of the allocation of data for re-learning is made based on a predetermined feature of a candidate object included in new image data of the re-learning candidate data set. The predetermined feature includes a luminance value, an RGB value, and an HSV value. For example, when the luminance is used as the criterion for the predetermined feature, the determination of the allocation of data for re-learning is made based on whether the luminance is equal to or greater than a third threshold value or less. In this way, the determination of the allocation of data for re-learning is made based on whether the luminance is equal to or greater than a third threshold value, such as a luminance value, an RGB value, or an HSV value. In addition, the image data can be determined and allocated after noise is removed in a previous stage by binarization, grayscale processing, or the like. In addition, when performing allocation, if the judgment criteria are clear to the human eye, such as the label of an object being, for example, a dog, a car, or a character, the allocation may be made by visual inspection.

[0037] For example, in the case where images such as those shown in Figures 5A and 5B are proposed as candidate re-learning data sets 7 in the re-learning data selection unit 25 of a model for detecting scratches on the surface of steel material, if the candidate data contains a scratch part that is brightly expressed in the image that has been subjected to image processing, that image is adopted as the re-learning data. Specifically, after binarizing the image with a threshold value of brightness 128, image (1) in which bright parts with a brightness of 255 are seen is adopted as the re-learning data, and image (2) in which only dark parts with a brightness of 0 are seen is not adopted as the re-learning data.

[0038] Among the rejected prediction results, there is image data in which no objects exist. Such image data in which no objects exist may also be included in the re-learning candidate dataset 7 as training data for machine learning.

[0039] At this time, if the label or position coordinates of the re-learning data set 10 needs to be corrected, the re-learning data selection unit 25 has a function of manually intervening to make the corrections. In other words, in generating the re-learning data, the text data of the label or position coordinates of the prediction result may be corrected. FIGS. 6A and 6B show an example of the output text data and an example of the tabulation result. The label for each detected object, the coordinates of each vertex of the area, and the confidence level are described in the text data, and these are tabulated to determine the re-learning candidates according to a threshold value, and the results are further sorted into a group 8 of objects that should be detected and a group 9 of objects that are not the target of detection.

[0040] 2B, a dataset creation unit 26 combines the re-learning dataset 10 with an existing learning dataset to create a new learning dataset 11, and a re-learning unit 28 generates a re-learning model 12. The learning at this time may be performed using the same hardware as the learning unit 21, but the learning algorithm used is the same as that used for the learning unit 21. The learning parameters 13 at this time may be the learning parameters used when the trained model 4 was generated, but preferably those optimized by a learning parameter optimization unit 29 are used.

[0041] The learning parameter optimization unit 29 can use a method of randomly generating various parameter values ​​13a, 13b... that are conditions during learning, generating a learning model using those parameters, and adopting the parameters when the best performance is obtained, or a method of generating various parameter values ​​13a, 13b... within a predetermined range, and adopting the parameters when the best performance is obtained.

[0042] Specifically, the superiority or inferiority of a parameter may be determined by the total value of each performance evaluation index 14. A parameter with a high performance evaluation index suited to the usage environment of the model may be adopted, such as recall when prioritizing the overdetection rate, precision when prioritizing the overlooked rate, or IOU when prioritizing the position accuracy of the detection result.

[0043] Figure 7 shows an example of generated parameters and an example of the evaluation result of model performance when learning using each parameter. The various parameters are at least four in a machine learning model using a neural network: learning rate, hold-out ratio when dividing the entire data into learning data and validation data in the hold-out method, momentum, and weight decay. Each parameter is changed at three predetermined levels (learning rate [0.01, 0.001, 0.0001], ratio [0.7, 0.8, 0.9]) to evaluate the model performance. In cases where the overdetection rate is prioritized, parameter c should be selected; in cases where the overlooked rate is prioritized, parameter b should be selected; in cases where the position accuracy is prioritized, parameter b should be selected; and for comprehensive evaluation, parameter c, for example, should be selected.

[0044] The re-trained model 12 thus generated is automatically subjected to performance evaluation together with the existing trained model 4 by the performance evaluation unit 30. The performance evaluation index 14 used in this case may be an overall precision rate, recall rate, and IOU, but it is preferable to use the precision rate, recall rate, and IOU for each label for evaluation.

[0045] Finally, the judgment unit 31 uses the performance evaluation index 14 provided by the performance evaluation unit 30 to judge the performance of the re-learned model, and makes a judgment as to whether to replace the learning model.

[0046] (How the retraining model is generated) Next, the operation of the method for generating a re-learning model in this embodiment will be described with reference to the flowchart of FIG.

[0047] Learning step S100: The learning unit 21 performs machine learning on an initial learning data set 3 including initial image data 1, correct answer labels, and text data 2 of position coordinates using an algorithm for object detection, and generates a learned model 4.

[0048] Prediction step S101: The prediction unit 22 infers new image data 5 using the trained model 4 generated by the learning unit 21, and obtains an output result for a candidate object in the image as a prediction result 6.

[0049] Prediction result processing step S102: The prediction result processing unit 23 adopts prediction results with a confidence level equal to or greater than the first threshold among the obtained prediction results 6 as prediction results in which an object has been detected. On the other hand, the prediction result processing unit 23 rejects prediction results with a confidence level less than the first threshold among the obtained prediction results 6 as prediction results in which an object has not been detected. The output of this prediction result processing unit 23 becomes the result of object detection by machine learning.

[0050] Re-learning data candidate generating step S103: The re-learning data candidate generating unit 24 combines the data whose confidence level is less than the second threshold with the corresponding new image data 5 to form a re-learning candidate data set 7.

[0051] Re-learning data selection step S104: The re-learning data selection unit 25 separates the group of objects 8 that should originally be detected from the group of objects 9 that are not to be detected, and selects the re-learning data set 10 consisting of the group of objects 8 that should originally be detected. The classification of data for re-learning is determined based on a predetermined feature value related to the candidate object. Specifically, the classification based on the predetermined feature value is determined based on whether or not the third threshold value, such as brightness value, RGB value, or HSV value, is set. However, it is effective to perform the classification after removing noise by binarizing the image data and performing grayscale processing.

[0052] Dataset creation step S105: The dataset creation unit 26 creates a new training dataset 11 by combining the re-learning dataset 10 with an existing training dataset.

[0053] Note that the re-learning data candidate generating step S103, the re-learning data selecting step S104, the dataset creating step S105, and the configuration for creating a dataset for re-learning are collectively referred to as a re-learning data generating step S106. The dataset creating step S105 is optional, and if a new training dataset 11 is not created, the re-learning data generating step 106 outputs the re-learning dataset 10 to the re-learning step S107.

[0054] Re-learning step S107: The re-learning unit 28 performs re-learning using the re-learning dataset 10 or the new learning dataset 11 to generate the re-learned model 12. As the learning parameters 13 at this time, the learning parameters used when the trained model 4 was generated may be used, but preferably, those optimized by the learning parameter optimization unit 29 are used.

[0055] Learning parameter optimization step S108: In the learning parameter optimization unit 29, various parameter values ​​13a, 13b, etc. that are conditions during learning are generated, a learning model is generated using the parameters, and the parameters when the best performance is obtained are adopted using each performance evaluation index 14 of the learning model. This step is optional.

[0056] Performance evaluation step S109: The performance evaluation unit 30 performs performance evaluation between the re-learned model 12 and the existing trained model 4.

[0057] Determination step S110: The determination unit 31 uses the performance evaluation index 14 of the re-trained model 12 and the existing trained model 4 provided by the performance evaluation unit 30 to determine whether to replace the trained model.

[0058] Every time the learning model is re-learned in step S107, the processes in steps S108 to S110 are repeated.

[0059] According to a method for generating a re-learning model according to an embodiment of the present disclosure, a re-learning candidate dataset is generated together with new image data corresponding to prediction results among the prediction results to be adopted, in which the confidence level is less than a second threshold value and the feature amount of the candidate object satisfies a predetermined criterion, and a re-learning dataset is created from the re-learning candidate dataset, thereby making it possible to significantly reduce the load of the re-learning work of the learning model, which has conventionally required a great deal of manpower. In addition, since the learning data can be continuously and automatically re-learned, it is possible to reduce the amount of learning data at the time of generating the initial model, and the man-hours from model development to implementation can be reduced.

[0060] The above describes an embodiment of the relearning model generating device 20 and the relearning model generating method executed by the information processing device. In addition, as an embodiment of the present disclosure, it is also possible to adopt an embodiment of a program for causing a computer to execute the method. In this embodiment, the program can be recorded in a computer-readable recording medium. The computer-readable recording medium includes a non-transitory computer-readable medium, for example, a magnetic recording device, an optical disk, a magneto-optical recording medium, or a semiconductor memory. The program is distributed, for example, by selling, transferring, or lending a portable recording medium such as a DVD (digital versatile disc) or a CD-ROM (compact disc read only memory) on which the program is recorded. The program may also be distributed by storing the program in the storage of an external server and transmitting the program from the external server to another computer. The program may also be provided as a program product.

[0061] In this embodiment, the object label and position coordinate data are text data using a markup language such as xml, but they are not limited to text data and may be binary data. Also, in this embodiment, the image data and the text data of the object label and position coordinate data are treated as a data set, but they do not necessarily need to be treated as a set, and the image data and the text data may be treated separately by linking them with an ID or the like.

[0062] Although the present disclosure has been described based on the drawings and embodiments, it should be noted that those skilled in the art can easily make various modifications and corrections based on the present disclosure. Therefore, it should be noted that these modifications and corrections are included in the scope of the present disclosure. For example, the functions included in each means or step can be rearranged so as not to be logically inconsistent, and multiple means or steps can be combined or divided into one. [Explanation of symbols]

[0063] 1. Initial image data 2. Text data of correct answer label and location coordinates 3. Initial training dataset 4. Pre-trained model 5 New image data 6 Prediction results 7 Candidate dataset for retraining 8 Objects to be detected 9 Objects that are not supposed to be detected 10 Retraining Dataset 11 New training dataset 12 Retraining Model 13 Learning parameters 14 Performance evaluation index 20 Re-learning model generator 21 Learning Department 22 Prediction Department 23 Prediction result processing section 24 Re-learning data candidate generation unit 25 Re-learning data selection section 26 Data Set Creation Department 27 Re-learning data generation unit 28 Re-learning section 29 Learning Parameter Optimization Unit 30 Performance Evaluation Department 31 Judgment Department

Claims

1. A method for generating a re-learning model of an object detection model in machine learning executed by an information processing device, comprising: A learning step of generating a trained model using an initial learning dataset including a plurality of image data to which correct labels of objects and text data of position coordinates are assigned; A prediction step of outputting a prediction result including a label of a candidate object, a position coordinate, and text data of a confidence level from new image data using the generated trained model; a re-learning data generation step of creating a re-learning data set from the prediction result based on the confidence level and features of the candidate object included in the new image data; a retraining step of generating a retrained model using the retrained data set; A method for generating a re-learning model, comprising:

2. The re-learning data generating step includes: a re-learning data candidate generation step of generating a re-learning candidate data set together with the corresponding new image data for a prediction result having a confidence level less than a second threshold; and selecting a re-learning data set from prediction results in which the candidate objects included in the new image data of the re-learning candidate dataset satisfy a criterion related to the feature amount.

3. The method for generating a re-learning model according to claim 2 , further comprising a prediction result processing step of determining whether to accept or reject the prediction result based on a first threshold value related to the confidence level.

4. The method for generating a re-learning model according to claim 2 , wherein the feature amount is luminance, and the criterion for the feature amount is that the luminance is equal to or greater than a third threshold value.

5. The method for generating a re-learning model according to claim 2 , wherein in the re-learning data selection step, text data of the label or position coordinates of the prediction result can be modified.

6. The method for generating a re-learning model according to claim 3 , wherein the prediction result processing step is capable of arbitrarily setting the first threshold value.

7. The method for generating a re-trained model according to claim 6 , wherein the prediction result processing step sets the first threshold value according to performance of the trained model.

8. 3. The method for generating a re-learning model according to claim 2, wherein the re-learning data candidate generation step at least generates candidate image data by superimposing the new image data including a candidate object of a prediction result having a certainty level less than a second threshold value and a candidate position of a candidate object generated from text data of position coordinates of the candidate object of the prediction result, and sets the generated candidate image data as image data included in the re-learning candidate dataset.

9. 4. The method for generating a re-learning model according to claim 3, wherein the re-learning data candidate generation step generates the re-learning candidate data set using a prediction result in which the confidence level is equal to or greater than the first threshold and less than a second threshold.

10. A dataset creation unit that creates a new training dataset including the re-training dataset and the initial training dataset, The method of claim 1 , wherein the re-training step generates a re-trained model using the new training data set.

11. The method for generating a re-trained model according to claim 1, further comprising a learning parameter optimization step, the learning parameter optimization step generating parameters that optimize the conditions during learning when generating the re-trained model by the re-training step.

12. The method for generating a re-learning model according to claim 11 , wherein the learning parameter optimization step randomly generates various parameter values ​​that are conditions during learning, and adopts the parameters that provide the best performance.

13. The method for generating a re-learning model according to claim 11 , wherein the learning parameter optimization step generates parameter values ​​within a predetermined range, and adopts the parameters that provide the best performance.

14. 14. The method for generating a re-learning model according to claim 12 or 13, wherein the parameters include at least one of a learning rate in machine learning using a neural network, a hold-out ratio when dividing all data into training data and validation data in a hold-out method, momentum, and weight decay.

15. 2. The method for generating a re-trained model according to claim 1, further comprising a performance evaluation step, in which a performance evaluation index of the re-trained model is used to evaluate the performance of the re-trained model against an existing trained model.

16. The method for generating a re-learning model according to claim 15, wherein the performance evaluation step uses at least one of the precision, recall, and IOU of the learning model as a performance evaluation index, which is determined based on the performance required for the learning model, including at least one of the overdetection rate, overlooked rate, and location accuracy of the learning model, and makes it possible to arbitrarily set thresholds for the performance evaluation indexes of the precision, recall, and IOU.

17. The method for generating a re-trained model according to claim 15, further comprising a determination step, in which a determination is made to replace the trained model when the performance evaluation step determines that the performance evaluation of the trained model is superior to the existing trained model.

18. A device for generating a re-learning model for an object detection model in machine learning, comprising: A learning unit that generates a trained model using an initial training data set including a plurality of image data to which correct labels of objects and text data of position coordinates are assigned; A prediction unit that uses the generated trained model to output a prediction result including a label of a candidate object, position coordinates, and text data of a confidence level from new image data; a re-learning data generation unit that creates a re-learning data set from the prediction result based on the confidence level and features of the candidate object included in the new image data; a re-learning unit for generating a re-learned model using the re-learning dataset; A re-learning model generating device comprising:

19. A program for generating a re-learning model for an object detection model in machine learning, comprising: generating a trained model using an initial training dataset including a plurality of image data to which correct labels of objects and text data of position coordinates are assigned; outputting a prediction result including a label of a candidate object, position coordinates, and text data of a confidence level from new image data using the generated trained model; creating a re-learning data set from the prediction result based on the confidence level and features of the candidate object included in the new image data; generating a retrained model using the retrained dataset; A program for generating a re-training model.

Citation Information

Patent Citations

  • Image recognition system

    JP2011059810A

  • Risk base authentication device, risk determination model learning data generation device, risk determination model learning device, risk determination model learning data generation method, risk determination model learning method, and program

    JP2017207939A

  • Information processing device, control method and program for information processing device

    JP2019046094A

  • Defect detection classification system and defect determination training system

    JP2021139769A

  • Image processing device, image processing method, and program

    JP2022155690A

Cited By

  • Prediction device, prediction method, and program

    JP2026138963A