Machine learning explanation program, device, and method

The machine learning explanation device addresses the issue of redundant rules by generating and selecting rules based on training data probabilities, ensuring easy interpretation of model inference results.

JP7563620B2Active Publication Date: 2024-10-08FUJITSU LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023549284
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-10-08
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

Existing machine learning models generate redundant rules that are difficult to interpret, making it challenging to provide clear explanatory information for inference results.

Method used

A machine learning explanation device generates a first set of rules based on training data, determines matching data, calculates probabilities, and selects relevant rules to output easy-to-interpret explanatory information by considering partial exceptions and covering relationships.

Benefits of technology

Provides clear and interpretable explanatory information for machine learning model inference results by minimizing redundant rules and highlighting key influences on model outcomes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563620000002
    Figure 0007563620000002
  • Figure 0007563620000003
    Figure 0007563620000003
  • Figure 0007563620000004
    Figure 0007563620000004
Patent Text Reader

Abstract

This machine learning explanation device: generates rules on the basis of the training data used in training a machine learning model, each of the rules including a condition and a conclusion for a case where the condition is met; extracts, on the basis of the training data, a set {Ri} of rules in a subset group that constitutes cover of a given rule K in the generated rules; selects a rule Ri for which the difference between the degree of confidence (conf) of the rule K and the degree of confidence (conf) of a rule Ri is less than a prescribed threshold value; and outputs, for inference results of the machine learning model, explanation information that includes the rule K and a rule Ri that remains after the selected rule Ri is removed from the set Ri of rules.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The disclosed technology relates to a machine learning explanation program, a machine learning explanation device, and a machine learning explanation method. [Background technology]

[0002] In the field of explainable AI, explanatory information about the inference results of a machine learning model is provided along with the inference results. In this field of explainable AI, there is a technology that extracts and enumerates rules, which are, for example, If-then statement syntax, from the training data used for machine learning of a machine learning model, and presents them to the user. For example, a technology has been proposed that mines minimal occurrence patterns from a high-dimensional dataset under various constraints in a supervised setting. With this technology, rules that satisfy any constraints are efficiently enumerated for binarized input data. [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] Hiroaki Iwashita, Takuya Takagi, Hirofumi Suzuki, Keisuke Goto, Kotaro Ohori, Hiroki Arimura, "Efficient Constrained Pattern Mining Using Dynamic Item Ordering for Explainable Classification," arXiv:2004.08015v1 [cs.DB] 17 Apr 2020. Summary of the Invention [Problem to be solved by the invention]

[0004] When presenting rules that can be extracted from data as explanatory information for the inference results of a machine learning model, redundant rules may be generated, making it difficult to provide explanatory information that is easy to interpret.

[0005] In one aspect, the disclosed technology aims to provide explanatory information that is easy to interpret as explanatory information for the inference results of a machine learning model. [Means for solving the problem]

[0006] In one embodiment, the disclosed technology generates a first plurality of rules, each of which includes a condition and a conclusion when the condition is satisfied, based on training data used to train a machine learning model. The disclosed technology also determines whether the first plurality of data and the second plurality of data match. The first plurality of data are data that satisfy a first condition included in a first rule among the first plurality of rules in the training data. The second plurality of data are data that satisfy at least one of a plurality of conditions included in a second plurality of rules among the first plurality of rules in the training data. If there is a match, the disclosed technology selects one or more rules from the second plurality of rules based on a comparison result between a value indicating the possibility of the first rule being established based on the training data and a plurality of values ​​indicating the possibility of each of the second plurality of rules being established. Then, the disclosed technology outputs explanation information including the first rule and other rules among the second plurality of rules other than the one or more rules for the inference result of the machine learning model. Effect of the Invention

