Machine learning program, machine learning method, machine learning device, and non-transitory storage medium

The machine learning device addresses the challenge of maintaining accuracy and fairness in machine learning models by identifying and managing correlations between attributes and protected attributes, generating fair rule models that are both explainable and accurate, thus overcoming the limitations of existing methods.

WO2024219067A1PCT designated stage expired Publication Date: 2024-10-24FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/004930
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-21
Filing Date
2024-02-14
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing methods for eliminating unfair biases in machine learning models, such as rule mining technologies, risk falsification of fairness and may inadvertently reduce decision accuracy by eliminating necessary rules, leading to deteriorated performance in fair rule models.

Method used

A machine learning device and method that identifies attributes with high correlation to protected attributes, determines the nature of rules involving these attributes, and either excludes or reduces the weight of unfair rules, thereby generating a fair rule model without pre-defined knowledge, ensuring explainability and fairness.

Benefits of technology

This approach maintains decision accuracy while ensuring fairness and transparency in machine learning models by distinguishing between fair and unfair rules without requiring pre-defined knowledge, reducing the need for expert-defined systems and lowering work costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024004930_24102024_PF_FP_ABST
    Figure JP2024004930_24102024_PF_FP_ABST
Patent Text Reader

Abstract

[Problem] To suppress any decline in the accuracy of a fair rule model. [Solution] In the present invention, a machine learning device: identifies a first attribute having a higher correlation with a protection attribute than a threshold among a plurality of attributes; identifies a first correlation between the first attribute and an objective variable; executes a process of comparing, with the first correlation, a condition pertaining to the first attribute in a first rule including the first attribute among a plurality of rules including one or more attributes among the plurality of attributes, with the plurality of attributes taken as explanatory variables for the objective variable; and generates a machine learning model including a rule excluding the first rule from the plurality of rules on the basis of a result of the comparison process.
Need to check novelty before this filing date? Find Prior Art

Description

Machine learning program, machine learning method, machine learning device, and non-transitory storage medium

[0001] The disclosed technology relates to a machine learning program, a machine learning method, a machine learning device, and a non-transitory storage medium.

[0002] As systems using machine learning models become more widespread, it is becoming increasingly important to design systems that take ethical fairness into consideration. For example, when using a machine learning model to determine whether or not to hire a person, the system may be designed to ensure that the applicant's gender does not affect the decision. In order to build such a fair system, it is necessary to eliminate unfair bias from the machine learning model so that it does not cause unfair discrimination.

[0003] In addition, transparency of systems using machine learning models is also required, and efforts are being made to build machine learning models that have explainable processing logic and fair processing results. An example of an explainable machine learning model is a rule model. A rule model is an explainable machine learning model that is composed of multiple rules in the form "if P, then Q," which indicate that the target variable value of a sample that satisfies condition P is estimated to be Q. For example, a method has been proposed in which a black-box model trained on a real-world dataset is evaluated with a focus on two-class classification using the rule model, and a surrogate white-box model is presented to explain the black-box model.

[0004] Furthermore, a fair rule mining technology has been proposed that detects unfair rules when specific conditions and contexts are met based on correlation information between conditions, including protected attributes such as gender and race, and specific attributes other than protected attributes, and the objective variable. For example, a technology has been proposed that detects unfair rules that, when limited to a specific residential area, give unfavorable judgments to users of a specific race in rules constituting a machine learning model that determines whether a loan is approved, and then excludes the detected rules.

[0005] Furthermore, techniques have been proposed for achieving fair explainability tailored to the purpose of a task using a machine learning model. For example, a method has been proposed for achieving fairness based on knowledge information from a causal structure model defined in advance by experts according to the purpose. In this method, for example, when generating rules for determining whether to hire personnel who require physical strength, it is considered discriminatory to determine whether to hire Y based on gender A, a protected attribute, while it is not considered discriminatory to determine whether to hire Y based on physical strength M, which is related to gender A. In this method, a knowledge system that represents the relationship between such attributes (in the above example, A ⇒ M ⇒ Y) is defined in advance.

