Training data generation program, method, and device

The training data generation device addresses the issue of excessive or biased fairness in machine learning models by sequentially applying data correction processes to balance training data, ensuring accurate and fair predictions by controlling the leveling strength and progress of each method.

WO2024190044A1PCT designated stage expired Publication Date: 2024-09-19FUJITSU LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/046860
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-14
Filing Date
2023-12-27
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Existing methods for correcting imbalances in training data for machine learning models often result in excessive or biased fairness when combined, leading to decreased prediction accuracy and fairness, especially when addressing imbalances between classes and groups.

Method used

A training data generation device and method that sequentially applies multiple data correction processes, determining the degree of modification for each process based on a combination of methods to generate modified training data, using techniques like relabeling, oversampling, and reweighing, while controlling the leveling strength and progress to prevent excessive fairness.

Benefits of technology

This approach effectively balances training data to suppress excessive fairness and biased results, ensuring accurate and fair predictions by appropriately combining data correction methods and adjusting their application based on fairness strength and progress.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023046860_19092024_PF_FP_ABST
    Figure JP2023046860_19092024_PF_FP_ABST
Patent Text Reader

Abstract

[Problem] To suppress excessive impartialization or biased impartialization when applying a combination of data correction processes for correcting imbalance of training data. [Solution] This training data generation device: receives a specification of a plurality of data correction processes to be applied in sequence to first training data; determines an impartialization strength, which is the degree of data correction performed by each of the plurality of data correction processes, on the basis of combinations of the plurality of data correction processes; and sequentially applies the plurality of data correction processes to the first training data on the basis of the impartialization strength to generate post-correction second training data.
Need to check novelty before this filing date? Find Prior Art

Description

Training data generation program, method, and device

[0001] The disclosed technology relates to a training data generation program, a training data generation method, and a training data generation device.

[0002] In the training data used to train machine learning models, there may be an imbalance in the number of data or specific labels for certain social groups, such as a specific gender or race. When a machine learning model is trained using such training data, it is likely to make unfair predictions for those groups, such as low accuracy and low rate of positive examples. Therefore, efforts are being made to improve accuracy and fairness by reducing the imbalance in training data for groups that are prone to unfavorable predictions, i.e., minority groups.

[0003] For example, a data processing device has been proposed that divides a set of data into a plurality of groups, acquires the number of data belonging to each of the plurality of groups, and controls the number of data belonging to each of the plurality of groups based on the acquired number.The device then performs training of a learning device using the set of data whose number has been controlled by this control.

[0004] For example, a method for allocating orders is proposed, which obtains a predictive model and determines a probability of occurrence of a target event using the predictive model based on target order characteristics, target requester characteristics, and target provider characteristics, and balances the sample structure based on training data using sample balancing techniques such as undersampling and oversampling.

[0005] Furthermore, a sampling device has been proposed that aggregates the number of pieces of training data used in multi-class supervised learning for each class, and adjusts the number of pieces of training data for each class based on the difference between the aggregated number of pieces of data and a predetermined reference value.The device then generates a discriminant model based on the training data with the adjusted number of pieces of data.

[0006] Japanese Patent Application Laid-Open No. 2021-047826 Japanese Patent Application Laid-Open No. 2020-531933 Japanese Patent Application Laid-Open No. 2010-204966

[0007] There are two methods for correcting imbalances in training data: one is to correct imbalances between classes to which data labels belong, and the other is to correct imbalances between groups when data is classified by specific attributes. When the training data contains a mixture of imbalances between classes and between groups, it is possible to combine these methods. However, simply combining these methods may result in excessive or biased fairness.

[0008] In one aspect, the disclosed technology aims to suppress excessive or biased fairness when applying a data correction process in combination to correct imbalances in training data.

[0009] In one aspect, the disclosed technology accepts designation of multiple data correction processes to be applied sequentially to first training data. The disclosed technology also determines a degree of data correction to be performed by each of the multiple data correction processes based on a combination of the multiple data correction processes. The disclosed technology then applies the multiple data correction processes sequentially to the first training data based on the degree of correction to generate corrected second training data.

[0010] As one aspect, when a data correction process for correcting imbalances in training data is applied in combination, excessive or biased fairness can be suppressed.

[0011] 1 is a diagram for explaining imbalance in training data. FIG. 1 is a diagram for explaining relabeling, which is an example of data correction processing. FIG. 2 is a diagram for explaining oversampling, which is an example of data correction processing. FIG. 3 is a diagram for explaining problems with oversampling. FIG. 4 is a diagram for explaining a simple method for combining data correction processing techniques. FIG. 5 is a diagram for explaining a simple method for combining data correction processing techniques. FIG. 6 is a diagram for explaining a simple method for combining data correction processing techniques. FIG. 7 is a diagram for explaining fairing strength. FIG. 8 is a diagram for explaining fairing progress. FIG. 9 is a functional block diagram of a training data generation device according to a first embodiment. FIG. 10 is a diagram for explaining data correction processing that combines a plurality of techniques. FIG. 11 is a diagram for explaining an example of a method for determining fairing strength in the first embodiment. FIG. 12 is a block diagram showing a schematic configuration of a computer that functions as a training data generation device. FIG. 13 is a flowchart showing an example of training data generation processing. FIG. 14 is a functional block diagram of a training data generation device according to a second embodiment. FIG. 15 is a diagram for explaining variable types that affect the input and output of each technique. FIG. 16 is a diagram showing an example of a variable type DB. FIG. 17 is a diagram for explaining an example of a method for determining fairing strength in the second embodiment.

