Data creation support device and data creation support method

The data creation support device enhances supervised machine learning robustness by using neural networks and backpropagation to manage uncertainty, addressing the challenge of accurate yet uncertain outputs, and improving model performance efficiently.

JP7544607B2Active Publication Date: 2024-09-03HITACHI LTD
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing supervised machine learning methods struggle to efficiently verify and improve the robustness of learning models, as they fail to distinguish between accurate but uncertain outputs and correct outputs within the training data distribution, lacking a clear mechanism to understand and manage uncertainty.

Method used

A data creation support device and method that utilizes a neural network model, test data with correct answer labels, and backpropagation processes to identify uncertainty, generate small changes in test data, and calculate deviations, specifying changes that increase or decrease uncertainty, thereby improving model robustness.

Benefits of technology

Enables efficient verification and enhancement of supervised machine learning model robustness by identifying and addressing uncertainty, reducing overfitting, and improving model performance with minimal additional data requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007544607000003
    Figure 0007544607000003
  • Figure 0007544607000008
    Figure 0007544607000008
  • Figure 0007544607000005
    Figure 0007544607000005
Patent Text Reader

Abstract

To achieve efficient evaluation or improvement of robustness on a learning model of machine learning with a teacher.SOLUTION: A data creation support device 100 includes a storage device 101 that holds a neural network model 110 and test data 120, and a calculation device 104 that identifies uncertainty of an inference result by the neural network model 110, acquires gradient information of the test data 120 by reverse propagation processing by using the uncertainty as a loss, calculates deviation between each of a plurality of minute changes and the test data 120, and identifies a minute change causing the uncertainty to increase or decrease on the basis of the uncertainty information, the gradient information, and the deviation.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data creation support device and a data creation support method. [Background technology]

[0002] With the spread of IoT (Internet of Things) technology, it has become possible to obtain large amounts of observational data, and machine learning technology that can efficiently identify significant events or patterns from that data continues to evolve.

[0003] Among these types of machine learning, so-called supervised machine learning involves providing a learning model with a set of labeled training data, which enables the model to accurately recognize the characteristics of the phenomena indicated by the training data and to learn to derive correct inference results, i.e., label values.

[0004] On the surface, there are cases where the emphasis is placed solely on the accuracy of the inference results produced by such machine learning, but these "correct answers" may include, for example, results that are "correct" even with respect to data that is not included in the training data (has a different distribution) and for which it would otherwise be difficult to derive the correct answer.

[0005] Of course, one of the advantages of machine learning is its generalization ability, which is that it can acquire features outside of the training data. However, it is not desirable for the machine learning to give correct answers even about things that it has clearly not learned.

[0006] As a conventional technique for such supervised machine learning, for example, a technique for adjusting parameters of a deep learning network so as to simultaneously optimize prediction accuracy and uncertainty (see Patent Document 1) has been proposed.

[0007] This technology is a management method that initializes deep learning architecture parameters of a predefined base architecture, performs model training based on the deep learning architecture parameters to generate a trained model, iteratively applies Monte Carlo (MC) dropout to the generated trained model to obtain predictions and uncertainties, a fitness function is configured to evaluate the accuracy and uncertainty of the predictions of the trained model, updates the deep learning architecture parameters and repeats the generation of the trained model and evaluation of the fitness function if the fitness function indicates that the trained model is optimized, and provides the trained model for prediction if the fitness function indicates that the trained model is optimized. [Prior art documents] [Patent documents]

[0008] [Patent Document 1] JP 2018-200677 A Summary of the Invention [Problem to be solved by the invention]

[0009] In recognizing the problem of the "correct answer" mentioned above, the key point is the difference between accuracy and uncertainty. In reality, cases where a system gives correct answers without learning and without regard to the developer's intentions are not desirable because they are high in accuracy but also high in uncertainty.

