DATA PRESENTATION PROGRAM, DATA PRESENTATION METHOD AND INFORMATION PROCESSING APPARATUS

The data presentation program and device address the challenge of identifying model accuracy deterioration causes by presenting data orthogonal to loss changes, facilitating effective corrective actions.

JP7563056B2Active Publication Date: 2024-10-08FUJITSU LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2020149885
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-07
Publication Date
2024-10-08
Estimated Expiration
2040-09-07

AI Technical Summary

Technical Problem

Existing techniques fail to accurately identify the cause of model accuracy deterioration due to domain shifts or incorrect data, making it difficult to take corrective measures.

Method used

A data presentation program and device that acquires specific data from an estimation target dataset, presenting it in a direction orthogonal to the loss change direction in the feature space to visualize and identify the cause of model accuracy deterioration.

Benefits of technology

Enables the identification of the cause of model accuracy degradation, allowing for targeted improvements such as relearning to address domain shifts and incorrect data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563056000001
    Figure 0007563056000001
  • Figure 0007563056000002
    Figure 0007563056000002
  • Figure 0007563056000003
    Figure 0007563056000003
Patent Text Reader

Abstract

To provide an information processor capable of identifying the causes of deterioration in model accuracy.SOLUTION: The information processor acquires specific data from estimation target data sets based on the estimation result of an estimation target data set using an estimation model. The information processor presents a piece of data in which specific data is changed to a direction orthogonal to the direction in which the loss of the estimation model fluctuates in a feature space related to the features obtained from the estimation target data set.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data display program, a data display method, and an information processing device. [Background technology]

[0002] Models trained by machine learning such as deep learning can make incorrect decisions and lose accuracy due to domain shifts, where data with different properties than those used during training is input. In recent years, when a model outputs an incorrect result, it has been analyzed why it was wrong. For example, there are known techniques that present the data that the model erroneously generated and techniques that visualize the domain shift that occurred. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-4509 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, with the above techniques, it is difficult to identify the cause of the deterioration of the model's accuracy. For example, when incorrect data is presented, the cause of the mistake cannot be identified, and when a domain shift is presented, the cause related to the deterioration of the accuracy cannot be identified.

[0005] In one aspect, an object of the present invention is to provide a data presentation program, a data presentation method, and an information processing device that are capable of identifying the cause of deterioration in accuracy of a model. [Means for solving the problem]

[0006] In a first proposal, the data presentation program causes a computer to execute a process of acquiring specific data from an estimation target dataset based on an estimation result for the estimation target dataset using an estimation model, and presenting data in which the specific data is changed in a direction perpendicular to the direction in which the loss of the estimation model varies in a feature space related to features obtained from the estimation target dataset. Effect of the Invention

[0007] According to one embodiment, the cause of the degradation of the accuracy of the model can be identified. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram illustrating an information processing device according to a first embodiment. [Diagram 2] FIG. 2 is a diagram for explaining the problem of the reference technology. [Diagram 3] FIG. 3 is a diagram for explaining the problem of the reference technology. [Figure 4] FIG. 4 is a functional block diagram of the information processing device according to the first embodiment. [Diagram 5] FIG. 5 is a diagram illustrating the analysis performed by the information processing device according to the first embodiment. [Figure 6] FIG. 6 is a flowchart of the process according to the first embodiment. [Figure 7] FIG. 7 is a diagram for explaining the model to be analyzed. [Figure 8] FIG. 8 is a diagram for explaining application to a model to be analyzed. [Figure 9] FIG. 9 is a diagram illustrating mapping to the feature space. [Figure 10] FIG. 10 is a diagram for explaining calculation of a direction for reducing target data loss. [Figure 11] FIG. 11 is a diagram for explaining mapping of feature amounts that have been slightly changed. [Figure 12] FIG. 12 is a diagram for explaining calculation of a direction for reducing loss of target data. [Figure 13] FIG. 13 is a diagram for explaining calculation of a direction that increases the loss of target data. [Figure 14] FIG. 14 is a diagram for explaining calculation of feature quantities of other training data and destination data. [Figure 15] FIG. 15 is a diagram for explaining a search for feature quantities of real data. [Figure 16] FIG. 16 is a diagram for explaining data display. [Figure 17] FIG. 17 is a diagram explaining the analysis results and countermeasures. [Figure 18] FIG. 18 is a diagram for explaining a comparison with the reference technology. [Figure 19] FIG. 19 is a diagram for explaining the effect. [Figure 20] FIG. 20 is a diagram illustrating an example in which an autoencoder is applied. [Figure 21] FIG. 21 is a diagram illustrating an analysis using an autoencoder. [Figure 22] FIG. 22 is a diagram illustrating an example of a hardware configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, the data presentation program, the data presentation method, and the information processing device disclosed in the present application will be described in detail with reference to the accompanying drawings. Note that the present invention is not limited to these embodiments. In addition, each embodiment can be appropriately combined within a range that does not cause inconsistency. EXAMPLES

