Correction program, correction method and information processing device

Defect localization techniques enable targeted parameter changes in models to maintain accuracy and correct critical data classifications, addressing the issue of model degradation and misclassification in applications like autonomous driving.

JP2024114099AActive Publication Date: 2024-08-23FUJITSU LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023019532
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-10
Publication Date
2024-08-23
Estimated Expiration
2043-02-10

AI Technical Summary

Technical Problem

Existing models face issues where modifying parameters to correct misclassifications can lead to degradation, causing specific data to be incorrectly classified, especially in critical applications like autonomous driving, where misclassification can result in accidents.

Method used

A method involving defect localization to identify specific parameters for change, allowing for targeted modifications to ensure correct classification of critical data while maintaining overall model accuracy, using techniques like gradient descent and parameter fixing.

Benefits of technology

The method effectively improves the model's ability to correctly classify specific data while preserving overall classification accuracy, reducing the risk of misclassification in important applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114099000001_ABST
    Figure 2024114099000001_ABST
Patent Text Reader

Abstract

To change parameters of a model so that specific data can be correctly classified.SOLUTION: An information processing device 100 specifies a first parameter 121 to be changed if first training data 111 is incorrectly classified. The information processing device 100 makes the first parameter 121 correctable and also fixes other parameters to make a first correction on a model 101. The information processing device 100 specifies a second parameter 122 to be changed if second training data 112 having been correctly classified with the model 101 before the first correction is corrected is incorrectly classified with the model 101 after the first correction. The information processing device 100 makes the first parameter 121 and second parameter 122 correctable and also fixes other parameters to make a second correction on the model 101.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 correction program, a correction method, and an information processing device. [Background technology]

[0002] Conventionally, there are models that have a function of outputting a result of classifying input data. The models have, for example, a plurality of parameters. When the model erroneously classifies the input data, it is desired to correct the model by changing the parameters of the model so that the model correctly classifies the input data.

[0003] Prior art techniques include, for example, identifying deviations of neuron sums from desired output signal values ​​and using the identified deviations to change correction weights of synapses of a neural network. There are also techniques that continue a learning process until the rejection judgment value of a pattern that is rejected despite being correct falls below a rejection threshold. There are also techniques that modify the weight of one of a number of hypotheses based on the sum of the weights of correctly classified training data and the sum of the weights of incorrectly classified training data. There are also techniques that reduce the difference between predictions of two different models. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Special Publication No. 2017-511948 [Patent Document 2] Japanese Patent Application Publication No. 09-179844 [Patent Document 3] US Patent Application Publication No. 2011 / 0093416 [Patent Document 4] US Patent Application Publication No. 2021 / 0314333 [Non-patent literature]

[0005] [Non-Patent Document 1] Tokui, Shogo, et al. “NeuRecover: Regression-Controlled Repair of Deep Neural Networks with Training History.” arXiv preprint arXiv:2203.00191 (2022). Summary of the Invention [Problem to be solved by the invention]

[0006] However, in the conventional technology, when the parameters of a model are changed and the model is corrected, the corrected model may not be able to accurately classify specific data that has been input. For example, when the parameters of a model are changed and the model is corrected so as to classify certain data correctly, specific data that was correctly classified in the model before the correction may be erroneously classified in the model after the correction.

[0007] In one aspect, the present invention aims to change the parameters of a model so that it can correctly classify specific data. [Means for solving the problem]

[0008] According to one embodiment, a correction program, a correction method, and an information processing device are proposed, in which, when first training data among a plurality of training data is erroneously classified in a model for classifying input data, a first parameter to be changed among a plurality of parameters forming the model is identified by defect localization based on the first training data, the identified first parameter among the plurality of parameters is made configurable, and other parameters are fixed, so that a first correction is performed on the model based on the first training data so that the first training data is correctly classified; and, in response to the first correction being performed, when second training data among the plurality of training data that was correctly classified in the model before the first correction is performed is erroneously classified in the model after the first correction is performed, a second parameter to be changed among the plurality of parameters is identified by defect localization based on the second training data, the identified first parameter and the identified second parameter among the plurality of parameters are made configurable, and other parameters are fixed, so that the second training data is correctly classified. Effect of the Invention

[0009] According to one aspect, the parameters of the model can be altered to allow for correct classification of particular data. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is an explanatory diagram showing an example of a correction method according to an embodiment. [Diagram 2] FIG. 2 is an explanatory diagram illustrating an example of an information processing system 200. As shown in FIG. [Diagram 3] FIG. 3 is a block diagram showing an example of a hardware configuration of the information processing device 100. As shown in FIG. [Figure 4] FIG. 4 is a block diagram showing an example of a functional configuration of the information processing device 100. As shown in FIG. [Diagram 5]FIG. 5 is a block diagram showing a specific example of the functional configuration of the information processing device 100. As shown in FIG. [Figure 6] FIG. 6 is an explanatory diagram (part 1) showing an example of identifying successful data. [Figure 7] FIG. 7 is an explanatory diagram (part 2) showing an example of identifying successful data. [Figure 8] FIG. 8 is an explanatory diagram showing an example of calculating the forward influence degree. [Figure 9] FIG. 9 is an explanatory diagram showing an example of calculating the backward influence degree. [Figure 10] FIG. 10 is an explanatory diagram (part 1) showing an example of identifying the change target weight W1. [Figure 11] FIG. 11 is an explanatory diagram (part 2) showing an example of identifying the change target weight W1. [Figure 12] FIG. 12 is an explanatory diagram (part 3) showing an example of identifying the change target weight W1. [Figure 13] FIG. 13 is an explanatory diagram (part 4) showing an example of identifying the change target weight W1. [Figure 14] FIG. 14 is an explanatory diagram showing an example of sampling the successful data. [Figure 15] FIG. 15 is an explanatory diagram showing an example of changing the change target weight W1. [Figure 16] FIG. 16 is an explanatory diagram showing an example of performing the first end determination. [Figure 17] FIG. 17 is an explanatory diagram (part 1) showing an example of identifying the change target weight W2. [Figure 18] FIG. 18 is an explanatory diagram (part 2) showing an example of identifying the change target weight W2. [Figure 19] FIG. 19 is an explanatory diagram showing an example of changing the change target weight W2. [Figure 20] FIG. 20 is an explanatory diagram showing an example of performing the second end determination. [Figure 21] FIG. 21 is an explanatory diagram showing an example of the effect achieved by the information processing device 100. In FIG. [Figure 22]FIG. 22 is a flowchart illustrating an example of an overall processing procedure. [Diagram 23] FIG. 23 is a flowchart illustrating an example of a procedure of the first localization process. [Figure 24] FIG. 24 is a flowchart illustrating an example of a collection process procedure. [Diagram 25] FIG. 25 is a flowchart illustrating an example of a first retraining process procedure. [Figure 26] FIG. 26 is a flowchart illustrating an example of a procedure of the determination process. [Figure 27] FIG. 27 is a flowchart illustrating an example of a second retraining process. [Figure 28] FIG. 28 is a flowchart illustrating an example of a procedure of the second localization process. [Figure 29] FIG. 29 is a flowchart illustrating an example of a procedure for the change process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a correction program, a correction method, and an information processing device according to the present invention will be described in detail with reference to the accompanying drawings.

[0012] (An example of a correction method according to an embodiment) 1 is an explanatory diagram showing an example of a correction method according to an embodiment. An information processing device 100 is a computer for correcting a model. The information processing device 100 is, for example, a server or a PC (Personal Computer).

[0013] The model (machine learning model) has a function of outputting a result of classifying input data, for example. The model is, for example, a neural network. The model is, for example, a deep neural network. Specifically, the model may be a convolutional neural network. The model has, for example, a plurality of parameters. The parameters are, for example, weights of edges connecting layers in a plurality of layers forming a neural network. The model relates to fields such as image analysis, language analysis, person recognition, or autonomous driving.

[0014] The model is trained based on, for example, a plurality of training data. Here, it is possible that the trained model erroneously classifies input data. In this case, it is desirable to correct the model by changing the parameters of the model so that the erroneously classified data is correctly classified.

[0015] In response to this, there is a method called defect localization, which identifies a parameter to be changed among a plurality of parameters of a model based on data correctly classified in the model and data incorrectly classified in the model. For the above method, for example, Non-Patent Document 1 can be referred to.

[0016] Conventionally, in order to correctly classify erroneously classified data, a model may be modified by changing a parameter identified using the above method among a plurality of parameters of the model. For example, in order to correctly classify erroneously classified data, a model may be modified by making a parameter identified using the above method among a plurality of parameters of the model changeable and fixing other parameters. Specifically, a process of making a parameter identified using the above method changeable and fixing other parameters to modify the model may be repeated a certain number of times.

[0017] Here, when the model parameters are changed and the model is corrected, the corrected model may not be able to accurately classify specific data that has been input. For example, when the model parameters are changed and the model is corrected so that certain data is correctly classified, a problem may occur in which specific data that was correctly classified in the model before the correction is incorrectly classified in the model after the correction.

[0018] This problem is also called, for example, degradation. In the following description, data that was correctly classified in a model before correction but is incorrectly classified in a model after correction may be referred to as "degraded data."

[0019] In addition, among multiple data that can be input to the model, there may be cases where a specific data that is erroneously classified in the corrected model is more important than other data. For example, in the field of autonomous driving, there may be cases where the model has a function of classifying data related to images of traffic signs captured by an on-board camera of a moving automobile. The specific data may be, for example, data related to images of traffic signs indicating a stop sign.

[0020] In this case, as a result of correcting the model so that data on images of traffic signs indicating no parking are correctly classified, it is conceivable that specific data on images of traffic signs indicating stop signs will be erroneously classified in the corrected model. Therefore, when performing autonomous driving using the model, it is conceivable that specific data on images of traffic signs indicating stop signs will be erroneously classified, increasing the probability of traffic accidents occurring. For this reason, it is conceivable that specific data on images of traffic signs indicating stop signs is more important data than other data on images of traffic signs indicating no parking.

[0021] It is therefore desirable to modify the model so that it can correctly classify specific data while maintaining the overall accuracy with which the model classifies input data.

[0022] However, it is difficult to modify the model so that it can correctly classify specific data while maintaining the overall accuracy with which the model classifies input data.

[0023] For example, one possible technique is to make the parameters identified using the above-mentioned technique changeable, and if degraded data is found during the repeated process of correcting the model, then change the changeable parameters based on the degraded data.

[0024] In this method, since the changeable parameters are not necessarily suitable for the purpose of eliminating the degradation, it is difficult to correct the model so that the model can correctly classify specific data while ensuring the overall accuracy with which the model classifies input data. In this method, for example, since the changeable parameters are parameters that have a relatively high influence on the classification of data other than the data in which the degradation has occurred, there is a problem that the overall accuracy with which the model classifies input data is likely to decrease.

[0025] Therefore, in this embodiment, a modification method is described that can modify a model by changing the parameters of the model so that the model can correctly classify specific data while ensuring the overall accuracy with which the model classifies input data.

[0026] 1, an information processing device 100 stores a model 101. The model 101 has a function of classifying input data. The model 101 outputs a result of classifying the input data. Specifically, the information processing device 100 stores a plurality of parameters that form the model 101.