[0010] Therefore, the trained machine learning model outputs inference results according to the specifications (training data) on the test data, and the inference results can be trusted even if the data deviates from the specifications. It is necessary to verify not just whether the system simply gets the answer right (high accuracy), but also whether it gets answers that should be correct and gets answers that should be incorrect correct.

[0011] According to the conventional technology, a learning method that simultaneously optimizes such uncertainty and accuracy has been presented, but a mechanism for verifying what data indicates uncertainty / certainty (and how in the inference results) has not been disclosed. As a result, it is not possible to efficiently verify or improve the robustness of the learning model.

[0012] Therefore, an object of the present invention is to provide a technique for efficiently verifying and improving the robustness of a learning model for supervised machine learning. [Means for solving the problem]

[0013] The data creation support device of the present invention that solves the above problem is characterized by comprising a neural network model used for supervised machine learning, a storage device that stores test data with a correct answer label, a process of inputting the test data into the neural network model to identify the uncertainty of the inference result by the neural network model, a process of obtaining gradient information of the test data by a backpropagation process that treats the uncertainty as loss, a process of generating multiple small-change test data by applying small changes to the test data and calculating the deviation between each of the multiple small-change test data and the test data, and a calculation device that executes a process of identifying the small changes that increase or decrease the uncertainty or the small-change test data that applied the small changes based on the uncertainty information, the gradient information, and the deviation.

[0014] In addition, the data creation support method of the present invention is characterized in that an information processing device executes the following processes: a neural network model used for supervised machine learning and test data with a correct answer label are held, and the test data is input into the neural network model to identify the uncertainty of the inference result by the neural network model; a process of acquiring gradient information of the test data by a backpropagation process with the uncertainty as a loss; a process of generating a plurality of small-change test data by applying small changes to the test data and calculating the deviation between each of the plurality of small-change test data and the test data; and a process of identifying the small change that increases or decreases the uncertainty or the small-change test data that applied the small change based on the uncertainty information, the gradient information, and the deviation. Effect of the Invention

[0015] According to the present invention, it is possible to efficiently verify and improve the robustness of a learning model for supervised machine learning. [Brief description of the drawings]

[0016] [Figure 1] FIG. 2 is a diagram illustrating an example of a hardware configuration of the data creation support device according to the present embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a functional configuration of the data creation support device according to the present embodiment. [Diagram 3] 2 is a diagram illustrating an example of a functional configuration of the data creation support device according to the first embodiment. [Figure 4] FIG. 2 is a diagram illustrating an example of a flow of a data creation support method in the first embodiment. [Diagram 5] FIG. 2 is a diagram illustrating a conceptual example of a data creation support method according to the first embodiment. [Figure 6] FIG. 2 is a diagram illustrating a conceptual example of a data creation support method according to the first embodiment. [Figure 7] FIG. 2 is a diagram illustrating a conceptual example of a data creation support method according to the first embodiment. [Figure 8] FIG. 11 is a diagram illustrating an example of a functional configuration of a data creation support device according to a second embodiment. [Figure 9] FIG. 11 is a diagram showing an example of a flow of a data creation support method in the second embodiment. [Figure 10] FIG. 11 is a diagram illustrating an example of an output in the second embodiment. [Figure 11] FIG. 11 is a diagram illustrating an example of a functional configuration of a data creation support device according to a third embodiment. [Figure 12] FIG. 13 is a diagram showing an example of a flow of a data creation support method in the third embodiment. [Figure 13] FIG. 13 is a diagram illustrating a conceptual example of a data creation support method according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] <Example of device configuration> Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Fig. 1 is a diagram showing an example of a hardware configuration of a data creation support device 100 according to this embodiment. The data creation support device 100 shown in Fig. 1 is a computer device that efficiently verifies and improves the robustness of a learning model of supervised machine learning.

[0018] The hardware configuration of the data creation support device 100 is as follows: The data creation support device 100 includes a storage device 101, a memory 103, a calculation device 104, an input device 105, and an output device .

[0019] Of these, the storage device 101 is configured with an appropriate non-volatile storage element such as an SSD (Solid State Drive) or a hard disk drive.