[0010] [Description of information processing device] FIG. 1 is a diagram for explaining an information processing device 10 according to a first embodiment. In recent years, there is a demand for knowing the basis for judgments made by models trained by machine learning. One of the factors that causes a model to make an error is known to be a domain shift, in which data with a different nature from that at the time of training is input, and this domain shift causes the model to deteriorate. In order to meet the above demand, the information processing device 10 shown in FIG. 1 is an example of a computer device that specifies the cause of deterioration in the accuracy of a model by outputting information suggesting the cause for data in which the model makes an error.

[0011] First, we will explain the problems with the reference technology that is used as a method for degrading the accuracy of a model. Figures 2 and 3 are diagrams that explain the problems with the reference technology. In the reference technology, the model executes the presentation of incorrect data. As shown in (a) of Figure 2, in the reference technology, the feature of the incorrect data is identified for the decision plane of the correct / incorrect judgment in the distribution of the feature before the domain shift, and input data (incorrect data) corresponding to that feature is presented. Also, as shown in (b) of Figure 2, in the reference technology, the feature of the newly incorrect data after the domain shift is identified for the decision plane of the correct / incorrect judgment in the distribution of the feature after the domain shift, and input data (incorrect data) corresponding to that feature is presented.

[0012] In this way, the reference technology that presents only erroneous data makes it impossible to identify the cause of the error, and therefore makes it impossible to implement countermeasures such as re-learning the model.

[0013] There is also a known reference technology that visualizes the domain shift that has occurred when the cause of the error is a domain shift, as shown in Figure 3. However, simply presenting the occurrence of a domain shift does not allow one to identify whether the cause is a change in the color of the image, which is the input data, or the inclination of the image, which is the input data, making it difficult to consider countermeasures such as re-learning the model.

[0014] Therefore, the information processing device 10 according to the first embodiment acquires erroneous data included in the application data, which is a data set to be estimated using the model. Then, the information processing device 10 presents data obtained by shifting the erroneous data in a direction perpendicular to the direction in which the loss of the model varies in the feature space of the model, as data related to model degradation due to domain shift.

[0015] In other words, it is assumed that the domain shift has a direction parallel to the gradient of the loss of the degraded model for the data of interest and a direction perpendicular to the gradient. Then, the information processing device 10 draws a curve for the data of interest in a direction perpendicular to the loss of the model, starting from the feature of the data in the feature space, and outputs data whose feature exists near the curve in the order that the curve passes through.

[0016] 1, the information processing device 10 outputs to the user the data x of interest and neighboring data x1, x2, x3, and x4 that are within a predetermined distance from the curve in the gradient direction. In this way, the information processing device 10 identifies the cause of the deterioration in accuracy of the model by visualizing and outputting the domain shift in the direction perpendicular to the gradient.

[0017] [Function configuration] 4 is a functional block diagram showing a functional configuration of the information processing device 10 according to the first embodiment. As shown in FIG. 4, the information processing device 10 includes a communication unit 11, a display unit 12, a storage unit 13, and a control unit 20.

[0018] The communication unit 11 is a processing unit that controls communication with other devices, and is realized by, for example, a communication interface. For example, the communication unit 11 receives training data, application data, various instructions, and the like from an administrator terminal. The communication unit 11 also transmits analysis results and the like to the administrator terminal.

[0019] The display unit 12 is a processing unit that displays various information, and is realized by, for example, a display, a touch panel, etc. For example, the display unit 12 displays analysis results and the like.

[0020] The storage unit 13 is a processing unit that stores various data and programs executed by the control unit 20, and is realized by, for example, a memory, a hard disk, etc. The storage unit 13 stores a training database 14, a model 15, and an application destination database 16.

