Information processing device, information processing method, and program

The information processing device addresses the limitations of existing counterfactual explanation techniques by incorporating a time cost function to generate efficient and feasible change procedures that respect user-defined time limits and individual timelines, ensuring practical and efficient feature changes.

WO2024214155A1PCT designated stage expired Publication Date: 2024-10-17NT T INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/014613
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

Existing counterfactual explanation techniques fail to account for the time required to execute feature changes, leading to procedures that may not be feasible within user-defined time limits and do not consider individual differences in the time needed to change feature values, resulting in impractical or impossible procedures for users.

Method used

An information processing device that calculates causal relationships between features and incorporates a time cost function into the optimization process, allowing for the generation of counterfactual explanations that minimize execution time and account for individual user timelines, thereby providing a feasible and efficient change procedure.

Benefits of technology

The solution enables the evaluation of time costs and presentation of procedures from the perspective of execution time, ensuring that the procedures can be completed within the user's time limits and are tailored to individual user capabilities, resulting in a more practical and efficient change process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023014613_17102024_PF_FP_ABST
    Figure JP2023014613_17102024_PF_FP_ABST
Patent Text Reader

Abstract

An information processing device according to one embodiment of the present invention is provided with a storage unit, an input unit, and a processor. The storage unit stores a database in which explanatory variable data to be used for prediction and objective variable data to be predicted are registered in association with each other. The input unit includes: a time parameter input unit that receives an input of a time parameter related to a change in a feature amount related to the prediction; and an optimization parameter input unit that receives an input of an optimization parameter related to optimization of an objective function. The processor is provided with: a causal relationship calculation unit that derives a causal relationship between pieces of data registered in the database, and calculates an interaction relationship between feature amounts on the basis of the causal relationship; and an optimization unit that generates a counterfactual explanation by optimizing an objective function including a distance cost function in a feature amount space, an order cost function for a change procedure based on a causal relationship between the feature amounts, and a time cost function that receives inputs of a change order of the feature amounts and a change time of the feature amounts for each user.
Need to check novelty before this filing date? Find Prior Art

Description

Information processing device, information processing method, and program

[0001] One aspect of the present invention relates to an information processing device, an information processing method, and a program.

[0002] Counterfactual explanation (see, for example, Non-Patent Document 1) has attracted attention as a highly explainable machine learning technique. Counterfactual explanation is a method for suggesting which feature values ​​should be changed and to what extent to achieve the desired result when a machine learning model's prediction is not the desired result for a user. For example, suppose a machine learning model predicts whether a user will be approved for a loan based on five feature values: educational background, job skills, income, average working hours, and health status. The model outputs a prediction result of "loan denial" for a certain user. In such a case, counterfactual explanation provides an explanation such as, "If income is changed to '+1 million yen,' 'average working hours' to '+1 hour,' and 'health status' to '+3 points,' the loan will be approved." In this way, counterfactual explanation can suggest specific guidelines for users to follow to achieve their desired state by assuming a situation different from reality in a feature space.

[0003] In recent years, methods have been developed for indicating not only the amount of feature changes but also the order in which they are to be performed. For example, Non-Patent Document 2 discloses a method for presenting an order with the lowest overall cost by modeling the change in the cost of changing one feature in response to a change in another feature. Similarly, Non-Patent Document 3 also aims to capture the cost of changing each feature based on the dependency between the features, and formulates an optimization problem that can identify the order of changes with the lowest change cost by utilizing the causal relationships between the features. These methods allow users to know the order in which they can be performed more efficiently, even when the same amount of feature changes are required.

[0004] Wachter, S., Mittelstadt, B., & Russell, C. (2018). Counterfactual Explanations Without Opening the Black Box: Automated Decisions and the GDPR. Harvard Journal of Law & Technology 31: 841-887.Naumann, P., & Ntoutsi, E. (2021). Consequence-aware sequential counterfactual generation. In Machine Learning and Knowledge Discovery in Databases. Research Track: European Conference, ECML PKDD 2021, Bilbao, Spain, September 13-17, 2021, Proceedings, Part II 21 (pp. 682-698). Springer International Publishing.Kanamori, K., Takagi, T., Kobayashi, K., Ike, Y., Uemura, K., & Arimura, H. (2021, May). Ordered counterfactual explanation by mixed-integer linear optimization. In Proceedings of the AAAI Conference on Artificial Intelligence (Vol. 35, No. 13, pp. 11564-11574).