[0020] The memory 103 is composed of a volatile storage element such as a RAM.

[0021] The arithmetic unit 104 is a CPU that reads out the program 102 stored in the storage unit 101 into the memory 103 and executes the program, controls the device itself, and performs various types of judgment, calculation, and control processing.

[0022] The program 102 in this embodiment includes an OS (Operating System) that is naturally provided in an information processing device, a program that runs on the OS and implements a data creation support method, and a machine learning program 1021. The machine learning program 1021 is an algorithm that performs a predetermined judgment, estimation, etc. on the data by providing appropriate data such as test data to an appropriate trained model 110 such as a neural network model.

[0023] The input device 105 is an appropriate device such as a keyboard, mouse, or microphone that accepts key input or voice input from the user.

[0024] The output device 106 is an appropriate device such as a display for displaying data processed by the arithmetic unit 104, a speaker, or the like.

[0025] In addition to the above-mentioned program 102, the storage device 101 can also hold a trained model 110, test data 120, and training data 130. The specific contents of these will be described later. <Example of functional configuration> 2 is a diagram showing an example of a functional configuration of the data creation support device 100 in this embodiment. The data creation support device 100 in this embodiment includes an uncertainty backpropagation unit 111, an uncertainty inference unit 112, a small change addition unit 113, a gradient deviation comparison unit 114, an uncertainty data display unit 115, an uncertainty convergence determination unit 116, and a model learning unit 117 in addition to components necessary for machine learning functions such as the above-mentioned machine learning program 1021, the trained model 110 (neural network model), the test data 120, and the training data 130.

[0026] The data creation support device 100 equipped with these functional units provides training data 130 to the machine learning program 1021 to continually progress the learning of the trained model 110, which is a neural network model.

[0027] Training data 130 is data to which correct labels have been assigned, such as image data in which the name or attributes of a subject are defined as correct answers, or IoT data in which the possibility of a malfunction occurring in an equipment is defined as correct answers.

[0028] Therefore, when data to be processed, such as test data, is prepared and given to the trained model 110 by the machine learning program 1021, the meaning of the data, such as "male in his 30s," "cat," "probability of failure 60%," etc., is output as an inferred result.

[0029] Since the trained model 110 that is updated in this manner is a neural network model as described above, in addition to the uniquely identifiable information as described above, the estimation results for the test data 120 also include the mean and variance of the distribution of the estimation results as information on their uncertainty.

[0030] Therefore, the data creation support device 100 executes, for example, a backpropagation process with the above-mentioned variance value as a loss, to obtain gradient data 123 of the test data 120. The backpropagation process in the machine learning algorithm and the method for obtaining the gradient data associated therewith may be any existing technology.

[0031] Moreover, the data creation support device 100 generates a plurality of minute-change test data 122 by applying predetermined minute changes to the above-mentioned test data 120. At this time, it is necessary to avoid minute changes whose directionality differs from the user's development intention or is undesirable in terms of the data characteristics (for example, changes in the main shapes of characters or images that are completely different and difficult for even humans to recognize. For example, changes that clearly change the presence or absence of ear images or the external shape of an animal with distinctive ears, etc.).

[0032] Therefore, it is preferable that the data creation support device 100 obtains a minimal change candidate vector 121 indicating a suitable direction of such a minimal change in advance, either by receiving a designation from a user or by a predetermined method, and applies it to the above-mentioned minimal change. For example, this method specifies a direction of the minimal change similar to the gradient indicated by the above-mentioned gradient data, that is, a vector.

[0033] The data creation support device 100 calculates the deviation between each of the multiple small-change test data 122 created as described above and the test data 120, and acquires and retains, as uncertainty test data 125, small changes that increase or decrease the variance (uncertainty) of the estimation result based on the variance (uncertainty information) of the estimation result obtained up to that point, the gradient data 123, and the deviation, or small-change test data that has been given such small changes.