[0021] The training database 14 is a data group consisting of a plurality of training data used for machine learning training of the model 15. For example, the training data stored in the training database 14 is teacher data in which "labels" and "data" are associated with each other. Examples of the data include image data depicting people, animals, vehicles, etc., and are not limited to image data, and waveform data, audio data, etc. may also be used.

[0022] The model 15 is an example of an estimation model using a neural network (hereinafter, may be referred to as NN) generated by machine learning using the training database 14. For example, when image data is input, the model 15 estimates whether or not a person is included in the image data. Note that the model 15 may be the model 15 itself generated by machine learning, or may be a parameter of the model 15 generated by machine learning.

[0023] The application destination database 16 is a data group configured of application destination data to be applied to the model 15 generated by machine learning. Specifically, the application destination database 16 is data to be classified by the model 15.

[0024] The control unit 20 is a processing unit that controls the entire information processing device 10, and is realized by, for example, a processor. The control unit 20 has a machine learning unit 21 and an analysis unit 22. Note that the machine learning unit 21 and the analysis unit 22 are realized by electronic circuits included in the processor, processes executed by the processor, and the like.

[0025] The machine learning unit 21 is a processing unit that executes machine learning of the model 15 using the training database 14. For example, the machine learning unit 21 inputs data, out of the "label, data" of the training data in the training database 14, to the model 15 and acquires the output of the model 15. Then, the machine learning unit 21 optimizes various parameters of the NN of the model 15 so as to reduce the error (e.g., squared error) between the output of the model and the label.

[0026] For example, the machine learning unit 21 inputs data x from the training data (data x, label y) to the model 15, and obtains output data y' from the model 15. Then, the machine learning unit 21 optimizes the NN of the model 15 so as to reduce the error between the label y and the output data y'. Then, the machine learning unit 21 ends the machine learning at any timing, such as when machine learning using all the training data is completed or when the error becomes less than a threshold, and completes the generation of the model 15. Note that a known method can be adopted as the machine learning method.

[0027] The analysis unit 22 has a data selection unit 23, a gradient calculation unit 24, a feature generation unit 25, and a data display unit 26, and is a processing unit that analyzes the cause of the deterioration in accuracy of the model 15. FIG. 5 is a diagram for explaining the analysis by the information processing device 10 according to the first embodiment. As shown in FIG. 5, the analysis unit 22 assumes that the domain shift has a direction parallel to the gradient of the loss of the deteriorated model 15 for the data of interest and a direction perpendicular to the gradient. In other words, the analysis unit 22 assumes that the domain shift occurs in two stages, and visualizes and presents the domain shift in the direction perpendicular to the gradient.

[0028] More specifically, for the data of interest, the analysis unit 22 draws a curve starting from the feature of that data in the feature space in a direction perpendicular to the loss of the model 15, and presents data whose features exist near the curve in the order in which the curve passes.

[0029] The data selection unit 23 is a processing unit that selects data of interest. For example, the data selection unit 23 applies the training database 14 to the model 15 for which machine learning has been completed, and selects incorrect training data as data of interest. The data selection unit 23 also applies the destination database 16 to the model 15 for which machine learning has been completed, and selects incorrect destination data as data of interest. Then, the data selection unit 23 outputs the selected data of interest (hereinafter, may be referred to as specific data or target data) to the gradient calculation unit 24.

[0030] The gradient calculation unit 24 is a processing unit that calculates the feature amount of the specific data and the loss of the model 15. Specifically, the gradient calculation unit 24 inputs the specific data to the model 15 and acquires the feature amount of the specific data from an arbitrary layer of the NN of the model 15. Then, the gradient calculation unit 24 calculates, in the feature space, a direction (gradient) that reduces the loss of the specific data and a direction (gradient) that increases the loss of the specific data.

[0031] For example, the gradient calculation unit 24 calculates the gradient by differentiating a loss function used in the machine learning of the model 15. The gradient calculation unit 24 can also generate multiple feature amounts by slightly changing the feature amount of the specific data, plot them in a feature space, and calculate the gradient using the change in the feature amount. Then, the gradient calculation unit 24 outputs the specific data, the feature amount of the specific data, and each gradient to the feature amount generation unit 25.