[0005] Existing technologies have two major issues. First, they do not take into account the time required to execute a feature modification procedure. The modification cost evaluated by known counterfactual explanation generation technologies depends on the distance cost and the order cost in the feature space. In other words, they do not evaluate the actual time required to modify features, and therefore cannot suggest a procedure that can be executed in the shortest possible time. This is particularly problematic when a user has a time limit or deadline (e.g., an exam in six months, a re-examination in two years). For example, if a user is allowed one year to execute a procedure, and Procedure A (as evaluated by the known technology) has a cost of 10 and takes two years, while Procedure B (as evaluated by the known technology) has a cost of 20 and takes six months, existing technologies will not be able to suggest Procedure B.

[0006] Furthermore, existing technologies cannot capture the individual differences in the time required to change each feature. As can be easily imagined, the time required to change a feature for prediction varies from user to user. Failure to take this into account can result in users being presented with an infeasible procedure. For example, given two users, A and B, with a one-year time limit, it may take User A three months to change one unit of job skill, while User B two years. User A can execute a procedure that includes a job skill change (up to four units), but User B cannot execute it (even one unit). Existing technologies evaluate each of these as costing one unit, and therefore cannot address the issue of the feasibility of a change procedure varying depending on the time required for each user to change the feature.

[0007] The present invention has been made in light of the above circumstances, and aims to provide a technique that is capable of evaluating time costs and presenting change procedures from the perspective of execution time.

[0008] An information processing device according to one aspect of the present invention includes a storage unit, an input unit, and a processor. The storage unit stores a database in which explanatory variable data used for prediction and response variable data to be predicted are registered in correspondence with each other. The input unit includes a time parameter input unit that receives input of time parameters related to changes in feature quantities related to the prediction, and an optimization parameter input unit that receives input of optimization parameters related to optimization of an objective function. The processor includes a causal relationship calculation unit that derives causal relationships between data registered in the database and calculates interaction relationships between feature quantities based on the causal relationships, and an optimization unit that generates a counterfactual explanation by optimizing an objective function including a distance cost function in feature space, an order cost function of a change procedure based on the causal relationships between feature quantities, and a time cost function that receives as input the order of feature quantity changes and the feature quantity change times for each user.

[0009] According to one aspect of the present invention, it is possible to provide a technique that is capable of evaluating time costs and presenting change procedures from the perspective of execution time.

[0010] FIG. 1 is a functional block diagram showing an example of an information processing device according to an embodiment. FIG. 2 is a diagram showing an example of the flow of data in the information processing device 10. FIG. 3 is a flowchart showing an example of a processing procedure when the information processing device 10 is learning. FIG. 4 is a flowchart showing an example of a processing procedure when the information processing device 10 is generated. FIG. 5 is a flowchart showing an example of a processing procedure when the information processing device 10 is generated. FIG. 6 is a flowchart showing an example of a processing procedure when the information processing device 10 is generated. FIG. 7 is a block diagram showing an example of a hardware configuration of the information processing device 10.