[0006] Ulrich A▲i▼vodji, Hiromi Arai, Olivier Fortineau, S▲e▼bastien Gambs, Satoshi Hara, Alain Tapp, "Fairwashing: the risk of rationalization," ICML 2019, arXiv:1901.09749v3 [cs.LG] 15 May 2019.Dino Pedreschi, Salvatore Ruggieri, Franco Turini, "Discrimination-aware Data Mining," Proc. 14th ACM SIGKDD Int. Conf. on Knowledge Discovery and Data Mining, pp.560-568, 24 August 2008. Yoichi Chikahara, Shinsaku Sakaue, Akinori Fujino, Hisashi Kashima, "Learning Individually Fair Classifier with Path-Specific Causal-Effect Constraint," in Proc. the 24th International Conference on Artificial Intelligence and Statistics, PMLR 130:145-153, 2021.

[0007] However, the method of presenting a substitute white-box model to explain a black-box model has the problem of possible misrepresentation of fairness. Furthermore, if all rules that could lead to unfair explanations are eliminated based on conventional rule mining techniques using correlation information, essential rules may also be eliminated, resulting in a deterioration in the accuracy of the rule model's judgment. For example, if rules containing the attribute "physical strength" are eliminated because there is a bias against gender, a protected attribute, the accuracy of the rule model that determines whether to hire a person with physical strength will deteriorate.

[0008] In one aspect, the disclosed technology aims to suppress deterioration in the accuracy of fair rule models.

[0009] In one aspect, the disclosed technology identifies a first attribute from among a plurality of attributes that has a correlation with a protected attribute higher than a threshold, and identifies a first correlation between the first attribute and a target variable. The disclosed technology also performs a process of comparing a condition related to the first attribute in a first rule including the first attribute among a plurality of rules including one or more attributes from among the plurality of attributes, with the first correlation, based on the results of the comparison process. Alternatively, the disclosed technology generates a machine learning model including rules excluding the first rule from the plurality of rules, each of which has a weight assigned to it, by lowering the weight assigned to the first rule.

[0010] One aspect is that it has the effect of suppressing deterioration in the accuracy of the fair rule model.

[0011] FIG. 1 is a functional block diagram of a machine learning device according to a first embodiment; FIG. 2 is a diagram illustrating an example of a training dataset; FIG. 3 is a diagram illustrating rule extraction; and FIG. 4 is a diagram illustrating generation of a rule model. A block diagram illustrating a schematic configuration of a computer that functions as a machine learning device. A flowchart illustrating an example of machine learning processing according to the first embodiment; A functional block diagram of a machine learning device according to a second embodiment; and FIG. 5 is a flowchart illustrating an example of machine learning processing according to the second embodiment.

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

[0013] First Embodiment Fig. 1 shows a functional block diagram of a machine learning device 10 according to a first embodiment. A training dataset is input to the machine learning device 10. The training dataset includes a plurality of training data, and each training data includes attribute values ​​for a plurality of attributes. The attributes include protected attributes that require consideration of fairness, such as gender and nationality, attributes other than the protected attributes, and attributes (also referred to as "labels") that serve as target variables.

[0014] FIG. 2 shows an example of a training dataset. The example in FIG. 2 is an example of a training dataset for generating a machine learning model (hereinafter referred to as a "rule model") that includes multiple rules for determining whether to hire a talent. In the example in FIG. 2, each row corresponds to data for one applicant, i.e., one training data set. In the example in FIG. 2, attributes include gender, age, license type, hometown, and hire / reject. Gender is a protected attribute, and hire / reject is a label. Furthermore, gender is classified as male and female, age as 20s, 30s, etc., license type as manual, automatic, and none, hometown as within Tokyo and outside Tokyo, and hire / reject is classified as hired or not hired. The license type "MT" indicates that the candidate holds a standard driver's license, and "AT" indicates that the candidate holds a standard driver's license that is limited to automatic vehicles. Hereinafter, for example, an attribute with a license type of manual is referred to as "license type_MT." The same applies to other attributes. In the example in FIG. 2, each training data item is represented by an attribute value of "1" if it corresponds to the attribute, and "0" if it does not.

[0015] 1 , the machine learning device 10 functionally includes a control unit 12. The control unit 12 further includes an identification unit 14, an extraction unit 16, a determination unit 18, and a generation unit 20.