[0032] Furthermore, in response to a request from the feature generation unit 25 described later, the gradient calculation unit 24 calculates each gradient and outputs it to the feature generation unit 25. That is, every time a feature that has been slightly changed is generated by the feature generation unit 25, the gradient calculation unit 24 calculates a direction in which the loss of the feature is reduced and a direction in which the loss is increased.

[0033] The feature amount generating unit 25 is a processing unit that generates each feature amount by slightly changing the feature amount of the specific data in a direction in which the loss decreases and a direction in which the loss increases. Specifically, the feature amount generating unit 25 plots the feature amount of the specific data in a feature space, and generates and plots a first feature amount by slightly changing the feature amount in a direction in which the loss of the specific data calculated by the gradient calculation unit 24 increases. Next, the feature amount generating unit 25 generates a direction in which the loss of the first feature amount increases by the gradient calculation unit 24, and generates and plots a second feature amount by slightly changing the first feature amount in a direction in which the loss increases in the feature space. In this way, the feature amount generating unit 25 generates a plurality of feature amounts in a direction in which the loss increases.

[0034] The feature generator 25 also executes the same process for the direction in which the loss calculated by the gradient calculator 24 is reduced. The amount of change can be set arbitrarily.

[0035] The data display unit 26 is a processing unit that identifies real data similar to each feature generated by the feature generation unit 25 from among other training data and application data other than the specific data, and presents the identified real data to a user. For example, the data display unit 26 inputs each training data other than the specific data and visualization candidate data, which is each application data, to the model 15. Next, the data display unit 26 acquires each feature corresponding to each visualization candidate data from an arbitrary layer of the model 15, and maps the feature onto a feature space.

[0036] Then, the data display unit 26 identifies, among the features of each visualization candidate data in the feature space, the feature of each nearest visualization candidate data that is closest to each feature generated by the feature generation unit 25. Then, the data display unit 26 presents to the user the training data or the application destination data corresponding to the feature of each nearest visualization candidate data.

[0037] In this way, the data display unit 26 can select data that indicates a domain shift trend and present it to the user.

[0038] [Processing flow] Fig. 6 is a flowchart showing a process flow according to the embodiment 1. As shown in Fig. 6, the machine learning unit 21 uses the training database 14 to execute machine learning of the model 15 to be analyzed (S101).

[0039] When the machine learning is completed, the analysis unit 22 selects specific data, which is the data to be analyzed, from the training database 14 and the destination database 16 (S102), and calculates the features of the specific data using the machine-learned model 15 (S103).

[0040] Then, the analysis unit 22 calculates a direction vector that increases the loss for the specific data in the feature space (S104), and generates a new feature by adding the direction vector to the feature of the specific data (S105). Here, the analysis unit 22 repeats S104 and subsequent steps until all of the predetermined number of feature amounts have been generated (S106: No).

[0041] After that, when the predetermined number of feature quantities are all generated (S106: Yes), the analysis unit 22 calculates an orientation vector that reduces the loss for the specific data in the feature space (S107), and adds the orientation vector to the feature quantity of the specific data to obtain a new feature quantity (S108). Here, the analysis unit 22 repeats S107 and subsequent steps until the predetermined number of feature quantities are all generated (S109: No).

[0042] After that, when the predetermined number of feature amounts are all generated (S109: Yes), the analysis unit 22 calculates the feature amounts of the visualization candidate data (S110). Then, the analysis unit 22 searches for feature amounts of the visualization candidate data that are in the vicinity of the generated feature amounts (S111), and displays data corresponding to the nearby feature amounts and the specific data that is the analysis target (S112).

[0043] [Specific example] Next, a specific example of the above-mentioned process will be described with reference to Fig. 7 to Fig. 17. Fig. 7 is a diagram for explaining a model 15 of the analysis target. As shown in Fig. 7, first, an estimation model (model 15) of the analysis target that has been machine-learned using a training database 14 is prepared.

[0044] Model 15 is a model that generates two feature amounts (z1, z2) from input data x and outputs output data y' using the two feature amounts. For this reason, here, as shown in Fig. 7, a two-dimensional feature space using two feature amounts (z1, z2) is used as an example for explanation, and as an example, in the feature space, the performance of model 15 increases toward the upper right and decreases toward the lower left.