[0012] Hereinafter, an example of an embodiment of the disclosed technology will be described with reference to the drawings.

[0013] Before describing the details of the embodiment, the significance and problems of applying a combination of data correction processes to correct imbalances in training data will be described.

[0014] As shown in Figure 1, imbalances in training data include imbalances between classes to which data labels belong and imbalances between groups when data are classified by a specific attribute. In the example of Figure 1, each circle represents one piece of data, with a "+" representing a positive example (e.g., "pass") and a "-" representing a negative example (e.g., "fail"). A positive example is, for example, data in which an attribute corresponding to a binary classification objective variable has one value, while a negative example is, for example, data in which the attribute has the other value. Furthermore, white circles represent majority groups (e.g., the attribute "gender" is "male"), and shaded circles represent minority groups (e.g., the attribute "gender" is "female"). In Figure 1, each piece of data is arranged from right to left in descending order of likelihood as a positive example and from left to right in descending order of likelihood as a negative example. That is, the closer a positive example is to the decision boundary, which is the boundary between positive and negative examples, the less likely it is to be a positive example, and the closer a negative example is to the decision boundary, the less likely it is to be a negative example. The data notation method is the same in the following figures.

[0015] There are three types of cases in which training data can be unequal: A, B, and C, as shown in FIG. 1 . Type A is a case in which there is balance between classes but there is imbalance between groups. That is, the ratio of positive examples to negative examples between groups is approximately equal, but the number of data points for the minority group is smaller than the number of data points for the majority group. In this case, the small amount of data for the minority group causes insufficient learning, resulting in inequality in the accuracy of the machine learning model between the minority group and the majority group. Type B is a case in which there is balance between groups but there is imbalance between classes. That is, the number of data points for each group is approximately equal, but the positive example rate for the minority group is lower than that for the majority group. In this case, a machine learning model trained with many features that are unfavorable to the minority group is generated, resulting in inequality in the positive example rate between the majority group and the minority group in the prediction results of the machine learning model. Type C is a case in which there is imbalance between both groups and classes. In this case, inequality occurs in both the accuracy and positive example rate described above.

[0016] One example of a data correction process for equalizing the proportions of classes, i.e., the proportions of positive and negative examples, between groups is relabeling. Relabeling is a technique for roughly equalizing the proportions of positive and negative examples between groups by reversing the labels of positive examples in the majority group and negative examples in the minority group near the decision boundary (the dashed line in FIG. 2), as shown in FIG. 2. FIG. 2 shows an example in which data that was imbalanced between classes becomes positive:negative = 4:6 in both groups through relabeling. However, relabeling cannot address cases in which the proportions of positive and negative examples are already equal, as shown in A of FIG. 1, and an imbalance in the number of data between groups occurs.

[0017] One example of a data correction method for equalizing the number of data between groups is oversampling. Oversampling is a method of generating data for other clusters, each of which is a combination of a group and a class, so that the data is equal in size to the largest cluster, as shown in FIG. 3 . Oversampling, for example, generates data between neighboring data in existing data. FIG. 3 shows an example of generating three new positive example data (thick circles in FIG. 3 ) from three positive example data. This ensures that the positive and negative examples are equal in size between groups, preventing under-learning for minority groups. However, with oversampling, when a large amount of new data is generated from a small amount of existing data, as shown in FIG. 4 , a large amount of data with similar characteristics is generated, making over-learning more likely to occur.

[0018] The above-mentioned data correction process is a method of correcting data by focusing on the objective variable (class) of the training data, but there is also a method of correcting explanatory variables. While the method of correcting explanatory variables does not correct imbalances between classes or groups, machine learning models trained using the corrected training dataset can be improved to make balanced predictions. One example of a method of correcting explanatory variables is reweighing. Reweighing is a method of adding weight variables to each data set so that the more imbalanced the data in a cluster, the higher the value. This allows even small clusters to be trained to the same extent as other clusters, thereby improving imbalances between groups. However, reweighing, like the above-mentioned oversampling, can sometimes cause overfitting in response to imbalances between classes. Another method of correcting explanatory variables is DIR (Disparate Impact Remover). DIR rewrites the values ​​of explanatory variables so that they are similarly distributed across groups, which can improve imbalances between classes. However, like the above-mentioned relabeling, DIR cannot improve imbalances between groups.