[0016] The identification unit 14 acquires a training dataset input to the machine learning device 10. The identification unit 14 also accepts designation of protected attributes input by a user. The identification unit 14 identifies a first attribute from among a plurality of attributes that has a correlation with the protected attribute higher than a first threshold. For example, the identification unit 14 calculates correlation information for each combination of the protected attribute and an attribute other than the protected attribute and the objective variable (label). The correlation information may be, for example, support, confidence, lift value, or a combination thereof. The identification unit 14 identifies an attribute whose correlation information with the protected attribute is higher than a threshold as the first attribute. For example, if correlation information between the protected attribute "gender_male" and "license type_MT" is higher than a threshold, the identification unit 14 identifies "license type_MT" as the first attribute.

[0017] Furthermore, the identification unit 14 identifies a first correlation between the first attribute and the objective variable. For example, the identification unit 14 calculates correlation information for each combination of the first attribute and a positive example or a negative example (adopted or rejected in the example of FIG. 2 ) of the objective variable (label). Then, if the correlation information with the positive example is higher than a second threshold, the identification unit 14 identifies the first correlation as a "positive correlation," and if the correlation information with the negative example is higher than the second threshold, the identification unit 14 identifies the first correlation as a "negative correlation."

[0018] The extraction unit 16 extracts, from the training dataset, a plurality of rules including one or more of the plurality of attributes, each of which serves as an explanatory variable for a target variable. Specifically, as shown in A of FIG. 3 , the extraction unit 16 uses each attribute as an explanatory variable and comprehensively lists combinations of one or more explanatory variables. Furthermore, as shown in B of FIG. 3 , the extraction unit 16 counts the number of positive example training data and the number of negative example training data that match the listed combinations of explanatory variables. Then, as shown in C of FIG. 3 , the extraction unit 16 extracts, for example, a combination of explanatory variables in which the difference or ratio between the number of positive example training data and the number of negative example training data is equal to or greater than a predetermined value as a condition for high accuracy in classifying positive examples and negative examples, and combines the combination with the target variable value (positive example or negative example) for that condition to form a plurality of rules. Hereinafter, a rule in which the target variable value is a positive example will be referred to as a "positive rule," and a rule in which the target variable value is a negative example will be referred to as a "negative rule."

[0019] The method for extracting rules is not limited to the above example, and various rule mining techniques can be applied.

[0020] The determination unit 18 executes a process of comparing a condition related to the first attribute in a first rule including the first attribute among the multiple rules extracted by the extraction unit 16 with the first correlation. Specifically, the determination unit 18 compares whether the first rule is a positive rule or a negative rule with whether the first correlation is a positive correlation or a negative correlation. If the first rule is a positive rule and the first correlation is a positive correlation, or if the first rule is a negative rule and the first correlation is a negative correlation, the determination unit 18 determines that the first rule is a fair rule. Furthermore, if the first rule is a positive rule and the first correlation is a negative correlation, or if the first rule is a negative rule and the first correlation is a positive correlation, the determination unit 18 determines that the first rule is an unfair rule.

[0021] For example, as shown in A of FIG. 4 , assume that the identification unit 14 has identified the first characteristic "license type_MT," which has a high correlation with the protected attribute "gender," as being positively correlated with the objective variable. In this case, as shown in B of FIG. 4 , the determination unit 18 identifies, as the first rule, a rule that includes "license type_MT" as an explanatory variable from among the rules extracted by the extraction unit 16. In the example shown in B of FIG. 4 , the rule in the first row is a positive rule, which coincides with the positive correlation between "license type_MT" and the objective variable. Therefore, the determination unit 18 determines the rule in the first row to be a fair rule (denoted as "OK" in B of FIG. 4 ). Meanwhile, the rule in the second row is a negative rule, which does not coincide with the positive correlation between "license type_MT" and the objective variable. Therefore, the determination unit 18 determines the rule in the second row to be an unfair rule (denoted as "NG" in B of FIG. 4 ).

[0022] This rule, which determines the inverse correlation with the objective variable, considers the first attribute, which is an explanatory variable in the conditions included in the rule, to be a proxy attribute for a protected attribute that has a high correlation with the first attribute. For example, in a rule model for determining whether or not to hire a driver, it is desirable to assign a high score to applicants who hold a manual transmission license. In other words, the attribute "License Type_MT" is correlated with the protected attribute "Gender," but is an important factor for the driver occupation, so a rule including "License Type_MT" can be considered an essential rule. On the other hand, in a rule model for determining whether or not to hire an office worker, a rule may be included that assigns a low score to male applicants who hold a manual transmission license, assuming that the office worker occupation and the license type are unrelated. This is because the attribute "License Type_MT" may be a proxy attribute representing "Gender_Male."