[0027] The model 101 is, for example, a neural network. Specifically, the model 101 may be a convolutional neural network. The neural network is formed by a plurality of successive layers. The layers are also called layers, for example. The frontmost layer of the plurality of layers is also called an input layer, for example. The last layer of the plurality of layers is also called an output layer, for example. Of the plurality of layers, one or more layers present between the input layer and the output layer are also called hidden layers, for example. Each layer includes one or more nodes.

[0028] Nodes between adjacent layers may be connected by edges. Weights are set to the edges. Nodes accept input values. A node belonging to a certain layer propagates the input value to other nodes belonging to the next layer that are directly connected to the node by an edge. A node belonging to a certain layer propagates the input value to other nodes belonging to the next layer that are directly connected to the node by an edge, after performing a predetermined calculation according to the edge. The parameter is, for example, the weight set to the edge.

[0029] The information processing device 100 stores a plurality of training data 110. The training data 110 is, for example, data that can be input to the model 101. A correct answer resulting from classifying the training data 110 is known. The information processing device 100 stores the correct answer resulting from classifying the training data 110 in association with the training data 110. The training data 110 is, for example, data representing a numerical value, an image, or a sentence.

[0030] (1-1) Among the multiple pieces of training data 110, the first training data 111 may be erroneously classified in the model 101. The information processing device 100 detects, for example, that among the multiple pieces of training data 110, the first training data 111 is erroneously classified in the model 101.

[0031] When the information processing device 100 detects that the first training data 111 is erroneously classified, the information processing device 100 identifies a first parameter 121 to be changed from among a plurality of parameters forming the model 101 based on the first training data 111 by defect localization. The first parameter 121 is, for example, a parameter determined to have a relatively large influence on the classification of the first training data 111 from among the plurality of parameters.

[0032] This allows the information processing device 100 to identify which of the multiple parameters forming the model 101 is preferable to change when correcting the model 101 so that the first training data 111 is correctly classified.

[0033] (1-2) The information processing device 100 performs a first correction on the model 101 so as to correctly classify the first training data 111. For example, the information processing device 100 makes an identified first parameter 121 among a plurality of parameters changeable and fixes the other parameters, and performs the first correction on the model 101 based on the first training data 111.

[0034] This enables the information processing device 100 to improve the overall accuracy with which the model 101 classifies input data.

[0035] (1-3) In response to the first correction being performed, second training data 112, which is correctly classified in the model 101 before the first correction is performed, among the multiple training data 110, may be erroneously classified in the model 101 after the first correction is performed. The second training data 112 is, for example, training data 110 designated in advance by a user. The information processing device 100 detects, for example, that the second training data 112, which is correctly classified in the model 101 before the first correction is performed, among the multiple training data 110, is erroneously classified in the model 101 after the first correction is performed.

[0036] When the information processing device 100 detects that the second training data 112 is erroneously classified, the information processing device 100 identifies, by defect localization, a second parameter 122 to be changed among a plurality of parameters forming the model 101 based on the second training data 112. The second parameter 122 is, for example, a parameter determined to have a relatively large influence on the classification of the second training data 112 among the plurality of parameters.

[0037] This allows the information processing device 100 to identify which of the multiple parameters forming the model 101 is preferable to change when correcting the model 101 so that the second training data 112 is correctly classified.

[0038] (1-4) The information processing device 100 performs a second correction to the model 101 so that the second training data 112 is correctly classified. For example, the information processing device 100 makes an identified first parameter 121 and an identified second parameter 122 among the multiple parameters changeable and fixes the other parameters, and performs the second correction to the model 101 based on the second training data 112.

[0039] This enables the information processing device 100 to improve the accuracy with which the model 101 classifies the second training data 112. For example, the information processing device 100 can improve the accuracy with which the model 101 classifies specific data such as the second training data 112 while improving the overall accuracy with which the model 101 classifies input data. Specifically, the information processing device 100 can improve the accuracy with which the model 101 classifies relatively important specific data.

[0040] The information processing device 100 can make the first parameter 121 and the second parameter 122 changeable, for example, and can perform the second correction to the model 101. Therefore, the information processing device 100 can make the second parameter 122, which is determined to have a relatively large influence on the classification of the second training data 112 in which degradation has occurred, changeable, for example. Furthermore, the information processing device 100 can make the first parameter 121, which is suitable for the purpose of eliminating the degradation and may be a cause of the occurrence of the degradation, changeable. Therefore, the information processing device 100 can perform the second correction to the model 101 with high accuracy.

[0041] Here, the case where the information processing device 100 operates independently has been described, but the present invention is not limited to this. For example, the information processing device 100 may cooperate with another computer. Specifically, the information processing device 100 may cooperate with another computer having a function of correcting a model. For example, a plurality of computers may realize the function of the information processing device 100. Specifically, the function of the information processing device 100 may be realized on the cloud. An example of the case where the information processing device 100 cooperates with another computer will be described later with reference to FIG. 2, for example.

[0042] (An example of the information processing system 200) Next, an example of an information processing system 200 to which the information processing device 100 shown in FIG. 1 is applied will be described with reference to FIG.

[0043] 2 is an explanatory diagram showing an example of an information processing system 200. In FIG. 2, the information processing system 200 includes the information processing device 100, a correction processing device 201, and a client device 202.

[0044] In the information processing system 200, the information processing device 100 and the correction processing device 201 are connected via a wired or wireless network 210. The network 210 is, for example, a local area network (LAN), a wide area network (WAN), the Internet, etc. In the information processing system 200, the information processing device 100 and the client device 202 are connected via the wired or wireless network 210.

[0045] The information processing device 100 is a computer for correcting a model. The information processing device 100 stores a model. The model has a function of classifying input data. Specifically, the information processing device 100 stores a plurality of parameters forming the model. The information processing device 100 stores a plurality of training data. The training data is, for example, data that can be input to the model. The correct answer as a result of classifying the training data is known. The information processing device 100 stores the correct answer as a result of classifying the training data in association with the training data.

[0046] For example, the information processing device 100 detects that the first training data among the multiple training data is erroneously classified in the model. When the information processing device 100 detects that the first training data is erroneously classified, the information processing device 100 controls the correction processing device 201 to repeatedly perform a first correction to the model.

[0047] Specifically, the information processing device 100 performs the first correction to the model by transmitting a first correction request requesting that the first correction be performed to the correction processing device 201. The first correction request includes, for example, the latest model and first training data. Specifically, the information processing device 100 receives the model after the first correction has been performed from the correction processing device 201 as a result of transmitting the first correction request. Specifically, the information processing device 100 may repeatedly transmit the first correction request and repeatedly perform the first correction to the model.

[0048] For example, each time the information processing device 100 performs the first correction, the information processing device 100 determines whether or not the second training data, which was correctly classified in the model before the first correction, among the multiple training data, is erroneously classified in the model after the first correction. The second training data is, for example, training data designated in advance by a user. When the information processing device 100 determines that the second training data is erroneously classified, the information processing device 100 controls the correction processing device 201 to repeatedly perform the second correction to the model.

[0049] Specifically, the information processing device 100 performs the second correction to the model by transmitting a second correction request requesting that the second correction be performed to the correction processing device 201. The second correction request includes, for example, the latest model and second training data. Specifically, the information processing device 100 receives the model after the second correction has been performed from the correction processing device 201 as a result of transmitting the second correction request.

[0050] For example, after performing the first correction a predetermined number of times, the information processing device 100 transmits the latest model to the client device 202. The information processing device 100 is, for example, a server or a PC.

[0051] The correction processing device 201 is, for example, a computer having a function of correcting a model under the control of the information processing device 100. The correction processing device 201 receives, for example, a first correction request. In response to receiving the first correction request, for example, the correction processing device 201 identifies a first parameter to be changed from among a plurality of parameters forming a model based on first training data by defect localization.

[0052] The correction processing device 201 performs a first correction on the model so that the first training data is correctly classified, for example. Specifically, the correction processing device 201 makes a first parameter of a plurality of parameters changeable and fixes the other parameters, and performs the first correction on the model based on the first training data. The correction processing device 201 transmits the model after the first correction to the information processing device 100, for example.

[0053] The modification processing device 201 receives, for example, a second modification request. In response to receiving the second modification request, the modification processing device 201 identifies, for example, a second parameter to be changed among a plurality of parameters forming a model based on second training data by defect localization.

[0054] The correction processing device 201 performs a second correction on the model so that the second training data is correctly classified, for example. Specifically, the correction processing device 201 makes a first parameter and a second parameter among a plurality of parameters changeable and fixes the other parameters, and performs a second correction on the model based on the second training data. The correction processing device 201 transmits the model after the second correction to the information processing device 100, for example. The correction processing device 201 is, for example, a server or a PC.

[0055] The client device 202 is a computer used by a user who utilizes the model. The client device 202 receives the model from the information processing device 100. The client device 202 outputs the model so that the user can refer to it. The client device 202 is, for example, a PC or a smartphone.

[0056] Here, the case where the information processing device 100 is a device different from the correction processing device 201 has been described, but this is not limited to the case. For example, the information processing device 100 may have a function as the correction processing device 201 and may also operate as the correction processing device 201. In this case, the information processing system 200 may not include the correction processing device 201.

[0057] Here, the case where the information processing device 100 is a device different from the client device 202 has been described, but is not limited to this. For example, the information processing device 100 may have a function as the client device 202 and may also operate as the client device 202. In this case, the information processing system 200 may not include the client device 202.

[0058] (Example of hardware configuration of information processing device 100) Next, an example of the hardware configuration of the information processing device 100 will be described with reference to FIG.

[0059] Fig. 3 is a block diagram showing an example of a hardware configuration of the information processing device 100. In Fig. 3, the information processing device 100 has a CPU (Central Processing Unit) 301, a memory 302, a network I / F (Interface) 303, a recording medium I / F 304, and a recording medium 305. In addition, each component is connected to each other via a bus 300.

[0060] Here, the CPU 301 is responsible for the overall control of the information processing device 100. The memory 302 has, for example, a read only memory (ROM), a random access memory (RAM), and a flash ROM. Specifically, for example, the flash ROM and the ROM store various programs, and the RAM is used as a work area for the CPU 301. The programs stored in the memory 302 are loaded into the CPU 301, causing the CPU 301 to execute the coded processes.

[0061] The network I / F 303 is connected to the network 210 through a communication line, and is connected to other computers via the network 210. The network I / F 303 manages an internal interface with the network 210, and controls input and output of data from other computers. The network I / F 303 is, for example, a modem or a LAN adapter.

[0062] The recording medium I / F 304 controls reading / writing data from / to the recording medium 305 under the control of the CPU 301. The recording medium I / F 304 is, for example, a disk drive, a solid state drive (SSD), a universal serial bus (USB) port, etc. The recording medium 305 is a non-volatile memory that stores data written under the control of the recording medium I / F 304. The recording medium 305 is, for example, a disk, a semiconductor memory, a USB memory, etc. The recording medium 305 may be detachable from the information processing device 100.