[0034] The data creation support device 100 generates visualized data 126 by setting the information of this uncertainty test data 125 in a predetermined screen format, and displays this on the output device 106.

[0035] In addition, the data creation support device 100 takes training data 130 (with correct answer labels) stored in the storage device 101 as input, and generates minimal-change training data 132 by minimally changing the training data 130 using minimal-change vectors 131 contained in the minimal-change test data 122.

[0036] In addition, the data creation support device 100 further executes a re-learning process of the trained model 110 (i.e., the neural network model) by providing the above-mentioned minimal change training data 132 to the trained model 110 of the machine learning program 1021.

[0037] In this case, the data creation support device 100 uses the trained model 110 that has undergone re-learning to input predetermined test data to identify the evaluation value 124 of the uncertainty such as the above-mentioned variance, and judges whether the uncertainty is above or below a predetermined threshold. The data creation support device 100 obtains the judgment result as the uncertainty convergence judgment result 134, and displays it on the output device 106, for example.

[0038] If the above-mentioned uncertainty is above or below a predetermined threshold, the data creation support device 100 further advances the re-learning process of the trained model 110 by providing the trained model 110 with minimal change training data 132. <Example 1> The actual procedure of the data creation support method in this embodiment will be described below with reference to the drawings. The various operations corresponding to the data creation support method described below are realized by a program that the data creation support device 100 reads into a memory or the like and executes. This program is composed of codes for performing the various operations described below.

[0039] Fig. 3 is a diagram showing an example of the functional configuration of the data creation support device 100 in the embodiment 1, and Fig. 4 is a diagram showing an example of the flow of the data creation support method in the embodiment 1. The operation of each function illustrated in Fig. 3 has already been described.

[0040] In this case, the data creation support device 100 acquires a trained model 110, which is a neural network model, and its test data 120 via the input device 105, for example, through a user operation (s10).

[0041] Thereafter, the uncertainty inference unit 112 of the data creation support device 100 provides the above-mentioned test data 120 to the trained model 110, and obtains the variance of the distribution of the estimation result as an evaluation value 124 of the uncertainty of the estimation result for the test data 120 (s11).

[0042] Furthermore, the uncertainty backpropagation unit 111 of the data creation support device 100 executes a backpropagation process using the variance value obtained in the above-mentioned s11 as a loss, and acquires gradient data 123 of the test data 120 (s12).

[0043] In addition, the backpropagation process in the machine learning algorithm and the method for obtaining gradient data associated with it can be achieved by appropriately adopting existing technologies.

[0044] Furthermore, the minute-change adding unit 113 of the data creation support device 100 generates a plurality of minute-change test data 122 by adding predetermined minute changes to the above-mentioned test data 120 (s13). At this time, it is necessary to avoid minute changes that are different in direction from the user's development intention or are undesirable in terms of data characteristics (e.g., changes in the main shapes of characters or images that are completely different and difficult for humans to recognize. For example, changes that clearly change the presence or absence of ear images or the external shape of an animal with distinctive ears, etc.).

[0045] Therefore, the data creation support device 100 acquires a minimal change candidate vector 121 indicating a suitable direction for such a minimal change in advance, either by receiving a designation from the user or by a predetermined method, and applies the vector to the above-mentioned minimal change.

[0046] As this method, for example, it is possible to imagine a method for identifying a direction of a small change similar to the gradient indicated by the above-mentioned gradient data, that is, a vector.

[0047] Next, the gradient deviation comparison unit 114 of the data creation support device 100 The deviation between each of the multiple small-change test data 122 and the test data 120 is calculated, and based on the variance (uncertainty information) of the estimation result obtained up to this point, the gradient data 123, and the deviation, the small-change that increases or decreases the variance (uncertainty) of the estimation result, or the small-change test data that has given said small-change, is identified and retained as uncertainty test data 125 (s14), and the process is terminated.