[0019] Thus, when either the classes or the groups are imbalanced in the training dataset, it is necessary to select an appropriate method and perform a data correction process. Furthermore, when both the classes and the groups are imbalanced, applying a single method alone cannot adequately improve the imbalance in the training dataset. Note that cases where both the classes and the groups are imbalanced include cases where "both groups are imbalanced" and cases where "one group is imbalanced between classes and another group is imbalanced between groups."

[0020] To solve the above problem, it is possible to combine multiple data correction techniques. For example, as shown in Figure 5, relabeling can be applied to the data indicated by the dashed lines, followed by oversampling. However, simply combining relabeling and oversampling to correct data results in the generation of much data with characteristics opposite to the label. For example, in Figure 5, the label is positive, but much data with negative characteristics is generated. In particular, data far from the decision boundary (thick circles in the middle of Figure 5) has strong negative characteristics, but these data are used to expand the positive data. Machine learning models trained using data with strong negative characteristics as positive examples are more likely to cause reduced accuracy and fairness, particularly reverse discrimination. Note that reverse discrimination refers to a situation in which minority groups are favored. In the example of Figure 5, data from minority groups with strong negative characteristics is predicted as positive.

[0021] Also, for example, as shown in FIG. 6, a case may be considered in which oversampling is applied and then relabeling is applied. However, in this case, the classes are already balanced at the stage of applying relabeling, so data correction by relabeling does not work. Also, for example, as shown in FIG. 7, a case may be considered in which relabeling is applied and then reweighing is applied. Reweighing is a method of correcting explanatory variables. In the middle diagram of FIG. 7, the data classes are not particularly corrected, but by correcting the values ​​of the explanatory variables of the data in the dashed line area, the distribution of the explanatory variables is balanced, and fairness between classes is satisfied. In this way, if fairness between classes is satisfied by reweighing, and the classes, which are the objective variables, are made fair by relabeling in addition to the explanatory variables, excessive fairness will be achieved.

[0022] As described above, simply combining data correction processing techniques may result in excessive combination effects or the effects of the preceding technique being dominant. In either case, this may reduce the predictive accuracy of the machine learning model and the fairness of the prediction results. Therefore, in the following embodiments, the concepts of fairness strength and fairness progress are introduced for each data correction processing technique when multiple data correction processes are sequentially applied to a training dataset, thereby suppressing excessive fairness due to the combination or fairness biased toward a specific technique. This allows each embodiment to appropriately obtain the effects of the data correction processing using each technique.

[0023] The fairness strength is an index indicating the degree of fairness achieved in one data correction process. Specifically, perfect balance between classes or groups achieved by data processing using the relevant method is defined as 100%, and the fairness strength is the percentage of fairness achieved based on this standard. For example, in the case of relabeling, as shown in FIG. 8, it is assumed that perfect balance between classes requires reversing the labels of four positive example data from the majority group and four negative example data from the minority group. The state after label reversal is defined as fairness strength = 100%. In this case, for example, if the labels of two positive example data from the majority group and two negative example data from the minority group are reversed, the fairness strength = 50%. Furthermore, for example, if the labels of one positive example data from the majority group and one negative example data from the minority group are reversed, the fairness strength = 25%.

[0024] The fairness progress is an index that measures the effectiveness of each method. The fairness progress increases by applying multiple methods, with 0% being the initial state and 100% being the fairest state. The fairness progress obtained by each method is the progress difference. In other words, the sum of the progress differences of the methods that have already been applied is the fairness progress at that stage. For the first method, the fairness strength of that method = the progress difference. For the second and subsequent methods, the remaining fairness progress (1 - fairness progress) x fairness strength = the progress difference. When 100% fairness strength is applied using any method, the fairness progress also becomes 100%, and the fairness progress does not increase thereafter.

[0025] FIG. 9 shows an example in which relabeling is applied as the first method and oversampling is applied as the second method. In the initial state, the fairness progress is 0%. When relabeling is applied with a fairness strength of 100%, the relabeling progress difference is 100%, and the fairness progress at this stage is also 100%. Therefore, even if oversampling is subsequently applied with a fairness strength of 100%, the fairness progress has already reached 100%, so the progress difference is 0%. In other words, there is no effect of oversampling. On the other hand, when relabeling is applied with a fairness strength of 50%, the relabeling progress difference is 50%, and the fairness progress at this stage is also 50%. Next, when oversampling is applied with a fairness strength of 100%, the fairness progress reaches 100%, and the oversampling progress difference is 50%. In FIG. 9, the percentages in parentheses after the fairness progress degrees indicate the progress difference between the methods.

[0026] Therefore, by determining the fairness strength of each technique so that the progress difference between each technique is an appropriate ratio relative to the desired final fairness progress, the effects of each technique can be appropriately achieved. In this embodiment, the fairness strength of each technique is determined based on the above idea. The training data generation device according to each embodiment will be described in detail below.