[0063] In addition to the above-mentioned components, the information processing device 100 may have, for example, a keyboard, a mouse, a display, a printer, a scanner, a microphone, a speaker, etc. Furthermore, the information processing device 100 may have a plurality of recording medium I / Fs 304 and recording media 305. Furthermore, the information processing device 100 may not have the recording medium I / Fs 304 and the recording media 305.

[0064] (Example of Hardware Configuration of the Correction Processing Device 201) A specific example of the hardware configuration of the correction processing device 201 is similar to the example of the hardware configuration of the information processing device 100 shown in FIG. 3, and therefore a description thereof will be omitted.

[0065] (Example of Hardware Configuration of Client Device 202) Specifically, an example of the hardware configuration of the client device 202 is similar to the example of the hardware configuration of the information processing device 100 shown in FIG. 3, and therefore a description thereof will be omitted.

[0066] (An example of a functional configuration of the information processing device 100) Next, an example of a functional configuration of the information processing device 100 will be described with reference to FIG.

[0067] 4 is a block diagram showing an example of a functional configuration of the information processing device 100. The information processing device 100 includes a storage unit 400, an acquisition unit 401, a first determination unit 402, a first identification unit 403, a first correction unit 404, a second determination unit 405, a second identification unit 406, a second correction unit 407, and an output unit 408.

[0068] The storage unit 400 is realized by, for example, a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3. In the following, a case where the storage unit 400 is included in the information processing device 100 will be described, but this is not limiting. For example, the storage unit 400 may be included in a device different from the information processing device 100, and the stored contents of the storage unit 400 may be accessible from the information processing device 100.

[0069] The acquiring unit 401 to the output unit 408 function as an example of a control unit. Specifically, the acquiring unit 401 to the output unit 408 realize their functions by, for example, causing the CPU 301 to execute a program stored in a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3, or by the network I / F 303. The processing results of each functional unit are stored in, for example, a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3.

[0070] The storage unit 400 stores various information that is referred to or updated in the processing of each functional unit. The storage unit 400 stores, for example, a model. The model has a function of classifying input data. The model outputs the result of classifying the input data. Specifically, the storage unit 400 stores a plurality of parameters that form the model.

[0071] The model is, for example, a neural network. Specifically, the model may be a convolutional neural network. The neural network is formed by a plurality of successive layers. The frontmost layer of the plurality of layers is also called, for example, an input layer. The last layer of the plurality of layers is also called, for example, an output layer. Of the plurality of layers, one or more layers present between the input layer and the output layer are also called, for example, a hidden layer. Each layer includes one or more nodes.

[0072] Nodes between adjacent layers may be connected by edges. Weights are set to the edges. Nodes accept input of values. A node belonging to a certain layer propagates the input value to other nodes belonging to the next layer that are directly connected to the node by an edge. A node belonging to a certain layer propagates the input value to other nodes belonging to the next layer that are directly connected to the node by an edge after performing a predetermined calculation according to the edge. The parameter is, for example, a weight set to the edge. The model is, for example, acquired by the acquisition unit 401. The model may be, for example, set by a user in advance.

[0073] The storage unit 400 stores, for example, a plurality of training data. The training data is, for example, data that can be input to a model. A correct answer resulting from classifying the training data is known. The storage unit 400 stores the correct answer resulting from classifying the training data in association with the training data. The training data is, for example, data relating to numerical values, images, or sentences. The training data is, for example, acquired by the acquisition unit 401. The training data may be, for example, set in advance by a user.

[0074] The storage unit 400 may store, for example, information that identifiably indicates specific training data among a plurality of training data. The specific training data is, for example, training data that is more strongly desired to be correctly classified in a model than other training data. The specific training data is, for example, training data that is desired to avoid degradation. The specific training data may be, for example, randomly set from among the plurality of training data. The specific training data may be, for example, randomly set from among the plurality of training data that is correctly classified in an unmodified model. The specific training data may be, for example, set by a user in advance. The information that identifiably indicates the specific training data is acquired, for example, by the acquisition unit 401.

[0075] The acquisition unit 401 acquires various information used for processing by each functional unit. The acquisition unit 401 stores the acquired various information in the storage unit 400 or outputs it to each functional unit. The acquisition unit 401 may also output the various information stored in the storage unit 400 to each functional unit. The acquisition unit 401 acquires various information based on, for example, an operation input by a user. The acquisition unit 401 may receive various information from, for example, a device different from the information processing device 100.

[0076] The acquiring unit 401 acquires, for example, a plurality of training data. Specifically, the acquiring unit 401 acquires the plurality of training data by accepting input of the plurality of training data based on an operation input by a user. Specifically, the acquiring unit 401 may acquire the plurality of training data by receiving the plurality of training data from another computer.

[0077] The acquiring unit 401 acquires, for example, information that identifiably indicates specific training data. Specifically, the acquiring unit 401 acquires the information that identifiably indicates specific training data by accepting an input of the information that identifiably indicates specific training data based on an operation input by a user. Specifically, the acquiring unit 401 may acquire the information that identifiably indicates specific training data by receiving the information that identifiably indicates specific training data from another computer.

[0078] The acquiring unit 401 acquires, for example, a model. Specifically, the acquiring unit 401 acquires the model by accepting an input of the model based on an operation input by a user. Specifically, the acquiring unit 401 may acquire the model by receiving the model from another computer. Specifically, the acquiring unit 401 may acquire the model by learning the model based on a plurality of data. The plurality of data used for learning is, for example, the above-mentioned plurality of training data. The plurality of data used for learning may be, for example, a plurality of data different from the above-mentioned plurality of training data.

[0079] The acquisition unit 401 acquires, for example, a correction request requesting that a model be corrected. The correction request may include, for example, a model and a plurality of training data. Specifically, the acquisition unit 401 acquires the correction request by accepting an input of the correction request based on an operation input by a user. Specifically, the acquisition unit 401 may acquire the correction request by receiving the correction request from another computer.

[0080] The acquisition unit 401 may receive a start trigger for starting processing of any of the functional units. The start trigger may be, for example, a predetermined operation input by a user. The start trigger may be, for example, reception of predetermined information from another computer. The start trigger may be, for example, output of predetermined information by any of the functional units.

[0081] The acquisition unit 401 receives, for example, the acquisition of a model and a plurality of training data as a start trigger for starting the processing of the first determination unit 402, the first identification unit 403, the first correction unit 404, the second determination unit 405, the second identification unit 406, and the second correction unit 407. The acquisition unit 401 may receive, for example, the acquisition of a correction request as a start trigger for starting the processing of the first determination unit 402, the first identification unit 403, the first correction unit 404, the second determination unit 405, the second identification unit 406, and the second correction unit 407.

[0082] The first determination unit 402 determines whether each of the multiple training data is correctly classified in the model. Based on the result of the determination, the first determination unit 402 selects one or more first training data that are incorrectly classified in the model from the multiple training data. For example, based on the result of the determination, the first determination unit 402 identifies one or more training data that are incorrectly classified in the model from the multiple training data.

[0083] The first determination unit 402, for example, selects the one or more identified training data as the first training data. The first determination unit 402 may select up to a predetermined number of training data from the one or more identified training data as the first training data. The predetermined number is, for example, set in advance by a user. This allows the first determination unit 402 to obtain a guideline for correcting the model so that the first training data is correctly classified.

[0084] When the first training data is selected by the first determination unit 402, the first identification unit 403 identifies a first parameter to be changed from among a plurality of parameters forming a model based on the first training data by defect localization. The first identification unit 403 identifies a first parameter to be changed from among the plurality of parameters based on, for example, training data correctly classified in the model from among the plurality of training data by defect localization and the first training data. In this way, the first identification unit 403 can identify which parameter is preferable to be changed from among the plurality of parameters forming the model when correcting the model so that the first training data is correctly classified.

[0085] The first correction unit 404 performs a first correction to the model in response to the first parameter being specified by the first specifying unit 403. For example, the first correction unit 404 makes the specified first parameter among the multiple parameters changeable and fixes the other parameters, and performs the first correction to the model based on the first training data so that the first training data is correctly classified. Specifically, the first correction unit 404 performs the first correction to the model based on the training data correctly classified in the model among the multiple training data and the first training data by using a gradient descent method. Specifically, the first correction unit 404 may repeatedly perform the first correction to the model. Thereby, the first correction unit 404 can improve the overall accuracy with which the model classifies input data.

[0086] The second determination unit 405 determines whether or not training data, among the plurality of training data, that was correctly classified in the model before the first correction is performed is also correctly classified in the model after the first correction is performed, every time the first correction is performed by the first correction unit 404. For example, the second determination unit 405 determines whether or not specific training data, among the plurality of training data, that was correctly classified in the model before the first correction is performed is also correctly classified in the model after the first correction is performed.

[0087] Based on the result of the determination, the second determination unit 405 selects, from among the multiple training data, one or more second training data that are correctly classified in the model before the first correction is implemented but are incorrectly classified in the model after the first correction is implemented. For example, based on the result of the determination, the second determination unit 405 identifies one or more specific training data that are correctly classified in the model before the first correction is implemented but are incorrectly classified in the model after the first correction is implemented.

[0088] The second determination unit 405, for example, selects the one or more identified training data as the second training data. The second determination unit 405 may select, for example, up to a predetermined number of training data from the one or more identified training data as the second training data. The predetermined number is, for example, set in advance by a user. This allows the first determination unit 402 to obtain a guideline for correcting the model so that the second training data is correctly classified.

[0089] The second determination unit 405 determines whether the first modification unit 404 has performed the first modification to the model a predetermined number of times. When the second determination unit 405 determines that the first modification unit 404 has performed the first modification to the model a predetermined number of times, the second determination unit 405 controls the first modification unit 404 so that the first modification unit 404 ends repeating the first modification to the model. This allows the second determination unit 405 to finish modifying the model. The second determination unit 405 can suppress an increase in the processing load and processing time required when modifying the model.

[0090] When the second training data is selected by the second judgment unit 405, the second identification unit 406 identifies a second parameter to be changed from among the multiple parameters based on the second training data by defect localization.

[0091] When the second training data is selected by the second determination unit 405, the second identification unit 406 identifies a second parameter to be changed from among the multiple parameters based on the second training data by defect localization. For example, the second identification unit 406 identifies a second parameter to be changed from among the multiple parameters based on the training data correctly classified in the model from among the multiple training data by defect localization and the second training data. In this way, the first identification unit 403 can identify which parameter is preferable to be changed from among the multiple parameters forming the model when correcting the model so that the second training data is correctly classified.

[0092] The second correction unit 407 performs a second correction to the model in response to the second parameter being identified by the second identification unit 406. For example, the second correction unit 407 makes the first parameter and the second parameter among the multiple parameters changeable and fixes the other parameters, and performs the second correction to the model based on the second training data so that the second training data is correctly classified. Specifically, the second correction unit 407 performs the second correction to the model based on the training data correctly classified in the model among the multiple training data among the multiple parameters and the second training data using a gradient descent method. Specifically, the second correction unit 407 may repeatedly perform the second correction to the model until the second training data is correctly classified. In this way, the second correction unit 407 can improve the accuracy with which the model classifies specific data.

