Training data generation program, training data generation method and information processing device
By classifying and merging training data segments based on attribute values and fairness scores, the method effectively reduces correction impact, maintaining model accuracy and fairness.
Patent Information
- Application Number
- JP2023055148
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for segmenting training data to correct bias in machine learning models can lead to increased correction amounts, which deteriorate the accuracy of the models.
A method that classifies training data into groups based on attribute values and fairness evaluation scores, merging segments with similar trends to reduce correction impact and maintain accuracy.
Generates training data that suppresses deterioration in the accuracy of machine learning models by optimizing segment selection and correction processing.
Smart Images

Figure 2024142810000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a training data generation program, a training data generation method, and an information processing device. [Background technology]
[0002] A machine learning model trained using a training dataset (multiple training data) has the characteristic of making judgments with a statistically high probability, and therefore may output unfair inference results, such as inference results that cause discrimination, if there is a bias in a certain attribute of the training data. Examples of the certain attributes include protected attributes such as gender, age, race, nationality, and marital status.
[0003] A method is known in which training data is transformed, for example, by transforming (modifying) the values or labels of the training data, and the machine learning model is trained using training data in which the correlation between protected attributes and non-protected attributes is reduced, thereby suppressing unfair inference by the machine learning model. The modification of the training data may be referred to as a "corrective" process. Note that correlation may refer to the relationship between attributes or its strength.
[0004] In the correction process, a method is known in which multiple training data are classified into multiple groups (segments) based on the values of predetermined attributes, and the training data included in each group is corrected. This method can enhance the effect of suppressing unfair inference by a machine learning model compared to correcting multiple training data all at once. The process of classifying multiple training data into multiple segments may be called segment division, segment extraction, segmentation, or data segmentation. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] International Publication No. 2020 / 240981 Brochure [Patent Document 2] Patent Publication No. 2021-12593 [Patent Document 3] International Publication No. 2021 / 260945 Brochure Summary of the Invention [Problem to be solved by the invention]
[0006] Depending on the method of segmentation when performing the correction process, the amount of correction of the training data included in the segment, for example, the number of training data to be corrected, may increase, which may cause a deterioration in the accuracy (e.g., inference accuracy) of the machine learning model trained using the training data after the correction process.
[0007] In one aspect, an object of the present invention is to generate training data that suppresses deterioration of the accuracy of a machine learning model. [Means for solving the problem]
[0008] In one aspect, the training data generation program may cause a computer to execute the following processes. The process may classify a first plurality of training data into a plurality of groups based on values of a first attribute of the first plurality of training data. The process may also generate a third group by combining a first group and a second group of the plurality of groups based on a difference between values of the first attribute of training data included in each of the plurality of groups and a difference between fairness evaluation values of each of the plurality of groups. The process may also generate a second plurality of training data by modifying the training data included in the third group based on the fairness evaluation value of the third group. Effect of the Invention
[0009] In one aspect, the present invention can generate training data that suppresses deterioration of the accuracy of a machine learning model. [Brief description of the drawings]
[0010] [Figure 1] FIG. 13 is a diagram illustrating an example of the relationship between the number of segments extracted from a training dataset and a fairness score. [Diagram 2] FIG. 13 is a diagram for explaining an example of a segmentation technique. [Diagram 3] FIG. 2 is a block diagram showing an example of a hardware (HW) configuration of a computer that realizes a function of a server as an example of an embodiment. [Figure 4] FIG. 2 is a block diagram illustrating an example of a software configuration of a server according to an embodiment. [Diagram 5] FIG. 2 is a diagram illustrating an example of a training data set. [Figure 6] FIG. 11 is a diagram illustrating an example of a segment generation process according to an embodiment. [Figure 7] FIG. 11 is a diagram illustrating an example of a segment generation process according to an embodiment. [Figure 8] FIG. 13 is a diagram illustrating an example of a fairness score change amount. [Figure 9] FIG. 1 is a diagram for explaining an example of Simpson's paradox. [Figure 10] 11 is a diagram for explaining an example of a merge process performed by a merge unit; FIG. [Figure 11] FIG. 13 is a diagram illustrating an example of a merging result based on a fairness score change amount and the number of training data. [Figure 12] 10 is a flowchart illustrating an example of an operation of a server according to an embodiment. [Figure 13] FIG. 11 is a diagram for explaining an example of the operation of a server.
[0011] Hereinafter, the embodiments will be described with reference to the drawings. However, the embodiments shown below are merely examples, and are not intended to exclude the application of various modified examples and techniques not explicitly stated in the embodiments. For example, the present embodiment can be modified in various ways without departing from the spirit of the present invention. In addition, each figure does not intend to include only the components shown in the figure, but can include other functions, etc.
[0012] [A] About segmentation First, segmentation will be described. As described above, by classifying a plurality of training data into a plurality of segments and performing a correction process for each segment, better fairness can be obtained than by performing a correction process on a plurality of training data collectively. The classification (division) of segments may be performed using as a measure the value of a numerical attribute that can be said to be "fair in judgment under the conditions", for example, a numerical attribute (first attribute) such as "income". The measure may be determined, for example, for each training data set.
[0013] FIG. 1 is a diagram showing an example of the relationship between the number of segments extracted from a training data set and a fairness score. The "fairness score" is an example of a fairness evaluation value, and is an example of an index showing the fairness of the training data. Details of the fairness score will be described later. The "segment No." is an example of segment identification information.
[0014] As shown by reference character A1 in Fig. 1, if the number of segments is too small, for example 10, it may be difficult to grasp the trend of the training data of each segment, as compared with the optimal division number (for example 30) shown by reference character A2 in Fig. 1. For example, when a correction process for a certain segment is performed based on an erroneously grasped trend, there is a possibility that a lot of the training data in the certain segment will be corrected.
[0015] Also, as shown by reference symbol A3 in Fig. 1, if the number of segments is too large, for example 100, the number of data items in each segment will be small compared to the optimal division number (see reference symbol A2), and the fairness score of each segment may be overly sensitive to slight changes in the training data. For example, many segments may be determined to be correction targets based on the fairness score, and much of the training data may be corrected.
[0016] In this way, if the number of segments extracted from multiple training data is not appropriate, the number of training data to be corrected may increase in the correction process for each segment. Note that the number of segments shown in Figure 1 is merely an example, and the appropriate number of segments varies depending on factors such as the number of training data included in the training data set and the distribution of the training data.
[0017] By rewriting the values and labels of the training data records through the correction process, it is possible that training data containing attribute value combinations that do not exist in the original training data or training data that contradicts the attribute value combinations of the original training data may be generated. Therefore, as the amount of training data to be corrected increases, the accuracy (e.g., inference accuracy) of the machine learning model trained using the training data is more likely to deteriorate.
[0018] In the following explanation, the training dataset is assumed to be a collection of housing loan data including attribute values such as income, sex, marital status, whether or not a person has children, race, whether or not a housing loan will be approved, etc. In addition, by training a machine learning model using the training dataset, an AI (Artificial Intelligence) is created that determines whether or not a loan will be approved based on input information such as income and marital status.
[0019] Fig. 2 is a diagram for explaining an example of a segmentation technique. As shown by reference character B1 in Fig. 2, the training data set contains a large amount of training data (records) whose income attribute value is in the range of 0 to 4 million yen (especially, 0 to 2 million yen).
[0020] For example, equi-width binning is known as one of the segmentation methods. Binning is a method of discretizing continuous feature values and converting them into categorical variables, and equi-width binning is a range-first partitioning method that bins each segment so that the interval (value range) is constant.
[0021] As shown by symbol B2 in FIG. 2, when the training dataset is segmented by equal-width binning, multiple segments are obtained in which the range of continuous income values (the width of the horizontal axis in the example of FIG. 2) is constant.
[0022] However, the segment with an income of 4 to 10 million yen (see symbol B3) has an extremely small amount of training data compared to the segment with an income of 0 to 4 million yen (see symbol B4), resulting in a shortage of training data samples. For this reason, it is difficult to correctly detect bias in the segment shown by symbol B3 in the correction process.
[0023] Also, as one of the segmentation methods, quantile binning, which is a number-first partitioning method that bins so that the number of samples in each segment is constant, is known. However, when quantile binning is performed on the training data set shown by symbol B1 in FIG. 2, for example, the income range of 4 million to 10 million yen will be included in one segment. In this case, it may be difficult to grasp the trend of the training data included in the segment.
[0024] In this way, when a method such as equal-width binning or quantile binning is simply adopted as a segmentation method, it may be difficult to execute a correction process for each segment.
[0025] [B] Description of a method according to an embodiment In one aspect, a method for generating training data that suppresses deterioration of the accuracy of a machine learning model is described in one embodiment. For example, in one embodiment, a segment is obtained that suppresses deterioration of the accuracy of the machine learning model and increases the correction effect of the correction. Note that a segment is an example of a "group."
[0026] For example, if the amount of training data correction (e.g., the number of training data to be corrected) is reduced, the impact on the deterioration of the accuracy of the machine learning model tends to be reduced. Also, in each of multiple segments, if the trends of the training data within a segment are similar, the segments to be corrected can be narrowed down, so the amount of training data correction is reduced. Furthermore, the more training data a segment contains, the easier the correction process becomes.
[0027] From these perspectives, it is assumed that segmentation is performed that satisfies at least one of the following: training data with similar trends are included in the same segment so as to reduce the amount of correction; and a sufficient number of training data are included in the segment to perform the correction process appropriately.
[0028] As an example, in one embodiment, a device for generating a plurality of training data, for example, a server, may execute the following processes (i) to (iii).
[0029] (i) The server classifies the first plurality of training data into a plurality of groups based on values of a first attribute of the first plurality of training data.
[0030] (ii) The server generates a third group by combining the first group and the second group of the multiple groups based on a difference between values of a first attribute of the training data included in each of the multiple groups and a difference between fairness evaluation values of each of the multiple groups.
[0031] (iii) The server generates a second plurality of training data by modifying the training data included in the third group based on the fairness evaluation value of the third group.
[0032] As a result, according to the server according to one embodiment, it is possible to generate a second plurality of training data that suppresses deterioration of the accuracy of the machine learning model.
[0033] [C] Hardware configuration example The server 1 (see FIG. 4) according to one embodiment may be a virtual server (VM: Virtual Machine) or a physical server. The functions of the server 1 may be realized by one computer or by two or more computers. Furthermore, at least a part of the functions of the server 1 may be realized using hardware (HW) resources and network (NW) resources provided by a cloud environment.
[0034] 3 is a block diagram showing an example of a hardware (HW) configuration of a computer 10 that realizes the functions of the server 1 as an example of an embodiment. When multiple computers are used as HW resources that realize the functions of the server 1, each computer may have the HW configuration shown in FIG.
[0035] As shown in FIG. 3, the computer 10 may, as a HW configuration, illustratively include a processor 10a, a graphics processing unit 10b, a memory 10c, a storage unit 10d, an IF (Interface) unit 10e, an IO (Input / Output) unit 10f, and a reading unit 10g.
[0036] The processor 10a is an example of a processing unit that performs various controls and calculations. The processor 10a may be connected to each block in the computer 10 via a bus 10j so that they can communicate with each other. The processor 10a may be a multiprocessor including a plurality of processors, a multicore processor having a plurality of processor cores, or a configuration having a plurality of multicore processors.
[0037] Examples of the processor 10a include integrated circuits (ICs) such as a CPU, MPU, APU, DSP, ASIC, and FPGA. Note that a combination of two or more of these integrated circuits may be used as the processor 10a. CPU is an abbreviation for Central Processing Unit, and MPU is an abbreviation for Micro Processing Unit. APU is an abbreviation for Accelerated Processing Unit. DSP is an abbreviation for Digital Signal Processor, ASIC is an abbreviation for Application Specific IC, and FPGA is an abbreviation for Field-Programmable Gate Array.
[0038] The graphics processing device 10b controls screen display for an output device such as a monitor in the IO unit 10f. The graphics processing device 10b may also have a configuration as an accelerator that executes machine learning processing and inference processing using a machine learning model. The graphics processing device 10b may be various types of arithmetic processing device, such as a GPU (Graphics Processing Unit), an APU, a DSP, an ASIC, or an integrated circuit (IC) such as an FPGA.
[0039] The memory 10c is an example of HW that stores various data, programs, and other information. The memory 10c may be, for example, one or both of a volatile memory such as a dynamic random access memory (DRAM) and a non-volatile memory such as a persistent memory (PM).
[0040] The storage unit 10d is an example of HW that stores various data, programs, and other information. Examples of the storage unit 10d include various storage devices such as a magnetic disk device such as a hard disk drive (HDD), a semiconductor drive device such as a solid state drive (SSD), and a nonvolatile memory. Examples of the nonvolatile memory include a flash memory, a storage class memory (SCM), and a read only memory (ROM).
[0041] The storage unit 10d may store a program 10h (training data generation program) that realizes all or part of the various functions of the computer 10.
[0042] For example, the processor 10a of the server 1 can implement the function of a control unit 20 (see FIG. 4) described later by loading a program 10h stored in the storage unit 10d into the memory 10c and executing it.
[0043] The IF unit 10e is an example of a communication IF that controls the connection and communication between the server 1 and other computers. For example, the IF unit 10e may include an adapter that complies with electrical communication (e.g., LAN (Local Area Network)) such as Ethernet (registered trademark) or optical communication such as FC (Fibre Channel). The adapter may support one or both of wireless and wired communication methods.
[0044] The program 10h may be downloaded to the computer 10 from a network via the communication IF and stored in the storage unit 10d.
[0045] The IO unit 10f may include one or both of an input device and an output device. Examples of the input device include a keyboard, a mouse, and a touch panel. Examples of the output device include a monitor, a projector, and a printer. The IO unit 10f may also include a touch panel in which the input device and the display device are integrated. The output device may be connected to the graphics processing device 10b.
[0046] The reading unit 10g is an example of a reader that reads out data or program information recorded on the recording medium 10i. The reading unit 10g may include a connection terminal or device to which the recording medium 10i can be connected or inserted. Examples of the reading unit 10g include an adapter that complies with USB (Universal Serial Bus) or the like, a drive device that accesses a recording disk, and a card reader that accesses a flash memory such as an SD card. The recording medium 10i may store a program 10h, and the reading unit 10g may read the program 10h from the recording medium 10i and store it in the storage unit 10d.
[0047] Examples of the recording medium 10i include non-transitory computer-readable recording media such as magnetic / optical disks and flash memories. Examples of the magnetic / optical disks include flexible disks, CDs (Compact Discs), DVDs (Digital Versatile Discs), Blu-ray Discs, and HVDs (Holographic Versatile Discs). Examples of the flash memory include semiconductor memories such as USB memories and SD cards.
[0048] The above-described HW configuration of the computer 10 is an example. Therefore, the HW in the computer 10 may be increased or decreased (for example, adding or deleting any block), divided, or integrated in any combination, or buses may be added or deleted, etc.
[0049] [D] Software configuration example 4 is a block diagram showing an example of a software configuration of the server 1 as an example of an embodiment. The server 1 is an example of an information processing device or a computer.
[0050] 4, the server 1 may illustratively include a base segment extraction unit 12, a calculation unit 13, a merging unit 14, and a correction processing unit 15. The server 1 may also include a machine learning unit 16 when performing machine learning processing. The blocks 12 to 16 included in the server 1 are an example of a control unit 20. The functions of the control unit 20 may be realized, for example, by the processor 10a of the computer 10 shown in FIG. 3 executing a program 10h deployed in the memory 10c.
[0051] 4, the server 1 may illustratively include a storage area capable of storing the training data set 11a, the base segments 11b, the fairness scores 11c, the merged segments 11d, and the corrected training data set 11e. In addition, when the server 1 includes a machine learning unit 16, the storage area may be capable of storing the machine learning model 11f.
[0052] The storage area of the server 1 may be realized by, for example, one or both of the storage areas of the memory 10c and the storage unit 10d of the computer 10 shown in FIG.
[0053] The server 1 may receive, for example, at least one of the training data set 11a and the untrained machine learning model 11f from another computer (not shown) via the IF unit 10e and a network, and store them in a storage area.
[0054] The server 1 may also transmit at least one of the merged segment 11d, the corrected training data set 11e, and the trained machine learning model 11f stored in the storage area to another computer (not shown) via the IF unit 10e and the network. The server 1 may also transmit at least one of intermediate data, for example, data 11b and 11c, to another computer (not shown) via the IF unit 10e and the network.
[0055] FIG. 5 is a diagram showing an example of the training data set 11a. The training data set 11a is an example of the first plurality of training data, and may be, for example, housing loan data. As illustrated in FIG. 5, the training data set 11a is a collection of training data (entries) having attributes such as income (10,000 yen), gender, marital status, presence or absence of children, race, passability, etc. The training data set 11a may include various other attributes in addition to the attributes illustrated in FIG. 5.
[0056] Income is an example of a first attribute. Income is, for example, a numeric attribute where the value of the attribute is a numeric value, and is an unprotected attribute. Income is an example of a feature having continuous values in training data. For example, income may be a measure used to classify multiple training data in segmentation.
[0057] Each of gender, marital status, parental status, and race is an example of a protected attribute. A protected attribute is an attribute for which discrimination may occur. Protected attributes may include, for example, other attributes (protected attributes), such as nationality, single mother, etc., instead of or in addition to at least one of these.
[0058] Passability is an attribute whose value is "yes" or "no", for example, a non-protected attribute. Passability is an example of a specific attribute in the training dataset 11a. Passability being "yes" is an example of the specific attribute being a predetermined value (for example, a positive example). Passability may be used, for example, as a correct answer label in training the machine learning model 11f.
[0059] The base segment extraction unit 12 classifies the training data set 11a into a plurality of base segments 11b based on the income values of the training data set 11a. The base segments 11b are an example of groups. For example, the base segments 11b are segments of the smallest granularity obtained by dividing the training data set 11a into a predetermined number of segments. The base segments 11b may have a base segment width determined according to the possible range of an attribute value of a certain attribute (for example, the range from the minimum value to the maximum value in the training data set 11a).
[0060] The base segment extraction unit 12 may define (determine) the number of training data to be included in one base segment 11b, for example, a required number of data serving as a guideline for a lower limit, according to, for example, an instruction from an operator or a correction technique. Also, the base segment extraction unit 12 may determine the number of segments (predetermined number) of the base segments 11b to be generated by dividing the number of all training data included in the training data set 11a by the defined number of training data.
[0061] Then, the basis segment extraction unit 12 may extract a predetermined number of basis segments 11b from the training data set 11a by a technique such as equal-width binning, and store information on the basis segments 11b in a storage area.
[0062] 6 and 7 are diagrams for explaining an example of a segment generation process according to an embodiment. Reference symbol C1 in Fig. 6 is a bar graph showing the number of training data (the number of records) by income in the training dataset 11a.
[0063] Reference symbol C2 in Fig. 6 shows a basis segment 11b having a basis segment width (e.g., 500,000 yen width) obtained by dividing the income value range (0 to 1000,000 yen) of the training data set 11a into a predetermined number (e.g., 20). As shown in reference symbol C1 in Fig. 6, the training data set 11a has a bias in the distribution of training data according to income. Therefore, among the multiple basis segments 11b shown in reference symbol C2, there may be a basis segment 11b including training data less than the defined number of training data.
[0064] The information on the base segment 11b may include, for example, identification information of the base segment 11b, an interval on the income axis of the base segment 11b (e.g., an income range), identification information of the training data included in the base segment 11b, and the number of training data.
[0065] In one embodiment, the base segment 11b and the merged segment 11d described later are obtained by classifying the training data set 11a based on the value of one attribute (income) in a one-dimensional space with the attribute (income) as an axis, but are not limited to this. For example, the base segment 11b and the merged segment 11d may be obtained by classifying the training data set 11a based on the value of each attribute in a two- or more-dimensional space with two or more attributes as mutually orthogonal axes.
[0066] Hereinafter, when there is no need to distinguish between the base segment 11b and the merged segment 11d, they will simply be referred to as segment 11.
[0067] The calculation unit 13 calculates the fairness score 11c based on the training data set 11a and the multiple segments 11. For example, the calculation unit 13 may calculate the fairness score 11c for each segment 11 based on attribute values of multiple training data included in the segment 11.
[0068] As an example, the fairness score 11c may be a Disparate Impact (DI) value. In the following, in one embodiment, a case where the fairness score 11c is a DI value will be described as an example, but the present invention is not limited thereto, and various indices that can indicate the fairness of the training data in the segment 11 may be used as the fairness score 11c.
[0069] The DI value may be calculated by (acceptance rate of discriminated group) / (acceptance rate of favored group). The discriminated group is a training data group in which the attribute value of a specific protected attribute is an attribute value that is discriminated against, and the favored group is a training data group in which the attribute value of a specific protected attribute is an attribute value that is not discriminated against (or is favored). The acceptance rate indicates the proportion of attribute values of a specific attribute (e.g., a non-protected attribute) in the training data group that are positive examples (predetermined values) relative to the number of training data in the training data group.
[0070] The calculation unit 13 may, for example, determine a specific protected attribute to be used in calculating the DI value from among multiple protected attributes included in the training data set 11a. As an example, when the calculation unit 13 determines "gender" as the specific protected attribute, it may calculate the DI value as follows. It is assumed that the specific attribute to be used in calculating the acceptance rate is "passability". DI value = [(number of training data for "Yes" for discriminated group / number of training data for discriminated group) / (Number of training data for "Yes" for the preferential group / Number of training data for the preferential group)
[0071] In the above formula, the discriminated group is the training data group for which the gender is female among the multiple training data included in segment 11, and the preferential group is the training data group for which the gender is male among the multiple training data included in segment 11.
[0072] As indicated by reference symbol C3 in FIG. 6, the calculation unit 13 may calculate a fairness score 11c (eg, a DI value) for each segment 11, and store the fairness score 11c in a storage area.
[0073] 6, the example of C3 in FIG. 6 shows a first calculation process of the fairness score 11c when all the segments 11 are the base segments 11b. As described later, when the merged segment 11d is generated by the merging unit 14, the calculation unit 13 may perform the calculation process of the fairness score 11c again for the multiple segments 11 including the merged segment 11d.
[0074] The calculation unit 13 may calculate the amount of change in the fairness score 11c between two adjacent segments 11 (base segment 11b in the example of FIG. 7) as indicated by reference symbol C4 in FIG. 7. The amount of change in the fairness score 11c is an example of the difference between fairness evaluation values. Hereinafter, the amount of change in the fairness score 11c may be simply referred to as "fairness score change."
[0075] As an example, the calculation unit 13 may calculate the absolute value of the difference between the fairness scores 11c of two adjacent segments 11 (hereinafter, sometimes referred to as "adjacent segments") as the amount of change.
[0076] Reference symbol C4 in FIG. 7 shows a line graph (see solid line) in which the fairness score changes of adjacent segments are plotted and connected in a space with the horizontal axis being segment number and the vertical axis being fairness score change.
[0077] The fairness score change amount may be calculated for each pair of adjacent segments, for example, N-1 changes may be calculated (N is the number of segments 11). In the example of symbol C4 in Fig. 7, all of the multiple segments 11 are base segments 11b, so 19 changes may be calculated for the 20 base segments 11b.
[0078] The calculation unit 13 may identify adjacent segments based on, for example, the difference between the values of income (first attribute) of the training data included in each of the multiple segments 11.
[0079] For example, when the difference between the income values of two training data included in different segments 11 is equal to or less than the “basic segment width”, the calculation unit 13 may identify the two segments 11 including the two training data as adjacent segments. The basic segment width is an example of a third threshold value.
[0080] In addition, when the difference between the income values of two training data is equal to or less than the base segment width, it may mean that the intervals of two segments 11 including two training data are consecutive on the income axis. Therefore, the calculation unit 13 may specify, for example, two segments 11 having consecutive intervals on the income axis as adjacent segments. Alternatively, when the identification information of the segments 11 includes consecutive numbers assigned in ascending or descending order of the intervals on the income axis, the calculation unit 13 may specify two segments 11 having consecutive identification information as adjacent segments.
[0081] In addition, the calculation unit 13 calculates a threshold value ΔF th The threshold value ΔF may be determined. th is an example of the second threshold. th may be specified by an operator, or may be calculated by the calculation unit 13 in accordance with a predetermined condition based on the calculated fairness score change amount.
[0082] The merging unit 14 combines the first group and the second group to generate a third group based on the difference between the income (first attribute) values of the training data contained in each of the multiple groups and the difference between the fairness evaluation values of each of the multiple groups.
[0083] For example, the merge unit 14 may determine whether the change in the fairness score calculated by the calculation unit 13 is greater than or equal to a threshold value ΔF th If the difference is less than the fairness score 11c, the two segments 11 having the fairness score 11c used to calculate the amount of change may be merged to generate a merged segment 11d. The merging unit 14 may store information about the generated merged segment 11d in a storage area.
[0084] The information of the merged segment 11d may include, for example, identification information of the merged segment 11d, an interval (e.g., an income range) of the merged segment 11d on the income axis, identification information of training data included in the merged segment 11d, and the number of training data, etc. Since the merged segment 11d is a segment 11 obtained by combining a plurality of base segments 11b, the information of the merged segment 11d may include identification information of the base segment 11b to be merged (the merge source).
[0085] The server 1 may manage the information of the base segment 11b and the information of the merged segment 11d as information of the segment 11 in a storage area.
[0086] The two segments 11 to be merged are an example of the first and second groups. The merged segment 11d is an example of the third group. The two segments 11 to be merged may be two base segments 11b, two merged segments 11d, or one base segment 11b and one merged segment 11d.
[0087] As shown by symbols C4 and C5 in FIG. 7, the merger 14, for example, th The merging unit 14 merges five base segments 11b included in the section of C41, which are less than the threshold value ΔF, in order of adjacent segments, to generate a merged segment 11d of C51. th The merger 14 merges the four base segments 11b included in the section of C42, which are less than the threshold value ΔF, in order of adjacent segments, to generate a merged segment 11d of C52. th The two base segments 11b (adjacent segments) included in the interval C43 that is less than 11b are merged to generate a merged segment 11d shown in C53.
[0088] When the merging process of the segments 11 by the merging unit 14 is completed, the calculation unit 13 may again execute the calculation process of the fairness score 11c and the amount of change for the multiple segments 11 including the merged segment 11d. The merging unit 14 may again execute the merging process based on the amount of change in the fairness score recalculated by the calculation unit 13. The calculation unit 13 and the merging unit 14 may repeat these processes until no more mergeable segments 11 remain.
[0089] 7 is a bar graph showing the number of training data (number of records) for each segment 11 after the merging process by the merging unit 14. By generating the merged segments 11d shown by the symbols C51 to C53, the segments 11 shown by the symbols C61 to C63 are obtained in the symbol C6.
[0090] As shown by reference symbol C6 in FIG. 7, the server 1 according to an embodiment can merge adjacent segments based on the difference between the fairness evaluation values.
[0091] For example, the fairness score change is the threshold ΔF th Adjacent segments with a difference of less than 100% can be said to be segments 11 with similar training data trends. Therefore, by merging such adjacent segments, training data with similar trends can be included in the same segment 11, and the amount of correction in the correction process can be reduced.
[0092] In addition, by merging segments 11 containing training data with similar trends, the amount of training data contained in the segment 11 can be increased, thereby increasing the likelihood that corrective processing for the segment 11 will be performed appropriately.
[0093] In addition, in reference C6 in FIG. 7, three basis segments 11b (see reference C64) in the income range of 8.5 million to 10 million yen have a small number of training data (see reference C2 in FIG. 6), but are excluded from the merging target. The three basis segments 11b shown by reference C64 have a fairness score change amount that is smaller than the threshold ΔF as shown by reference C4. th The base segments 11b are far larger than the base segments 11b, and include training data with different trends. By excluding such base segments 11b from the merging targets, the server 1 can suppress the generation of segments 11 whose trends are likely to be difficult to grasp, and as a result, the deterioration of the accuracy of the machine learning model 11f can be suppressed.
[0094] The correction processor 15 generates a corrected training data set 11e by correcting the training data included in the merged segment 11d based on the fairness evaluation value of the merged segment 11d. The corrected training data set 11e is an example of a second plurality of training data.
[0095] For example, the correction processing unit 15 may perform a fairness judgment for each of the multiple training data included in the training data set 11a for each segment 11. Furthermore, the correction processing unit 15 may perform a data correction process for each of the multiple data included in the training data set 11a for each segment 11 based on the judgment result. Then, the correction processing unit 15 may store the multiple training data including the training data that has been subjected to the correction process in a memory area as a corrected training data set 11e. Various known methods may be adopted for the fairness judgment process and the data correction process. For example, the calculation process of the fairness score 11c by the calculation unit 13 may be adopted as the fairness judgment process.
[0096] The machine learning unit 16 uses the corrected training data set 11e to train the machine learning model 11f (machine learning process). As a method for training the machine learning model 11f by the machine learning unit 16, various known methods may be adopted.
[0097] The generation of the corrected training data set 11e by the correction processing unit 15 makes it possible to suppress unfair inference by the machine learning model 11f. As an example, the fairness determination process by the correction processing unit 15 makes it possible to estimate training data that may cause the output of unfair inference results such as discrimination from the training data set 11a for each segment 11 including multiple training data that tend to be similar to each other. In addition, the correction process of the training data makes it possible to suppress unfair inference by the machine learning model 11f by, for example, rewriting the value of the unprotected attribute relative to the protected attribute in the estimated data and reducing the correlation between the protected attribute and the unprotected attribute.
[0098] As described above, according to the server 1 according to an embodiment, it is possible to obtain a segment 11 that has a large correction effect while suppressing deterioration in the accuracy of the machine learning model 11f, as shown by reference symbol C6 in Fig. 7. This makes it possible to generate a corrected training data set 11e that includes training data that suppresses deterioration in the accuracy of the machine learning model 11f.
[0099] [E] An example of evaluating fairness for multiple biases Incidentally, the biases that may be included in the training data set 11a are diverse, and the fairness evaluation may be performed for two or more biases depending on the training data set 11a. As an example, the server 1 may perform the fairness evaluation and the merging of the segments 11 to correct both the single bias and the cross bias.
[0100] Isolated bias refers to a bias in a specific attribute of training data, or a phenomenon in which discrimination occurs due to the bias. An example of isolated bias is the phenomenon in which discrimination occurs according to "gender." Since this discrimination occurs due to a bias in one protected attribute, "gender," this bias is referred to as "isolated bias" for convenience.
[0101] Cross-bias refers to a bias in the combination of multiple attributes in training data, or a phenomenon in which discrimination occurs due to the bias. For example, consider the attribute "single mother." In the training data set 11a shown in FIG. 5, "single mother" is an attribute represented by a combination of attribute values of multiple protected attributes, "gender: female," "marital status: absent," and "children: present." Cross-bias is a phenomenon in which the difference in the acceptance rate depending on whether or not a person is a "single mother" is greater than the discrimination expected from the individual biases of "gender," "marital status," and "children."
[0102] For example, assume that the server 1 calculates the fairness score 11c in terms of cross-bias and merges segments 11 based on the fairness score change.
[0103] Fig. 8 is a diagram showing an example of a change in fairness score. Reference symbol D1 in Fig. 8 shows a fairness score 11c calculated from the viewpoint of cross-bias for each of the multiple base segments 11b shown in reference symbol C2 in Fig. 6. As an example, the calculation unit 13 may calculate, as the fairness score 11c, a ratio (DI value) between an acceptance rate when a combination of attribute values of protected attributes, "race: white (non_white=0.0)" and "gender: female (female=1.0)", is set as a discriminated group and an acceptance rate when combinations other than the combination are set as a preferential group.
[0104] Reference D2 in Fig. 8 shows a line graph (see solid line) in which the change in the fairness score 11c shown in reference D1 in adjacent segments is plotted and connected in a space with the horizontal axis being the segment number and the vertical axis being the fairness score change amount. Within the frame shown by dashed lines (see reference D21), the change in the fairness score in multiple consecutive segments 11 is greater than or equal to the threshold ΔF th Therefore, these segments 11 are to be merged by the merging unit 14.
[0105] In addition to the line graph shown in D2, reference symbol D3 in Fig. 8 shows a line graph (see thick solid line) showing the fairness score change amount calculated from the viewpoint of single bias. Hereinafter, the change amount shown by the solid line graph will be referred to as "change amount (cross bias)", and the change amount shown by the thick solid line graph will be referred to as "change amount (single bias)".
[0106] For example, the amount of change (single bias) indicates the amount of change in the fairness score in the adjacent segment when the fairness score 11c is the ratio (DI value) of the acceptance rate when the attribute values of the protected attributes "race: white (non_white=0.0)" or "gender: female (female=1.0)" are the discriminated group and the acceptance rate when combinations other than these are the preferential group.
[0107] Reference D31 encloses the same region as reference D21. The thick solid line frame shown in reference D32 indicates the area in the vicinity of segments No. 16 to 17 where the amount of change (tolerance bias) is greater than or equal to the threshold value ΔF thwhile the change (single bias) is less than the threshold ΔF th Indicates that the value is greater than or equal to 1.
[0108] In this way, even if the merging range of the segment 11 is determined based on the amount of change (cross bias), the merged segment 11d obtained by merging the segment 11 may not necessarily be the optimal segment 11 from the perspective of the amount of change (single bias).
[0109] One of the causes of the phenomenon shown in the thick solid line frame in code D32 is thought to be Simpson's paradox. Simpson's paradox is a phenomenon in which the tendency of a subdivided group and the overall tendency are reversed contrary to expectations.
[0110] FIG. 9 is a diagram for explaining an example of Simpson's paradox. Reference E1 in FIG. 9 shows a comparative example of the average test scores for the science and humanities courses between high schools A and B. As shown by reference E1, the average test scores for the science courses are 80 points for high school A and 90 points for high school B, with high school B being higher. Also, the average test scores for the humanities courses are 60 points for high school A and 70 points for high school B, with high school B being higher. From these results (premises), it can be inferred that the overall average test scores for the science and humanities courses combined are also higher for high school B. However, in reality, the overall average test scores are 78 points for high school A and 72 points for high school B, with high school A being higher.
[0111] Symbol E2 in Figure 9 indicates the population of data used to calculate the average test score shown in symbol E1. As shown by symbol E2, at high school A, out of 100 students, 90 are in the science course and 10 are in the humanities course. At high school B, out of 100 students, there are 10 in the science course and 90 in the humanities course. At high school A, the 90 students in the science course, who achieved an average test score of 80 points, raise the overall average test score, so the overall average test score is higher than at high school B, which has 90 students in the humanities course, who achieved an average test score of 70 points.
[0112] In this way, if the number of records used to calculate the average test score percentage differs significantly between the science and humanities course groups, the results may be reversed when calculating the overall average test score for the science and humanities courses combined.
[0113] The fairness score 11c according to one embodiment is calculated based on the ratio between the acceptance rate of the discriminated group and the acceptance rate of the favored group, for example, when it is a DI value. Therefore, when merging segments 11 based on the fairness score change amount, Simpson's paradox may occur.
[0114] Therefore, the merging unit 14 according to an embodiment may make a merging decision in the merging process of the segments 11 from two perspectives: the fairness score 11c regarding the cross-bias and the number of training data included in each segment 11.
[0115] Fig. 10 is a diagram for explaining an example of the merging process by the merging unit 14. Reference character F1 in Fig. 10 indicates a fairness score 11c calculated in terms of cross-bias for each of a plurality of base segments 11b obtained by dividing the training data set 11a.
[0116] 10 is a line graph showing the change (cross bias) in the fairness score 11c shown in F1 in adjacent segments. Within the dashed frame (see F21), the change in the fairness score in multiple consecutive segments 11 is greater than or equal to the threshold ΔF th Therefore, these segments 11 are to be merged by the merging unit 14.
[0117] Reference character F3 indicates the amount of fairness score change and the number of training data for each of segments 11 (segments S4 to S7) within the frame indicated by reference character F21.
[0118] For example, the merger unit 14 may determine whether the fairness score change is greater than a threshold value ΔF th Segments S4 to S7 that are determined to be less than (for example, 0.015) are extracted as the merging range.
[0119] In addition, the merge unit 14 determines whether the difference in the number of training data items for each adjacent segment, for example, between segments S4 and S5, between segments S5 and S6, between segments S6 and S7, is greater than or equal to a predetermined threshold ΔNum th In the example of FIG. 10, the threshold value ΔNum th is assumed to be 75000. th is an example of the first threshold. th may be specified by an operator, or may be calculated by the calculation unit 13 or the merging unit 14 in accordance with predetermined conditions based on the number of training data for each segment 11, the number of required data determined by the base segment extraction unit 12, etc.
[0120] In the example of code F3, the difference in the number of training data items between segments S4 and S5 is 70,000, and the threshold ΔNum th The difference is less than 75000. Therefore, the merger 14 determines that the segments S4 and S5 are to be merged, and merges the segments S4 and S5.
[0121] On the other hand, as shown by the dashed frame of symbol F31, the difference in the number of training data items between segments S5 and S6 is 100,000, and the threshold ΔNum th As shown in the dashed box of symbol F32, the difference in the number of training data items between segments S6 and S7 is 80,000, and the threshold ΔNum th (75,000) or more.
[0122] In this way, the segments S5 and S6, and the segments S6 and S7 each have a threshold value ΔNum th Due to the large difference, there is a high risk of the above-mentioned Simpson's paradox occurring. Therefore, the merging unit 14 excludes segments S5 and S6, and segments S6 and S7, from the merging targets, and suppresses the merging of segments S5 and S6, and the merging of segments S6 and S7, respectively.
[0123] Therefore, in the example of FIG. 10, the merge unit 14 performs the process of determining whether the fairness score change amount is greater than the threshold value F th Among the segments S4 to S7 whose length is less than 1, only the segments S4 and S5 are merged to generate a merged segment 11d.
[0124] In addition, information on the number of training data for each segment 11, as exemplified by symbol F3 in Figure 10, may be acquired by the base segment extraction unit 12 or the merging unit 14, for example, when the base segment 11b or the merged segment 11d is generated, and stored in a memory area.
[0125] Fig. 11 is a diagram showing an example of a merging result based on the fairness score change amount and the number of training data. Symbol G1 in Fig. 11 shows an example of a plurality of base segments 11b, similar to symbol C2 in Fig. 6. Symbol G2 shows an example of merging segments 11 based on the fairness score change amount, similar to symbol C6 in Fig. 7.
[0126] Reference symbol G3 in Fig. 11 shows an example of merging segments 11 based on the fairness score change amount and the number of training data pieces shown in reference symbol F3 in Fig. 10. In reference symbol G3, among segments S4 to S7 shown in reference symbol G21 in Fig. 11, segments S4 and S5 are merged (see reference symbol G31). On the other hand, in reference symbol G3, segments S6 and S7 are excluded from the merging target, and remain as base segment 11b (see reference symbol G32).
[0127] In this way, the merging unit 14 extracts (selects) the segments 11 to be merged based on the fairness score change calculated for the cross bias, and determines the segments 11 to be merged based on the difference in the amount of training data for each adjacent segment to be merged.
[0128] As a result, similarly to the case shown by the symbol G2, it is possible to merge the segments 11 in as wide a range as possible while ensuring the number of training data. thBy excluding adjacent segments that fall under the above criteria (see symbol G32) from the merging targets, it is possible to generate a segment 11 that is effective in terms of both cross bias and single bias while reducing the risk of Simpson's paradox occurring.
[0129] [F] Example of operation Next, an operation example of the server 1 according to an embodiment will be described with reference to Fig. 12 and Fig. 13. Fig. 12 is a flowchart for explaining the operation example of the server 1 according to an embodiment, and Fig. 13 is a diagram for explaining the operation example of the server 1.
[0130] In step S1, the server 1 obtains a training data set 11a.
[0131] In step S2, the server 1 determines protected attributes to be used in calculating the fairness score 11c. For example, the server 1 may determine two or more protected attributes. As an example, the server 1 may select the protected attributes and attribute values of "gender: female" and "single mother: YES" included in the training data set 11a. Note that the protected attributes and attribute values of "single mother: YES" may be a combination of the protected attributes and attribute values of "gender: female", "marital status: none", and "children: yes", for example.
[0132] In step S3, the server 1 determines attributes (eg, non-protected attributes) for classification of the base segment 11b. As an example, the server 1 may select the attribute "income" included in the training data set 11a.
[0133] In step S4, the base segment extraction unit 12 divides the training data set 11a into a plurality of base segments 11b by equal-width binning. In the example of Fig. 13, the base segment extraction unit 12 divides the training data set 11a into six base segments S1 to S6 as indicated by the symbol H1. At this time, the base segment extraction unit 12 may obtain (for example, calculate) the number of training data for each base segment 11b.
[0134] In step S5, the calculation unit 13 selects one unselected segment 11.
[0135] In step S6, the calculation unit 13 calculates a fairness score 11c of the segment 11 selected in step S5 for the cross bias in the two or more protection attributes determined in step S2.
[0136] In step S7, the calculation unit 13 determines whether or not all of the segments 11 have been selected. If all of the segments 11 have not been selected (NO in step S7), the process proceeds to step S5. If all of the segments 11 have been selected (YES in step S7), the process proceeds to step S8.
[0137] The calculation unit 13 calculates a fairness score change threshold ΔF th ,The threshold for the difference in the number of training data (the threshold for the difference in the number of training data) ΔNum th is determined (step S8).
[0138] In the example of FIG. 13, the calculation unit 13 calculates the segment S n (n is an integer between 1 and 6 corresponding to segments S1 to S6), the fairness score F n In addition, the segment S obtained by the base segment extraction unit 12 or the merging unit 14 is calculated. n The number of training data is Num n It is written as follows.
[0139] In step S9, the merge unit 14 initializes a variable S for selecting a segment 11 and a variable D for determining whether or not to execute merging within a loop. For example, the merge unit 14 sets S=1 and D=0. The merge unit 14 also sets the number of segments 11 to Smax.
[0140] In step S10, the merger 14 calculates the fairness score change ΔF between the segment S and the segment S−1. S-1 , training data number difference ΔNum S-1In addition, the merge unit 14 calculates the fairness score change ΔF between the segment S and the segment S+1. S+1 , training data number difference ΔNum S+1 Calculate.
[0141] In step S11, the merge unit 14 calculates the fairness score change amount ΔF S-1 is the threshold ΔF th Less than or equal to the difference in the number of training data ΔNum S-1 is the threshold ΔNum th If the determination condition is met (YES in step S11), the process proceeds to step S12. On the other hand, if the determination condition is not met (NO in step S11), the process proceeds to step S14.
[0142] In step S12, the merger unit 14 merges the segments S and S-1 to generate a merged segment 11d, and the process proceeds to step S13. At this time, the merger unit 14 may obtain (for example, calculate) the number of training data pieces for the merged segment 11d.
[0143] In step S13, the merge unit 14 sets the variable D=1, and the process proceeds to step S16.
[0144] In step S14, the merger unit 14 calculates the fairness score change amount ΔF S+1 is the threshold ΔF th Less than or equal to the difference in the number of training data ΔNum S+1 is the threshold ΔNum th If the determination condition is met (YES in step S14), the process proceeds to step S15. On the other hand, if the determination condition is not met (NO in step S14), the process proceeds to step S16.
[0145] In step S15, the merger unit 14 merges the segments S and S+1 to generate a merged segment 11d, and the process proceeds to step S13. At this time, the merger unit 14 may obtain (for example, calculate) the number of training data pieces for the merged segment 11d.
[0146] In step S16, the merge unit 14 sets S=S+2 (adds 2 to the variable S).
[0147] In step S17, the merge unit 14 determines whether the variable S exceeds Smax. If the variable S is equal to or smaller than Smax (NO in step S17), the process proceeds to step S10. If the variable S exceeds Smax (YES in step S17), the process proceeds to step S18.
[0148] In this way, when the variable S exceeds Smax, the fairness determination process and the merging process for all the segments 11 are completed for one round. In the example of FIG. 13, as shown by the reference symbol H3, as the fairness determination process and the merging process for one round, the merging unit 14 merges adjacent segments that match the merging conditions (steps S11 and S14) as correction candidates. Then, the merging unit 14 selects segments 11 every other segment, such as segments S2, S4, and S6, and judges the merging conditions between the selected segment 11 and the segments 11 before and after it. Note that, in the example of FIG. 12, step S11 is preferentially executed among steps S11 and S14, but this is not limited thereto, and steps S11 and S12 may be interchanged with steps S14 and S15.
[0149] In step S18, the merge unit 14 determines whether or not the variable D is the initial value of 0. If the variable D is not 0 (is 1) (NO in step S18), the process proceeds to step S5.
[0150] The fact that the variable D is not 0 means that merging has been performed in the fairness judgment process and merging process of the most recent round. In this case, the number of segments, the fairness score 11c of the segment 11 that was the subject of the merge, and the number of training data have changed due to the merging. Therefore, the server 1 executes the fairness judgment process and merging process of the next round from step S5.
[0151] In the process of judging the fairness of the next round, in step S5, the calculation unit 13 may select the segment 11 that has changed (the merged segment 11d). In this case, in step S6, the calculation unit 13 may obtain, as the fairness score 11c of the selected segment 11, the fairness score 11c of any one of the multiple base segments 11b that are the merge source, or the average value of the fairness scores 11c of the multiple base segments 11b.
[0152] In step S18, if the variable D is 0 (YES in step S18), the process proceeds to step S19.
[0153] The variable D being 0 means that no merging has been performed in the most recent round of fairness determination processing and merging processing, in other words, that there has been no change in the segment 11. In this case, the server 1 ends the fairness determination processing and merging processing.
[0154] In the example of FIG. 13, as indicated by symbol H4, the calculation unit 13 and the merging unit 14 may repeatedly execute the fairness determination process and the merging process until there are no adjacent segments that match the merging conditions (steps S11 and S14).
[0155] In step S19, the correction processor 15 performs a correction process on the training data set 11a for each segment 11 based on information on the segments 11, for example, information on the base segments 11b and the merged segments 11d. The correction processor 15 generates a corrected training data set 11e through the correction process.
[0156] In step S20, the machine learning unit 16 trains the machine learning model 11f using the corrected training data set 11e, and the process ends.
[0157] [G] Other The technology according to the embodiment described above can be modified and changed as follows.
[0158] For example, the blocks 12 to 16 included in the server 1 shown in FIG. 4 may be merged in any combination, or each may be divided.
[0159] Furthermore, the server 1 according to an embodiment may further execute an inference process to acquire an inference data set and input the acquired data set to a trained machine learning model 11f to acquire an inference result. The inference data set may be a data set having the same attributes as the training data set 11a. Note that the inference data set may exclude attributes of whether or not a home loan is approved.
[0160] 4 may be configured such that a plurality of devices cooperate with each other via a network to realize each processing function. As an example, each of the blocks 12-16 may be a Web server and an application server, and the storage areas storing each of the data 11a-11f may be DB servers, etc. In this case, the Web server, the application server, and the DB server may cooperate with each other via a network to realize the processing function of the server 1.
[0161] [H] Notes Regarding the above embodiment, the following supplementary notes are further disclosed.
[0162] (Appendix 1) classifying a first plurality of training data into a plurality of groups based on values of a first attribute of the first plurality of training data; generating a third group by combining a first group and a second group of the plurality of groups based on a difference between values of the first attribute of training data included in each of the plurality of groups and a difference between fairness evaluation values of each of the plurality of groups; generating a second plurality of training data by modifying the training data included in the third group based on the fairness evaluation value of the third group; A training data generation program that causes a computer to execute processing.
[0163] (Appendix 2) a difference between the number of data items of the training data included in the first group and the number of data items of the training data included in the second group is less than a first threshold value; Attachment 1, a training data generation program.
[0164] (Appendix 3) a difference between the fairness evaluation value of the first group and the fairness evaluation value of the second group is less than a second threshold. 3. The training data generation program according to claim 1 or 2.
[0165] (Appendix 4) a difference between a value of the first attribute of the training data included in the first group and a value of the first attribute of the training data included in the second group is equal to or smaller than a third threshold value; The training data generation program according to any one of Supplementary Note 1 to Supplementary Note 3.
[0166] (Appendix 5) training a machine learning model using the second plurality of training data; 5. The training data generation program according to any one of claims 1 to 4, which causes the computer to execute a process.
[0167] (Appendix 6) classifying a first plurality of training data into a plurality of groups based on values of a first attribute of the first plurality of training data; generating a third group by combining a first group and a second group of the plurality of groups based on a difference between values of the first attribute of training data included in each of the plurality of groups and a difference between fairness evaluation values of each of the plurality of groups; generating a second plurality of training data by modifying the training data included in the third group based on the fairness evaluation value of the third group; A method for generating training data, in which the processing is performed by a computer.
[0168] (Appendix 7) a difference between the number of data items of the training data included in the first group and the number of data items of the training data included in the second group is less than a first threshold value; 7. The training data generation method according to claim 6.
[0169] (Appendix 8) a difference between the fairness evaluation value of the first group and the fairness evaluation value of the second group is less than a second threshold. 8. The training data generation method according to claim 6 or 7.
[0170] (Appendix 9) a difference between a value of the first attribute of the training data included in the first group and a value of the first attribute of the training data included in the second group is equal to or smaller than a third threshold value; A training data generation method according to any one of Supplementary Note 6 to Supplementary Note 8.
[0171] (Appendix 10) training a machine learning model using the second plurality of training data; The training data generation method according to any one of Supplementary Note 6 to Supplementary Note 9, wherein the processing is executed by the computer.
[0172] (Appendix 11) classifying a first plurality of training data into a plurality of groups based on values of a first attribute of the first plurality of training data; generating a third group by combining the first group and the second group of the plurality of groups based on a difference between values of the first attribute of the training data included in each of the plurality of groups and a difference between fairness evaluation values of each of the plurality of groups; generating a second plurality of training data by modifying the training data included in the third group based on the fairness evaluation value of the third group; An information processing device comprising a control unit.
[0173] (Appendix 12) a difference between the number of data items of the training data included in the first group and the number of data items of the training data included in the second group is less than a first threshold value; 12. The information processing device according to claim 11.
[0174] (Appendix 13) a difference between the fairness evaluation value of the first group and the fairness evaluation value of the second group is less than a second threshold. 13. The information processing device according to claim 11 or 12.
[0175] (Appendix 14) a difference between a value of the first attribute of the training data included in the first group and a value of the first attribute of the training data included in the second group is equal to or smaller than a third threshold value; The information processing device according to any one of claims 11 to 13.
[0176] (Appendix 15) The control unit trains a machine learning model using the second plurality of training data. The information processing device according to any one of claims 11 to 14. [Explanation of symbols]
[0177] 1 Server 10. Computers 11a Training Data Set 11b Basal segment 11c Fairness Score 11d Merged Segments 11e Corrected training dataset 11f Machine learning models 12 Basis Segment Extraction Unit 13 Calculation section 14 Merging section 15 Corrective Action Department 16 Machine Learning Department 20 Control section
Claims
1. classifying a first plurality of training data into a plurality of groups based on values of a first attribute of the first plurality of training data; generating a third group by combining the first group and the second group of the plurality of groups based on a difference between values of the first attribute of the training data included in each of the plurality of groups and a difference between fairness evaluation values of each of the plurality of groups; generating a second plurality of training data by modifying the training data included in the third group based on the fairness evaluation value of the third group; A training data generation program that causes a computer to execute processing.
2. a difference between the number of data items of the training data included in the first group and the number of data items of the training data included in the second group is less than a first threshold value; The training data generating program according to claim 1 .
3. a difference between the fairness evaluation value of the first group and the fairness evaluation value of the second group is less than a second threshold value; 3. The training data generating program according to claim 1 or 2.
4. a difference between a value of the first attribute of the training data included in the first group and a value of the first attribute of the training data included in the second group is equal to or smaller than a third threshold value; 3. The training data generating program according to claim 1 or 2.
5. training a machine learning model using the second plurality of training data; The training data generating program according to claim 1 or 2, which causes the computer to execute a process.
6. classifying a first plurality of training data into a plurality of groups based on values of a first attribute of the first plurality of training data; generating a third group by combining the first group and the second group of the plurality of groups based on a difference between values of the first attribute of the training data included in each of the plurality of groups and a difference between fairness evaluation values of each of the plurality of groups; generating a second plurality of training data by modifying the training data included in the third group based on the fairness evaluation value of the third group; A method for generating training data, in which the processing is performed by a computer.
7. classifying a first plurality of training data into a plurality of groups based on values of a first attribute of the first plurality of training data; generating a third group by combining the first group and the second group of the plurality of groups based on a difference between values of the first attribute of the training data included in each of the plurality of groups and a difference between fairness evaluation values of each of the plurality of groups; generating a second plurality of training data by modifying the training data included in the third group based on the fairness evaluation value of the third group; An information processing device comprising a control unit.
Citation Information
Patent Citations
System, method, and program
JP2021012593A
Artificial intelligence device and program manufacturing method
WO2020240981A1
Training data generation program, device, and method
WO2021260945A1