[0045] It is assumed here that machine learning of the model 15 has been completed by the machine learning unit 21. That is, when data x of the training data (data x, label y) is input, the model 15 outputs data y', and optimization of the NN is executed so that the error between the label y and the data y' is reduced.

[0046] Next, the analysis unit 22 selects data that is known to be incapable of being classified by the model 15, and assigns a label to it. Fig. 8 is a diagram for explaining application of the analysis target to the model 15. As shown in Fig. 8, the analysis unit 22 selects target data (specific data) that the model 15 has newly misclassified due to a domain shift from among the target data in the target database 16, and assigns a correct label to the target data.

[0047] Next, the analysis unit 22 calculates the feature amount and loss of the target data. Fig. 9 is a diagram illustrating mapping to the feature space. As shown in Fig. 9, the analysis unit 22 inputs the selected target data to the model 15, and acquires a feature amount (z1, z2) which is an example of a first feature amount generated by the model 15. Then, the analysis unit 22 plots a feature amount zt corresponding to the acquired feature amount in the feature space.

[0048] Then, the analysis unit 22 calculates a direction in which the loss of the target data is reduced in the feature space. Fig. 10 is a diagram for explaining the calculation of the direction in which the loss of the target data is reduced. As shown in Fig. 10, the analysis unit 22 generates a vector v1 in a direction in which the loss is reduced by differentiating the loss function, and maps it to the feature space.

[0049] Next, the analysis unit 22 generates a feature quantity that is slightly changed in a direction to reduce the loss, and calculates the loss again. Fig. 11 is a diagram for explaining mapping of the feature quantity that has been slightly changed. As shown in Fig. 11, the analysis unit 22 generates and maps a feature quantity zt1, which is an example of a second feature quantity that is obtained by slightly changing the feature quantity zt, in the direction of the vector v1.

[0050] After that, the analysis unit 22 repeats Fig. 8 to Fig. 11 a fixed number of times. Fig. 12 is a diagram for explaining the calculation of the direction to reduce the loss of the target data. As shown in Fig. 12, the analysis unit 22 generates a vector v2 in a direction to reduce the loss by differentiating the loss function, and generates and maps a feature amount zt2 obtained by slightly changing the feature amount zt1 in the direction of the vector v2.

[0051] The analysis unit 22 also executes the same processing as in Fig. 8 to Fig. 11 for the direction of increasing the loss. Fig. 13 is a diagram for explaining the calculation of the direction of increasing the loss of the target data. For example, as shown in Fig. 13, the analysis unit 22 generates a vector v3 in a direction of increasing the loss from the feature amount zt by differentiating the loss function, and generates and maps a feature amount zt3 obtained by slightly changing the feature amount zt in the direction of the vector v3.

[0052] After that, when the generation of the minutely changed feature quantity is completed, the analysis unit 22 calculates the feature quantity of other application data or training data other than the target data corresponding to the feature quantity zt. Fig. 14 is a diagram for explaining the calculation of the feature quantities of other training data and application data. As shown in Fig. 14, the analysis unit 22 inputs each training data and each application data other than the target data to the model 15, acquires each feature quantity generated by the model 15, and plots the feature quantity zs corresponding to each acquired feature quantity on the feature space.

[0053] Then, the analysis unit 22 searches for features of real data that are closest to each feature generated based on the target data. FIG. 15 is a diagram for explaining the search for features of real data. As shown in FIG. 15, the analysis unit 22 identifies the created features zt1, zt2, and zt3 other than the feature zt of the originally existing data, among the features zt, zt1, zt2, and zt3. Then, the analysis unit 22 identifies the feature zs1 located closest to the feature zt1, the feature zs2 located closest to the feature zt2, and the feature zs3 located closest to the feature zt3, as the nearest features.

[0054] Thereafter, the analysis unit 22 displays the target data and each piece of data corresponding to the nearest feature. FIG. 16 is a diagram for explaining data display. As shown in FIG. 16, the analysis unit 22 acquires the target data corresponding to the feature zt from the application destination database 16. In addition, the analysis unit 22 acquires data corresponding to the nearest feature zs1, zs2, and zs3 from the training database 14 and the application destination database 16. Then, the analysis unit 22 outputs the target data and each piece of data corresponding to the nearest feature to the display unit 12.

