Causality search program, causality search method, and information processing device
By evaluating independence and selectively removing upstream variable influences, the method addresses performance deterioration in causal search, ensuring accurate causal relationship identification with limited data samples.
Patent Information
- Application Number
- PCT/JP2023/007688
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-01
- Publication Date
- 2024-09-06
AI Technical Summary
Existing causal search methods, such as DirectLiNGAM, face performance deterioration and challenges in identifying causal relationships when the number of samples is small relative to the number of variables, leading to incomplete reconstruction of causal graphs.
The proposed method evaluates independence between variables and selectively removes the influence of identified upstream variables, using independence evaluation to suppress performance deterioration and prevent premature termination of upstream variable identification.
This approach enhances the stability and accuracy of causal search processing by reducing unnecessary influence removal and maintaining meaningful variable values, thereby improving the identification of causal relationships even with limited data.
Smart Images

Figure JP2023007688_06092024_PF_FP
Abstract
Description
Causal search program, causal search method, and information processing device
[0001] The present invention relates to a causal search program, a causal search method, and an information processing device.
[0002] Recently, there have been attempts to conduct "causal exploration" to infer the "causal relationships" behind data and use this information to make new discoveries and develop new policies. For example, a causal relationship from x to y (x → y) means that there is a "value change relationship" in which a change in the value of x causes a corresponding change in the value of y, but there is also an "asymmetric relationship" in which a change in the value of y does not change the value of x.
[0003] Causal discovery is a general term for methods for inferring causal relationships from data, such as a method for inferring the causal relationships behind a set of variables X = {x1, x2, x3, ..., xn} from samples of those variables. There are various known methods for causal discovery, such as an approach that uses the independence between variables as a clue, or an approach that models causal relationships and estimates the model. In general, since it is difficult to completely reconstruct causal relationships from data alone, estimation is often performed after imposing some kind of assumption.
[0004] In recent years, a causal discovery method called DirectLiNGAM has become well known. DirectLiNGAM is a method of causal discovery that assumes that the causal relationships behind the data are linear, and then models the data to estimate the model parameters. DirectLiNGAM uses a model (LiNGAM: Linear Non-Gaussian Acyclic Model) to search for causal relationships between variables by iteratively estimating the variables in a causal DAG (Directed Acyclic Graph) in order, starting from the most upstream variable.
[0005] Shimizu Shohei, Inazumi Takanori, et al. "DirectLiNGAM: A Direct Method for Learning a Linear Non-Gaussian Structural Equation Model", JMLR'11
[0006] In practical situations where causal discovery is performed, there are often very few data sets available compared to the number of variables. For example, in the field of genomics, there are 20,000 types of human genes, but due to collection costs, the data may only consist of a few hundred samples. There is a demand for causal discovery methods that can function even with such small sample sets. However, with the DirectLiNGAM method, when there are few samples compared to the number of variables, the estimation of the most upstream variables may stop midway or performance may deteriorate.
[0007] In one aspect, an object of the present invention is to provide a causal discovery program, a causal discovery method, and an information processing device that can suppress performance degradation in causal discovery processing.
[0008] In a first proposal, the causal search program is characterized in that, in a causal search process that identifies a causal relationship for a plurality of variables by repeating a first process that determines, for each of a plurality of combinations of two variables out of a plurality of variables, whether there is independence or no correlation between the two variables, identifies an upstream variable in the causal relationship from the plurality of variables, and identifies the upstream variable from the plurality of variables excluding the identified upstream variable, the program causes a computer to execute a process that determines, based on the result of the determination of the independence or no correlation, whether or not to execute a second process that removes components related to the upstream variable from the plurality of variables excluding the upstream variable for the repeated first process.
[0009] According to one embodiment, it is possible to suppress performance degradation in the causal search process.
[0010] FIG. 1 is a diagram illustrating an information processing apparatus according to a first embodiment. FIG. 2 is a diagram illustrating a calculation example using a model. FIG. 3 is a diagram illustrating causal search processing using DirectLingAM. FIG. 4 is a functional block diagram illustrating a functional configuration of an information processing apparatus according to a first embodiment. FIG. 5 is a diagram illustrating causal search processing according to the first embodiment. FIG. 6 is a diagram illustrating causal search processing according to the first embodiment. FIG. 7 is a flowchart illustrating the flow of causal search processing according to the first embodiment. FIG. 8 is a flowchart illustrating the flow of causal search processing according to the second embodiment. FIG. 9 is a flowchart illustrating the causal search processing according to the second embodiment. FIG. 10 is a flowchart illustrating the flow of causal search processing according to the third embodiment. FIG. 11 is a diagram illustrating causal search processing according to the third embodiment. FIG. 12 is a diagram illustrating causal search processing according to the fourth embodiment. FIG. 13 is a diagram illustrating an example of a hardware configuration.
[0011] Hereinafter, a causal search program, a causal search method, and an information processing device according to the present invention will be described in detail with reference to the accompanying drawings. Note that the present invention is not limited to these embodiments. Furthermore, the embodiments can be combined as appropriate within a consistent range.
[0012] 1 is a diagram illustrating an information processing device 10 according to Example 1. The information processing device 10 illustrated in Fig. 1 is an example of a computer that executes a causal search process for searching for a causal relationship between variables using DirectLingAM.
[0013] (Explanation of DirectLiNGAM) Here, we will first explain DirectLiNGAM. DirectLiNGAM is an example of a method for causal discovery by assuming that the causal relationships behind the data are linear, modeling as shown in equation (1), and estimating the model parameters from the data.
[0014]
[0015] In addition, "Pa i " is x i is the index of the direct causal variables of each e iis an unobserved noise variable that follows a non-Gaussian distribution. i The variables are independent of each other, and the causal graph of the variables is a directed acyclic graph (DAG). For example, this will be explained using FIG. 2. FIG. 2 is a diagram illustrating an example of calculation using a model. When five variables x1, x2, x3, x4, and x5 are in the causal relationship shown in FIG. 2, variable x4 is calculated as shown in formula (2).
[0016] Next, causal discovery processing using DirectLiNGAM will be described. FIG. 3 is a diagram illustrating the causal discovery processing using DirectLiNGAM. In DirectLiNGAM, a regression is performed for each variable pair x i and x j , with variable x i as the explanatory variable and variable x j as the target variable, and the regression coefficient b j and residual e j are calculated. Next, in DirectLiNGAM, the most upstream variable (hereinafter sometimes referred to as the "most upstream variable") is identified (estimated) based on the model assumption shown in Equation (1) that the explanatory variable x i and all residuals e j (corresponding to index j) are statistically independent only when variable x i is the most upstream in the causal order.
[0017] For example, in the example of FIG. 3 , from five variables x1, x2, x3, x4, and x5, "variable x1" is determined as the most upstream as shown in FIG. 3 (a). Specifically, the following regressions are performed: a regression with variable x1 as an explanatory variable and variable x2 as a response variable; a regression with variable x1 as an explanatory variable and variable x3 as a response variable; a regression with variable x1 as an explanatory variable and variable x4 as a response variable; and a regression with variable x1 as an explanatory variable and variable x5 as a response variable. Similarly, a regression with variable x2 as an explanatory variable and variable x1 as a response variable; a regression with variable x2 as an explanatory variable and variable x3 as a response variable; a regression with variable x2 as an explanatory variable and variable x4 as a response variable; and a regression with variable x2 as an explanatory variable and variable x5 as a response variable. Similar regressions are also performed for variables x3, x4, and x5. In this way, regression is performed for all patterns of variable xi, and if variable xi is the most upstream variable, the most upstream variable is searched for using the property of DirectLiNGAM that all residuals ej of the regression performed with variable xi as an explanatory variable become independent of variable xi.
[0018] Next, in DirectLiNGAM, in order to remove the influence of the most upstream variable x from the remaining variables, each remaining variable is replaced with the residual obtained by performing a regression using that variable as the objective variable and the most upstream variable x as the explanatory variable. DirectLiNGAM then repeats the above steps using the updated variables to identify variables in order from the upstream.
[0019] In the example of Figure 3, as shown in Figure 3(b), after the most upstream variable x1, x2 is identified as the upstream variable (the most upstream of the four) from four variables x2, x3, x4, and x5. Then, as shown in Figure 3(c), x3, x4, and x5 are identified in order as upstream variables (the most upstream of the three). In other words, the order of x1, x2, x3, x4, and x5 is identified as the causal order from upstream to downstream.
[0020] In DirectLiNGAM, after all causal orders are identified, all edges that are consistent with the causal orders are drawn, and unnecessary edges are removed through pruning.
[0021] In the example of Fig. 3, edges are connected between variables while respecting the causal order of x1, x2, x3, x4, and x5, as shown in Fig. 3(d). Then, as shown in Fig. 3(e), the remaining causal relationships are identified, including the edge from x1 to x4, the edges from x2 to x3 and x4, the edge from x3 to x4, and the edge from x4 to x5.
[0022] However, in DirectLingAM, when there are few samples compared to the number of variables, the identification (estimation) of the most upstream variable may stop midway or the performance of identifying the most upstream variable may deteriorate. Note that a sample is an example of data that includes variables.
[0023] For example, this phenomenon is caused by a process of repeatedly removing the influence of the most upstream variable identified in each iteration from the remaining variables in an iterative identification process (estimation process). Here, the process of removing the influence of variable xi from variable xi is a process of subtracting the xj-direction component of variable xi (a vector formed by arranging samples of variable xi) from variable xj (a vector formed by arranging samples of variable xj), and this process leaves behind the "orthogonal component of variable xj to variable xi."
[0024] Therefore, the set of variables remaining after k iterations has been repeated is one in which the influence of all variables estimated as the most upstream in iterations 1, ..., k-1 has been removed. In other words, the only remaining components are those orthogonal to all (k-1) vectors up to that point.
[0025] As the iterations proceed, meaningful values gradually disappear from the remaining variables, making it difficult to estimate the most upstream variable. That is, specific performance degradation of the most upstream variable occurs.
[0026] In extreme cases, such as when the number of samples n is smaller than the number of variables d, the identification of the most upstream variable may stop. For example, since each variable vector xi is an n-dimensional vector, its orthogonal components can only take on a maximum of n directions. Therefore, when the number of iterations reaches k=n, the residual may become a meaningless value (constant value). Therefore, further identification becomes impossible. In other words, the identification of the most upstream variable stops.
[0027] (Processing of information processing device) Therefore, the information processing device 10 of Example 1 evaluates the independence between each two variables and estimates the cut relationship in the causal relationship graph, thereby clarifying variables that do not need to be affected by the most upstream variable identified in each iteration, thereby suppressing performance degradation in the causal search process.
[0028] Specifically, the information processing device 10 determines whether or not there is independence or no correlation between the two variables for each of a plurality of combinations of two variables among the plurality of variables. The information processing device 10 identifies an upstream variable (the most upstream variable in the first case) in a causal relationship (causal relationship graph) from the plurality of variables, and performs a causal search process to identify a causal relationship between the plurality of variables by repeating a first process of identifying an upstream variable from the plurality of variables excluding the identified upstream variable. In this causal search process, the information processing device 10 determines, based on the result of the determination of independence or no correlation, whether or not to perform a second process of removing a component related to the upstream variable from the plurality of variables excluding the upstream variable for the first process being repeated.
[0029] For example, the information processing device 10 applies DirectLingAM to variables x1, x2, x3, x4, and x5 to perform a causal search process. Specifically, the information processing device 10 identifies the most upstream variable xi from the variables x1, x2, x3, x4, and x5. At this time, the information processing device 10 can also evaluate the independence between two variables and identify a disconnection relationship.
[0030] Next, the information processing device 10 removes the influence (component) from the most upstream variable x1 on variables x2, x3, x4, and x5, excluding the most upstream variable x1. Here, the information processing device 10 evaluates the independence of the most upstream variable x1 from each of the remaining variables x2, x3, x4, and x5, and identifies variables x2 and x3 that are in an independent relationship (disconnected relationship) with the most upstream variable x1. The information processing device 10 can also remove the influence (component) from the most upstream variable x1 only on variables x4 and x5 that are not in a disconnected relationship.
[0031] Thereafter, the information processing device 10 iteratively identifies an upstream variable (the most upstream variable among the remaining variables) from the remaining variables and removes influences from the upstream variable, thereby identifying the causal order (upstream order) in the order of variable x1, variable x2, variable x3, variable x4, and variable x5. The information processing device 10 then creates an edge that is consistent with the causal order between variables that have not been determined to have a disconnected relationship during the iterative process, and then performs pruning processing to generate the causal relationship graph 50. Note that edges that are consistent with the causal order are, for example, edges obtained by excluding "edges determined to be disconnected during the iterative process" from "all edges that are consistent with the estimated causal order."
[0032] Here, the independence evaluation performed by the information processing device 10 according to the first embodiment will be described. For example, suppose that a causal search is performed with the causal relationship graph 50 of FIG. 1 as the correct answer. In this case, it is assumed that the variable x1 is identified as the most upstream variable in the first iteration (hereinafter, sometimes referred to as "iteration 1") as described above. In this case, it is not actually necessary to remove the influence of the most upstream variable x1 from variables x2 and x3. This is because, in the correct causal relationship graph 50, variables x2 and x3 are not in a dependent relationship with variable x1 and are not influenced by variable x1.
[0033] In reality, since the causal relationship graph is unknown when the causal search process is executed, the necessity of removing the above-mentioned influence is estimated by an independence evaluation.
[0034] Generally, in a causal DAG, if a pair of variable vectors, "variable xi and variable xj," is independent, then the variables xi and xj do not have a common cause, and there is no edge between the variables xi and xj. In other words, since each variable is not influenced, there is no need for processing to remove the influence between the variables xi and xj.
[0035] Therefore, the information processing device 10 of Example 1 reduces unnecessary effect removal processing by using this property to estimate the cut relationship of the causal graph at the same time as the iterative processing of DirectLiNGAM, and as a result, prevents the stopping of the specific processing of the most upstream variable and reduces the performance degradation of the specific processing of the most upstream variable.
[0036] 4 is a functional block diagram showing the functional configuration of the information processing device 10 according to Example 1. As shown in FIG. 4, the information processing device 10 includes a communication unit 11, an output unit 12, a storage unit 13, and a control unit 20.
[0037] The communication unit 11 is a processing unit that controls communication with other devices, and is realized by, for example, a communication interface, etc. For example, the communication unit 11 receives data, etc. that are the subject of causal search, from a user terminal, and transmits the results of the causal search to the user terminal.
[0038] The output unit 12 is a control unit that displays and outputs various information, and is realized by, for example, a display or a touch panel. For example, the output unit 12 displays and outputs the causal search results obtained by the control unit 20.
[0039] The storage unit 13 is a processing unit that stores various data and programs, and is realized by, for example, a memory or a hard disk. For example, the storage unit 13 stores values of each variable (hereinafter simply referred to as variable values) described below, processing results by the control unit 20, intermediate results of processing by the control unit 20, and the like.
[0040] The control unit 20 is a processing unit that controls the entire information processing device 10, and is realized by, for example, a processor. For example, the control unit 20 has a causal search unit 30 and an output control unit 40. Note that the causal search unit 30 and the output control unit 40 are realized by electronic circuits included in the processor, processes executed by the processor, etc.
[0041] The causal search unit 30 is a processing unit that executes a causal search process using DirectLiNGAM and independence evaluation. The causal search unit 30 includes an independence evaluation unit 31, an identification unit 32, and a determination unit 33.
[0042] The independence evaluation unit 31 is a processing unit that evaluates the independence between two variables for each of a plurality of combinations of two variables among a plurality of variables. For example, when the objects of the independence evaluation are variables x1, x2, x3, x4, and x5, the independence evaluation unit 31 evaluates the independence between x1 and x2, x1 and x3, x1 and x4, x1 and x5, x2 and x3, x2 and x4, x2 and x5, x3 and x4, x3 and x5, and x4 and x5.
[0043] The independence assessment unit 31 can use an index for evaluating the independence between two variables on a sample basis. For example, the independence assessment unit 31 evaluates the independence between two variables using the Hilbert-Schmidt Independence Criteria (HSIC) or Maximal Information-based Nonparametric Exploration (MINE).
[0044] The independence assessment unit 31 can also use non-correlation, which can be assessed more easily, instead of independence by adding an assumption such as linearity of the relationship between variables. One method for assessing non-correlation is the Pearson correlation coefficient.
[0045] The identification unit 32 is a processing unit that executes a causal search process to identify the causal relationships among multiple variables by repeating a first process in which an upstream variable in the causal relationship (the most upstream variable in the first case) is identified from among multiple variables, and an upstream variable is identified from among multiple variables excluding the identified upstream variable.
[0046] For example, the identification unit 32 performs a regression on each variable x using the variable x as an explanatory variable and each of the other variables x as a response variable, and calculates the regression coefficient b and the residual e. Next, the identification unit 32 identifies the most upstream variable by using the model assumption shown in Equation (1) that the explanatory variable x and all the residuals e are statistically independent only when the variable x is the most upstream in the causal order. Then, in order to remove the influence of the most upstream variable x from the remaining variables other than the identified most upstream variable, the identification unit 32 replaces each remaining variable with a residual obtained by performing a regression using the variable as a response variable and the most upstream variable x as an explanatory variable. The identification unit 32 then repeatedly identifies the most upstream variable using the updated variables, thereby identifying variables in order from upstream.
[0047] Here, when repeatedly executing the first process, the identification unit 32 executes a second process at a specified timing, in which components related to the most upstream variable are removed from multiple variables excluding the most upstream variable. Specifically, the identification unit 32 identifies a first group from which components related to the most upstream variable are to be excluded and a second group from which components are not to be excluded, based on the independence between multiple variables excluding the most upstream variable. Then, the identification unit 32 updates each variable belonging to the first group with a residual obtained by regressing each variable on the objective variable and the most upstream variable on the explanatory variables. Thereafter, the identification unit 32 executes identification of the most upstream variable for each updated variable and each variable belonging to the second group.
[0048] After all causal orders have been identified, the identification unit 32 draws edges between variables that do not contradict the causal orders, and then performs pruning processing to remove unnecessary edges, thereby generating a causal relationship graph in which the causal relationships have been searched.
[0049] The decision unit 33 is a processing unit that decides whether or not to execute a second process, which removes components related to the most upstream variable from multiple variables excluding the most upstream variable, for the first process that is repeatedly executed by the identification unit 32, based on the result of judging whether or not there is independence or uncorrelation.
[0050] For example, for the remaining variables after the most upstream variable has been determined, the determination unit 33 evaluates the independence between the most upstream variable and each of the remaining variables, and when it is determined that a variable is independent, it determines to execute the second process and notifies the identification unit 32. Note that the determination unit 33 may also determine to execute the second process only the first time after the first most upstream variable is identified, or every time a most upstream variable is identified, as specified by the user. Furthermore, when the specifications (number of processors and number of memories) of the information processing device 10 are equal to or greater than a threshold or when the processing load of the information processing device 10 is less than a threshold, the determination unit 33 may determine that processing is possible even under high loads, and may decide to execute the second process every time a most upstream variable is identified.
[0051] The output control unit 40 is a processing unit that controls the output of the results of the search performed by the causal search unit 30. For example, the output control unit 40 outputs a causal relationship graph as the result of the causal search to the output unit 12 or transmits it to the user.
[0052] <Specific Example> Next, a specific example of the causal search process according to Example 1 will be described with reference to Fig. 5 and Fig. 6. Fig. 5 and Fig. 6 are diagrams for explaining the causal search process according to Example 1. Here, an example will be described in which a causal search is performed on five variables x1, x2, x3, x4, and x5.
[0053] As shown in Figure 5, the causal search unit 30 performs a regression for each variable x (i = 1 to 5) using the variable x as an explanatory variable and each of the other variables as a target variable, and based on the calculated regression coefficients b and residuals e, identifies the variable x as the most upstream variable (see (a) of Figure 5).
[0054] Next, the causal search unit 30 evaluates the independence of the most upstream variable x1 from each of the remaining variables x2 to x5, and estimates that variables x2 and x3 are independent of and disconnected from the most upstream variable x1. As a result, the causal search unit 30 identifies variables x4 and x5, which are dependent on the most upstream variable x1, as a first group to be excluded from components related to the most upstream variable x1, and identifies variables x2 and x3 as a second group not to be excluded from components related to the most upstream variable x1 (see (b) of FIG. 5).
[0055] Then, the causal search unit 30 performs a variable value update process for variables x4 and x5 belonging to the first group to remove the influence of variable x1, and maintains the variable values of variables x2 and x3 belonging to the second group as they are (see (c) of FIG. 5). For example, the causal search unit 30 updates variable x4 with the remaining coordinates obtained by regressing variable x4 as the objective variable and variable x1 as the explanatory variables, and updates variable x5 with the remaining coordinates obtained by regressing variable x5 as the objective variable and variable x1 as the explanatory variables.
[0056] Next, as shown in Fig. 6, the causal search unit 30 identifies the most upstream variable x2 from variables x2 and x3, whose values have not been updated, and variables x4 and x5, whose values have been updated, using the same method as in Fig. 5(a) (see Fig. 6(d)). Thereafter, the causal search unit 30 repeats the process of identifying the most upstream variable from the remaining variables, thereby identifying the upstream relationships of variables x2, x3, x4, and x5 in that order, and identifying the upstream relationships of the five variables as "variable x1, variable x2, variable x3, variable x4, and variable x5" (see Fig. 6(e)).
[0057] The causal relationship searching unit 30 then generates a graph in which edges are added only to the locations that were not determined to be cut in the identification of the most upstream variable (see (f) of FIG. 6). After that, the causal relationship searching unit 30 generates a causal relationship graph from which unnecessary edges have been removed by pruning processing (see (g) of FIG. 6). The output control unit 40 outputs the causal relationship graph generated by the causal relationship searching unit 30.
[0058] <Processing Flow> Fig. 7 is a flowchart showing the flow of the causal search processing according to Example 1. As shown in Fig. 7, when the processing starts (S101: Yes), the causal search unit 30 identifies the most upstream variable (S102).
[0059] Next, the causal search unit 30 evaluates the independence of the most upstream variable from variables other than the most upstream variable (S103).The causal search unit 30 then determines a cut relationship indicating independence from the most upstream variable (S104), and identifies a first group to be excluded from influence and a second group to be excluded from exclusion (S105).
[0060] Then, the causal search unit 30 updates each variable in the first group (S106) and identifies the most upstream variable from each updated variable in the first group and each unupdated variable in the second group (S107).
[0061] Here, if multiple variables remain and the identification of the most upstream variable has not been completed (S108: No), the causal search unit 30 identifies the most upstream variable from the remaining variables (S109) and repeats S108 and subsequent steps.
[0062] On the other hand, when upstream relationships have been identified for all variables and the most upstream identification has been completed (S108: Yes), the causal search unit 30 connects edges between variables that were not determined to be in a disconnected relationship (S110) and performs pruning processing on the remaining edges (S111).The output control unit 40 then outputs the results of the pruning processing as a causal search result (causal relationship graph) (S112).
[0063] <Effects> As described above, when executing DirectLingAM, which repeatedly performs simple regression and independence evaluation between variables, the information processing device 10 performs causal search by adding a different perspective, "evaluating independence between two variables." Therefore, the information processing device 10 can suppress updates to variables that are not affected by the most upstream variable, thereby retaining components other than the orthogonal component from the variable to the most upstream variable. In other words, the information processing device 10 can suppress the removal of unnecessary components during the repeated search process and prevent the search range from being unnecessarily narrowed. As a result, the information processing device 10 can suppress performance degradation in the causal search process even when there are few samples.
[0064] Incidentally, before starting the causal search process, the information processing device 10 can also perform independence evaluation for each pair of variables, classify the variables into multiple variable groups, and perform causal search for each classified variable group.
[0065] 8 is a flowchart showing the flow of the causal search process according to Example 2. As shown in Fig. 8, when the process starts (S201: Yes), the causal search unit 30 of the information processing device 10 performs an independence evaluation for each pair of variables (S202). Subsequently, the causal search unit 30 classifies each variable into a plurality of groups based on the independence evaluation (S203).
[0066] The causal search unit 30 then executes a causal search process for each group (S204). Specifically, the causal search unit 30 identifies the most upstream variable (S204-1). If multiple variables remain and the most upstream identification has not been completed (S204-2: No), the causal search unit 30 identifies the most upstream variable from the remaining variables (S204-3) and repeats S204-2 and subsequent steps. On the other hand, if the upstream relationships have been identified for all variables and the most upstream identification has been completed (S204-2: Yes), the causal search unit 30 connects edges between variables that were not determined to be in a disconnected relationship (S204-4), executes pruning processing on the remaining edges (S204-5), and generates a causal search result (S204-6).
[0067] Thereafter, the causal search unit 30 integrates the search results of each group (S205), and the integrated final causal search result is output by the output control unit 40 (S206).
[0068] 9 is a diagram illustrating the causal search process according to Example 2. As shown in Fig. 9, the causal search unit 30 generates pairs of variables for each of the variables x1, x2, x3, x4, and x5, and evaluates the independence of each pair of variables (see (a) of Fig. 9).
[0069] Next, based on the results of the independence evaluation, the causal search unit 30 determines that variable x1, variable x2 and variable x3, and variable x4 and variable x5 are independent, and classifies them into group A, group B, and group C, respectively (see (b) of Figure 9).
[0070] Then, the causal search unit 30 performs a causal search (identification of the most upstream variable) using only the variables belonging to group A, performs a causal search using only the variables belonging to group B, and performs a causal search using only the variables belonging to group C (see (c) of Figure 9).
[0071] The causal search unit 30 then integrates the causal search results of each group. For example, the causal search unit 30 draws edges that are consistent with the causal order between the causal search graphs of each group, and then performs pruning to remove unnecessary edges, thereby generating a final causal relationship graph.
[0072] As described above, the information processing device 10 can execute causal search processes in parallel, thereby reducing the processing time compared to causal search processes that use all variables. In particular, when there are a huge number of variables, such as in the genomics field, the information processing device 10 can reduce the processing time more significantly while suppressing deterioration in the accuracy of the causal search process.
[0073] Incidentally, the information processing device 10 can also perform independent evaluation between the most upstream variable and each of the remaining variables every time the most upstream variable is identified in the causal search process.
[0074] Fig. 10 is a flowchart showing the flow of the causal search process according to Example 3. As shown in Fig. 10, the causal search unit 30 of the information processing device 10 executes processes from S301 to S308, which are the same as the processes from S101 to S108.
[0075] If the identification of the most upstream variable has not been completed (S308: No), the causal search unit 30 evaluates the independence between the most upstream variable and the remaining variables (S309) and determines the disconnection relationships between variables other than the most upstream variable (S310). Next, the causal search unit 30 identifies disconnection relationships that indicate independence from the most upstream variable, and identifies a first group to be excluded and a second group not to be excluded (S311). Thereafter, the causal search unit 30 updates each variable in the first group (S312) and repeats S307 and subsequent steps to identify the most upstream variable from the updated variables belonging to the first group and the unupdated variables belonging to the second group.
[0076] Then, when the upstream relationships have been identified for all variables and the most upstream identification has been completed (S308: Yes), the causal search unit 30 executes S313 to S315 in the same manner as S110 to S112.
[0077] 11 is a diagram illustrating the causal search process according to the third embodiment. As shown in FIG. 11, the causal search unit 30 performs the most upstream identification for variables x1, x2, x3, and x4, and then evaluates the independence of variable pairs consisting of the most upstream variable and each of the remaining variables (see (a) of FIG. 11). Here, it is assumed that the variable x1 is identified as the most upstream variable, and that it is determined that the variable x1 is independent from each of the remaining variables xi (i=2, 3, 4), and that the remaining variables xi are all dependent on the variable x1.
[0078] Next, the causal search unit 30 executes an update process for each variable value to remove the influence (component) from the most upstream variable x1 (see (b) of FIG. 11). For example, the causal search unit 30 updates the value of each variable x1 (i=2, 3, 4) with the residual obtained by regressing the variable x1 (i=2, 3, 4) as the objective variable and x1 as the explanatory variable.
[0079] Thereafter, the causal search unit 30 executes the most upstream identification for the variables x2, x3, and x4 whose values have been updated (see (c) of FIG. 11). Here, it is assumed that the variable x2 is identified as the most upstream variable.
[0080] Then, the causal search unit 30 evaluates the independence of the most upstream variable x2 and each of the remaining variables (x3, x4) (see (d) of FIG. 11). Here, it is assumed that the variables x2 and x4 are determined to be in a dependent relationship, and the variables x2 and x3 are determined to be independent and not dependent on each other.
[0081] Next, the causal search unit 30 executes a variable value update process to remove the influence (component) from the most upstream variable x2 only for the dependent variable x4 (see (e) of FIG. 11). For example, the causal search unit 30 updates the value of variable x4 using the residual obtained by regressing variable x4 as the objective variable and variable x2 as the explanatory variable. Note that the value of variable x3, which is independent of variable x2, is not updated.
[0082] Thereafter, the causal search unit 30 uses the variable x3 whose value has not been updated and the variable x4 whose value has been updated (variable x4 from which the influence of variable x2 has been removed) to repeatedly identify the most upstream variable ((c) in Figure 11), evaluate independence ((d) in Figure 11), and remove the influence ((e) in Figure 11) to generate a causal relationship.
[0083] As described above, by evaluating independence during the causal search, the information processing device 10 can identify independence that could not be detected initially, thereby suppressing performance degradation in the causal search process.
[0084] Incidentally, the information processing device 10 can obtain more useful results by performing an independence assessment for each pair of variables before starting the causal search process, classifying the variables into multiple variable groups, and performing a causal search for each classified variable group.
[0085] 12 is a diagram illustrating the causal search process according to Example 4. As shown in Fig. 12, the causal search unit 30 generates pairs of variables for each of the variables x1, x2, x3, x4, and x5, and evaluates the independence of each pair of variables (see (a) of Fig. 12).
[0086] Next, based on the results of the independence evaluation, if the causal search unit 30 determines that variables x1, x4, and x5 are independent of variables x2 and x3, it classifies them into group D and group E, respectively (see (b) of Figure 12).
[0087] Then, the causal search unit 30 performs a causal search (DirectLiNGAM) using only the variables belonging to group D, and performs a causal search using only the variables belonging to group E (see (c) of Figure 12), and integrates the causal search results of each group.
[0088] As described above, whereas a normal causal search involves five variables, the information processing device 10 can separate the problem into a causal search involving two variables and a causal search involving three variables by evaluating independence. Therefore, the information processing device 10 can increase the number of samples relative to the number of variables, thereby improving the accuracy of identification and the effectiveness of preventing the algorithm from stopping.
[0089] Although the embodiments of the present invention have been described above, the present invention may be embodied in various different forms other than the above-described embodiments.
[0090] (Numerical Values, etc.) The numerical values, number of variables, etc. used in the above embodiments are merely examples and can be changed as desired. Furthermore, the process flow described in each flowchart can also be changed as appropriate within a consistent range.
[0091] (System) The information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed as desired unless otherwise specified.
[0092] Furthermore, the components of each device shown in the figure are functional concepts and do not necessarily have to be physically configured as shown. In other words, the specific form of distribution or integration of each device is not limited to that shown. In other words, all or part of them can be functionally or physically distributed or integrated in any unit depending on various loads, usage conditions, etc. For example, the causal search unit 30 and the output control unit 40 can be realized as separate devices.
[0093] Furthermore, all or any part of the processing functions performed by each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic.
[0094] (Hardware) Fig. 13 is a diagram illustrating an example of a hardware configuration. As shown in Fig. 13, the information processing device 10 includes a communication device 10a, a hard disk drive (HDD) 10b, a memory 10c, and a processor 10d. The components shown in Fig. 13 are interconnected via a bus or the like. In addition to these components, the information processing device 10 may also include a display, a touch panel, and the like.
[0095] The communication device 10a is a network interface card or the like, and communicates with other devices. The HDD 10b stores programs and DBs that operate the functions shown in FIG.
[0096] The processor 10d reads out a program that executes the same processes as the respective processing units shown in Fig. 4 from the HDD 10b or the like and loads it into the memory 10c, thereby operating a process that executes the respective functions described in Fig. 4 or the like. For example, this process executes the same functions as the respective processing units of the information processing device 10. Specifically, the processor 10d reads out a program that has the same functions as the causal searching unit 30, the output control unit 40, etc. from the HDD 10b or the like. Then, the processor 10d executes a process that executes the same processes as the causal searching unit 30, the output control unit 40, etc.
[0097] In this way, the information processing device 10 operates as an information processing device that executes a causal search method by reading and executing a program. The information processing device 10 can also realize functions similar to those of the above-described embodiment by reading the program from a recording medium using a medium reading device and executing the read program. Note that the program in these other embodiments is not limited to being executed by the information processing device 10. For example, the above-described embodiment may also be applied in the same way when another computer or server executes the program, or when these computers cooperate to execute the program.
[0098] This program may be distributed via a network such as the Internet. Alternatively, this program may be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and may be read out from the recording medium and executed by a computer.
[0099] REFERENCE SIGNS LIST 10 Information processing device 11 Communication unit 12 Output unit 13 Storage unit 20 Control unit 30 Causality search unit 31 Independence evaluation unit 32 Identification unit 33 Determination unit 40 Output control unit
Claims
1. A causal discovery program that causes a computer to execute a process of: determining whether or not there is independence or no correlation between the two variables for each of a plurality of combinations of two variables out of a plurality of variables; identifying an upstream variable in a causal relationship from among the plurality of variables; and repeating a first process of identifying the upstream variable from among the plurality of variables excluding the identified upstream variable, in a causal discovery process that identifies causal relationships for the plurality of variables, the program determining whether or not to execute a second process that removes components related to the upstream variable from the plurality of variables excluding the upstream variable for each of the first processes that are repeated, based on the result of the determination of the independence or no correlation between the two variables.
2. The causal exploration program according to claim 1, characterized in that the causal exploration process is a process for performing a causal exploration of the multiple variables by estimating, from the variables, parameters of a model assuming that the causal relationship between the multiple variables is linear, and the first process is a process for performing, for each of a plurality of variable pairs, each of which is a pair of two variables selected from the multiple variables, a regression is performed with one variable as an explanatory variable and the other variable as a response variable to calculate a residual for the other variable, identifying the upstream variable based on the residual calculated for each of the multiple variable pairs, and when it is decided to perform the second process, identifying a first group to be excluded from components related to the upstream variable and a second group to be excluded based on a result of the presence or absence of the independence or the non-correlation between a plurality of variables other than the upstream variable, updating each of the variables belonging to the first group with a residual obtained by regressing the variables belonging to the first group with the response variable and the upstream variable with the explanatory variable, and iteratively performing the first process for the updated variables belonging to the first group and the variables belonging to the second group.
3. The causal exploration program described in claim 1, wherein the determining process generates the multiple combinations between the upstream variable and each of the other variables excluding the upstream variable each time the first process identifies the upstream variable from the multiple variables, and determines whether or not there is independence or no correlation between the two variables for each of the multiple combinations, and the determining process executes the second process for variables other than those that have the independence or no correlation, among the other variables excluding the upstream variable.
4. A causal discovery program as described in claim 1, wherein the determining process determines whether or not there is independence or uncorrelation between two of the plurality of variables before executing the causal discovery process, and classifies the plurality of variables into a group having the independence or uncorrelation and a group having no independence or uncorrelation, and the determining process executes the causal discovery process for each of the group having the independence or uncorrelation and the group having no independence or uncorrelation.
5. A causal discovery method characterized in that a computer executes a process in which, for each of a plurality of combinations of two variables among a plurality of variables, a determination is made as to whether or not there is independence or no correlation between the two variables, a first process is repeated to identify an upstream variable in a causal relationship from among the plurality of variables, and the upstream variable is identified from among the plurality of variables excluding the identified upstream variable, thereby identifying a causal relationship for the plurality of variables, the process being performed based on a result of the determination as to whether or not there is independence or no correlation between the two variables.
6. An information processing device having a control unit that, in a causal search process that identifies causal relationships for a plurality of variables by repeating a first process that determines whether or not there is independence or no correlation between the two variables for each of a plurality of combinations of two variables out of a plurality of variables, identifies an upstream variable in a causal relationship from the plurality of variables, and identifies the upstream variable from the plurality of variables excluding the identified upstream variable, the control unit determining, based on the result of the determination of the independence or no correlation, whether or not to execute a second process that removes a component related to the upstream variable from the plurality of variables excluding the upstream variable for the first process that is repeated.
Citation Information
Patent Citations
Processing state monitoring device
JP2012138044A
Process monitoring diagnostic system
JP2014178844A
Information processing device and program for learning bayesian network structure
WO2011016281A2
Information processing program, information processing method, and information processing device
WO2022059175A1
Information processing program, information processing method, and information processing device
WO2022130547A1
Cited By
Information processing device, information processing system, information processing method, and computer program product
US12783548B2
Information processing device, information processing system, information processing method, and computer program product
US20250384059A1