[0027] 10 , a training data generation device 10 according to the first embodiment functionally includes a control unit 12. The control unit 12 further includes a receiving unit 14, a determining unit 16, a generating unit 18, and a machine learning unit 20. A training data DB (Database) 32 is stored in a predetermined storage area of ​​the training data generation device 10.

[0028] The receiving unit 14 receives a first training data set. The first training data set is a set of first training data including values ​​of multiple attributes, and is a training data set with an equalization progress rate of 0%. The multiple attributes include a response variable representing one of multiple classes and explanatory variables. The explanatory variables include sensitive attributes that may be subject to discriminatory treatment, such as gender and nationality, and other non-sensitive attributes.

[0029] The receiving unit 14 also receives a designation of a plurality of data correction processing techniques to be applied to the first training data in order. When a second training data set is generated by applying a data correction processing A to the first training data set, A is set as [A 1 , A 2 , ..., A α ]. i (i=1, 2, ..., α) represents each method applied to the first training data set, where i is the order in which each method is applied to the first training data, and α (α>1) represents the number of methods.

[0030] The determination unit 16 determines the degree of data modification performed by each of the multiple data modification processes, i.e., the fairing strength of each method, based on a combination of the multiple data modification processes. Specifically, the determination unit 16 sets the progress difference of each method so that the final fairing progress to be achieved is obtained when the progress difference of each method is added up. For example, when three methods are applied (α=3), the final fairing progress is set to 100%, and the progress difference of each method is set to be equal, the determination unit 16 determines the fairing strength of each method (α=3) as shown in FIG. 1 , A 2 , and A 3The progress difference between the methods is set to 1 / 3. The progress difference between the methods is not limited to being equal, but may be set to a different value taking into consideration the influence of the method. The final fairness progress is not limited to 100%. For example, if the fairness progress is set to 80%, and method A is set to 1 / 3, 1 , A 2 , and A 3 In this case, the determining unit 16 determines the influence of Method A to be 50%, 25%, and 25%, respectively. 1 , A 2 , and A 3 The progress difference may be set to 40%, 20%, and 20%, respectively.

[0031] The effectiveness of each data correction process is less pronounced the later the method is applied to the first training data set. Therefore, the determination unit 16 calculates the effectiveness of each data correction process for each method, which decreases the later the method is applied to the first training data set. For example, as shown in FIG. 12 , the determination unit 16 calculates the effectiveness of each method as (1 - the sum of the progress differences of the methods prior to the method in question). Then, the determination unit 16 determines the fairing strength of each method so that the lower the effectiveness, the greater the influence by increasing the strength. For example, as shown in FIG. 12 , the determination unit 16 determines the fairing strength of each method as the value obtained by dividing the progress difference of each method by its effectiveness.

[0032] The generator 18 generates corrected second training data by sequentially applying the data correction process of each method to the first training data based on the fairing strength of each method determined by the determiner 16. The generator 18 stores a second training data set, which is a collection of the second training data, in the training data DB 32.

[0033] The machine learning unit 20 trains the machine learning model using the second training data set stored in the training data DB 32 .

[0034] The training data generation device 10 according to the first embodiment may be realized by, for example, a computer 40 shown in FIG. 13 . The computer 40 includes a central processing unit (CPU) 41, a graphics processing unit (GPU) 42, a memory 43 serving as a temporary storage area, and a non-volatile storage device 44. The computer 40 also includes an input / output device 45 such as an input device and a display device, and an R / W (read / write) device 46 that controls reading and writing of data from and to a storage medium 49. The computer 40 also includes a communication interface (I / F) 47 that is connected to a network such as the Internet. The CPU 41, GPU 42, memory 43, storage device 44, input / output device 45, R / W device 46, and communication I / F 47 are connected to one another via a bus 48.

[0035] The storage device 44 is, for example, a hard disk drive (HDD), a solid state drive (SSD), or a flash memory. The storage device 44, which serves as a storage medium, stores a training data generation program 50 for causing the computer 40 to function as the training data generation device 10. The training data generation program 50 includes an acceptance process control instruction 54, a decision process control instruction 56, a generation process control instruction 58, and a machine learning process control instruction 60. The storage device 44 also includes an information storage area 70 in which information constituting the training data DB 32 is stored.

[0036] The CPU 41 reads the training data generation program 50 from the storage device 44, loads it into the memory 43, and sequentially executes the control instructions contained in the training data generation program 50. The CPU 41 operates as the reception unit 14 shown in FIG. 10 by executing the reception process control instruction 54. The CPU 41 operates as the determination unit 16 shown in FIG. 10 by executing the decision process control instruction 56. The CPU 41 operates as the generation unit 18 shown in FIG. 10 by executing the generation process control instruction 58. The CPU 41 operates as the machine learning unit 20 shown in FIG. 10 by executing the machine learning process control instruction 60. The CPU 41 also reads information from the information storage area 70 and loads the training data DB 32 into the memory 43. As a result, the computer 40 that executed the training data generation program 50 functions as the training data generation device 10. The CPU 41 that executes the program is hardware. A portion of the program may be executed by the GPU 42.