[0055] As a result, the analysis unit 22 can output information for the user to analyze performance degradation. FIG. 17 is a diagram for explaining the analysis result and countermeasures. As shown in FIG. 17, the analysis unit 22 can visualize that performance is degraded due to the inclination of the character data. In this case, the user can perform data extension of the inclination direction for the training database 14 and re-learn the model 15.

[0056] [effect] As described above, the information processing device 10 can identify information suggesting the cause of data in which the model 15 has made an error due to a domain shift or the like, and present the information to the user. Fig. 18 is a diagram for explaining a comparison with the reference technology. Fig. 19 is a diagram for explaining the effect.

[0057] For example, as shown in (a) of FIG. 18, the reference technology displays only image A, which is problematic data for which model 15 is incorrect. With this method, it is not possible to identify what in image A is causing the problem. Also, as shown in (b) of FIG. 18, the reference technology displays image A, which is problematic data, and image A, which is problematic data, to display the domain shift that has occurred. With this method, it appears that there are changes in color and thickness, but it is not possible to identify which of them is affecting the performance degradation.

[0058] In response to these problems, as shown in Fig. 19, the information processing device 10 can extract and display each piece of data obtained by slightly changing the problematic data in the direction of increasing loss and the direction of decreasing loss, together with the image A of the problematic data. As a result, it is possible to identify that the change in thickness is the essential cause of performance degradation. EXAMPLES

[0059] Incidentally, in the above-mentioned first embodiment, the model 15 using NN has been described as an example, but various machine learning models can be used for the model 15. Therefore, in the second embodiment, an example in which an autoencoder and the model 15 to be analyzed are combined will be described.

[0060] Fig. 20 is a diagram for explaining an example in which an autoencoder is applied. As shown in Fig. 20, an autoencoder is inserted in front of the model to be analyzed as a means for obtaining a LOSS-direction curve in the feature space of the autoencoder. In other words, the latent space of the autoencoder when the output of the autoencoder trained on the entire data is used as the input of the model 15 is used as the feature space.

[0061] In such a configuration, the machine learning unit 21 uses the training database 14 to perform machine learning of the autoencoder and machine learning of the analysis target model 15. Specifically, the machine learning unit 21 can perform machine learning of the analysis target model 15 after completing the machine learning of the autoencoder, and can also perform machine learning of the autoencoder and the analysis target model 15 in parallel.

[0062] For example, the machine learning unit 21 inputs input data x with a label y to an encoder to obtain a feature z, and inputs the feature z to a decoder to generate reconstructed data x'. Then, the machine learning unit 21 executes machine learning of the autoencoder so as to reduce the error between the input data x and the reconstructed data x'. Similarly, the machine learning unit 21 inputs input data x with a label y to the NN of the model 15 to be analyzed to obtain an output result y'. Then, the machine learning unit 21 executes machine learning of the model 15 to be analyzed so as to reduce the error between the label y and the output result y'.

[0063] As another example, the machine learning unit 21 may add a constraint to reduce the change in behavior of the model 15 to be analyzed between the input data and the reconstructed data when training the autoencoder.

[0064] For example, the machine learning unit 21 inputs input data x to which a label y is assigned to the NN of the model 15 to be analyzed, and obtains an output result y'.

[0065] The machine learning unit 21 also inputs the input data x with the label y to an encoder to obtain a feature z, and inputs the feature z to a decoder to generate reconstructed data x'. After that, the machine learning unit 21 inputs the reconstructed data x' of the autoencoder to the NN of the model 15 to be analyzed to obtain an output result y''.

[0066] At this time, the machine learning unit 21 can also perform machine learning of the autoencoder so as to reduce the error between the input data x and the reconstructed data x', and to reduce the error between the output result y' obtained based on the input data x and the output result y'' obtained based on the reconstructed data x' of the input data x.

[0067] Next, an analysis using an autoencoder that has undergone machine learning will be described. FIG. 21 is a diagram for explaining an analysis using an autoencoder. As shown in FIG. 21, the analysis unit 22 selects training data or application data for which the model 15 is incorrect, and inputs the data to the encoder of the autoencoder to obtain the feature za(z1, z2).