[0023] In this embodiment, as described above, the determination unit 18 determines whether a rule is fair or unfair by comparing the positive or negative correlation between the first attribute correlated with the protected attribute and the objective variable with the positive or negative correlation of the rule that includes the first attribute as an explanatory variable. This makes it possible to determine whether a rule is essentially necessary or whether a rule makes an unfair determination based on a proxy attribute of the protected attribute, without requiring knowledge information defined in advance by an expert or the like.

[0024] The generation unit 20 excludes the first rule determined to be an unfair rule by the determination unit 18 from the multiple rules, and generates a rule model including the remaining rules. C in Fig. 4 shows that a rule model is generated by excluding the rule in the second row determined to be an unfair rule by the determination unit 18. The generation unit 20 outputs the generated rule model.

[0025] The machine learning device 10 may be realized by, for example, a computer 40 shown in FIG. 5 . The computer 40 includes a CPU (Central Processing Unit) 41, a GPU (Graphics Processing Unit) 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 I / F (Interface) 47 that is connected to a network such as the Internet. The CPU 41, GPU 42, memory 43, storage device 44, I / O device 45, R / W device 46, and communication I / F 47 are connected to one another via a bus 48.

[0026] The storage device 44 is, for example, a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc. The storage device 44 serving as a storage medium stores a machine learning program 50 for causing the computer 40 to function as the machine learning device 10. The machine learning program 50 includes an identification process control instruction 54, an extraction process control instruction 56, a determination process control instruction 58, and a generation process control instruction 60.

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

[0028] The functions realized by the machine learning 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.

[0029] Next, the operation of the machine learning device 10 according to the first embodiment will be described. When a training dataset is input to the machine learning device 10 and an instruction is given to generate a rule model, which is a machine learning model, the machine learning device 10 executes the machine learning process shown in Fig. 6. Note that the machine learning process is an example of a machine learning method of the disclosed technology.

[0030] In step S10, the identification unit 14 acquires a training dataset input to the machine learning device 10. Next, in step S12, the identification unit 14 accepts designation of protected attributes input by a user. Next, in step S14, the identification unit 14 identifies a first attribute from among the multiple attributes that has a correlation with the protected attributes higher than a first threshold. Next, in step S16, a first correlation (positive correlation or negative correlation) between the first attribute and the objective variable is identified.

[0031] Next, in step S18, the extraction unit 16 extracts from the training dataset a plurality of rules that use the plurality of attributes as explanatory variables for the objective variable and that include one or more of the plurality of attributes. Then, the extraction unit 16 classifies the extracted rules whose objective variable values ​​are positive examples as "positive rules" and rules whose objective variable values ​​are negative examples as "negative rules."

[0032] Next, in step S20, the determination unit 18 selects one first rule from the rules extracted in step S18, the first rule including the first attribute identified in step S14. Next, in step S22, the determination unit 18 determines whether the first rule is a positive rule and the first correlation is a negative correlation, or whether the first rule is a negative rule and the first correlation is a positive correlation. If the determination is positive, the process proceeds to step S24, where the generation unit 20 excludes the selected first rule from the extracted rules, and the process proceeds to step S26. On the other hand, if the determination is negative in step S22, the process skips step S24 and proceeds to step S26.

[0033] In step S26, it is determined whether the processing of steps S20 to S24 has been completed for all first rules among the rules extracted in step S18. If there are unprocessed first rules, the process returns to step S20. If the processing of all first rules has been completed, the process proceeds to step S28. In step S28, the generation unit 20 generates a rule model including the remaining rules that have not been excluded, outputs the generated rule model, and the machine learning process ends.