[0037] The functions realized by the training data generation program 50 may be realized, for example, by a semiconductor integrated circuit, more specifically, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or the like.

[0038] Next, the operation of the training data generation device 10 according to the first embodiment will be described. When a first training data set is input to the training data generation device 10 and an instruction to generate a second training data set and train a machine learning model is issued, the training data generation device 10 executes the training data generation process shown in Fig. 14. Note that the training data generation process is an example of a training data generation method of the disclosed technology.

[0039] In step S10, the receiving unit 14 receives a first training data set input to the training data generation device 10. Next, in step S12, the receiving unit 14 receives designation of multiple data correction processing methods to be applied to the first training data in sequence. Next, in step S14, the determination unit 16 sets a progress difference for each method so that the sum of the progress differences for each method equals the final fairness progress to be achieved. Next, in step S16, the determination unit 16 calculates the effectiveness of the data correction processing for each method, which decreases the later the method is applied to the first training data set. Next, in step S18, the determination unit 16 determines the fairness strength for each method based on the progress difference and the effectiveness, such that the lower the effectiveness, the greater the influence of the method will be achieved by increasing the strength.

[0040] Next, in step S20, the generation unit 18 applies the data correction process of each method to the first training data in turn based on the fairing strength of each method determined in step S18, to generate corrected second training data, and stores the corrected second training data in the training data DB 32. Next, in step S22, the machine learning unit 20 trains a machine learning model using the second training data set stored in the training data DB 32, and the training data generation process ends.

[0041] As described above, the training data generation device according to the first embodiment accepts the specification of multiple data correction processes to be applied sequentially to first training data. Furthermore, the training data generation device determines the degree of data correction performed by each of the multiple data correction processes based on a combination of the multiple data correction processes. Then, the training data generation device sequentially applies the multiple data correction processes to the first training data based on the degree of correction to generate corrected second training data. This makes it possible to prevent excessive or biased equalization when applying a combination of data correction processes to correct imbalances in the training data. Therefore, second training data is generated that has undergone the data correction processes so that the effects of each technique can be appropriately obtained. Training a machine learning model using the second training dataset generated in this manner makes it possible to prevent a decrease in the accuracy and unfairness of the machine learning model.

[0042] Second Embodiment Next, a second embodiment will be described. In the training data generation device according to the second embodiment, the same components as those in the training data generation device 10 according to the first embodiment are denoted by the same reference numerals, and detailed descriptions thereof will be omitted.

[0043] 15 , a training data generation device 210 according to the second embodiment functionally includes a control unit 212. The control unit 212 further includes a receiving unit 14, a determining unit 216, a generating unit 18, and a machine learning unit 20. In addition, a variable type DB 234 and a training data DB 32 are stored in a predetermined storage area of ​​the training data generation device 210.

[0044] Here, in fairness techniques, which variable types of explanatory variables and objective variables are modified differ depending on the technique, but which variable type is input also differs depending on the technique. The variable type refers to either the explanatory variable or the objective variable. For example, as shown in FIG. 16 , relabeling inputs both the explanatory variables and objective variable, and fairs and outputs only the objective variable. If the same variable type as the output of the previous stage is used in the output of the subsequent stage, the effectiveness of the subsequent stage technique will be reduced. For example, suppose oversampling is performed in the previous stage and relabeling is performed in the subsequent stage. In this case, the output of oversampling is the explanatory variables and objective variable, and the output of relabeling is the objective variable. Therefore, the effectiveness of the subsequent stage relabeling will be reduced because it attempts to fair the objective variable that has already been faired. On the other hand, if different variable types are used in the output of the previous and subsequent stages, the effectiveness of the subsequent stage technique will not be reduced. For example, suppose DIR is performed in the previous stage and relabeling is performed in the subsequent stage. In this case, the DIR in the first stage outputs explanatory variables, and the relabeling in the second stage equalizes the still unbalanced objective variables, so sufficient effect can be obtained.

[0045] Furthermore, the effectiveness of the data correction process is enhanced when the output variable type used by a previous method becomes the input variable type of a subsequent method. For example, when the output variable type of the first method is an explanatory variable, the input variable type of the second or subsequent method is an explanatory variable. If the output variable type of the previous method is not used as the input variable type of the subsequent method, the content of the corrected variable type will not be used, and the effect of the correction may be reduced or eliminated. Therefore, it is desirable to set the fairing progress and progress difference according to the input and output variable types of each method.

[0046] Therefore, in the second embodiment, as shown in FIG. 17, the variable type DB 234 stores, for each method, whether the input variable type and output variable type are explanatory variables or objective variables.