[0093] The output unit 408 outputs the processing result of at least one of the functional units. The output format is, for example, display on a display, printout on a printer, transmission to an external device via the network I / F 303, or storage in a storage area such as the memory 302 or the recording medium 305. In this way, the output unit 408 can notify the user of the processing result of at least one of the functional units, thereby improving the convenience of the information processing device 100.

[0094] The second determination unit 405 outputs the model in response to performing a predetermined number of first modifications to the model. For example, the second determination unit 405 outputs the model so that the user can refer to it. For example, the second determination unit 405 may transmit the model to another computer. In this way, the second determination unit 405 can make available a model that can correctly classify specific data while ensuring the overall accuracy of classifying input data.

[0095] (Specific example of functional configuration of information processing device 100) Next, a specific example of the functional configuration of the information processing device 100 will be described with reference to FIG.

[0096] Fig. 5 is a block diagram showing a specific example of a functional configuration of the information processing device 100. In Fig. 5, the information processing device 100 receives inputs of a plurality of training data 501, a correction target model 502, a change target weight W1 503, correction target data 504, and priority data 505. The correction target model 502 includes a plurality of layers. The layer includes one or more nodes. The nodes may be connected by, for example, edges. The correction target model 502 includes a plurality of weights set to different edges.

[0097] Here, among the multiple training data 501, the correction target data 504 corresponding to the training data 501 erroneously classified in the correction target model 502 is assumed to be known. Also, the change target weight W1 503 determined to be preferably changed in order to correctly classify the correction target data 504 by defect localization is assumed to be known. Also, among the multiple training data 501, the priority data 505 corresponding to the training data 501 for which it is desired to avoid degradation is assumed to be known. For example, the priority data 505 is set in advance by a user. For example, the priority data 505 may be randomly selected from the multiple training data 501. For example, the priority data 505 may be randomly selected from the training data 501 correctly classified in the uncorrected correction target model 502 among the multiple training data 501.

[0098] The information processing device 100 includes a sampling unit 511 , a correction target data retraining unit 512 , a termination determination unit 513 , a priority data classification determination unit 514 , a priority data defect localization unit 515 , and a priority data retraining unit 516 .

[0099] The sampling unit 511 samples one or more successful data 521 from among the training data 501 correctly classified in the correction target model 502 among the multiple training data 501. For example, the sampling unit 511 samples a predetermined number of successful data 521 in descending order of loss from among the training data 501 correctly classified in the correction target model 502 among the multiple training data 501. The loss corresponds to the magnitude of the difference between a value output by the correction target model 502 to which the training data 501 has been input and a value indicating the correct answer as a result of classifying the training data 501.

[0100] The correction target data retraining unit 512 uses a gradient descent method to repeatedly perform a first correction to the correction target model 502, making the change target weight W1 503 variable and fixing the other weights, so that the correction target data 504 is correctly classified.

[0101] The correction target data retraining unit 512 repeatedly performs the first correction on the correction target model 502 based on, for example, the correction target data 504 and the sampled successful data 521. Specifically, after performing the first correction on the correction target model 502, the correction target data retraining unit 512 waits until it receives a re-execution request from the priority data classification determination unit 514, and then performs the first correction on the correction target model 502 again.

[0102] If the number of times the first correction has been performed is equal to or greater than a predetermined number (True), the termination determination unit 513 controls the correction target data retraining unit 512 to terminate the repeated performance of the first correction. If the number of times the first correction has been performed is equal to or greater than a predetermined number (True), the termination determination unit 513 outputs the latest correction target model 502 as a corrected model 541 so that the user can refer to it. If the number of times the first correction has been performed is less than the predetermined number (False), the termination determination unit 513 transmits a processing request to the priority data classification determination unit 514.

[0103] Each time the priority data classification determination unit 514 receives a processing request from the end determination unit 513, it determines whether or not all the priority data 505 are correctly classified in the latest correction target model 502. If all the priority data 505 are correctly classified (True), the priority data classification determination unit 514 transmits a re-execution request to the correction target data retraining unit 512. If any of the priority data 505 is erroneously classified (False), the priority data classification determination unit 514 transmits the degraded priority data 531 among the priority data 505 to the priority data defect localization unit 515 and the priority data retraining unit 516.

[0104] The priority data defect localization unit 515 receives the degraded priority data 531 from the priority data classification determination unit 514. The priority data defect localization unit 515 identifies a change target weight W2 532 that is determined to be preferably changed in order to correctly classify the degraded priority data 531 by defect localization. The priority data defect localization unit 515 transmits the identified change target weight W2 532 to the priority data retraining unit 516.

[0105] The priority data retraining unit 516 receives the degraded priority data 531 from the priority data classification determination unit 514. The priority data retraining unit 516 receives the change target weight W2 532 from the priority data defect localization unit 515. The priority data retraining unit 516 acquires the change target weight W1 503.

[0106] The priority data retraining unit 516 uses gradient descent to iteratively perform a second modification to the modified model 502, varying the weights W1 503 and W2 532 to be modified and fixing the other weights, so that the priority data 531 is correctly classified.

[0107] The priority data retraining unit 516 repeatedly performs a second correction on the correction target model 502 based on, for example, the priority data 531 and the sampled successful data 521 until the priority data 531 is correctly classified. After repeatedly performing the second correction on the correction target model 502, the priority data retraining unit 516 transmits a processing request to the priority data classification determination unit 514.

[0108] Each time the priority data classification determination unit 514 receives a processing request from the priority data retraining unit 516, it determines whether or not all the priority data 505 are correctly classified in the latest correction target model 502. If all the priority data 505 are correctly classified (True), the priority data classification determination unit 514 transmits a re-execution request to the correction target data retraining unit 512. If any of the priority data 505 is erroneously classified (False), the priority data classification determination unit 514 transmits the degraded priority data 531 among the priority data 505 to the priority data defect localization unit 515 and the priority data retraining unit 516 again.

[0109] (Operation example of information processing device 100) Next, an example of the operation of the information processing device 100 will be described with reference to FIGS.

[0110] Specifically, first, an example in which the information processing device 100 specifies successful data that is correctly classified in the post-training model M from among a plurality of training data will be described with reference to FIGS. 6 and 7. FIG.

[0111] 6 and 7 are explanatory diagrams showing an example of identifying successful data. In FIG. 6, the information processing device 100 stores a training data group 600 including a plurality of training data. The information processing device 100 has a function of classifying input data, and stores a post-training model M that outputs a result of classifying the input data. The post-training model M is, for example, a neural network. Specifically, the post-training model M may be a convolutional neural network.

[0112] Specifically, the information processing device 100 stores various parameters representing the trained model M, as shown in Table 610. More specifically, as shown in Table 610, the information processing device 100 stores, for each layer of the neural network, the type of the layer, the weights flattened into one dimension corresponding to the layer, and the number of weights in association with each other.

[0113] The information processing device 100 inputs each training data included in the training data group 600 into the post-training model M represented by table 610, thereby calculating the forward propagation of each training data. Based on the forward propagation of each training data, the information processing device 100 acquires an output from the last hidden layer corresponding to each training data, as shown in table 620. The output includes, for example, a plurality of values. The plurality of values ​​indicate, for example, the confidence of classifying each of a car, a boat, a dog, or a bird. Next, we move on to the explanation of FIG. 7.

[0114] 7, the information processing device 100 stores correct answer labels indicating correct answers resulting from classification of each training data included in the training data group 600, as shown in table 700. The information processing device 100 classifies each training data, as shown in table 710, based on the output from the last hidden layer corresponding to each training data, as shown in table 620, and specifies estimated labels indicating the result of classification of each training data.

[0115] The information processing device 100 compares the correct label corresponding to each training data shown in table 700 with the estimated label corresponding to each training data shown in table 710. The information processing device 100 identifies training data in which the correct label and the estimated label match as successful data, and identifies a successful data group 720 including the identified one or more successful data.

[0116] Next, an example of calculating the forward influence degree for correction target data, which is referred to by the information processing device 100 during defect localization, will be described with reference to FIG.

[0117] 8 is an explanatory diagram showing an example of calculating the forward influence. In FIG. 8, the information processing device 100 inputs a group of indices forming the correction target data shown in table 810 to the trained model M, and calculates the i-th value o i (l-1) The information processing device 100 obtains, for each layer l, the i-th output value o i (l-1) and the weight value W in the jth row and ith column of layer l ji (l) Product of i (l-1) W ji (l) The information processing device 100 calculates the forward influence for the correction target data as shown in table 830. For each layer l, the information processing device 100 calculates the weight value W ji (l) Sort the weights W for the data to be corrected. ji (l) List of indexes for I fwd _ neg (l) Generate.

[0118] Similarly, the information processing device 100 inputs a group of indices forming the successful data to the trained model M to obtain the i-th value o i (l-1)Similarly, for each layer l, the information processing device 100 obtains the i-th output value o i (l-1) and the weight value W in the jth row and ith column of layer l ji (l) Product of i (l-1) W ji (l) The information processing device 100 similarly calculates the weight value W ji (l) Sort the weights W for the successful data. ji (l) List of indexes for I fwd _ pos (l) Generate.

[0119] Next, an example of calculating the backward influence degree for correction target data, which is referred to by the information processing device 100 at the time of defect localization, will be described with reference to FIG.

[0120] 9 is an explanatory diagram showing an example of calculating the backward influence. In FIG. 9, the information processing device 100 inputs a group of indexes forming the correction target data shown in Table 810 to the trained model M, and calculates the output Y neg The information processing device 100 obtains the output Y neg Let W be the value of the jth row and ith column of layer l. ji (l) The value ∂Y neg / ∂W (l) The information processing device 100 calculates the backward influence for the correction target data as the backward influence for each layer l in descending order of the backward influence as shown in table 930. ji (l) Sort the weights W for the data to be corrected. ji (l) List of indexes for I grad _ neg (l) Generate.

[0121] Similarly, the information processing device 100 inputs a group of indices forming the successful data to the post-training model M, and obtains an output Y pos Similarly, the information processing device 100 obtains the output Y pos Let W be the value of the jth row and ith column of layer l. ji (l) The value ∂Y pos / ∂W (l) As the backward influence degree for the successful data, the information processing device 100 calculates the weight value W ji (l) Sort the weights W for the successful data. ji (l) List of indexes for I grad _ pos (l) Generate.

[0122] Next, an example in which the information processing device 100 specifies the change target weight W1 by defect localization will be described with reference to FIGS.

[0123] 10 to 13 are explanatory diagrams showing an example of specifying the change target weight W1. In FIG. 10, the information processing device 100 normalizes the average forward influence degree for the correction target data in each layer shown in table 820, and calculates the average forward influence degree e neg,fwd (l) Calculate.

[0124] Similarly, the information processing device 100 normalizes the average forward influence degree for the successful data in each layer shown in Table 1001, and obtains the average e pos,fwd (l) Calculate.

[0125] In addition, the information processing device 100 normalizes the average backward influence degree for the correction target data in each layer shown in table 920, and calculates the average backward influence degree e neg,grad (l) Calculate.