[0048] In this case, the gradient deviation comparison unit 114 of the data creation support device 100, when identifying the minimal change test data 122 to be the uncertainty test data 125, compares the minimal change test data 122 with the gradient data to identify the data that is most similar to the gradient indicated by the gradient data. The similarity can be determined, for example, by calculating the inner product of each vector between each minimal change test data 122 and the gradient data, and the data with the largest calculated value being the data with the highest similarity.

[0049] A Bayesian neural network or its approximation method, MC dropout (Monte Carlo Dropout Sampling), may be adopted as an algorithm for obtaining the average and variance of the estimation results by the trained model 110. Therefore, the machine learning program 1021 in the data creation support device 100 is assumed to be pre-implemented with such an MC dropout algorithm and to be available for use.

[0050] When identifying the uncertainty shown in the above flow and generating the small change test data 122, as shown in FIG. 5, first, the base test data X1 is provided to the trained model 110, and the mean and variance values ​​of the inference results obtained for the test data X1 are identified by the above-mentioned MC dropout processing.

[0051] In addition, the variance, which is the uncertainty value obtained here, is used as the loss to perform backpropagation processing on the test data X1 to obtain its gradient data.

[0052] Furthermore, the minimal change adding unit 113 of the data creation support device 100 generates a plurality of minimal change test data X2 by adding a predetermined minimal change to the above-mentioned test data X1. Among the plurality of minimal change test data X2 created in this way, the minimal change test data that has been added with the minimal change that increases the variance (uncertainty) of the estimation result or the minimal change is acquired and stored as the uncertainty test data 125.

[0053] Furthermore, when identifying such variance and gradient data and generating small-change test data, it is even more preferable to execute a dropout inference process multiple times, as illustrated in Figure 6, in which test data is used as input, the output of neurons in the intermediate layer included in the trained model 110 is randomly set to 0, and an inference result is output.

[0054] In this case, the data creation support device 100 acquires a plurality of results of the dropout inference, and identifies the variance regarding the plurality of dropout inference results as the uncertainty.

[0055] By performing such processing, it becomes possible to effectively deal with the so-called overfitting problem while efficiently using limited resources.

[0056] Furthermore, as shown in FIG. 6, the data creation support device 100 may be configured to hold a plurality of trained models 110 in advance.

[0057] In this case, the data creation support device 100 inputs test data to each of the multiple trained models 110 to obtain an inference result from each of the multiple trained models 110, and then aggregates the variances related to the inference results (e.g., calculates the average of each variance value) to obtain the inference result. This will provide uncertainty data for the test data. <Example 2> Next, an example of a flow of the data creation support method in the second embodiment will be described with reference to the drawings. Fig. 8 is a diagram showing an example of the functional configuration of the data creation support device 100 in the second embodiment, and Fig. 9 is a diagram showing an example of a flow of the data creation support method in the second embodiment. Among the configurations in Fig. 8, the uncertainty data display unit 115 is different from the configuration in the first embodiment (the configuration in Fig. 3).

[0058] In this case, the uncertainty data display unit 115 generates visualization data 126 by, for example, setting the information of the uncertainty test data 125 obtained by the gradient deviation comparison unit 114 in a screen format stored in advance (s20).

[0059] Furthermore, the uncertainty data display unit 115 causes the output device 106 to display the visualization data 126 described above (s21), and the process ends.

[0060] An example of a screen G10 displaying this visualized data 126 is shown in Fig. 10. As shown in screen G10 in Fig. 1, the visualized data 126 is obtained by arranging, for example, an image showing "5" as minimal change test data G11 on an axial plane for each direction of the minimal change. In this example, an axial plane is assumed in which the horizontal axis represents the change in the rotation angle of the image of "5" and the vertical axis represents the change in brightness.

[0061] As shown in the figure, the image of the "5" rotates clockwise as it moves to the right on the axial plane, and counterclockwise as it moves to the left. Also, the image of the "5" increases in brightness as it moves up on the axial plane, and decreases in brightness as it moves down.