[0007] One aspect is that it has the effect of providing explanatory information that is easy to interpret as explanatory information for the inference results of a machine learning model. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a functional block diagram of a machine learning explanation device. [Diagram 2] FIG. 1 is a diagram for explaining the relationship between training data, a machine learning model, and rules. [Diagram 3] FIG. 13 is a diagram illustrating an example of training data. [Figure 4]FIG. 13 is a diagram illustrating an example of binarized training data. [Diagram 5] FIG. 2 is a diagram for explaining a description format of a rule. [Figure 6] FIG. 13 is a diagram illustrating an example of enumerated rules. [Figure 7] FIG. 13 is a diagram illustrating an example of a variable range represented by a rule. [Figure 8] FIG. 13 is a diagram showing an example of a variable area represented by a rule including a rule that is a partial exception. [Figure 9] FIG. 13 is a diagram illustrating an example of a coverage relationship of rules. [Figure 10] FIG. 1 is a block diagram showing a schematic configuration of a computer that functions as a machine learning explanation device. [Figure 11] 13 is a flowchart illustrating an example of a machine learning explanation process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

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

[0010] As shown in FIG. 1, training data used to train a machine learning model is input to the machine learning explanation device 10. The machine learning explanation device 10 generates and outputs explanation information for the inference result of the machine learning model based on rules extracted from the training data. Here, the relationship between the training data and the machine learning model and the rules will be described with reference to FIG. 2. The rules may be generated from the training data and the machine learning model may be generated using the generated rules, or the machine learning model may be generated using the training data and the rules may be used as explanation information for the generated machine learning model. This embodiment corresponds to the latter case.

[0011] Functionally, the machine learning explanation device 10 includes a generation unit 12, an extraction unit 14, a selection unit 16, and an output unit 18, as shown in FIG.

[0012] The generating unit 12 generates a first plurality of rules, each of which includes a condition and a conclusion when the condition is satisfied, based on the training data used to train the machine learning model. FIG. 3 shows an example of the training data. In FIG. 3, each row (each record) corresponds to one training data. "ID" is identification information of the training data. Each training data includes a value for each item, such as item "A", item "B", etc., and a "label" indicating the conclusion of each training data for a predetermined task. The generating unit 12 sets a condition expressed by a combination of each item and a possible value or range of values ​​for the item. For example, the generating unit 12 sets a plurality of explanatory variables, each of which is represented by an item name, an equal sign or an inequality sign, and a value, for each item. As shown in FIG. 4, the generating unit 12 converts the value of each item of the training data into a binary value depending on whether or not it corresponds to each of the set explanatory variables. In the example of FIG. 4, the value of each item of the training data is converted to "1" if it corresponds to the explanatory variable, and converted to "0" if it does not correspond to the explanatory variable.

[0013] The generating unit 12 generates each of the exhaustive combinations of explanatory variables as a condition, and associates a conclusion with each generated condition. For example, the generating unit 12 associates the most frequent label value among the labels of the training data that satisfy the condition as the conclusion of the condition. More specifically, when there are 10 training data that satisfy the condition "A<5 ∧ B<3", of which 9 are labeled "negative" and 1 is labeled "positive", the generating unit 12 associates the conclusion "negative" with the condition. The generating unit 12 generates a rule by associating the condition with the conclusion in this way. In the following, the rule is represented in a format in which the condition is written to the left of the arrow and the conclusion is written to the right of the arrow, as shown in FIG. 5.

[0014] Furthermore, the generating unit 12 calculates a value indicating the possibility of the rule being established for each rule. The value that satisfies the possibility of the rule being established is a value that indicates the influence that the rule has on the inference result of the machine learning model, and is a value that indicates the possibility that the conclusion of the rule is established when certain data satisfies the condition of the rule. The generating unit 12 calculates a value that satisfies the possibility of the rule being established based on the number of training data that satisfies the condition among the training data, and the number of training data whose conclusion indicated by the label is a predetermined conclusion. Specifically, the generating unit 12 uses the binarized training data to count the training data whose values ​​for all explanatory variables included in the condition are "1", thereby acquiring the number of training data that satisfies the condition.