[0126] Similarly, the information processing device 100 normalizes the average backward influence degree for the successful data in each layer shown in Table 1001, and obtains the average e pos,grad (l) Next, we move on to the explanation of FIG.

[0127] In FIG. 11, the information processing device 100 calculates the suspicion value susp for each layer shown in Table 1100 by the following formula (1). (l) The suspicion value corresponds to the probability that the respective layer is the cause of the data to be corrected being misclassified.

[0128]

number

[0129] The information processing device 100 determines the number of change target weights W1 selected in each layer based on the ratio of the suspicion values ​​between layers. For example, the information processing device 100 determines the number of change target weights W1 selected in each layer so that the number of change target weights W1 selected in a layer with a relatively large suspicion value is greater than the number of change target weights W1 selected in a layer with a relatively small suspicion value. Next, we move on to the description of FIG. 12.

[0130] In FIG. 12, the information processing device 100 performs the list I shown in the table 830. fwd _ neg (l)Based on the above, one or more weights in each layer are selected as candidates for change in the order of the forward influence, the number of selections shown in table 1100. The information processing device 100 selects a subset I of the indexes of one or more weights in each layer that are candidates for change, as shown in table 1221. fwd _ neg (l)' Generate.

[0131] Similarly, the information processing device 100 uses List I shown in Table 1211 fwd _ pos (l) Based on the above, one or more weights to be candidates for change are selected from the weights in each layer in the order of the forward influence, the number of selections shown in table 1100. The information processing device 100 selects a subset I of the indexes of one or more weights to be candidates for change in each layer, as shown in table 1231. fwd _ pos (l)' Generate.

[0132] In addition, the information processing device 100 uses List I shown in Table 930 fwd _ neg (l) Based on the above, one or more weights to be candidates for change are selected from the weights in each layer in the order of the largest backward influence, the number of selections shown in table 1100. The information processing device 100 selects a subset I of the indexes of one or more weights to be candidates for change in each layer, as shown in table 1222. fwd _ neg (l)' Generate.

[0133] Similarly, the information processing device 100 uses List I shown in Table 1212 fwd _ pos (l) Based on the above, one or more weights to be candidates for change are selected from the weights in each layer in the order of the backward influence, the number of selections shown in table 1100. The information processing device 100 selects a subset I of the indexes of one or more weights to be candidates for change in each layer, as shown in table 1232. fwd _pos (l)' Next, we move on to the description of FIG.

[0134] 13, the information processing device 100 performs set operations on various subsets using the following formula (2) to generate a list of indices of the weight W1 to be changed among the weights of each layer, as shown in Table 1300. The various subsets are, for example, the subset I fwd _ neg (l)' and the subset I shown in Table 1231 fwd _ pos (l)' and subset I shown in Table 1222 fwd _ neg (l)' and subset I shown in Table 1232 fwd _ pos (l)' And so.

[0135]

number

[0136] This allows the information processing device 100 to identify which weights are preferably changed when correcting the trained model M so that the correction target data is correctly classified. The information processing device 100 can efficiently correct the trained model M so that the correction target data is correctly classified.

[0137] Next, an example in which the information processing device 100 samples successful data from the successful data group 720 to be referred to when changing the change target weight W1 will be described with reference to FIG.

[0138] 14 is an explanatory diagram showing an example of sampling successful data. In FIG. 14, the information processing device 100 samples each successful data X included in the successful data group 720. pos By inputting the above data into the post-training model, each successful data X posThe information processing device 100 calculates the loss of each successful data X pos , and each successful data X pos Calculate the loss.

[0139] The information processing device 100 samples a designated number of successful data from the successful data group 720 in order of decreasing loss. The designated number is, for example, 200 to 1000. The designated number is, for example, set in advance by a user. The information processing device 100 generates a successful data sample 1430 including the sampled successful data.

[0140] Next, an example in which the information processing device 100 changes the change target weight W1 based on the correction target data and the successful data sample 1430 will be described with reference to FIG.

[0141] Fig. 15 is an explanatory diagram showing an example of changing the change target weight W1. In Fig. 15, the information processing device 100 generates a position matrix M1510, which has the same dimension as the weight matrix summarizing the weights of the trained model 1500 and indicates component values ​​corresponding to the positions of the change target weight W1 as 1. In the position matrix M1510, component values ​​corresponding to positions other than the position of the change target weight W1 are 0. Specifically, an example of the position matrix M1510 is shown in the following formula (3).

[0142]

number

[0143] The information processing device 100 calculates a loss gradient and generates a loss matrix G1520 by inputting the correction target data and the successful data sample 1430 to the post-training model 1500. Specifically, an example of the loss matrix G1520 is shown in the following formula (4).

[0144]

number

[0145] The information processing device 100 generates a correction matrix (M×G) 1530 by the following formula (5).

[0146]

number

[0147] The information processing device 100 applies the correction matrix (M×G) 1530 to the weighting matrix of the post-training model 1500 to change the weight W1 to be changed, and performs a first correction to the post-training model 1500. This enables the information processing device 100 to correct the post-training model 1500 so that the data to be corrected is correctly classified.

[0148] Next, an example in which the information processing device 100 performs a first end determination in response to performing a first correction on the trained model 1500 will be described with reference to FIG.

[0149] Fig. 16 is an explanatory diagram showing an example of performing a first end determination. In Fig. 16, the trained model 1500 after the first correction is performed is set as a trained model 1600. The information processing device 100 determines whether the first correction has been performed a specified number of times. If the first correction has been performed a specified number of times, the information processing device 100 outputs the trained model 1600 so that the user can refer to it.

[0150] If the information processing device 100 has not performed the first correction a specified number of times, it determines whether or not all of the priority data 1610 is correctly classified in the post-training model 1600. The priority data 1610 is, for example, randomly selected from the training data group 600. Specifically, the priority data 1610 may be randomly selected from successful data that is correctly classified in the uncorrected post-training model M in the training data group 600. If all of the priority data 1610 is correctly classified in the post-training model 1600, the information processing device 100 performs the first correction again, similarly to FIG. 15.

[0151] The information processing device 100 performs the second correction if any of the priority data 1610 is erroneously classified in the post-training model 1600 and degradation occurs. Here, it is assumed that the information processing device 100 performs the second correction because it has determined that any of the priority data 1610 is erroneously classified in the post-training model 1600.

[0152] Next, an example will be described in which the information processing device 100 specifies the weight W2 to be changed by defect localization in order to perform the second correction, using Fig. 17 and Fig. 18. In the following description, the priority data in which degradation occurs may be referred to as "failed data".

[0153] 17 and 18 are explanatory diagrams showing an example of specifying the weight W2 to be changed. In FIG. 17, the information processing device 100 inputs a group of indices forming the failure data 1700 to the trained model M in the same way as in FIG. 8, and thereby obtains the i-th value o i (l-1) The information processing device 100 obtains the i-th output value o i (l-1) and the weight value W in the jth row and ith column of layer l ji (l) Product of i (l-1) W ji (l) The information processing device 100 calculates the forward influence for the failure data 1700 as the forward influence. As shown in table 1701, the information processing device 100 calculates the weight value W ji (l) Then, the weights for the failed data 1700 are sorted and the weights W ji (l) List of indexes for I fwd _ failed (l) Generate.

[0154] In the same manner as in FIG. 8, the information processing device 100 inputs a group of indices forming the successful data of the successful data sample 1430 into the trained model M, thereby obtaining the i-th value o i (l-1) The information processing device 100 obtains the i-th output value o i (l-1) and the weight value W in the jth row and ith column of layer l ji (l) Product of i (l-1) W ji (l) The information processing device 100 calculates the forward influence for the successful data as the weight value W for each layer l in descending order of the forward influence as shown in table 1711. ji (l) Sort the weights W for the successful data. ji (l) List of indexes for I fwd _ pos (l) Generate.

[0155] In the information processing device 100, as in FIG. 9, a group of indices forming the failure data 1700 are input to the post-training model M, and the output Y failed The information processing device 100 obtains the output Y failed Let W be the value of the jth row and ith column of layer l. ji (l) The value ∂Y failed / ∂W (l) As shown in table 1702, the information processing device 100 calculates the backward influence degree for the failure data 1700. ji (l) Then, the weights for the failed data 1700 are sorted and the weights W ji (l) List of indexes for I grad _ failed (l) Generate.

[0156] In the same manner as in FIG. 9, the information processing device 100 inputs a group of indices forming the successful data of the successful data sample 1430 into the post-training model M, and obtains an output Y pos The information processing device 100 obtains the output Y pos Let W be the value of the jth row and ith column of layer l. ji (l) The value ∂Y pos / ∂W (l) The information processing device 100 calculates the backward influence degree for the successful data as the weight value W ji (l) The information processing device 100 sorts the weight values ​​W for the successful data in the successful data sample 1430 as shown in Table 1712. ji (l) List of indexes for I grad _ pos (l) Generate.

[0157] The information processing device 100 normalizes the average forward influence degree for the failure data 1700 in each layer, and calculates the average forward influence degree e failed,fwd (l) Similarly, the information processing device 100 normalizes the average forward influence degree for the successful data in each layer, and calculates the average forward influence degree e pos,fwd (l) Calculate.

[0158] In addition, the information processing device 100 normalizes the average backward influence degree for the failure data 1700 in each layer, and calculates the average backward influence degree e failed,grad (l) Similarly, the information processing device 100 normalizes the average backward influence degree for the successful data in each layer, and calculates the average backward influence degree epos,grad (l) Calculate.

[0159] The information processing device 100 calculates the suspicion value susp for each layer in the same manner as in FIG. (l) The suspicion value corresponds to the magnitude of the probability that each layer is the cause of the erroneous classification of the failure data 1700. The information processing device 100 determines the number of change target weights W2 to be selected in each layer based on the ratio of the suspicion values ​​between the layers, as shown in table 1720. The information processing device 100 determines the number of change target weights W2 to be selected in each layer, for example, so that the number of change target weights W2 to be selected in a layer with a relatively large suspicion value is greater than the number of change target weights W2 to be selected in a layer with a relatively small suspicion value. Next, we move on to the description of FIG. 18.

[0160] In FIG. 18, the information processing device 100 uses list I shown in table 1701. fwd _ failed (l) Based on the above, one or more weights in each layer are selected as candidates for change in the order of increasing forward influence, the number of selections shown in table 1720. The information processing device 100 selects a subset I of indexes of one or more weights in each layer that are candidates for change, as shown in table 1801. fwd _ failed (l)' Generate.

[0161] Similarly, the information processing device 100 uses List I shown in Table 1711 fwd _ pos (l) Based on the above, one or more weights in each layer are selected as candidates for change in the order of increasing forward influence, the number of selections shown in table 1720. The information processing device 100 selects a subset I of indexes of one or more weights in each layer that are candidates for change, as shown in table 1811. fwd _ pos (l)' Generate.

[0162] In addition, the information processing device 100 uses List I shown in Table 1702 fwd _ failed (l) Based on the above, one or more weights in each layer are selected as candidates for change in order of the backward influence, the number of selections shown in table 1720. The information processing device 100 selects a subset I of the indexes of one or more weights in each layer that are candidates for change, as shown in table 1802. fwd _ failed (l)' Generate.