[0062] Furthermore, on screen G10, each image G11, which is the minimal change test data, is associated with a variance value G12, which is an evaluation value of the uncertainty.

[0063] Furthermore, in the screen G10, for each image G11 of the minimal change test data and a variance value G12 of the image G11, the image G11 is highlighted to show that the variance value is above or below a predetermined threshold value. In the example of Fig. 10, the user specifies that the variance of the images within the range of the dashed line G13 is within the allowable range, but the variance of a particular image is not within the allowable range.

[0064] Also, as shown in screen G20, the variance value of each image G11 may be displayed in a color that changes in sequence according to the magnitude of the value. When such display control is performed, the display is in the form of a heat map as shown in screen G20. <Example 3> Next, a flow example of the data creation support method in the third embodiment will be described with reference to the drawings. Fig. 11 shows a functional configuration example of the data creation support device 100 in the third embodiment, Fig. 12 shows a flow example of the data creation support method in the third embodiment, and Fig. 13 shows an example of the function outline in the third embodiment.

[0065] This Example 3 corresponds to a form in which training data is created separately from test data. In this case, the data creation support device 100 is assumed to store, in the storage device 101, a plurality of training data 130 to be used for supervised machine learning together with correct answer labels.

[0066] In this case, the small change adding unit 113 of the data creation support device 100 receives training data 130 (with correct answer labels) stored in the storage device 101 as input and generates small change test data Using the minimal change vector 131 included in 122, minimal change training data 132 is generated by minimally changing the training data 130 (s30).

[0067] In addition, the model learning unit 117 of the data creation support device 100 further performs a re-learning process of the trained model 110 (i.e., the neural network model) by providing the small change training data 132 obtained in the above-mentioned s30 to the trained model 110 of the machine learning program 1021 (s31).

[0068] In this case, the uncertainty inference unit 112 of the data creation support device 100 uses the trained model 110 that has undergone re-learning to input predetermined test data and identify an evaluation value 124 of uncertainty such as the above-mentioned variance (s32).

[0069] Furthermore, the uncertainty convergence determination unit 116 determines whether the uncertainty, i.e., the variance, is above or below a predetermined threshold, and acquires the determination result as the uncertainty convergence determination result 134 (s33). Each process up to this point in the determination is repeated, for example, until the value of the variance reaches the threshold.

[0070] The uncertainty convergence determination unit 116 displays the determination result 134 obtained here on the output device 106, for example.

[0071] In addition, when the variance, which is the uncertainty mentioned above, exceeds (or falls below) a predetermined threshold, the data creation support device 100 provides the small change training data 132 to the trained model 110, thereby further proceeding with the re-learning process of the trained model 110 (s34), and then terminates the process.

[0072] Although the best mode for carrying out the present invention has been specifically described above, the present invention is not limited to this, and various modifications are possible without departing from the spirit and scope of the present invention.

[0073] According to this embodiment, it is possible to verify the robustness of the learning model against specifications (various small changes) without preparing a large amount of test data in advance, and robustness can be improved by using uncertain data (weaknesses) for the learning model.

[0074] In other words, it becomes possible to efficiently verify and improve the robustness of supervised machine learning learning models.

[0075] The description of this specification makes at least the following clear: That is, in the data creation support device of this embodiment, the arithmetic device may, in the uncertainty specification process, execute a dropout inference process multiple times, using the test data as input, randomly setting the output of neurons included in the neural network model to 0, and outputting an inference result, obtain multiple results of the dropout inference, and specify variance regarding the multiple dropout inference results as the uncertainty.

[0076] This makes it possible to obtain distribution information by performing inference efficiently and quickly compared to methods that tend to require large resources, such as Bayesian neural networks. This in turn makes it possible to more efficiently verify and improve the robustness of learning models for supervised machine learning.

[0077] In addition, in the data creation support device of this embodiment, the arithmetic device calculates the gradient of the test data by backpropagation processing using the variance of the results of the dropout inference obtained as a loss function when acquiring the gradient information, and when specifying the change test data, The method may compare the small change test data with the gradient information to identify the small change test data and small change vector that are most similar to the gradient indicated by the gradient information.