[0015] More specifically, assume that the "label" of the training data is a binary value of "positive" or "negative" as in the examples of Figures 3 and 4. In this case, the generation unit 12 may calculate the confidence (hereinafter also referred to as "conf") shown in the following formula (1) as a value that satisfies the possibility of the rule being established. conf = The number of training data that meet the condition and have the label "positive" / Number of training data that meet the conditions (1) In the case of formula (1), the larger the value of conf, i.e., the closer it is to 1, the more likely it is that the conclusion will be "positive" when the condition of the rule is met. On the other hand, the smaller the value of conf, i.e., the closer it is to 0, the more likely it is that the conclusion will be "negative" when the condition of the rule is met.

[0016] In the following, an example will be described in which conf shown in formula (1) is used as a value that satisfies the possibility of the rule being established, but the value that satisfies the possibility of the rule being established is not limited to this. For example, the generation unit 12 may calculate the coverage, which is expressed as the number of positive examples that satisfy a condition, relative to the total number of positive examples in the training data, as the value that satisfies the possibility of the rule being established. Note that a positive example is training data labeled "positive".

[0017] The generation unit 12 extracts and lists rules whose calculated conf satisfies a predetermined constraint from among the generated rules. The predetermined constraint is a constraint that indicates that the rule has a large influence on the inference result of the machine learning model. For example, the generation unit 12 extracts rules whose conf is 0.7 or more or whose conf is 0.3 or less, and lists them as shown in FIG. 6. Note that in FIG. 6, the calculated conf for the rule is also shown in parentheses next to the rule.

[0018] Note that, in the above, we have described rules generated from training data in which the values ​​of each item are numerical. However, even if the training data has categorical values ​​of items, rules can be generated as shown in Rules 1 and 2 below. Rule 1: city=NYC → class=X Rule 2: race=black, city=NYC → class=Y

[0019] Furthermore, the conclusion is not limited to the two values ​​of "positive" and "negative", and conclusions classified into three or more classes may be associated. When there are three or more conclusions, conf can be calculated as shown in the following formula (2). conf = The number of training data that meet the condition and have the same label as the conclusion of the rule / Number of training data that meet the conditions (2)

[0020] Here, the requirements of the rules presented to the user as explanatory information in this embodiment will be described. For example, assume that rules are listed in which the relationship between conditions and conf is shown in FIG. 7. In the example of FIG. 7, when the conditions are expressed by a combination of explanatory variables using items "A" and "B", the horizontal axis corresponds to the value of the explanatory variable using item "A", and the vertical axis corresponds to the value of the explanatory variable using item "B". Also, in the example of FIG. 7, within the area represented by the combination of the explanatory variable using item "A" and the explanatory variable using item "B", the conf calculated for the rule including the condition corresponding to that combination is shown.

[0021] The basic requirement is to be able to read which variable ranges affect the inference results of the machine learning model. In the example in Figure 7, the rule "A>5 ∧ B<5 → negative (conf=0.1)" indicates that when the data is A>5 and B<5, the inference result of the machine learning model is likely to be "negative." In other words, it indicates that the variable range indicated by the condition of this rule has a negative impact on the inference results of the machine learning model.

[0022] The next requirement is to be able to read how the impact on the inference results of the machine learning model changes as the variable range changes. From the three rules below in the example of Figure 7, we can read the impact of changes in the variable range, namely, when the data is A>5 and B<5, it has a negative impact, but when B>5 it changes to a positive impact, and when B>7.5 the degree of the positive impact increases further. A>5 ∧ B<5 → negative (conf=0.1) A>5 ∧ B>5 → positive (conf=0.7) A>5 ∧ B>7.5 → positive (conf=0.8)