[0047] The determination unit 216 sets the fairing progress of each technique depending on whether the input variable type and output variable type of each technique are explanatory variables or objective variables, based on the variable type DB 234. For example, when the output variable type of a technique in the preceding stage matches the output variable type of a technique in the subsequent stage, the determination unit 216 reduces the progress difference of the technique in the subsequent stage compared to when the variable types do not match (Pattern 1). Also, for example, when the output variable type of a technique in the preceding stage does not match the input variable type of a technique in the subsequent stage, the determination unit 216 reduces the progress difference of the technique in the subsequent stage compared to when the variable types match (Pattern 2).

[0048] 18 shows an example of a method for determining the fairness strength in the case of the above-mentioned pattern 1. In the example of FIG. 18, the determination unit 216 allocates the progress difference equally among all methods, and sets the progress difference of the method whose output affects each variable type to 0. Setting the progress difference to 0 is an example of lowering the progress difference. Using the example of the variable type DB 234 in FIG. 17, for example, Method A 1 The output variable type of Method A is an explanatory variable. 1 The output of method A affects the explanatory variables but does not affect the objective variables. 1The progress difference for the explanatory variables is set to 1 / 4, and the progress difference for the objective variables is set to 0.

[0049] 18, the determination unit 216 also calculates the effectiveness of the data correction process by each method for each variable type. Then, the determination unit 216 determines the fairing strength of each method based on the progress difference and effectiveness for each variable type. For example, the determination unit 216 calculates the fairing strength for each variable type and determines the sum of these values ​​as the final fairing strength.

[0050] The training data generation device 210 according to the second embodiment may be realized by, for example, a computer 40 shown in Fig. 13. A training data generation program 250 for causing the computer 40 to function as the training data generation device 210 is stored in a storage device 44 of the computer 40. The training data generation program 250 includes a reception process control instruction 54, a decision process control instruction 256, a generation process control instruction 58, and a machine learning process control instruction 60. The storage device 44 also includes an information storage area 70 in which information constituting the training data DB 32 is stored.

[0051] The CPU 41 reads the training data generation program 250 from the storage device 44, loads it into the memory 43, and sequentially executes the control instructions contained in the training data generation program 50. The CPU 41 operates as the decision unit 216 shown in FIG. 15 by executing the decision process control instruction 256. The other control instructions are the same as those of the training data generation program 50 according to the first embodiment. As a result, the computer 40 that has executed the training data generation program 250 functions as the training data generation device 210.

[0052] The functions realized by the training data generation program 250 may be realized by, for example, a semiconductor integrated circuit, more specifically, an ASIC, an FPGA, or the like.

[0053] The operation of the training data generation device 210 according to the second embodiment will now be described. In the second embodiment, the training data generation device 210 also executes the training data generation process shown in Fig. 14. Note that the second embodiment differs from the training data generation process of the first embodiment in that the processes in S14 to S18 are executed with reference to the variable type DB 234.

[0054] As described above, the training data generation device according to the second embodiment sets the progress difference for each technique depending on the type of variables that affect the input and output of the applied technique, thereby enabling more effective determination of the fairness strength for each technique.

[0055] In the above embodiments, the training data generation program is stored (installed) in advance in a storage device, but this is not limiting. The program according to the disclosed technology may be provided in a form stored in a storage medium such as a CD-ROM, a DVD-ROM, or a USB memory.

[0056] The following additional notes are provided regarding the above-described embodiments.

[0057] (Supplementary Note 1) A training data generation program that causes a computer to execute the following processes: accept a specification of multiple data correction processes to be applied sequentially to first training data; determine a degree of data correction to be performed by each of the multiple data correction processes based on a combination of the multiple data correction processes; and apply the multiple data correction processes sequentially to the first training data based on the degree of correction to generate corrected second training data.

[0058] (Appendix 2) The training data generation program described in Appendix 1, characterized in that the process of determining the degree of correction includes determining the degree of correction based on the effectiveness of the data correction process, which decreases the later it is applied to the first training data, and the progress of the degree of correction to be reached after the data correction process, which is set for each data correction process.

[0059] (Supplementary Note 3) The training data generation program described in Supplementary Note 2, characterized in that the progress of the degree of correction to be reached after the data correction process is set so that the final degree of correction to be reached is reached when the progress of each data correction process is added together.

[0060] (Supplementary Note 4) The training data generation program according to Supplementary Note 2 or Supplementary Note 3, wherein the process of determining the degree of correction includes determining the degree of correction as a value obtained by dividing the progress by the effectiveness.

[0061] (Supplementary Note 5) The training data generation program according to any one of Supplementary Notes 2 to 4, wherein the process of determining the degree of correction includes setting a progress of the degree of correction to be reached after the data correction process, depending on whether the variable types of each of the input and output of the data correction process are explanatory variables or target variables.

[0062] (Supplementary Note 6) The training data generation program described in any one of Supplementary Notes 2 to 5, characterized in that the process of determining the degree of correction includes slowing down the progress of the data correction process applied in the latter stage when the variable type of the output of the data correction process applied in the former stage matches the variable type of the output of the data correction process applied in the latter stage, compared to when the variable types do not match.