[0034] As described above, the machine learning device according to the first embodiment identifies a first attribute from among multiple attributes that has a correlation with a protected attribute higher than a threshold value, and identifies a first correlation between the first attribute and a dependent variable. The machine learning device also performs a process of comparing a condition related to the first attribute in a first rule including the first attribute among multiple rules including one or more of the multiple attributes, with the first correlation, using the multiple attributes as explanatory variables for the dependent variable. Based on the results of the comparison process, the machine learning device then generates a machine learning model including rules excluding the first rule from the multiple rules. This makes it possible to identify essentially necessary rules and rules that make unfair decisions using proxy attributes for protected attributes without requiring knowledge information defined in advance by experts or the like, thereby suppressing deterioration in the accuracy of fair rule models. Furthermore, the machine learning device according to the first embodiment can generate a machine learning model that not only ensures explainability of processing logic and fair processing results, but also ensures fairness in the explainability of the processing logic. Furthermore, the prior art method of selecting biased rules according to a purpose requires experts or the like to build a knowledge system in advance. According to the machine learning device of the first embodiment, there is no need to construct such a knowledge system in advance, and therefore it is possible to reduce the operational costs for generating rule models.

[0035] Second Embodiment Next, a description will be given of a second embodiment. In the machine learning device according to the second embodiment, components similar to those of the machine learning device 10 according to the first embodiment are denoted by the same reference numerals, and detailed descriptions thereof will be omitted.

[0036] 7 shows a functional block diagram of a machine learning device 210 according to the second embodiment. As shown in FIG. 7, the machine learning device 210 functionally includes a control unit 212. The control unit 212 further includes an identification unit 14, an assignment unit 222, an extraction unit 16, a determination unit 218, and a generation unit 20.

[0037] Here, some explanatory variables should be used only in either a positive context or a negative context. For example, it is considered that having an MT license will not be a disadvantage in determining whether or not to hire a person. In other words, when the attribute "License Type_MT" is used as an explanatory variable in a rule, it is considered that it will be used only in a positive context.

[0038] Therefore, the assigning unit 222 outputs the first attributes identified by the identifying unit 14, for example, in a list, and receives context information indicating whether the first attributes are used in a positive context or a negative context in the rule. Note that the first attributes for which context information is received may be some of the output first attributes that are clearly used in a positive context or a negative context. The assigning unit 222 assigns the received context information to the first attributes.

[0039] Similar to the determination unit 18 of the first embodiment, the determination unit 218 compares whether the first rule is a positive rule or a negative rule with whether the first correlation is a positive correlation or a negative correlation to determine whether the first rule is a fair rule or an unfair rule. In this case, for a first attribute to which context information is assigned, if the context information indicates that the first rule is used in a positive context, the determination unit 218 determines that the first rule is a fair rule if it is a positive rule and an unfair rule if it is a negative rule. Furthermore, if the context information indicates that the first rule is used in a negative context, the determination unit 218 determines that the first rule is a fair rule if it is a negative rule and an unfair rule if it is a positive rule. For example, if a first rule including "license type_MT" assigned with context information indicating that the first rule is used in a positive context as an explanatory variable is classified as a negative rule, the determination is the opposite of the context information assigned to "license type_MT." Therefore, the determination unit 218 determines that the first rule is an unfair rule.

[0040] The machine learning device 210 may be realized by, for example, a computer 40 shown in Fig. 5. A machine learning program 250 for causing the computer 40 to function as the machine learning device 210 is stored in the storage device 44 of the computer 40. The machine learning program 250 includes an identification process control instruction 54, an assignment process control instruction 262, an extraction process control instruction 56, a determination process control instruction 258, and a generation process control instruction 60.

[0041] The CPU 41 reads the machine learning program 250 from the storage device 44, loads it into the memory 43, and sequentially executes the control instructions contained in the machine learning program 250. The CPU 41 operates as the assignment unit 222 shown in FIG. 7 by executing the assignment process control instruction 262. The CPU 41 also operates as the determination unit 218 shown in FIG. 7 by executing the determination process control instruction 258. The other control instructions are the same as those of the machine learning program 50 according to the first embodiment. As a result, the computer 40 that executes the machine learning program 250 functions as the machine learning device 210.

[0042] The functions realized by the machine learning program 250 may be realized by, for example, a semiconductor integrated circuit, more specifically, an ASIC, an FPGA, or the like.