[0023] The next requirement is to present as few rules as possible when there is little difference in the amount of information presented to the user. In the example of Figure 7, if the following three rules are listed, it is better to present them as a single rule: "A>5 ∧ B<5 → negative (conf=0.1)". A>5 ∧ B<3 → negative (conf=0.1) A>5 ∧ B<4 → negative (conf=0.1) A>5 ∧ B<5 → negative (conf=0.1)

[0024] If the rules enumerated by the generating unit 12 are presented as is, the presentation of the rules to the user may be redundant when trying to explain partial exceptions. Partial exceptions are explained using abstract examples. For example, when explaining whether fruits = {melon, grapes, watermelon, peach, lemon} are sweet or sour, the explanation becomes redundant with a cumulative explanation of rules such as "melon is sweet, grapes is sweet, watermelon is sweet, peach is sweet, lemon is sour." Therefore, by treating the rule "lemon is sour" as a partial exception and explaining the partial exception in addition to the overall explanation, such as "fruits are sweet, but lemon is sour," the redundancy can be eliminated.

[0025] Figure 8 shows a diagram similar to Figure 7 for the variable range represented by the rules enumerated in Figure 6. As shown in Figure 8, the variable range where A<5 and B<5 includes a variable range that indicates a partial exception. If this variable range were to be explained using the rules shown in Figure 6, the explanation would be verbose, as it would be a cumulative explanation of the first five rules from the top. For example, if the first five rules shown in Figure 6 were presented from the top, it is expected that the user would interpret it as follows. User interpretation for a range of variables A<5 and B<5: If A<5 and B<3, A<3 and B<5, ¬A<4 and A<5 and B<5, ¬B<4 and B<5, A<5 and B<5 are negative, and if ¬A<3 and A<4 and ¬B<3 and B<4 are positive

[0026] After satisfying the above requirement of "being able to read how the impact on the inference results of the machine learning model changes with changes in the variable range," we consider satisfying the requirement of "if there is almost no difference in the amount of information presented to the user, present as few rules as possible." In this case, by selecting the following two rules from the rules enumerated in Figure 6, taking into account partial exceptions, the following interpretation is possible. Rules to choose from: ·A<5 ∧ B<5 → negative (conf=0.2) ·¬A<3 ∧ A<4 ∧ ¬B<3 ∧ B<4 → positive (conf=0.8) User interpretation for a range of variables A<5 and B<5: If A<5 and B<5, it is negative, but if ¬A<3 and A<4 and ¬B<3 and B<4, it is exceptionally positive.

[0027] In this embodiment, the extraction unit 14 and the selection unit 16 select rules that allow the above interpretation while taking into account partial exceptions from the rules enumerated by the generation unit 12. The extraction unit 14 and the selection unit 16 will be described in detail below.

[0028] The extraction unit 14 extracts a covering relationship of the rules based on the training data. When the first rule and the second plurality of rules are in a covering relationship, the first plurality of data in the training data that satisfies a condition included in the first rule matches the second plurality of data in the training data that satisfies at least one of the conditions included in the second plurality of rules.

[0029] Specifically, the extraction unit 14 extracts a set of training data S that satisfies a certain rule K from the set of rules enumerated by the generation unit 12, and extracts a set of rules R that constitute a subset of the set S. i Let the set of i}(i∈I), a set of rules {R i} is a set of training data that satisfies {U i}(i∈I). Rule K is an example of the “first rule” and is included in the set of rules {R i} is an example of a "second plurality of rules", data S is an example of a "first plurality of data", and data {U i} is an example of the "second plurality of data". Then, the extraction unit 14 extracts a rule K and a set of rules {R i} is extracted as a covering relationship.

[0030]

number

[0031] More specifically, the extraction unit 14 sets one rule selected from the set of rules enumerated by the generation unit 12 as rule K, and extracts training data that satisfies rule K as data S. In addition, the extraction unit 14 sets each of all combinations of one or more rules selected from the remaining rules as a set of rules {R i} and the set of rules {R i} is training data {U i}. The extraction unit 14 then extracts the extracted data S and the data {U i} satisfies formula (3), and if so, the rule K corresponding to the data S and the data {U i}, the set of rules {R i} is extracted as a covering relation. i} is an example of a covering relationship.