[0063] (Supplementary Note 7) The training data generation program described in any one of Supplementary Notes 2 to 5, characterized in that the process of determining the degree of correction includes slowing down the progress of the data correction process applied in the latter stage when the variable type of the output of the data correction process applied in the former stage does not match the variable type of the input of the data correction process applied in the latter stage, compared to when the variable types match.

[0064] (Supplementary Note 8) The training data generation program according to any one of Supplementary Notes 1 to 7, further comprising: training a machine learning model using the second training data.

[0065] (Supplementary Note 9) A training data generation method characterized by having a computer execute the following processes: accepting a specification of multiple data correction processes to be applied sequentially to first training data; determining a degree of data correction to be performed by each of the multiple data correction processes based on a combination of the multiple data correction processes; and applying the multiple data correction processes sequentially to the first training data based on the degree of correction to generate corrected second training data.

[0066] (Supplementary Note 10) The training data generation method described in Supplementary Note 9, characterized in that the process of determining the degree of correction includes determining the degree of correction based on the effectiveness of the data correction process, which decreases the later it is applied to the first training data, and the progress of the degree of correction to be reached after the data correction process, which is set for each data correction process.

[0067] (Supplementary Note 11) The training data generation method described in Supplementary Note 10, characterized in that the progress of the degree of correction to be reached after the data correction process is set so that the final degree of correction to be reached when the progress for each data correction process is added together.

[0068] (Supplementary Note 12) The training data generation method according to Supplementary Note 10 or Supplementary Note 11, wherein the process of determining the degree of correction includes determining the degree of correction as a value obtained by dividing the progress by the effectiveness.

[0069] (Supplementary Note 13) The training data generation method according to any one of Supplementary Notes 10 to 12, characterized in that the process of determining the degree of correction includes setting a progress of the degree of correction to be reached after the data correction process, depending on whether the variable types of each of the input and output of the data correction process are explanatory variables or target variables.

[0070] (Supplementary Note 14) The training data generation method according to any one of Supplementary Notes 10 to 13, characterized in that the process of determining the degree of correction includes slowing down the progress of the data correction process applied in the latter stage when the variable type of the output of the data correction process applied in the former stage matches the variable type of the output of the data correction process applied in the latter stage, compared to when the variable types do not match.

[0071] (Supplementary Note 15) The training data generation method according to any one of Supplementary Notes 10 to 13, characterized in that the process of determining the degree of correction includes slowing down the progress of the data correction process applied in the latter stage when the variable type of the output of the data correction process applied in the former stage does not match the variable type of the input of the data correction process applied in the latter stage, compared to when the variable types match.

[0072] (Supplementary Note 16) The training data generation method according to any one of Supplementary Note 9 to Supplementary Note 15, further comprising causing the computer to execute a process that includes training a machine learning model using the second training data.

[0073] (Supplementary Note 17) A training data generation device comprising a control unit that executes the following processes: accepts designation of multiple data correction processes to be applied sequentially to first training data; determines a degree of data correction to be performed by each of the multiple data correction processes based on a combination of the multiple data correction processes; and applies the multiple data correction processes sequentially to the first training data based on the degree of correction to generate corrected second training data.

[0074] (Appendix 18) The training data generation device described in Appendix 17, characterized in that the process of determining the degree of correction includes determining the degree of correction based on the effectiveness of the data correction process, which decreases the later it is applied to the first training data, and the progress of the degree of correction to be reached after the data correction process, which is set for each data correction process.

[0075] (Supplementary Note 19) The training data generation device described in Supplementary Note 18, characterized in that the progress of the degree of correction to be reached after the data correction process is set so that the final degree of correction to be reached is reached when the progress for each data correction process is added together.

[0076] (Supplementary Note 20) The training data generation device according to Supplementary Note 18 or Supplementary Note 19, characterized in that the process of determining the degree of correction includes determining the degree of correction as a value obtained by dividing the progress by the effectiveness.

[0077] 10, 210 Training data generation device 12, 212 Control unit 14 Reception unit 16, 216 Decision unit 18 Generation unit 20 Machine learning unit 32 Training data DB 234 Variable type DB 40 Computer 41 CPU 42 GPU 43 Memory 44 Storage device 45 Input / output device 46 R / W device 47 Communication I / F 48 Bus 49 Storage medium 50, 250 Training data generation program 54 Reception process control command 56, 256 Decision process control command 58 Generation process control command 60 Machine learning process control command 70 Information storage area

Claims

1. A training data generation program that causes a computer to execute the following processes: accept a specification of multiple data correction processes to be applied in sequence to first training data; determine a degree of data correction to be performed by each of the multiple data correction processes based on a combination of the multiple data correction processes; and apply the multiple data correction processes in sequence to the first training data based on the degree of correction to generate corrected second training data.