[0163] Similarly, the information processing device 100 uses List I shown in Table 1712 fwd _ pos (l) Based on the above, one or more weights in each layer are selected as candidates for change in order of the backward influence, the number of selections shown in table 1720. The information processing device 100 selects a subset I of the indexes of one or more weights in each layer that are candidates for change, as shown in table 1812. fwd _ pos (l)' Generate.

[0164] The information processing device 100 performs set operations on various subsets using the following formula (6) in the same manner as in FIG. 13 to generate a list of indices of the weight W2 to be changed among the weights of each layer, as shown in Table 1820. The various subsets are, for example, the subset I fwd _ failed (l)' Various subsets include, for example, subset I shown in Table 1711. fwd _ pos (l)' Various subsets include, for example, subset I shown in Table 1702. fwd _ failed (l)' Various subsets include, for example, subset I shown in Table 1712. fwd _ pos (l)' Includes.

[0165]

number

[0166] This allows the information processing device 100 to identify which weights are preferable to change when correcting the post-training model M so as to correctly classify the failure data 1700. The information processing device 100 can efficiently correct the post-training model M so as to correctly classify the failure data 1700.

[0167] Next, an example in which the information processing device 100 changes the change target weight W2 based on the failure data 1700 and the success data sample 1430 will be described with reference to FIG.

[0168] Fig. 19 is an explanatory diagram showing an example of changing the change target weight W2. In Fig. 19, the information processing device 100 generates a position matrix M1910, which has the same dimension as the weight matrix summarizing the weights of the trained model 1600, and in which component values ​​corresponding to the positions of the change target weight W1 and the change target weight W2 are indicated by 1. In the position matrix M1910, component values ​​corresponding to positions other than the positions of the change target weight W1 and the change target weight W2 are 0. Specifically, an example of the position matrix M1910 is shown in the following formula (7).

[0169]

number

[0170] The information processing device 100 calculates a loss gradient and generates a loss matrix G1920 by inputting the failure data 1700 and the success data of the success data sample 1430 into the post-training model 1600. Specifically, an example of the loss matrix G1920 is shown in the following formula (8).

[0171]

number

[0172] The information processing device 100 generates a correction matrix (M×G) 1930 by the following equation (9).

[0173]

number

[0174] The information processing device 100 applies the correction matrix (M×G) 1930 to the weight matrix of the post-training model 1600 to change the weight to be changed W2, and performs a second correction to the post-training model 1600. This enables the information processing device 100 to correct the post-training model 1600 so that the failure data 1700 is correctly classified.

[0175] Next, an example in which the information processing device 100 performs a second end determination in response to performing a second correction on the trained model 1600 will be described with reference to FIG.

[0176] FIG. 20 is an explanatory diagram showing an example of performing the second end determination. In FIG. 20, the post-training model 1600 after performing the second correction is set as a post-training model 2000. The information processing device 100 determines whether or not all the priority data 1610 are correctly classified in the post-training model 2000. If all the priority data 1610 are correctly classified in the post-training model 2000, the information processing device 100 performs the first correction again, as in FIG. 15. If any of the priority data 1610 is incorrectly classified in the post-training model 2000, the information processing device 100 performs the second correction again.

[0177] This allows the information processing device 100 to repeatedly perform the second correction until all of the priority data 1610 are correctly classified. The information processing device 100 can change the change target weight W2 that is determined to have a relatively large influence on the classification of the failure data 1700, for example, suitable for the purpose of eliminating the degradation. Also, the information processing device 100 can change the change target weight W1 that may be the cause of the occurrence of the degradation, suitable for the purpose of eliminating the degradation. Therefore, the information processing device 100 can efficiently perform the second correction.

[0178] Next, an example of an effect achieved by the information processing device 100 will be described with reference to FIG.

[0179] 21 is an explanatory diagram showing an example of the effect of the information processing device 100. In FIG. 21, a table 2100 shows performance information for each of method 1, method 2, and method 3.

[0180] Method 1 is a conventional method in which parameters to be changed, identified by defect localization, are made changeable while other parameters are fixed, and a process of correcting the model is repeatedly performed so that incorrectly classified data can be correctly classified.

[0181] Method 2 is a method in which the parameter to be changed identified by defect localization is made changeable, other parameters are fixed, and the parameter to be changed is changed based on the data in which degradation has occurred during the process of repeatedly performing the process of correcting the model. Method 3 is a method implemented by the information processing device 100 shown in the operation example 1.

[0182] Here, the CIFAR-10 training data used to learn the model is 37,500 images, and the priority data among the training data is 100 images x 10 classes = 1,000 images. The number of images to be corrected that were incorrectly classified in the model is 63 images. In addition, the evaluation data used to evaluate the model is 10,000 images. The model is VGG16. The number of parameters of the model is 33,638,218. The accuracy of the model before correction is 86.76%. Accuracy indicates the classification accuracy for the entire evaluation data.

[0183] In contrast, the accuracy of method 1 is 80.36%. In method 1, the number of degraded priority data, which indicates the number of degraded priority data among the multiple priority data, is 99. In method 1, the number of corrected correction target data, which indicates the number of correction target data that are now correctly classified by correcting the model among the multiple correction target data, is 63. In method 1, the number of degraded evaluation data, which indicates the number of degraded evaluation data among the multiple evaluation data, is 830. In method 1, the number of corrected evaluation data, which indicates the number of evaluation data that are now correctly classified by correcting the model among the multiple evaluation data, is 190.

[0184] Moreover, the accuracy of method 2 is 86.67%. In method 2, the number of degraded priority data, which indicates the number of pieces of degraded priority data among the multiple pieces of priority data, is 0. In method 2, the number of corrected correction target data, which indicates the number of pieces of correction target data that are now correctly classified by correcting the model among the multiple pieces of correction target data, is 24. In method 2, the number of degraded evaluation data, which indicates the number of pieces of evaluation data that are degraded among the multiple pieces of evaluation data, is 57. In method 2, the number of corrected evaluation data, which indicates the number of pieces of evaluation data that are now correctly classified by correcting the model among the multiple pieces of evaluation data, is 48.

[0185] Moreover, the accuracy of method 3 is 86.8%. In method 3, the number of degraded priority data, which indicates the number of pieces of degraded priority data among the multiple pieces of priority data, is 0. In method 3, the number of corrected correction target data, which indicates the number of pieces of correction target data that are now correctly classified by correcting the model among the multiple pieces of correction target data, is 17. In method 3, the number of degraded evaluation data, which indicates the number of pieces of evaluation data that are degraded among the multiple pieces of evaluation data, is 61. In method 3, the number of corrected evaluation data, which indicates the number of pieces of evaluation data that are now correctly classified by correcting the model among the multiple pieces of evaluation data, is 65.

[0186] In this way, method 1 has a tendency to increase the number of degraded priority data and the number of degraded evaluation data. Therefore, method 1 has a problem that it is difficult to prevent the occurrence of incidents due to the degradation of priority data or the degradation of evaluation data. Method 1 has a problem that accuracy tends to decrease compared to before the model correction, leading to a decrease in classification accuracy for the entire evaluation data.

[0187] In addition, method 2 has a problem in that the number of degraded sheets of evaluation data is smaller than that of method 3. Method 2 has a problem in that the accuracy tends to decrease compared to before the model was corrected, leading to a decrease in classification accuracy for the entire evaluation data.

[0188] In contrast, method 3 can reduce the number of degraded sheets of priority data compared to method 1. Method 3 can reduce the number of degraded sheets of evaluation data compared to methods 1 and 2. Therefore, method 3 can easily prevent the occurrence of incidents due to degradation of priority data or degradation of evaluation data. Method 3 can increase accuracy compared to before the model was corrected, and can increase the classification accuracy for all evaluation data.

[0189] (Application example of information processing device 100) The information processing device 100 may be applied, for example, to the field of automatic driving. Specifically, the information processing device 100 may be applied to the field of automatic recognition of traffic signs based on images of traffic signs captured by an on-board camera installed in a vehicle. In this case, the specific data may be, for example, data related to an image of a traffic sign indicating a stop sign. As a result, the information processing device 100 corrects the model so that the specific data is correctly classified, making it easier to prevent incidents such as traffic accidents from occurring due to erroneous recognition of a traffic sign indicating a stop sign.

[0190] Furthermore, the information processing device 100 can be applied, for example, to the field of image recognition. Specifically, the information processing device 100 can be applied to the field of automatically recognizing products put into a grocery store cart based on an image captured by a camera provided in the cart. In this case, the specific data may be, for example, data relating to an image of a high-priced product. This allows the information processing device 100 to correct the model so that the specific data is correctly classified, making it easier to prevent incidents such as financial losses caused by erroneous recognition of high-priced products.

[0191] (Overall processing procedure) Next, an example of an overall processing procedure executed by the information processing device 100 will be described with reference to Fig. 22. The overall processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0192] Fig. 22 is a flowchart showing an example of an overall processing procedure. In Fig. 22, the information processing device 100 acquires a training data group TD (step S2201). In addition, the information processing device 100 acquires a correction target model M (step S2202).

[0193] Next, the information processing device 100 identifies correction target data RD from the training data group TD (step S2203).Then, the information processing device 100 identifies priority data PD from the training data group TD (step S2204).

[0194] Next, the information processing device 100 executes a first localization process described later in Fig. 23 using the training data group TD, the correction target model M, and the correction target data RD as inputs (step S2205). Then, the information processing device 100 executes a collection process described later in Fig. 24 using the training data group TD and the correction target model M as inputs (step S2206).

[0195] Next, the information processing device 100 executes a first retraining process described later in Fig. 25 using the correction target model M, the correction target data RD, the successful data sample CDS, and the change target weight W1 as input (step S2207). Then, the information processing device 100 executes a determination process described later in Fig. 26 using the correction target model M as input (step S2208).

[0196] Next, the information processing device 100 determines whether the determination result is to continue (step S2209). If the determination result is to continue (step S2209: Yes), the information processing device 100 proceeds to processing in step S2210. On the other hand, if the determination result is not to continue but to end (step S2209: No), the information processing device 100 proceeds to processing in step S2211.

[0197] In step S2210, the information processing device 100 executes a second retraining process, which will be described later in Fig. 27, using the correction target model M, the priority data PD, the successful data sample CDS, and the change target weight W1 as input (step S2210). Then, the information processing device 100 returns to the process of step S2207.

[0198] In step S2211, the information processing device 100 outputs the correction target model M (step S2211). Then, the information processing device 100 ends the entire process. This allows the information processing device 100 to correct the correction target model M so as to improve the accuracy of classifying specific data while maintaining the overall accuracy of classifying input data.

[0199] (First localization processing procedure) Next, an example of a first localization process procedure executed by the information processing device 100 will be described with reference to Fig. 23. The first localization process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0200] Fig. 23 is a flowchart showing an example of a procedure of the first localization process. In Fig. 23, the information processing device 100 accepts an input of a training data group TD (step S2301). The information processing device 100 also accepts an input of a correction target model M (step S2302). The information processing device 100 also accepts an input of correction target data RD (step S2303).