[0032] The selection unit 16 selects the conf of the rule K and the conf of the rule R i Based on the comparison with each conf, a set of rules {R i}. Specifically, the selection unit 16 selects one or more rules from the set of rules {R i} rule R i Depending on the number of rules, the set of rules {R i}. For example, the selection unit 16 may select one or more rules from a set of rules {R i} is the number of rules included in rule K and rule R i If the number of patterns in each conf is greater than a given value λ, the set of rules {R i}. This is based on the idea that the number of rules to explain a certain variable range should be sufficient if it is about the number of patterns of conf in that variable range. In the example of Figure 9, i The number of rules in} is 5, rule K and rule R iThe number of patterns in each of the conf is 0.1, 0.2, and 0.8. In this case, when λ=1, the selection unit 16 selects the set of rules {R i}, the process of selecting one or more rules is determined.

[0033] In addition, the selection unit 16 selects a rule R whose influence on the inference result of the machine learning model is similar to that of the rule K. i Let us define a set of rules {R i For example, the selection unit 16 selects conf of rule K and conf of rule R. i In the example of FIG. 9, if the threshold is 0.2, the selection unit 16 selects rule R whose difference with conf=0.2 of rule K is 0.1. 1 , Rule R 2 , Rule R 4 , and rule R 5 Select .

[0034] The output unit 18 outputs a rule K and a set of rules {R i} rule R i Among them, one or more rules R selected by the selection unit 16 i Other rules other than R i When the selection unit 16 has not executed the process of selecting one or more rules, the output unit 18 outputs the rule K extracted as a covering relation by the extraction unit 14 and the set of rules {R i} is output for the inference results of the machine learning model.

[0035] Rule R selected in the selection unit 16 i is a rule whose influence on the inference result of the machine learning model is similar to that of rule K. That is, the rule R selected by the selection unit 16 i is a rule other than R i It can be said that the rule R is an exception among the rules that cover the rule K. In addition, the explanation information may include the conf of each rule. In the above example of FIG. 9, the selection unit 16 selects the rule R 1, Rule R 2 , Rule R 4 , and rule R 5 is selected, the output unit 18 outputs the rule K and the rule R 3 As a result, it is possible to output explanatory information that can be interpreted as "if A<5 and B<5, it is negative, but if ¬A<3 and A<4 and ¬B<3 and B<4, it is exceptionally positive" as described above. Note that the output unit 18 adds additional information to the rule K to be included in the explanatory information, indicating that it is a general rule, i} may be output with additional information indicating that it is an exceptional rule.

[0036] The machine learning explanation device 10 may be realized by, for example, a computer 40 shown in FIG. 10. The computer 40 includes a CPU (Central Processing Unit) 41, a memory 42 as a temporary storage area, and a non-volatile storage unit 43. The computer 40 also includes an input / output device 44 such as an input unit and a display unit, and an R / W (Read / Write) unit 45 that controls reading and writing of data from and to a storage medium 49. The computer 40 also includes a communication I / F (Interface) 46 that is connected to a network such as the Internet. The CPU 41, the memory 42, the storage unit 43, the input / output device 44, the R / W unit 45, and the communication I / F 46 are connected to one another via a bus 47.

[0037] The storage unit 43 may be realized by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc. The storage unit 43 serving as a storage medium stores a machine learning explanation program 50 for causing the computer 40 to function as the machine learning explanation device 10. The machine learning explanation program 50 has a generation process 52, an extraction process 54, a selection process 56, and an output process 58.