[0043] Next, the operation of the machine learning device 210 according to the second embodiment will be described. When a training dataset is input to the machine learning device 210 and an instruction to generate a rule model, which is a machine learning model, is given, the machine learning device 210 executes the machine learning process shown in FIG. 8. Note that the machine learning process is an example of a machine learning method of the disclosed technology. In the machine learning process according to the second embodiment, processes similar to those in the machine learning process according to the first embodiment ( FIG. 6 ) are assigned the same step numbers, and detailed descriptions thereof will be omitted.

[0044] After steps S10 to S16, in the next step S210, the assigning unit 222 outputs the first attribute identified in step S14 and receives context information indicating whether the first attribute is used in a positive context or a negative context in the rule. Then, the assigning unit 222 assigns the received context information to the first attribute.

[0045] Next, the process proceeds to step S222 via steps S18 and S20. In step S222, if context information is assigned to the first attribute included in the selected first rule, the determination unit 218 determines whether the positive / negative sign of the first rule is opposite to the positive / negative sign indicated by the context information assigned to the first attribute. If context information is not assigned to the first attribute, the determination unit 218 determines whether the positive / negative sign of the first rule is opposite to the positive / negative sign of the first correlation. Thereafter, steps S24 to S28 are executed, as in the first embodiment, and the machine learning process ends.

[0046] As described above, the machine learning device according to the second embodiment assigns context information to a first attribute, the context information indicating whether the first attribute is used as an explanatory variable in a positive or negative context. Then, for the first attribute to which the context information has been assigned, the machine learning device compares the positive or negative value of a first rule including the first attribute with the positive or negative value indicated by the context information to determine whether the first rule is a positive or negative rule. This makes it possible to further strengthen the exclusion of rules that make unfair decisions based on the proxy attribute of the protection attribute.

[0047] In the above embodiments, a rule model is generated by excluding a first rule determined to be an unfair rule. However, this is not limiting. For example, when a rule model includes multiple rules, each of which has a weight assigned, the machine learning device may generate a machine learning model in which the weight assigned to the first rule determined to be an unfair rule is reduced. For example, the machine learning device may reduce the weight of the first rule determined to be an unfair rule by a predetermined value, a predetermined percentage, or a predetermined minimum value. The weight may be based on a score indicating the importance of the rule, such as the classification accuracy between positive examples and negative examples, that is assigned when extracting the rule.

[0048] In addition, although the machine learning program is pre-stored (installed) in the storage device in each of the above embodiments, the present invention is not limited to this. 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.

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

[0050] (Supplementary Note 1) A machine learning program that causes a computer to execute the following processes: identifying a first attribute from among a plurality of attributes that has a correlation with a protected attribute higher than a threshold; identifying a first correlation between the first attribute and a target variable; executing a process of comparing a condition related to the first attribute in a first rule including the first attribute from among a plurality of rules including one or more attributes from among the plurality of attributes, with the first correlation; and generating a machine learning model including rules excluding the first rule from the plurality of rules, each of which has a weight set, based on a result of the comparison process, or generating a machine learning model in which the weight set for the first rule in the plurality of rules, each of which has a weight set, is reduced.

[0051] (Supplementary Note 2) The machine learning program according to Supplementary Note 1, wherein the comparison process includes comparing whether the first rule is a positive rule indicating that data that meets a condition related to the first attribute is a positive example or a negative rule indicating that the data is a negative example with whether the first correlation is a positive correlation or a negative correlation, and the process of generating the machine learning model includes excluding the first rule or lowering a weight set for the first rule when the first rule is a positive rule and the first correlation is a negative correlation, or when the first rule is a negative rule and the first correlation is a positive correlation.

[0052] (Supplementary Note 3) The machine learning program according to Supplementary Note 1 or Supplementary Note 2, characterized in that: context information indicating whether the first attribute is used as an explanatory variable in a positive context or a negative context is assigned to the first attribute; and for the first attribute to which the context information is assigned, a process is performed to compare the context information with a condition related to the first attribute in a first rule including the first attribute.

[0053] (Supplementary Note 4) A machine learning method characterized by being executed by a computer to perform the following processes: identifying a first attribute from among a plurality of attributes that has a correlation with a protected attribute higher than a threshold; identifying a first correlation between the first attribute and a target variable; performing a process of comparing a condition related to the first attribute in a first rule including the first attribute from among a plurality of rules including one or more attributes from among the plurality of attributes, with the first correlation; and generating a machine learning model including rules excluding the first rule from the plurality of rules, each of which has a weight set, based on a result of the comparison process, or generating a machine learning model in which a weight set for the first rule in the plurality of rules, each of which has a weight set, is reduced.