[0201] Next, the information processing device 100 generates an inference result for each training data TD in M ​​(step S2304). Then, the information processing device 100 selects successful data TD for which the inference result is correct among TD. P (step S2305).

[0202] Next, the information processing device 100 outputs the success data TD P (Step S2306). Then, the information processing apparatus 100 calculates the forward propagation and the backward propagation of the correction target data RD (Step S2307).

[0203] Next, the information processing device 100 outputs the success data TD P The forward propagation of weight set Fwd is relatively large. TDP (Step S2308). Then, the information processing device 100 identifies the success data TDP The backpropagation of weight set Bwd is relatively large. TDP (step S2309).

[0204] Next, the information processing device 100 calculates a weight set Fwd with a relatively large forward propagation of the correction target data RD. RD (Step S2310). Then, the information processing device 100 identifies a weight set Fwd that has a relatively large back propagation of the correction target data RD. RD (Step S2311).

[0205] Next, the information processing device 100 calculates the weight set Fwd by the following formula (10). TDP and the weight set Bwd TDP and the weight set Fwd RD and the weight set Fwd RD Based on this, the weight to be changed W1 is selected (step S2312).

[0206]

number

[0207] Next, the information processing device 100 outputs the change target weight W1 (step S2313). Then, the information processing device 100 ends the first localization process. This allows the information processing device 100 to identify which weight is preferable to be changed in order to correct the correction target model M so that the correction target data RD is correctly classified.

[0208] (Collection processing procedure) Next, an example of a collection process procedure executed by the information processing device 100 will be described with reference to Fig. 24. The collection process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0209] Fig. 24 is a flowchart showing an example of a collection process procedure. In Fig. 24, the information processing device 100 receives an input of a training data group TD (step S2401). In addition, the information processing device 100 receives an input of a correction target model M (step S2402).

[0210] Next, the information processing device 100 generates an inference result for each training data TD in M ​​(step S2403). Then, the information processing device 100 selects successful data TD for which the inference result is correct among TD. P (step S2404).

[0211] Next, the information processing device 100 outputs the success data TD P Then, the information processing device 100 calculates the loss of the successful data TD P Among them, a certain number of successful data TD with relatively large losses P is set in the successful data sample CDS (step S2406).

[0212] Next, the information processing device 100 outputs the successful data sample CDS (step S2407). Then, the information processing device 100 ends the collection process. This allows the information processing device 100 to obtain the successful data sample CDS to be referred to in the first retraining process and the second retraining process.

[0213] (First Retraining Procedure) Next, an example of a first re-training process procedure executed by the information processing device 100 will be described with reference to Fig. 25. The first re-training process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0214] Fig. 25 is a flowchart showing an example of a first retraining process procedure. In Fig. 25, the information processing device 100 accepts an input of a correction target model M (step S2501). The information processing device 100 also accepts an input of correction target data RD (step S2502). The information processing device 100 also accepts an input of a successful data sample CDS (step S2503). The information processing device 100 also accepts an input of a change target weight W1 (step S2504).

[0215] Next, the information processing device 100 calculates the loss gradient of each weight of the correction target model M based on the successful data sample CDS and the correction target data RD (step S2505). Then, the information processing device 100 sets the loss gradient of the weights other than the change target weight W1 among the weights of the correction target model M to 0 (step S2506).

[0216] Next, the information processing device 100 applies the loss gradients of each weight to the correction target model M to change each weight of the correction target model M (step S2507). Then, the information processing device 100 outputs the correction target model M (step S2508). After that, the information processing device 100 ends the first retraining process. This allows the information processing device 100 to correct the correction target model M so that the correction target data RD is correctly classified.

[0217] (Determination process procedure) Next, an example of a procedure of a determination process executed by the information processing device 100 will be described with reference to Fig. 26. The determination process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0218] 26 is a flowchart illustrating an example of a procedure of the determination process. In FIG 26, the information processing device 100 receives an input of a correction target model M (step S2601).

[0219] Next, the information processing device 100 determines whether the number of executions of the first retraining process is greater than the designated number of times (step S2602). If the number of executions of the first retraining process is less than or equal to the designated number of times (step S2602: No), the information processing device 100 proceeds to the process of step S2603. On the other hand, if the number of executions of the first retraining process is greater than the designated number of times (step S2602: Yes), the information processing device 100 proceeds to the process of step S2604.

[0220] In step S2603, the information processing device 100 sets the determination result to continue (step S2603). Then, the information processing device 100 proceeds to the process of step S2605.

[0221] In step S2604, the information processing device 100 sets the determination result to "end" (step S2604). Then, the information processing device 100 proceeds to the process of step S2605.

[0222] In step S2605, the information processing device 100 outputs the correction target model M (step S2605). Then, the information processing device 100 ends the determination process. This allows the information processing device 100 to stop repeatedly performing the first re-training process, and can suppress an increase in the processing load and processing time. The information processing device 100 can guarantee that the first re-training process is performed a specified number of times, and can improve the overall accuracy with which the correction target model M classifies input data.

[0223] (Second Retraining Procedure) Next, an example of a second re-training process procedure executed by the information processing device 100 will be described with reference to Fig. 27. The second re-training process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0224] Fig. 27 is a flowchart showing an example of a second retraining process procedure. In Fig. 27, the information processing device 100 accepts an input of a correction target model M (step S2701). The information processing device 100 also accepts an input of priority data PD (step S2702). The information processing device 100 also accepts an input of a successful data sample CDS (step S2703). The information processing device 100 also accepts an input of a change target weight W1 (step S2704).

[0225] Next, the information processing device 100 generates an inference result of PD from M (step S2705). Then, the information processing device 100 determines whether all the inference results M(PD) are correct (step S2706). If all the inference results M(PD) are correct (step S2706: Yes), the information processing device 100 proceeds to processing of step S2709. On the other hand, if any of the inference results M(PD) is not correct (step S2706: No), the information processing device 100 proceeds to processing of step S2707.

[0226] In step S2707, the information processing device 100 executes the second localization process described later in FIG. 28 using the correction target model M, the priority data PD, the successful data sample CDS, the change target weight W1, and the inference result M(PD) as input (step S2707).

[0227] Next, the information processing device 100 executes a change process described later in Fig. 29 using the correction target model M, the priority data PD, the successful data sample CDS, the change target weight W1, and the change target weight W2 as input (step S2708). Then, the information processing device 100 returns to the process of step S2705.

[0228] In step S2709, the information processing device 100 outputs the correction target model M (step S2709). Then, the information processing device 100 ends the second re-training process. This allows the information processing device 100 to correct the correction target model M.

[0229] (Second localization process procedure) Next, an example of a procedure of the second localization process executed by the information processing device 100 will be described with reference to Fig. 28. The second localization process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0230] Fig. 28 is a flowchart showing an example of the second localization processing procedure. In Fig. 28, the information processing device 100 accepts an input of a correction target model M (step S2801). The information processing device 100 also accepts an input of priority data PD (step S2802). The information processing device 100 also accepts an input of a successful data sample CDS (step S2803). The information processing device 100 also accepts an input of a change target weight W1 (step S2804).

[0231] Next, the information processing device 100 receives an input of the inference result M(PD) (step S2805). Then, the information processing device 100 calculates the forward propagation and the backward propagation of the successful data sample CDS (step S2806).

[0232] Next, the information processing device 100 calculates the forward propagation and the backward propagation of the priority data PD (step S2807). Then, the information processing device 100 calculates the weight set Fwd with which the forward propagation of the successful data sample CDS is relatively large. CDS (Step S2808).

[0233] Next, the information processing device 100 selects a weight set Bwd that has a relatively large back propagation coefficient for the successful data sample CDS. CDS (Step S2809). Then, the information processing device 100 identifies the weight set Fwd with which the forward propagation of the priority data PD is relatively large. PD (Step S2810).

[0234] Next, the information processing device 100 selects a weight set Fwd with which the back propagation of the priority data PD is relatively large. PD(Step S2811). Then, the information processing device 100 determines Fwd by the following formula (11). CDS and the weight set Bwd CDS and the weight set Fwd PD and the weight set Fwd PD Based on this, the weight to be changed W2 is selected (step S2812).

[0235]

number

[0236] Next, the information processing device 100 outputs the change target weight W2 (step S2813). Then, the information processing device 100 ends the second localization process. This allows the information processing device 100 to identify which weight is preferable to change in order to correct the correction target model M so that the degraded priority data PD is correctly classified.

[0237] (Change processing procedure) Next, an example of a procedure of a change process executed by the information processing device 100 will be described with reference to Fig. 29. The change process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in Fig. 3.

[0238] Fig. 29 is a flowchart showing an example of a change processing procedure. In Fig. 29, the information processing device 100 accepts an input of a correction target model M (step S2901). The information processing device 100 also accepts an input of priority data PD (step S2902). The information processing device 100 also accepts an input of a successful data sample CDS (step S2903). The information processing device 100 also accepts an input of a change target weight W1 (step S2904). The information processing device 100 also accepts an input of a change target weight W2 (step S2905).

[0239] Next, the information processing device 100 calculates the loss gradient of each weight of the correction target model M based on the successful data sample CDS and the priority data PD (step S2906). Then, the information processing device 100 sets the loss gradient of the weights other than the change target weight W1 and the change target weight W2 among the weights of the correction target model M to 0 (step S2907).

[0240] Next, the information processing device 100 applies the loss gradients of each weight to the correction target model M, thereby changing each weight of the correction target model M (step S2908). Then, the information processing device 100 outputs the correction target model M (step S2909). After that, the information processing device 100 ends the change process. This allows the information processing device 100 to correct the correction target model M so that the degraded priority data PD is correctly classified.

[0241] Here, the information processing device 100 may change the order of the processes of some steps in each of the flowcharts of Figures 22 to 29. Furthermore, the information processing device 100 may omit the processes of some steps in each of the flowcharts of Figures 22 to 29.

[0242] As described above, according to the information processing device 100, when the first training data is erroneously classified in the model, the first parameter to be changed among the multiple parameters can be identified by defect localization. According to the information processing device 100, the first parameter among the multiple parameters can be made changeable, the other parameters can be fixed, and a first correction can be made to the model based on the first training data. According to the information processing device 100, when the second training data is erroneously classified in the model after the first correction is made in response to the first correction being made, the second parameter to be changed among the multiple parameters can be identified by defect localization. According to the information processing device 100, the first parameter and the second parameter among the multiple parameters can be made changeable, the other parameters can be fixed, and a second correction can be made to the model based on the second training data. In this way, the information processing device 100 can correct the model so that the second training data is correctly classified while maintaining the overall accuracy of classifying input data.

[0243] According to the information processing device 100, the first correction to the model can be repeatedly performed. According to the information processing device 100, each time the first correction is performed, a second parameter to be changed among a plurality of parameters can be identified. According to the information processing device 100, in response to the identification of the second parameter, the second correction to the model can be repeatedly performed. Thereby, the information processing device 100 can improve the overall accuracy of classifying input data. The information processing device 100 can improve the accuracy of classifying the second training data.