[0068] Then, the analysis unit 22 generates a feature amount by slightly changing the feature amount za in a direction in which the loss decreases, and generates a feature amount by slightly changing the feature amount za in a direction in which the loss increases, using the same method as in the first embodiment, to identify the gradient direction. After that, the analysis unit 22 identifies the feature amounts z1, z2, z3, and z4 of the nearest actual data located at the closest distance for each generated feature amount. As a result, the analysis unit 22 presents the actual data (training data or application destination data) corresponding to each of the feature amounts za, z1, z2, z3, and z4 to the user in the order of the gradient direction.

[0069] Here, the analysis unit 22 can also present the data generated by the autoencoder or the like used to the user. For example, the analysis unit 22 acquires four feature amounts (white circles in FIG. 21) located on a straight line obtained by linearly interpolating the feature amounts za, z1, z2, z3, and z4 in the feature space. Next, the analysis unit 22 inputs each of these four feature amounts to a decoder of the autoencoder, and generates reconstructed data (pseudo data) corresponding to each of the feature amounts. Then, the analysis unit 22 presents the actual data corresponding to the feature amounts and each reconstructed data to the user in the order in which they are located on the linearly interpolated straight line.

[0070] In this way, the autoencoder uses the function of generating pseudo data having desired features that are distributed uniformly in the feature space and are continuous, so that the information processing device 10 can present to the user data that is likely to have similar features and is easy to analyze. In addition, the information processing device 10 can interpolate data, so that it can smoothly connect and present spaces where no data exists. Note that the autoencoder is an example of an autoencoder, and other generative models such as VAE (Variational Autoencoder) and Bidirectiona GAN (Generative Adversarial Networks) can also be adopted. EXAMPLES

[0071] Although the embodiments of the present invention have been described above, the present invention may be embodied in various different forms other than the above-described embodiments.

[0072] [Data, figures, etc.] The data examples, numerical example, thresholds, display examples, the number of NN layers of model 15, the number of dimensions of the feature space, and the like used in the above embodiment are merely examples and can be changed as desired. Furthermore, model 15 can be used for analysis of voice and time series data, in addition to image classification using image data as training data.

[0073] In addition, the visualization is not limited to the nearest neighbor data of the feature generated in the gradient direction, but can also visualize data within a predetermined distance from the feature. In addition, the analysis is not limited to using both the training data and the application data, but can also use only one of them.

[0074] [system] The information including the processing procedures, control procedures, specific names, various data, and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified. Note that the data selection unit 23 is an example of an acquisition unit, and the gradient calculation unit 24, the feature generation unit 25, and the data display unit 26 are examples of a presentation unit.

[0075] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure. In other words, all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.

[0076] Furthermore, each processing function performed by each device may be realized, in whole or in part, by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic.

[0077] [Hardware] Fig. 22 is a diagram for explaining an example of a hardware configuration. As shown in Fig. 22, the information processing device 10 includes a communication device 10a, a hard disk drive (HDD) 10b, a memory 10c, and a processor 10d. The units shown in Fig. 4 are connected to each other via a bus or the like.

[0078] The communication device 10a is a network interface card or the like, and communicates with other devices. The HDD 10b stores programs and DBs that operate the functions shown in FIG.

[0079] The processor 10d reads out a program that executes the same processes as the respective processing units shown in Fig. 4 from the HDD 10b etc. and loads it in the memory 10c, thereby operating a process that executes each function described in Fig. 4 etc. For example, this process executes a function similar to that of each processing unit possessed by the information processing device 10. Specifically, the processor 10d reads out a program having a function similar to that of the machine learning unit 21, the analysis unit 22 etc. from the HDD 10b etc. Then, the processor 10d executes a process that executes a process similar to that of the machine learning unit 21, the analysis unit 22 etc.

[0080] In this way, the information processing device 10 operates as an information processing device that executes an analysis method by reading and executing a program. The information processing device 10 can also realize functions similar to those of the above-mentioned embodiment by reading the program from a recording medium using a medium reading device and executing the read program. Note that the program in this other embodiment is not limited to being executed by the information processing device 10. For example, the present invention can be similarly applied to a case where another computer or server executes a program, or a case where these execute a program in cooperation with each other.

[0081] This program can be distributed via a network such as the Internet. This program can also be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and can be executed by being read out from the recording medium by a computer. [Explanation of symbols]