[0078] This makes it possible to efficiently identify and generate test data with small changes that have similar gradient trends, and provide them to the learning model, which in turn makes it possible to more efficiently verify and improve the robustness of the learning model in supervised machine learning.

[0079] In the data creation support device of this embodiment, the arithmetic unit may use inference results up to an intermediate layer of the neural network when performing the dropout inference process.

[0080] This makes it possible to measure the uncertainty of a neural network even with respect to partial recognition of events indicated by test data, which in turn makes it possible to more efficiently verify and improve the robustness of a learning model for supervised machine learning.

[0081] In addition, in the data creation support device of this embodiment, the calculation device may be configured to input the test data to each of the multiple neural network models, obtain inference results from each of the multiple neural networks, and identify the variance regarding the inference results as the uncertainty.

[0082] This is expected to enable more efficient measurement of the uncertainty of partial recognition by treating a large model that contains multiple trained models as a single model, which will in turn enable more efficient verification and improvement of the robustness of supervised machine learning learning models.

[0083] In addition, in the data creation support device of this embodiment, the arithmetic device may further execute a process of displaying a set of the minimal change test data and uncertainty information of the minimal change test data.

[0084] This allows the person in charge of managing and building the machine learning model to obtain visual information on the direction of minute changes in the test data and the uncertainty involved, making it easier to confirm the information. Furthermore, the results of such confirmation can be fed back to subsequent work. This in turn makes it possible to more efficiently verify and improve the robustness of the learning model for supervised machine learning.

[0085] In addition, in the data creation support device of this embodiment, the arithmetic device may further execute a process of displaying a pair of the small-change test data and uncertainty information of the small-change test data, and whether the uncertainty information is above or below a predetermined threshold.

[0086] This allows the person in charge of managing and building the machine learning model to obtain visual information on the direction of minute changes in the test data and the uncertainty in that case, accurately judge whether the direction of the minute changes is good or bad, and provide feedback to subsequent work. This in turn makes it possible to more efficiently verify and improve the robustness of the learning model of supervised machine learning.

[0087] In the data creation support device of this embodiment, the storage device is a supervised machine learning The computing device stores a plurality of training data to be used for learning together with a correct answer label, and the computing device uses the training data as an input and a small change vector included in the small change test data to perform the The method may further comprise generating minimally changed training data by minimally changing the training data, and providing the minimally changed training data to the neural network model, thereby executing a re-learning process for the neural network model.

[0088] This makes it possible to efficiently verify and improve robustness by subjecting the training data to small changes in the same way as the test data, which in turn makes it possible to more efficiently verify and improve robustness of a learning model in supervised machine learning.

[0089] In the data creation support device of this embodiment, the arithmetic device The method may further include a process of using the neural network model to identify the uncertainty using the test data as an input, and displaying information indicating whether the uncertainty is above or below a predetermined threshold, and if the uncertainty is above or below a predetermined threshold, providing the small change training data to the neural network model to perform a re-learning process for the neural network model.

[0090] This makes it possible to use small-change training data according to the quality of the uncertainty based on the test data, and to more efficiently verify and improve the robustness of the neural network model. As a result, it becomes possible to more efficiently verify and improve the robustness of the learning model of supervised machine learning. [Explanation of symbols]

[0091] 100 Data creation support device 101 Storage device 102 Programs 1021 Machine Learning Program 103 Memory 104 Arithmetic unit 105 Input Device 106 Output Device 110 Trained Model (Neural Network Model) 111 Uncertainty Backpropagation 112 Uncertainty Reasoning Section 113 Minor change granting section 114 Gradient deviation comparison unit 115 Uncertainty Data Display 116 Uncertainty Convergence Judgment Unit 117 Model Learning Department 120 Test Data 121 Small Change Candidate Vectors 122 Small Change Test Data 123 Gradient Data 124 Uncertainty assessment value 125 Uncertainty Test Data 126 Visualized Data 130 Training Data 131 Small Change Vector 132 Small Change Training Data 133 Uncertainty assessment value 134 Judgment result