[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In this embodiment, a technology for generating a counterfactual explanation that shows the execution procedure until a desired class label is obtained based on causal relationships is disclosed. In particular, in this embodiment, a method for generating a counterfactual explanation that minimizes execution costs in consideration of the time costs required for individuals to change features is described. A device that implements this method is called an individualized counterfactual explanation device. In this embodiment, they are collectively referred to as an information processing device.

[0012] 1 is a functional block diagram showing an example of an information processing apparatus according to an embodiment. The information processing apparatus 10 as a computer includes an input unit 40, a processor 20, a storage unit 30, and an output unit 50.

[0013] The input unit 40 acquires data such as input samples and variable data, and stores the data in the storage unit 30. The variable data includes a target variable to be predicted and explanatory variables including training data. The input unit 40 also includes a time parameter input unit 400 and an optimization parameter input unit 401.

[0014] The time parameter input unit 400 accepts input of time parameters by the user. The time parameters are, for example, the time required to change each feature amount and the time limit for executing the change procedure.

[0015] The optimization parameter input unit 401 accepts input of optimization parameters by a user. The optimization parameters are, for example, parameters that represent the weights of a distance cost function, an order cost function, and a time cost function included in the evaluation function designed by the optimization unit 500 of the processor 20.

[0016] The processor 20 includes a prediction model storage unit 200, a causal relationship calculation unit 300, a distance cost function storage unit 201, an order cost function storage unit 202, a time cost function storage unit 203, and an optimization unit 500 as processing functions related to the embodiment.

[0017] The prediction model storage unit 200 acquires data (features) from the memory unit 30, and uses the data to learn a prediction model having an arbitrary model structure, thereby generating a trained model.

[0018] The causal relationship calculation unit 300 derives causal relationships (causal graphs) between data included in the explanatory variable data 31, and calculates interaction relationships between feature quantities based on the causal graphs. The calculated interaction relationships are stored in the storage unit 30.

[0019] The distance cost function storage unit 201 stores a distance cost function for evaluating the distance cost between an input sample and an output counterfactual explanation sample.

[0020] The order cost function storage unit 202 stores an order cost function for evaluating the change order cost of the output counterfactual explanation sample.

[0021] The time cost function storage unit 203 stores a time cost function for evaluating the time cost required to execute the change order of the output counterfactual explanation sample.

[0022] The optimization unit 500 optimizes an objective function including a distance cost function in the feature space, an order cost function of the change procedure based on the causal relationship between the features, and a time cost function that takes as input the order of feature change and the feature change time for each user, to generate a counterfactual explanation.

[0023] The storage unit 30 stores a database 600 and a prediction model 33. Explanatory variable data 31 used for prediction and objective variable data 32 to be predicted are registered in association with each other in the database 600. The prediction model 33 is a model that has been trained in advance by the prediction model storage unit 200 using variable data.

[0024] 2 is a diagram showing an example of the flow of data in the information processing device 10. The operation of the embodiment will be described with reference to the flowcharts of FIGS. 3 to 6. In the embodiment, two phases, namely, "learning" and "generation" of counterfactual explanations, will be described. The "generation" phase corresponds to "prediction" of the two phases, "learning" and "prediction," in the context of machine learning.

[0025] 3 is a flowchart showing an example of a processing procedure during learning (learning phase) of the information processing device 10. The actions in this phase are schematically indicated by dotted lines in FIG. 2. (Step S100) In step S100, the database 600 outputs all data stored in the database 600 to the prediction model storage unit 200.

[0026] (Step S101) In step S101, the prediction model storage unit 200 acquires data from the database 600, uses the data to learn a prediction model having an arbitrary model structure, and stores the learned model structure and parameters (as a learned prediction model).

[0027] 4 is a flowchart showing an example of a processing procedure during generation (generation phase) of the information processing device 10. The actions in the generation phase are schematically indicated by solid lines in FIG. 2. (Step S200) In step S200, the prediction model storage unit 200 acquires an input sample from a user input and calculates a prediction result for the input sample using the trained prediction model 33. The prediction model storage unit 200 also outputs the input sample and the prediction result to the database 600, and if the prediction result is the result desired by the user, ends the entire process, or if the result is not the desired result, outputs the input sample and the prediction result to the optimization unit 500.

[0028] (Step S201) In step S201, the optimization parameter input unit 401 acquires weight parameters used in the objective function from a user input, and outputs them to the optimization unit 500. Fig. 5 is a flowchart showing an example of a processing procedure during generation (generation phase) of the information processing device 10. (Step S202) In step S202, the time parameter input unit 400 acquires, from a user input, the time required to change each feature amount and the time limit for executing the change procedure, and outputs them to the time cost function storage unit 203.

[0029] (Step S203) In step S203, the causal relationship calculation unit 300 acquires data of the explanatory variable group stored in the database 600 and derives causal relationships between the explanatory variables. The causal relationship calculation unit 300 also calculates an interaction matrix based on the derived causal relationships and outputs it to the distance cost function storage unit 201, the order cost function storage unit 202, and the time cost function storage unit 203.

[0030] (Step S204) In step S204, the distance cost function storage unit 201 acquires the interaction matrix between feature quantities from the causal relation calculation unit 300, and outputs the distance cost function to the optimization unit 500.

[0031] (Step S205) In step S205, the order cost function storage unit 202 acquires the interaction matrix between the feature quantities from the causal relation calculation unit 300, and outputs the order cost function to the optimization unit 500.

[0032] (Step S206) In step S206, the time cost function storage unit 203 acquires an interaction matrix between feature quantities from the causal relationship calculation unit 300, and acquires the time required to change each feature quantity and the time limit for executing the change procedure from the time parameter input unit 400. Then, the time cost function storage unit 203 outputs the time cost function and the time limit for executing the change procedure to the optimization unit 500.

[0033] 6 is a flowchart showing an example of a processing procedure during generation (generation phase) of the information processing device 10. (Step S207) In step S207, the optimization unit 500 acquires an input sample from the prediction model storage unit, acquires a distance cost function from the distance cost function storage unit 201, acquires an order cost function from the order cost function storage unit 202, acquires a time cost function and a time limit for executing the modification procedure from the time cost function storage unit 203, and acquires weight parameters for each cost function from the optimization parameter input unit 401. The optimization unit 500 also generates a counterfactual explanation consisting of a perturbation vector indicating the amount of feature modification and an order vector indicating the order of feature modification so as to obtain a desired prediction result for the input sample. If the time cost function indicates a value smaller than the time limit, the optimization unit 500 presents the generated counterfactual explanation to the user; otherwise, the optimization unit 500 modifies the time required to modify each feature and the time limit for executing the modification procedure and requests the user to re-input the modified values.

[0034] Next, we will use mathematical expressions to explain the processing at each step of the flowchart in detail. In the following explanation, a positive integer "1" will be written as "2." The input of the classification model will be "3" and the output will be "4." In other words, this model will be written as a function "7" that performs binary classification using an instance "6" composed of explanatory variables "5" as input.

[0035] Here, this classification model is assumed to be the generalized additive model of equation <8>.

[0036] [Regarding the Learning Phase] (Regarding Step S100 (FIG. 3)) Explanatory variable data <<9>> and objective variable data <<10>> are stored in the database 600. Specifically, each explanatory variable data instance <<11>> and its corresponding objective variable data instance <<12>> are stored in association with each other. In step S100, the prediction model storage unit 200 sends a query to the database 600 to collect data required for processing. In response to this, the database 600 outputs <<9>> and <<10>> to the prediction model storage unit 200.

[0037] (Regarding Step S101 (FIG. 3)) In step S101, the prediction model storage unit 200 retrieves "9" and "10" from the database 600 and constructs a prediction model "13" having an arbitrary model structure. For example, a linear model, a tree structure, a multilayer perceptron, or other model having a concept equivalent to the basis function "14" described in equation (1) can be selected. For simplicity, the following description will be given for the case of a linear model.

[0038] For linear models such as linear regression or SVM (Support Vector Machine), a predictive model can be constructed using 《15》. This model is subjected to cross-validation divided at an arbitrary ratio, and the learned parameters 《17》 and 《18》 are obtained by solving the optimization problem shown in 《16》 according to the general least squares procedure. Here, <<19>> is a vector in which all elements are 1. The prediction model storage unit 200 stores the trained model structure <<13>> (or <<15>> if it is a linear model) and parameters <<20>> as a prediction model.

[0039] [Regarding the Generation Phase] (Regarding Step S200 (FIG. 4)) In the following explanation, the input sample that is the input to the information processing device 10 is designated as <<21>>. The perturbation vector that describes the change amount of the feature that expresses the counterfactual explanation that is the output of the information processing device 10 is designated as <<22>>. The order vector that describes the change order of the feature is designated as <<23>>. Here, <<24>> indicates the change amount of the feature <<25>>, and <<26>> indicates the feature that is changed in the <<27th>>th place.

[0040]

[0041] In step S200, the prediction model storage unit 200 acquires the input sample 21 and calculates the predicted label 29 of the formula 28 from the trained prediction model (model structure 13 and parameters 20) (step S200a).

[0042] The prediction model storage unit 200 outputs the input sample <<21>> and the corresponding output label <<29>> to the database 600 (step S200b). If the prediction result is the user's desired result (Yes in step S200c), that is, if the output label is <<30>>, the prediction model storage unit 200 ends the entire processing of the information processing device 10.

[0043] If the prediction result is not the result desired by the user (No in step S200c), that is, if the output label is <<31>>, the prediction model storage unit 200 outputs the input sample <<28>> and the output label <<29>> to the optimization unit 500 and calls the optimization routine (step S200d).

[0044] (Step S201 (FIG. 4)) In step S201, the optimization parameter input unit 401 acquires weight parameters 32 for the distance cost function, the order cost function, and the time cost function from user input, and outputs them to the optimization unit 500.

[0045] (Regarding Step S202 (FIG. 5)) In step S202, the time parameter input unit 400 acquires, for example, the time required to change each feature of the user, designated by the user, "33," and the time limit for executing the change procedure, designated by the user. Here, "35" indicates the time required for a certain user to change a certain explanatory variable "36" by one unit. "33" and "34" may be acquired directly by prompting the user to input them. Alternatively, "33" and "34" may be complemented by predicting the time required to change each feature, designated by the user, by associating the data of "9," "33," and "34" of past users stored in the database 600. The time parameter input unit 400 outputs the time required to change each feature, designated by the user, and the time limit for executing the change procedure, designated by the user ...

[0046] (Regarding step S203 (FIG. 5)) In step S203, the causal relationship calculation unit 300 acquires explanatory variable data <<9>> from the database 600 and derives causal relationships <<37>> between explanatory variables. The causal relationships <<38>> are identified using a statistical causal search called DirectLiNGAM (reference document [1]), and are expressed as a matrix <<39>> of a directed acyclic graph in which each variable is a node and the direction and magnitude of the causal relationships between each variable are edges.

[0047] Specifically, the causal relationship 37 is a matrix with elements 42, which is obtained by solving 41, where 40 is an independent continuous random variable that follows a non-Gaussian distribution. Here, the causal relationship 43 refers to the set of nodes that are the parents of the node 44 in the acyclic directed graph.

[0048] Here, the interaction between features is expressed as a matrix 48, whose elements are the linear influence 47 of a feature 45 on a feature 46. This is used to model the perturbation of 50 when 49 is perturbed. 48 can then be written as 51.

[0049] In the following description, "48" will be referred to as the interaction matrix between feature quantities. The causal relationship calculation unit 300 outputs the interaction matrix between feature quantities "48" to the distance cost function storage unit 201 and the order cost function storage unit 202.

[0050] (Regarding step S204 (FIG. 5)) In step S204, the distance cost function storage unit 201 acquires the interaction matrix between features {48} from the causal relationship calculation unit 300, and based on this, designs the distance cost function {52} using {53} as {54}.

[0051] The distance cost function storage unit 201 outputs the distance cost function 52 to the optimization unit 500 .

[0052] (Regarding step S205 (FIG. 5)) In step S205, the order cost function storage unit 202 acquires the interaction matrix between features "48" from the causal relation calculation unit 300, and based on this, designs the order cost function "56" as "57" when the change order is "55." Here, "58" is set to the cost of the perturbation amount "59" of the "27"-th step in the change procedure.

[0053] Here, the amount of perturbation that must actually be applied to obtain the desired perturbation amount is called the active perturbation amount 60. The final perturbation amount 61 is determined by the sum of the effects of 62 and the previous active perturbations 63.

[0054] For example, "64" can be written as "65". Generalizing this, it becomes "66". From this, the ordering cost function is designed as "67".

[0055] The order cost function storage unit 202 outputs the order cost function « 56 » to the optimization unit 500 .

[0056] (Regarding step S206 (FIG. 5)) In step S206, the time cost function storage unit 203 acquires the interaction matrix between feature quantities "48" from the causal relationship calculation unit 300, and acquires the time required to change each feature quantity "33" and the time limit for executing the change procedure "34" from the time parameter input unit 400. Then, based on the interaction matrix between feature quantities "48" and the time required to change each feature quantity "33", the time cost function storage unit 203 designs the time cost function as "68" when the change order is "55".

[0057] The time cost function storage unit 203 calculates the active perturbation amount 62 based on the interaction matrix 48 using the same procedure as the order cost function storage unit 202, and derives the time cost of the entire execution procedure by summing up the products of the active perturbation amount 62 and the time required to change the corresponding feature amount 69. The time cost function storage unit 203 outputs the time cost function 70 and the time limit 34 for executing the change procedure to the optimization unit 500.

[0058] (Regarding step S207 (FIG. 6)) In step S207, the optimization unit 500 obtains the input sample <<21>> from the prediction model storage unit 200, and obtains the distance cost function <<52>> from the distance cost function storage unit 201. The optimization unit 500 also obtains the order cost function <<56>> from the order cost function storage unit 202, and obtains the time cost function <<69>> and the time limit <<34>> for executing the change procedure from the time cost function storage unit 203. Furthermore, the optimization unit 500 obtains the weight parameter <<32>> of each cost function from the optimization parameter input unit 401. The optimization unit 500 first sets the objective function <<71>> as shown in equation <<72>>.

[0059] For the general additive classification model "7" and input sample "21", the result is "73", and the optimization unit 500 sets the perturbation vector set to "74", the interaction matrix to "48", and the time required to change each user feature to "33" and "75".

[0060] In this case, in the optimization problem 76 described below, a combination of the perturbation vector 22 and the order vector 23 that minimizes the objective function 71 is found.

[0061] We will explain the basic constraints for solving this optimization problem 76. Let 78 be the perturbation candidate set for a feature 77. Let 81 be the binary variable indicating that 80 was selected over 77 and 79.

[0062] <<81>> satisfies the constraint of formula (1).

[0063] When "81" is used, the perturbation amount "24" of each feature "77" becomes "82". Note that "83" indicates that each feature "77" is not perturbed (for this reason, "84" is set).

[0064] In addition, to represent the order of the perturbed features, the binary variable 87 indicates that 86 is selected as the 27th perturbed feature, compared to 77, 79, and 85.

[0065] <<88>> satisfies the constraint of formula (2).

[0066] Furthermore, a binary variable indicating that the feature 77 was selected as the perturbation feature in the 85th step is designated as 89.

[0067] The left side of "89" ("90") satisfies the constraints of formulas (3) to (6).

[0068] Equation (4) is a constraint that each feature can be changed at most once, Equation (5) is a constraint that at most one feature can be perturbed at each step, and Equation (6) is a symmetry-breaking constraint.

[0069] The constraints on the objective function for solving this optimization problem [OP1] are explained below. The optimization problem [OP1] is converted into a linear programming problem by the following procedure.

[0070] The distance cost function <<52>> can be written as <<91>>. Here, 92 is a constant value.

[0071] The ordering cost function <<56>> can be written as <<93>> and <<94>>. Here, for "85" and "77", place "96" which becomes "95".

[0072] The left side of "96", "97", is "98" if "90" = 1, and is 0 if "90" = 0. Concerning this, the constraints of equations (7) to (11) are imposed.

[0073] Here, "99" is an auxiliary variable that becomes "100" for "85" and "77." Also, "101" and "102" are constant values ​​that indicate the lower and upper limits of "97."

[0074] The time cost function 70 can be written as equation 102, where 103 is a constant value representing the time required to change the feature 26 relative to 85.

[0075] The following describes the constraints on the general additive classification model 13 for solving this optimization problem OP1. As described in step S101, in this embodiment, the constraints are described when a linear model is adopted for simplicity.

[0076] We introduce a real value 105 for a certain 104, and define a basis function 107 for the general additive classification model 13 such that 106 is obtained. The constraint 108 can be written as equation (12).

[0077] According to the definition of the linear model, since "109" and "110" hold for "77", the basis function "111" can be written as in equation (13).

[0078] From the above, the optimization problem to be solved by the optimization unit 500 is expressed as {112}.

[0079] This problem is formulated as a mixed integer linear optimization (MILO) problem, and can be solved using existing MILO solvers, such as CPLEX (Reference [2]).

[0080] The optimization unit 500 generates a counterfactual explanation <<113>> from the derived <<88>>, that is, a binary variable indicating that <<80>> was selected as the <<27>>th perturbation feature.

[0081] The optimization unit 500 changes the output depending on the relationship between the time cost function 70 and the time limit 34 for the user to execute the change procedure. Specifically, if the condition 114 is satisfied, the optimization unit 500 presents the generated counterfactual explanation 113 to the user. If the condition 114 is not satisfied, the optimization unit 500 requests the user to modify and re-input the time parameter 33 or 34.

[0082] As described above, according to the embodiment, the time required to change each feature and the time limit for executing the change procedure are obtained for each user, a time cost function that takes as input the change order and the change time for each feature for each user is added to an evaluation function (Non-Patent Document 3) that is composed of a distance cost function in the feature space and an order cost function of the change procedure based on the causal relationship between the features, and an objective function composed of the distance cost function, order cost function, and time cost function is optimized to generate a counterfactual explanation. In other words, a change procedure that minimizes the objective function including the time cost function is derived.

[0083] In other words, by acquiring the actual time required to change the feature quantities and incorporating the required time of the execution procedure into the objective function as a cost based on that, it is possible to present a change order that can be executed in the shortest time.In addition, by having a mechanism that evaluates the actual time required for feature changes for each individual user, it is possible to individualize the presented change procedures.

[0084] This makes it possible to present a change procedure with a short execution time. Therefore, according to the embodiment, it is possible to provide a technology that can evaluate time costs and present a change procedure from the perspective of execution time.

[0085] The functions of the information processing device 10 can be realized by installing a program on a computer. For example, the functions of the information processing device 10 can be implemented by having a computer execute a program provided as package software or online software. The computer is not limited to a so-called server computer, but may also be a desktop or notebook personal computer. Portable terminals such as smartphones and tablets are also included in the category of computers. Furthermore, computer resources virtualized on the cloud can also function as the information processing device 10.

[0086] 7 is a block diagram showing an example of the hardware configuration of the information processing device 10. As shown in FIG. 7, the information processing device 10 includes a CPU (Central Processing Unit) 20A, a bridge circuit 102, a memory 60, a GPU (Graphics Processing Unit) 20B connected to a display 51, a BIOS-ROM 70, a storage 80, a USB connector 90, and an input unit 40.

[0087] The storage 80 is a non-volatile storage medium (block device), such as a hard disk drive (HDD) or a solid state drive (SSD). The storage 80 stores basic programs such as an operating system (OS) 62 and device drivers, as well as a program 61 for implementing the functions of the information processing device 10.

[0088] The memory 60 includes a ROM (Read Only Memory) and a RAM (Random Access Memory). The CPU 20A and the GPU 20B are arithmetic elements related to the processor 20. The CPU 20A mainly controls the information processing device 10. The GPU 20B mainly performs calculations related to image processing (such as multiply-accumulate operations) at high speed. The CPU 20A executes a BIOS (basic input / output system) stored in the BIOS-ROM 70. The CPU 20A also loads a program 61 from the storage 80 into the memory 60 and executes it. The same is true for the GPU 20B.

[0089] The bridge circuit 102 relays data transmission between the CPU 20A and the GPU 20B and each component. For example, the bridge circuit 102 is interposed between the CPU 20A and the GPU 20B and hardware devices connected to a PCI (Peripheral Component Interconnect) bus or a PCIe bus (not shown), relaying communication between them.

[0090] The USB connector 90 connects a USB device or the like. For example, the program 61 may be installed in the information processing device 10 via the USB device. The input unit 40 connects the information processing device 10 to a communication network such as a LAN (Local Area Network) or a WAN (Wide Area Network).

[0091] The program 61 and various data may be stored in a removable storage medium other than the storage 80, and may be read by the CPU 20A from a disk drive or the like. Alternatively, the program 61 and various data may be stored in another computer connected via a communication network, and may be read by the CPU 20A via the input unit 40.

[0092] In short, this invention is not limited to the above-described embodiments, and various modifications can be made in the implementation stage without departing from the spirit of the invention. Furthermore, the embodiments may be implemented in appropriate combinations, in which case the combined effects can be obtained. Furthermore, the above-described embodiments include various inventions, and various inventions can be extracted by combining selected elements from the disclosed elements. For example, if the problem can be solved and the desired effect can be obtained even if some elements are deleted from all elements shown in the embodiments, the configuration from which these elements are deleted can be extracted as an invention.

[0093] <References> [1] Shimizu, S., Inazumi, T., Sogawa, Y., Hyvarinen, A., Kawahara, Y., Washio, T., Hoyer, P., & Bollen K. (2011). DirectLiNGAM: A direct method for learning a linear non-Gaussian structural equation model. Journal of Machine Learning Research, 12(Apr), 1225-1248. [2] “CPLEX Optimizer”, [online], [Retrieved March 17, 2023], Internet,<URL:https: / / www.ibm.com / jp-ja / analytics / cplex-optimizer>

[0094] 10...Information processing device 20...Processor 20A...CPU 30...Memory unit 31...Explanatory variable data 32...Objective variable data 33...Prediction model 40...Input unit 50...Output unit 51...Display 60...Memory 61...Program 70...BIOS-ROM 80...Storage 102...Bridge circuit 90...USB connector 200...Prediction model storage unit 201...Distance cost function storage unit 202...Order cost function storage unit 203...Time cost function storage unit 300...Causal relationship calculation unit 400...Time parameter input unit 401...Optimization parameter input unit 500...Optimization unit 600...Database.

Claims

1. An information processing device comprising a memory unit, an input unit, and a processor, wherein the memory unit stores a database in which explanatory variable data used for prediction and objective variable data to be predicted are registered in correspondence with each other, the input unit comprises a time parameter input unit that accepts input of a time parameter related to a change of a feature related to the prediction, and an optimization parameter input unit that accepts input of an optimization parameter related to the optimization of an objective function, and the processor comprises a causal relationship calculation unit that derives a causal relationship between data registered in the database and calculates an interaction relationship between the feature amounts based on the causal relationship, and an optimization unit that optimizes an objective function including a distance cost function in a feature space, an order cost function of a change procedure based on the causal relationship between features, and a time cost function having as input the order of change of the feature amounts and the change time of the feature amounts for each user, to generate a counterfactual explanation.

2. The information processing device according to claim 1, wherein the time parameters are a time required to change the feature amount and a time limit for executing the procedure for changing the feature amount.

3. The information processing device according to claim 1, wherein the optimization parameters are parameters expressing weights of the distance cost function, the order cost function, and the time cost function.

4. The information processing device according to claim 1, wherein the optimization unit requests the user to modify the time parameter if the counterfactual explanation is not a desired result.

5. An information processing method by an information processing device having a memory unit that stores a database in which explanatory variable data used for prediction and objective variable data to be predicted are registered in correspondence with each other, and an input unit that accepts input of a time parameter related to a change of a feature related to the prediction and an optimization parameter related to the optimization of an objective function, the information processing device comprising: a process in which the information processing device derives a causal relationship between data registered in the database and calculates an interaction relationship between the features based on the causal relationship; and a process in which the information processing device optimizes an objective function including a distance cost function in a feature space, an order cost function of a change procedure based on the causal relationship between features, and a time cost function having as input the order of change of the features and the change time of the features for each user, to generate a counterfactual explanation.

6. A program including instructions for causing a computer to function as the information processing device according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Explanation presentation device, explanation presentation method, and explanation presentation program

    WO2022034685A1