2. The training data generation program of claim 1, characterized in that the process of determining the degree of correction includes determining the degree of correction based on the effectiveness of the data correction process, which decreases the later it is applied to the first training data, and the progress of the degree of correction to be reached after the data correction process, which is set for each data correction process.

3. The training data generation program described in claim 2, characterized in that the progress of the degree of correction to be reached after the data correction process is set so that the final degree of correction to be reached is obtained by adding up the progress for each data correction process.

4. The training data generation program according to claim 2 or 3, characterized in that the process of determining the degree of correction includes determining a value obtained by dividing the progress by the effectiveness as the degree of correction.

5. A training data generation program as claimed in any one of claims 2 to 4, characterized in that the process of determining the degree of correction includes setting a progress of the degree of correction to be reached after the data correction process depending on whether the variable types of each of the input and output of the data correction process are explanatory variables or target variables.

6. A training data generation program as claimed in any one of claims 2 to 5, characterized in that the process of determining the degree of correction includes slowing down the progress of the data correction process applied in the latter stage when the variable type of the output of the data correction process applied in the previous stage matches the variable type of the output of the data correction process applied in the latter stage, compared to when the variable types do not match.

7. A training data generation program as claimed in any one of claims 2 to 5, characterized in that the process of determining the degree of correction includes slowing down the progress of the data correction process applied in the latter stage when the variable type of the output of the data correction process applied in the previous stage does not match the variable type of the input of the data correction process applied in the latter stage, compared to when the variable types match.

8. A training data generation program as described in any one of claims 1 to 7, characterized in that the computer is caused to execute a process further including: training a machine learning model using the second training data.

9. A training data generation method comprising: receiving a specification of a plurality of data correction processes to be applied sequentially to first training data; determining a degree of data correction to be performed by each of the plurality of data correction processes based on a combination of the plurality of data correction processes; and applying the plurality of data correction processes sequentially to the first training data based on the degree of correction to generate corrected second training data, the method comprising the steps of:

10. The training data generation method described in claim 9, characterized in that the process of determining the degree of correction includes determining the degree of correction based on the effectiveness of the data correction process, which decreases the later it is applied to the first training data, and the progress of the degree of correction to be reached after the data correction process, which is set for each data correction process.

11. The training data generation method described in claim 10, characterized in that the progress of the degree of correction to be reached after the data correction process is set so that the final degree of correction to be reached is obtained by adding up the progress for each data correction process.

12. The method for generating training data according to claim 10 or 11, characterized in that the process of determining the degree of correction includes determining a value obtained by dividing the progress by the effectiveness as the degree of correction.

13. A training data generation method as claimed in any one of claims 10 to 12, characterized in that the process of determining the degree of correction includes setting a progress of the degree of correction to be reached after the data correction process depending on whether the variable types of each of the input and output of the data correction process are explanatory variables or target variables.

14. A training data generation method as claimed in any one of claims 10 to 13, characterized in that the process of determining the degree of correction includes slowing down the progress of the data correction process applied in the latter stage when the variable type of the output of the data correction process applied in the previous stage matches the variable type of the output of the data correction process applied in the latter stage, compared to when the variable types do not match.

15. A training data generation method as claimed in any one of claims 10 to 13, characterized in that the process of determining the degree of correction includes slowing down the progress of the data correction process applied in the latter stage when the variable type of the output of the data correction process applied in the previous stage does not match the variable type of the input of the data correction process applied in the latter stage, compared to when the variable types match.

16. The training data generation method according to any one of claims 9 to 15, characterized in that the computer is caused to execute a process further including: training a machine learning model using the second training data.

17. A training data generation device comprising a control unit that executes the following processes: accepts a specification of a plurality of data correction processes to be applied in sequence to first training data; determines a degree of data correction performed by each of the plurality of data correction processes based on a combination of the plurality of data correction processes; and applies the plurality of data correction processes in sequence to the first training data based on the degree of correction to generate corrected second training data.

18. The training data generation device described in claim 17, characterized in that the process of determining the degree of correction includes determining the degree of correction based on the effectiveness of the data correction process, which decreases the later it is applied to the first training data, and the progress of the degree of correction to be reached after the data correction process, which is set for each data correction process.

19. The training data generation device according to claim 18, characterized in that the progress of the degree of correction to be reached after the data correction process is set so that the final degree of correction to be reached is obtained by adding up the progress for each data correction process.

20. A training data generating device according to claim 18 or 19, characterized in that the process of determining the degree of correction includes determining a value obtained by dividing the progress by the effectiveness as the degree of correction.

Citation Information

Patent Citations

  • Sampling device, sampling method, sampling program, class distinction device and class distinction system

    JP2010204966A

  • System and method for allocating orders

    JP2020531933A

  • Data processing apparatus, and data processing method

    JP2021047826A

  • Method and device for sampling unbalanced data under federated learning

    CN112329820A

  • Training data expansion apparatus, method, and program

    JP2020140466A