[0244] According to the information processing device 100, the first parameter can be made variable and the other parameters can be fixed, and a first correction can be made to the model based on the third training data correctly classified in the model and the first training data. According to the information processing device 100, the first parameter and the second parameter can be made variable and the other parameters can be fixed, and a second correction can be made to the model based on the fourth training data correctly classified in the model and the second training data. This allows the information processing device 100 to perform the first correction with high accuracy. The information processing device 100 can perform the second correction with high accuracy.

[0245] According to the information processing device 100, it is possible to identify a first parameter to be changed among the multiple parameters based on the fifth training data correctly classified in the model and the first training data by defect localization. According to the information processing device 100, it is possible to identify a second parameter to be changed among the multiple parameters based on the sixth training data correctly classified in the model and the second training data by defect localization. This allows the information processing device 100 to accurately identify the first parameter. The information processing device 100 can accurately identify the second parameter.

[0246] According to the information processing device 100, it is possible to output a model in response to the first modification being performed on the model a predetermined number of times. This allows the information processing device 100 to make the model available. The information processing device 100 can stop the repeated performance of the first modification, and can suppress an increase in the processing load and processing time required when modifying the model.

[0247] The correction method described in this embodiment can be realized by executing a prepared program on a computer such as a PC or a workstation. The correction program described in this embodiment is recorded on a computer-readable recording medium, and is executed by being read from the recording medium by the computer. The recording medium may be a hard disk, a flexible disk, a CD (Compact Disc)-ROM, an MO (Magneto Optical disc), a DVD (Digital Versatile Disc), or the like. The correction program described in this embodiment may also be distributed via a network such as the Internet.

[0248] The following supplementary notes are further disclosed regarding the above-described embodiment.

[0249] (Supplementary Note 1) When a first training data among a plurality of training data is erroneously classified in a model for classifying input data, a first parameter to be changed among a plurality of parameters forming the model is identified based on the first training data by defect localization; performing a first modification to the model based on the first training data such that the first training data is correctly classified by making the identified first parameter of the plurality of parameters variable and fixing other parameters; When second training data among the plurality of training data, which was correctly classified in the model before the first modification is performed, is incorrectly classified in the model after the first modification is performed in response to the first modification being performed, identifying a second parameter to be changed among the plurality of parameters based on the second training data by defect localization; making the identified first parameter and the identified second parameter of the plurality of parameters variable and fixing other parameters, and performing a second modification to the model based on the second training data such that the second training data is correctly classified; A correction program that causes a computer to execute a process.

[0250] (Appendix 2) The process of performing a first correction to the model includes: performing a first iterative modification to the model; The process of identifying the second parameter includes: Each time the first modification is performed, if second training data among the plurality of training data, which was correctly classified in the model before the first modification is performed, is incorrectly classified in the model after the first modification is performed, a second parameter to be changed among the plurality of parameters is identified based on the second training data by defect localization; The process of performing a second modification to the model includes: the program for modifying the model based on the second training data in response to the second parameter being identified, the program for modifying the model based on the second training data in response to the second parameter being identified, and the program for modifying the model based on the second training data in response to the second parameter being identified, and the program for modifying the model based on the second training data in response to the second parameter being identified.

[0251] (Appendix 3) The process of performing a first correction to the model includes: making the identified first parameter among the plurality of parameters changeable and fixing other parameters, and performing a first modification to the model based on a third training data among the plurality of training data that is correctly classified in the model and the first training data, so that the first training data is correctly classified; The process of performing a second modification to the model includes: the correction program according to appendix 1 or 2, characterized in that among the plurality of parameters, the identified first parameter and the identified second parameter are made changeable, and other parameters are fixed, so that the second training data is correctly classified in the model, and a second correction is performed on the model based on the second training data and a fourth training data among the plurality of training data.

[0252] (Additional Note 4) The process of identifying the first parameter includes: Identifying the first parameter to be changed among the plurality of parameters based on a fifth training data correctly classified in the model by defect localization among the plurality of training data and the first training data; The process of identifying the second parameter includes: The correction program according to claim 3, further comprising: identifying, by defect localization, the second parameter to be changed among the plurality of parameters based on a sixth training data among the plurality of training data that is correctly classified in the model and the second training data.

[0253] (Appendix 5) The correction program according to appendix 2, characterized in that the model is output in response to a first correction being performed on the model a predetermined number of times.

[0254] (Appendix 6) When a first training data among a plurality of training data is erroneously classified in a model for classifying input data, a first parameter to be changed among a plurality of parameters forming the model is identified based on the first training data by defect localization; performing a first modification to the model based on the first training data such that the first training data is correctly classified by making the identified first parameter of the plurality of parameters variable and fixing other parameters; When second training data among the plurality of training data, which was correctly classified in the model before the first modification is performed, is incorrectly classified in the model after the first modification is performed in response to the first modification being performed, identifying a second parameter to be changed among the plurality of parameters based on the second training data by defect localization; making the identified first parameter and the identified second parameter of the plurality of parameters variable and fixing other parameters, and performing a second modification to the model based on the second training data such that the second training data is correctly classified; A correction method comprising causing a computer to execute a process.

[0255] (Appendix 7) When a first training data among a plurality of training data is erroneously classified in a model for classifying input data, a first parameter to be changed among a plurality of parameters forming the model is identified based on the first training data by defect localization; performing a first modification to the model based on the first training data such that the first training data is correctly classified by making the identified first parameter of the plurality of parameters variable and fixing other parameters; When second training data among the plurality of training data, which was correctly classified in the model before the first modification is performed, is incorrectly classified in the model after the first modification is performed in response to the first modification being performed, identifying a second parameter to be changed among the plurality of parameters based on the second training data by defect localization; making the identified first parameter and the identified second parameter of the plurality of parameters variable and fixing other parameters, and performing a second modification to the model based on the second training data such that the second training data is correctly classified; An information processing device comprising a control unit. [Explanation of symbols]

[0256] 100 Information processing device 101 Model 110,501 training data 111 First training data 112 Second training data 121 First Parameter 122 Second Parameter 200 Information Processing Systems 201 Correction processing device 202 Client device 210 Network 300 Bus 301 CPU 302 Memory 303 Network Interface 304 Recording media I / F 305 Recording media 400 Storage section 401 Acquisition Department 402 1st judgment section 403 1st Specific Part 404 First Amendment Part 405 Second Judgment Department 406 Second Specific Section 407 Second Amendment Part 408 Output section 502 Modified Model 504 Data to be corrected 505,531,1610 Priority Data 511 Sampling section 512 Correction target data retraining section 513 End Judgment Unit 514 Priority Data Classification Judgment Unit 515 Priority Data Defect Localization Unit 516 Priority Data Retraining Department 521 Success Data 541 revised model 600 training data sets 610,620,700,710,810,820,830,920,930,1001,1011,1012,1021,1100,1211,1221,1222 ,1231,1232,1300,1420,1701,1702,1711,1712,1720,1801,1802,1811,1812,1820,2100 table 720 Successful Data Set 1430 Success Data Sample 1500,1600,2000 trained models 1510,1910 position matrix M 1520,1920 loss matrix G 1700 Failure Data

Claims

1. When a first training data among a plurality of training data is erroneously classified in a model for classifying input data, a first parameter to be changed among a plurality of parameters forming the model is identified based on the first training data by defect localization; performing a first modification to the model based on the first training data such that the first training data is correctly classified by making the identified first parameter of the plurality of parameters variable and fixing other parameters; When second training data among the plurality of training data, which was correctly classified in the model before the first modification is performed, is incorrectly classified in the model after the first modification is performed in response to the first modification being performed, identifying a second parameter to be changed among the plurality of parameters based on the second training data by defect localization; making the identified first parameter and the identified second parameter of the plurality of parameters variable and fixing other parameters, and performing a second modification to the model based on the second training data such that the second training data is correctly classified; A correction program that causes a computer to execute a process.

2. The process of performing a first modification to the model comprises: performing a first iterative modification to the model; The process of identifying the second parameter includes: Each time the first modification is performed, if second training data among the plurality of training data, which was correctly classified in the model before the first modification is performed, is incorrectly classified in the model after the first modification is performed, a second parameter to be changed among the plurality of parameters is identified based on the second training data by defect localization; The process of performing a second modification to the model comprises:

2. The correction program according to claim 1, further comprising: making the identified first parameter and the identified second parameter of the plurality of parameters changeable in response to the second parameter being identified, and fixing other parameters, and repeatedly performing a second correction to the model based on the second training data until the second training data is correctly classified.

3. The process of performing a first modification to the model comprises: making the identified first parameter among the plurality of parameters changeable and fixing other parameters, and performing a first modification to the model based on a third training data among the plurality of training data that is correctly classified in the model and the first training data, so that the first training data is correctly classified; The process of performing a second modification to the model comprises:

3. The correction program according to claim 1, further comprising: making the identified first parameter and the identified second parameter among the plurality of parameters changeable and fixing other parameters, and performing a second correction on the model based on a fourth training data among the plurality of training data that is correctly classified in the model and the second training data, so that the second training data is correctly classified.

4. The process of identifying the first parameter includes: Identifying the first parameter to be changed among the plurality of parameters based on a fifth training data correctly classified in the model by defect localization among the plurality of training data and the first training data; The process of identifying the second parameter includes: The correction program according to claim 3, characterized in that the second parameter to be changed among the plurality of parameters is identified based on a sixth training data among the plurality of training data that is correctly classified in the model by defect localization and the second training data.

5. When a first training data among a plurality of training data is erroneously classified in a model for classifying input data, a first parameter to be changed among a plurality of parameters forming the model is identified based on the first training data by defect localization; performing a first modification to the model based on the first training data such that the first training data is correctly classified by making the identified first parameter of the plurality of parameters variable and fixing other parameters; When second training data among the plurality of training data, which was correctly classified in the model before the first modification is performed, is incorrectly classified in the model after the first modification is performed in response to the first modification being performed, identifying a second parameter to be changed among the plurality of parameters based on the second training data by defect localization; making the identified first parameter and the identified second parameter of the plurality of parameters variable and fixing other parameters, and performing a second modification to the model based on the second training data such that the second training data is correctly classified; A correction method comprising causing a computer to execute a process.

6. When a first training data among a plurality of training data is erroneously classified in a model for classifying input data, a first parameter to be changed among a plurality of parameters forming the model is identified based on the first training data by defect localization; performing a first modification to the model based on the first training data such that the first training data is correctly classified by making the identified first parameter of the plurality of parameters variable and fixing other parameters; When second training data among the plurality of training data, which was correctly classified in the model before the first modification is performed, is incorrectly classified in the model after the first modification is performed in response to the first modification being performed, identifying a second parameter to be changed among the plurality of parameters based on the second training data by defect localization; making the identified first parameter and the identified second parameter of the plurality of parameters variable and fixing other parameters, and performing a second modification to the model based on the second training data such that the second training data is correctly classified; An information processing device comprising a control unit.

Citation Information

Patent Citations

  • Modification target edge determination method and modification target edge determination program

    JP2022083884A

  • Memory efficient neural networks

    US20200082269A1

  • Model learning device, model learning method, and program

    WO2019194128A1

  • Learning type recognition and judgement device

    JP1997179844A

  • Neural network and neural network training method

    JP2017511948A