[0054] (Supplementary Note 5) The machine learning method according to Supplementary Note 4, wherein the comparison process includes comparing whether the first rule is a positive rule indicating that data that matches a condition related to the first attribute is a positive example or a negative rule indicating that the data is a negative example with whether the first correlation is a positive correlation or a negative correlation, and the process of generating the machine learning model includes excluding the first rule or lowering a weight set for the first rule when the first rule is a positive rule and the first correlation is a negative correlation, or when the first rule is a negative rule and the first correlation is a positive correlation.

[0055] (Supplementary Note 6) The machine learning method according to Supplementary Note 4 or Supplementary Note 5, characterized in that: context information indicating whether the first attribute is used as an explanatory variable in a positive context or a negative context is assigned to the first attribute; and for the first attribute to which the context information is assigned, a process is performed in which the context information is compared with a condition related to the first attribute in a first rule including the first attribute.

[0056] (Supplementary Note 7) A machine learning device comprising: a control unit that executes processes of: identifying a first attribute from a plurality of attributes, the first attribute having a correlation with a protected attribute higher than a threshold; identifying a first correlation between the first attribute and a target variable; executing a process of comparing a condition related to the first attribute in a first rule including the first attribute from a plurality of rules including one or more attributes from the plurality of attributes, with the first correlation, the first rule being an explanatory variable for the target variable; and generating a machine learning model including rules excluding the first rule from the plurality of rules, each of which has a weight set, based on a result of the comparison process, or generating a machine learning model in which a weight set for the first rule in the plurality of rules is reduced.

[0057] (Supplementary Note 8) The machine learning device according to Supplementary Note 7, wherein the comparison process includes comparing whether the first rule is a positive rule indicating that data that matches a condition related to the first attribute is a positive example or a negative rule indicating that the data is a negative example with whether the first correlation is a positive correlation or a negative correlation, and the process of generating the machine learning model includes excluding the first rule or lowering a weight set for the first rule when the first rule is a positive rule and the first correlation is a negative correlation, or when the first rule is a negative rule and the first correlation is a positive correlation.

[0058] (Supplementary Note 9) The machine learning device according to Supplementary Note 7 or Supplementary Note 8, characterized in that: context information indicating whether the first attribute is used as an explanatory variable in a positive context or a negative context is assigned to the first attribute; and for the first attribute to which the context information is assigned, a process is performed to compare the context information with a condition related to the first attribute in a first rule including the first attribute.

[0059] (Supplementary Note 10) A non-transitory storage medium storing a machine learning program characterized by causing a computer to execute the following processes: identifying a first attribute from among a plurality of attributes that has a correlation with a protected attribute higher than a threshold; identifying a first correlation between the first attribute and a target variable; performing a process of comparing a condition related to the first attribute in a first rule including the first attribute from among a plurality of rules including one or more attributes from among the plurality of attributes, with the first correlation; and generating a machine learning model including rules excluding the first rule from the plurality of rules, each of which has a weight set, based on a result of the comparison process, or generating a machine learning model in which a weight set for the first rule in the plurality of rules, each of which has a weight set, is reduced.

[0060] 10, 210 Machine learning device 12, 212 Control unit 14 Identification unit 16 Extraction unit 18, 218 Determination unit 20 Generation unit 222 Assignment unit 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 Machine learning program 54 Identification process control command 56 Extraction process control command 58, 258 Determination process control command 60 Generation process control command 262 Assignment process control command

Claims

1. A machine learning program that causes a computer to execute the following processes: identifying a first attribute among a plurality of attributes that has a correlation with a protected attribute higher than a threshold; identifying a first correlation between the first attribute and a target variable; executing a process of comparing a condition related to the first attribute in a first rule including the first attribute among a plurality of rules including one or more attributes among the plurality of attributes, in which the plurality of attributes are used as explanatory variables for the target variable, with the first correlation; and generating a machine learning model including rules excluding the first rule from the plurality of rules based on a result of the comparison process, or generating a machine learning model in which a weight set for the first rule in the plurality of rules, each of which has a weight set, is reduced.