Claims

1. A memory device for storing a neural network model used in supervised machine learning and test data with a correct answer label; a calculation device that executes a process of inputting the test data into the neural network model to identify uncertainty of an inference result by the neural network model, a process of acquiring gradient information of the test data by a backpropagation process with the uncertainty as a loss, a process of generating a plurality of minimal-change test data by applying a minimal change to the test data and calculating a deviation between each of the plurality of minimal-change test data and the test data, and a process of identifying the minimal change that increases or decreases the uncertainty or the minimal-change test data that applied the minimal change based on the uncertainty information, the gradient information, and the deviation; A data creation support device comprising:

2. The computing device includes: In the process of identifying the uncertainty, the test data is used as an input, and an inference result is output by randomly setting an output of a neuron included in the neural network model to 0. A dropout inference process is executed a plurality of times to obtain a plurality of results of the dropout inference, and a variance regarding the plurality of dropout inference results is identified as the uncertainty.

2. The data creation support device according to claim 1.

3. The computing device includes: When acquiring the gradient information, a gradient of the test data is calculated by a backpropagation process using the variance of the plurality of acquired dropout inference results as a loss function; When identifying the minimal change test data, the minimal change test data is compared with the gradient information to identify the minimal change test data and the minimal change vector that are most similar to the gradient indicated by the gradient information.

3. The data creation support device according to claim 2.

4. The computing device includes: In the process of the dropout inference, the inference results up to the intermediate layer of the neural network are used.

3. The data creation support device according to claim 2.

5. The computing device includes: The test data is input to each of the plurality of neural network models to obtain an inference result by each of the plurality of neural networks, and the variance regarding the inference result is identified as the uncertainty.

5. The data creation support device according to claim 4.

6. The computing device includes: The method further executes a process of displaying a set of the minimal change test data and uncertainty information of the minimal change test data.

2. The data creation support device according to claim 1.

7. The computing device includes: The method further executes a process of displaying a set of the minimal change test data and uncertainty information of the minimal change test data, and the uncertainty information being above or below a predetermined threshold.

2. The data creation support device according to claim 1.

8. The storage device includes: Multiple training data sets for supervised machine learning are stored along with correct answer labels. The computing device includes: The method further comprises: generating minimal-change training data by minimally changing the training data using a minimal-change vector included in the minimal-change test data as an input; and providing the minimal-change training data to the neural network model, thereby executing a re-learning process for the neural network model.

2. The data creation support device according to claim 1.

9. The computing device includes: using the retrained neural network model to input the test data to identify the uncertainty, and displaying information indicating whether the uncertainty is above or below a predetermined threshold; If the uncertainty is above or below a predetermined threshold, a re-learning process of the neural network model is performed by providing the small change training data to the neural network model.

9. The data creation support device according to claim 8.

10. An information processing device, It holds a neural network model for supervised machine learning and test data with correct labels, A process of inputting the test data into the neural network model to identify uncertainty in an inference result by the neural network model; A process of obtaining gradient information of the test data by backpropagation processing with the uncertainty as a loss; A process of generating a plurality of minimally-changed test data by applying minimal changes to the test data, and calculating a deviation between each of the plurality of minimally-changed test data and the test data; A process of identifying the small change that increases or decreases the uncertainty or the small change test data that has given the small change based on the uncertainty information, the gradient information, and the deviation; A data creation support method comprising the steps of:

Citation Information

Patent Citations

  • Information estimating apparatus and information estimating method

    JP2018106463A

  • Management method, non-temporary computer-readable medium, and management apparatus

    JP2018200677A

  • Information processing method and information processing device

    JP2020154386A

  • Estimation system, estimation method, and estimation program

    WO2019229977A1