[0038] The CPU 41 reads out the machine learning explanation program 50 from the storage unit 43, loads it into the memory 42, and sequentially executes the processes of the machine learning explanation program 50. The CPU 41 operates as the generation unit 12 shown in FIG. 1 by executing the generation process 52. Moreover, the CPU 41 operates as the extraction unit 14 shown in FIG. 1 by executing the extraction process 54. Moreover, the CPU 41 operates as the selection unit 16 shown in FIG. 1 by executing the selection process 56. Moreover, the CPU 41 operates as the output unit 18 shown in FIG. 1 by executing the output process 58. In this way, the computer 40 that has executed the machine learning explanation program 50 functions as the machine learning explanation device 10. The CPU 41 that executes the program is hardware.

[0039] The functions realized by the machine learning explanation program 50 can also be realized by, for example, a semiconductor integrated circuit, more specifically, an ASIC (Application Specific Integrated Circuit) or the like.

[0040] Next, the operation of the machine learning explanation device 10 according to the present embodiment will be described. When training data is input to the machine learning explanation device 10 and an instruction to output explanation information is given, the machine learning explanation device 10 executes the machine learning explanation process shown in Fig. 11. Note that the machine learning explanation process is an example of a machine learning explanation method of the disclosed technology.

[0041] In step S10, the generation unit 12 acquires training data input to the machine learning explanation device 10. The generation unit 12 then generates, as conditions, each of the exhaustive combinations of explanatory variables represented by the values ​​of each item included in the training data, and generates rules by associating a conclusion with each generated condition based on the label of the training data that satisfies each generated condition. Furthermore, the generation unit 12 calculates, for each rule, conf in equation (1), for example, as a value indicating the possibility of the rule being established. The generation unit 12 then extracts and lists rules that satisfy a predetermined constraint, such as the calculated value of conf being within a predetermined range, from among the generated conditions.