2. The machine learning program of claim 1, characterized in that the comparison process includes comparing whether the first rule is a positive rule indicating that data matching a condition regarding the first attribute is a positive example or a negative rule indicating that data is a negative example with whether the first correlation is a positive correlation or a negative correlation, and the process of generating the machine learning model includes excluding the first rule or reducing a weight set for the first rule when the first rule is a positive rule and the first correlation is a negative correlation, or when the first rule is a negative rule and the first correlation is a positive correlation.

3. The machine learning program of claim 1 or 2, characterized in that: the first attribute is assigned contextual information indicating whether the first attribute is used as an explanatory variable in a positive context or a negative context; and for the first attribute to which the contextual information has been assigned, a process is performed in which the contextual information is compared with a condition regarding the first attribute in a first rule including the first attribute.

4. A machine learning method characterized in that a computer executes the following processes: identifying a first attribute from among a plurality of attributes that has a correlation with a protected attribute higher than a threshold; identifying a first correlation between the first attribute and a target variable; executing a process of comparing a condition related to the first attribute in a first rule including the first attribute from among a plurality of rules including one or more attributes from among the plurality of attributes, in which the plurality of attributes are used as explanatory variables for the target variable, with the first correlation; and generating a machine learning model including rules excluding the first rule from the plurality of rules based on a result of the comparison process, or generating a machine learning model in which a weight set for the first rule in the plurality of rules, each of which has a weight set, is reduced.

5. The machine learning method according to claim 4, characterized in that the comparison process includes comparing whether the first rule is a positive rule indicating that data matching a condition regarding the first attribute is a positive example or a negative rule indicating that data is a negative example with whether the first correlation is a positive correlation or a negative correlation, and the process of generating the machine learning model includes excluding the first rule or reducing a weight set for the first rule when the first rule is a positive rule and the first correlation is a negative correlation, or when the first rule is a negative rule and the first correlation is a positive correlation.

6. The machine learning method according to claim 4 or 5, characterized in that it further comprises: assigning to the first attribute context information indicating whether the first attribute is used as an explanatory variable in a positive context or a negative context; and for the first attribute to which the context information has been assigned, performing a process of comparing the context information with a condition relating to the first attribute in a first rule including the first attribute.

7. A machine learning device comprising: a control unit that executes a process of: identifying a first attribute among a plurality of attributes having a correlation with a protected attribute higher than a threshold; identifying a first correlation between the first attribute and a target variable; executing a process of comparing a condition related to the first attribute in a first rule including the first attribute among a plurality of rules including one or more attributes among the plurality of attributes, in which the plurality of attributes are used as explanatory variables for the target variable, with the first correlation; and generating a machine learning model including rules excluding the first rule from the plurality of rules based on a result of the comparison process, or generating a machine learning model in which a weight set for the first rule in the plurality of rules, each of which has a weight set, is reduced.

8. The machine learning device of claim 7, characterized in that the comparison process includes comparing whether the first rule is a positive rule indicating that data matching a condition regarding the first attribute is a positive example or a negative rule indicating that data is a negative example with whether the first correlation is a positive correlation or a negative correlation, and the process of generating the machine learning model includes excluding the first rule or reducing a weight set for the first rule when the first rule is a positive rule and the first correlation is a negative correlation, or when the first rule is a negative rule and the first correlation is a positive correlation.

9. The machine learning device of claim 7 or 8, characterized in that: context information indicating whether the first attribute is used as an explanatory variable in a positive context or a negative context is assigned to the first attribute; and for the first attribute to which the context information is assigned, a process is performed to compare the context information with a condition related to the first attribute in a first rule including the first attribute.

10. A non-transitory storage medium storing a machine learning program characterized by causing a computer to execute the following processes: identifying a first attribute among multiple attributes that has a correlation with a protected attribute higher than a threshold; identifying a first correlation between the first attribute and a target variable; executing a process of comparing a condition related to the first attribute in a first rule including the first attribute among multiple rules including one or more attributes among the multiple attributes, with the first correlation, and generating a machine learning model including rules excluding the first rule from the multiple rules based on a result of the comparison process, or generating a machine learning model in which a weight set for the first rule in the multiple rules, each of which has a weight set, is reduced.