[0082] 10. Information processing device 11 Communications Department 12 Display section 13 Storage section 14 Training Database 15 Models 16 Target Database 20 Control section 21 Machine Learning Department 22 Analysis Department 23 Data Selection Section 24 Gradient Calculation Unit 25 Feature Generation Unit 26 Data display section

Claims

1. On the computer, Based on an estimation result for a data set to be estimated using the estimation model, specific data that has been erroneously estimated by the estimation model is obtained from the data set to be estimated; presenting data obtained by varying the specific data in a direction perpendicular to a direction in which the loss of the estimation model varies in a feature space related to features obtained from the estimation target dataset; A data presentation program for causing a program to execute processing.

2. acquiring a first feature amount of the specific data using the estimation model; generating a second feature amount by changing the first feature amount in a direction in which the loss varies in the feature space; Using the estimation model, each feature amount of each estimation data of the estimation target data set excluding the specific data is obtained; causing the computer to execute a process of identifying, in the feature space, a nearby feature amount whose distance from the second feature amount is less than a threshold value from the feature amount of each of the estimated data; 2. The data presentation program according to claim 1, wherein the presentation process presents the estimated data corresponding to the neighboring feature amounts together with the specific data.

3. The acquiring process acquires, using the estimation model, each feature value of each estimation data of the estimation target dataset excluding the specific data, and each feature value of each training data used in machine learning of the estimation model; The process of identifying includes identifying the neighboring feature quantities from the feature quantities of each of the estimation data or the feature quantities of each of the training data; 3. The data presentation program according to claim 2, wherein the presentation process presents the estimated data or the training data corresponding to the neighboring feature amount together with the specific data.

4. The data presentation program according to any one of claims 1 to 3, characterized in that the presentation process identifies and presents the data obtained by varying the specific data using a feature space related to features generated by an autoencoder in response to an input of the estimation target dataset as the feature space.

5. A process of performing machine learning of the estimation model using a training dataset including a plurality of training data and performing machine learning of the autoencoder using the training dataset on the computer; The acquiring process acquires the specific data that is erroneously estimated by the estimation model from among the estimation data included in the estimation target data set, 5. The data presentation program according to claim 4, wherein the presentation process uses the feature space to identify and present the data obtained by changing the specific data.

6. obtaining a first feature of the particular data using the autoencoder; generating a second feature amount by changing the first feature amount in a direction in which the loss varies in the feature space; Using the autoencoder, obtain feature amounts of each estimation data of the estimation target data set excluding the specific data; causing the computer to execute a process of identifying, in the feature space, a nearby feature amount whose distance from the second feature amount is less than a threshold value from the feature amount of each of the estimated data; 6. The data presentation program according to claim 5, wherein the presentation process presents the estimated data corresponding to the neighboring feature amounts together with the specific data.

7. 7. The data presentation program according to claim 6, characterized in that the presentation process generates a third feature between the first feature and the second feature by linear interpolation using the first feature and the second feature, generates pseudo data by inputting the third feature to the autoencoder, and further presents the pseudo data.

8. The process of performing machine learning includes: For each of the plurality of training data including data and a label, input the data of the training data into the estimation model to obtain a first output result from the estimation model; inputting the data of the training data into the autoencoder and inputting reconstruction data obtained from the autoencoder into the estimation model to obtain a second output result from the estimation model; The data presentation program according to claim 5 , further comprising: executing machine learning of the autoencoder so as to reduce an error between the first output result and the second output result.

9. The computer Based on an estimation result for a data set to be estimated using the estimation model, specific data that has been erroneously estimated by the estimation model is obtained from the data set to be estimated; presenting data obtained by varying the specific data in a direction perpendicular to a direction in which the loss of the estimation model varies in a feature space related to features obtained from the estimation target dataset; A method for presenting data, comprising:

10. an acquisition unit that acquires, from the estimation target dataset based on an estimation result for the estimation target dataset using the estimation model, specific data that has been erroneously estimated by the estimation model; a presentation unit that presents data obtained by varying the specific data in a direction perpendicular to a direction in which the loss of the estimation model varies in a feature space related to features obtained from the estimation target dataset; 13. An information processing device comprising:

Citation Information

Patent Citations

  • Advanced analytical infrastructure for machine learning

    JP2017004509A

  • Information processor and information-processing method

    WO2018079020A1