[0042] Next, in step S12, the extraction unit 14 extracts a set S of training data that satisfies the rule K from the set of rules enumerated in step S10, and a set of rules {R i A set of training data {U i The extraction unit 14 determines whether S and {R i} and the corresponding rule K and the set of rules {R i} is extracted as a covering relationship.

[0043] Next, in step S14, the selection unit 16 selects the rule K extracted as the covering relation in step S12 and the set of rules {R i Next, in step S16, the selection unit 16 calculates the number of patterns of conf included in the set of rules {R i It is determined whether the number of rules Ri included in} is greater than the number of patterns calculated in step S14 above plus a predetermined value λ. i If the number of patterns is greater than the number of patterns + λ, the process proceeds to step S18. i If the number of patterns is equal to or smaller than the number of patterns + λ, the process proceeds to step S22.

[0044] In step S18, the selection unit 16 selects conf of the rule K and conf of the rule R i Rule R whose difference with conf is less than a given threshold i Next, in step S20, the output unit 18 selects the rule K and the set of rules {R i} rule R i Among them, the rule R selected in step S18 i Other than rule R i In step S22, the output unit 18 outputs explanatory information including the rule K extracted as the covering relation in step S12 and the set of rules {R i} is output for the inference result of the machine learning model. Then, the machine learning explanation process ends.

[0045] As described above, the machine learning explanation device according to the present embodiment generates a first plurality of rules, each of which includes a condition and a conclusion when the condition is satisfied, based on the training data used in training the machine learning model. The machine learning explanation device also extracts a rule coverage relationship in which the first plurality of data satisfying the first condition included in the first rule in the training data matches the second plurality of data satisfying at least one of the conditions included in the second plurality of rules in the training data. Furthermore, the machine learning explanation device selects one or more rules from the second plurality of rules based on a comparison result between a value indicating the possibility of the first rule being established based on the training data and a plurality of values ​​indicating the possibility of each of the second plurality of rules being established. Then, the machine learning explanation device outputs explanation information including the first rule and one or more rules other than the second plurality of rules for the inference result of the machine learning model. As a result, the whole and the rules that are exceptions to it are output as explanation information, so that explanation information that is easy to interpret can be provided as explanation information for the inference result of the machine learning model.

[0046] In the above embodiment, the machine learning explanation program is stored (installed) in the storage unit in advance, but the present invention is not limited to this. The program according to the disclosed technology can also be provided in a form stored in a storage medium such as a CD-ROM, a DVD-ROM, or a USB memory. [Explanation of symbols]

[0047] 10 Machine Learning Explanation Device 12 Generation part 14 Extraction part 16 Selection section 18 Output section 40 Computer 41 CPU 42 Memory 43 Storage section 49 Storage medium 50 Machine Learning Explanation Programs

Claims

1. generating a first plurality of rules, each of which includes a condition and a conclusion if the condition is satisfied, based on training data used to train the machine learning model; selecting one or more rules from the second plurality of rules based on a comparison result between a value indicating the possibility of establishment of the first rule based on the training data and a plurality of values ​​indicating the possibility of establishment of each of the second plurality of rules, when a first plurality of data in the training data that satisfies a first condition included in a first rule among the first plurality of rules matches a second plurality of data in the training data that satisfies at least one of a plurality of conditions included in a second plurality of rules among the first plurality of rules; outputting explanation information including the first rule and rules other than the one or more rules among the second plurality of rules for an inference result of the machine learning model; A machine learning explanation program that causes a computer to carry out the processing.

2. the process of selecting the one or more rules is executed when the number of the second plurality of rules is greater than a value obtained by adding a predetermined value to the number of patterns of values ​​indicating the likelihood of establishment of each of the first rule and the second plurality of rules. The machine learning explanation program of claim 1 .

3. the process of selecting the one or more rules includes, when a difference between a value indicating a possibility of the first rule being established and a value indicating a possibility of the second rule included in the second plurality of rules is less than a predetermined threshold, selecting the one or more rules including the second rule; The machine learning explanation program according to claim 1 or 2.

4. The value indicating the likelihood of establishment is a value based on the number of training data that satisfies the condition included in the rule, and the number of training data that satisfies the condition included in the rule and the conclusion included in the rule is a predetermined conclusion, among the training data. The machine learning explanation program according to any one of claims 1 to 3.

5. the explanation information includes a value indicating a probability of establishment of each of the first rule and the other rules included in the explanation information, The machine learning explanation program according to any one of claims 1 to 4.

6. the process of outputting the explanatory information includes outputting the first rule as a general rule and the other rules as exception rules. The machine learning explanation program according to any one of claims 1 to 5.

7. generating a first plurality of rules, each of which includes a condition and a conclusion if the condition is satisfied, based on training data used to train the machine learning model; when a first plurality of data in the training data that satisfies a first condition included in a first rule matches a second plurality of data in the training data that satisfies at least one of a plurality of conditions included in a second plurality of rules, select one or a plurality of rules from the second plurality of rules based on a comparison result between a value indicating the possibility of the first rule being established based on the training data and a plurality of values ​​indicating the possibility of each of the second plurality of rules being established; outputting explanation information including the first rule and a rule other than the one or more rules among the second plurality of rules for an inference result of the machine learning model; A machine learning explanation device including a control unit that executes processing.

8. generating a first plurality of rules, each of which includes a condition and a conclusion if the condition is satisfied, based on training data used to train the machine learning model; when a first plurality of data in the training data that satisfies a first condition included in a first rule matches a second plurality of data in the training data that satisfies at least one of a plurality of conditions included in a second plurality of rules, select one or a plurality of rules from the second plurality of rules based on a comparison result between a value indicating the possibility of the first rule being established based on the training data and a plurality of values ​​indicating the possibility of each of the second plurality of rules being established; outputting explanation information including the first rule and a rule other than the one or more rules among the second plurality of rules for an inference result of the machine learning model; A machine learning explanation method in which processing is carried out by a computer.

Citation Information

Patent Citations

  • Information processing system, information processing method, information processing program, and information processing device

    JP2020087338A