• No results found

:-(Wednesday, October 5, 16

N/A
N/A
Protected

Academic year: 2020

Share ":-(Wednesday, October 5, 16"

Copied!
31
0
0

Loading.... (view fulltext now)

Full text

(1)

Nonstationary Data & Changing Causal Modules

Nonstationary data: brain signals, financial / economic data...

Influenced by “environmental” quantities, e.g., attention,

policy changes, and credit risk

Ignoring changes may lead to spurious connections:

FCMs may not hold because of model changes

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each P (Vi | P Ai) a causal module. Clearly, in the presence of

distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence

graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439

Causal Discovery from Nonstationary Data

−2 0 2 −2 −1 0 1 2 V 1 V 2 (b) on data set 2 −2 0 2 −2 −1 0 1 2 V 1 V 2

(c) on both data sets

−2 0 2 −2 −1 0 1 2 V 1 V 2

(a) on data set 1

−2 0 2 −1 −0.5 0 0.5 1 V 1 ˆ E

(d) on both data sets

Figure 2. Illustration on the failure of using the approach based on functional causal models for causal direction determination when the causal model changes. (a) Scatter plot of V1 and V2 on data set 1. (b) That on data set 2. (c) That on merged data (both data sets). (d)

The scatter plot of V1 and the estimated regression residual on merged data.

are directly connected to C will have time-varying generat-ing processes (or causal models), and moreover, the causal skeleton for the observed variables can be corrected esti-mated by Algorithm 1, as if the confounders {gl}Ll=1 were known, as shown in the following theorem. For a proof see the Supplementary Material.

Theorem 1. Denote by Gaug the skeleton obtained by applying constraint-based causal discovery on V [ {gl(C)}Ll=1. Let the assumptions made in Section 3.1 hold. Then any two variables Vi are Vj are connected in GC if and only if they are connected in Gaug.

Algorithm 1 Robust and Specific Causal Discovery

1. Build a complete undirected graph GC on the variable set {Vi} [ C, i = 1, 2, · · · , n.

2. (Specific discovery) Test for the marginal and condi-tional independence between Vi and C. If they are independent given a subset of the observed variables, remove the edge between Vi and C in GC. Let SC denote the set of variables that are always dependent on C, i.e., C-specific variables.

3. (Robust discovery) Test for the marginal and condi-tional independence between Vi and Vj. If they are in-dependent given a subset of {Vk | k 6= i, k 6= j} [ C, remove the edge between Vi and Vj in GC.

To better understand Algorithm 1, let us consider the con-ditional independence property of its output, the undirected graph GC, with an illustrative example. For simplicity, suppose that C has only two possible values, 0 and 1. De-note by G1 and G2 the Directed Acyclic Graphs (DAGs) that generated the data for C = 0 and C = 1, respectively. GC be the skeleton on the variables {Vi} [ {C} discovered by our approach, and let G be the undirected graph after re-moving C and all connections from C from GC. We have the following results.

1. If G1 and G2 are independence equivalent (which

means that hey have the same skeletons and the same sets of v-structures), then G has the same skeleton (and the same sets of v-structures) as G1 and G2.

2. Otherwise, G is a minimal graph that contains all edges in G1 and G2; it encodes the conditional in-dependence relationships shared by G1 and G2.

This is because V1 ?? V2 | (Z, C) is equivalent to V1 ?? V2 | (Z, C = c) for each possible value of c; as a conse-quence, the conditional independence relationships shared by G1 and G2 are entailed in GC. Fig. 3(a,b,c,e) gives such an illustration; here we assume that P (V3 | V2) changes from G1 to G2. In this example, Algorithm 1 gives the correct causal skeleton on V, but applying PC on merged data will give a spurious connection.

V1 V2 V3 V4 V1 V2 V3 V4 (a) G1 (b) G2 V1 V2 V3 V4 C V1 V2 V3 V4 C

(c) Discovered GC (including C). (d) DAG derived from GC.

V1 V2 V3 V4

(e) Output of PC on merged data (without C)

Figure 3. An example to illustrate the output of Algorithm where C is binary. (a,b) The individual causal graphs for different values of C. (c) The undirected graph GC produced by Algorithm 1 in

the asymptotic case. (c) The DAG after applying the method in Section 4 for for causal direction determination, which assumes C is a cause. (d) The skeleton on merged data produced by the PC algorithm (Spirtes et al., 2001) in the asymptotic case (without considering C as a variable in the system).

We have the following remarks regarding the conditional independence test methods and practical settings.

1. The influence from C (especially from time T ) is usu-ally very nonlinear. In the above procedure, we have

:-(

(2)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

(3)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

With our proposed approach:

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

(4)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

With our proposed approach:

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

(5)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

With our proposed approach:

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

(6)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

With our proposed approach:

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

(7)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

With our proposed approach:

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

(8)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

With our proposed approach:

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

(9)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

With our proposed approach:

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

(10)

Discovery & Visualization of

Changing Causal Modules

Questions to answer:

I

dentify

variables with

changing causal modules

&

recover

causal skeleton

?

I

dentify

causal directions

by

making use of

distribution shifts

?

Visualize the change in causal

modules

?

110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Causal Discovery from Nonstationary Data

to reveal the correct causal structure when the data distri-bution shifts. If the changes in some variables are related, one can imagine that there exists some unobservable quan-tity which influences all those variables and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Similarly, suppose a variable Vi was generated from its direct causes with a

cer-tain functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al., 2006)) whose parameters change at some point. Then if one fits a fixed functional causal model from the directed causes to Vi, the noise term is usually not

independent from the causes any more, and accordingly it fails to distinguish the correct causal structure from other candidates. There exist some methods aiming to detect the changes (Talih & Hengartner, 2005; Adams & Mackay,

2007; Kummerfeld & Danks, 2013) or directly model time-varying causal relations (see, e.g., (Huang et al., 2015)) in a dynamic manner. They usually focus on the linear case, in-volve high computational load, and cannot quickly locate changing causal relations. This motivated the following questions, which are to be answered in this paper.

a) The conditional independence relationships in the data between the given variables may be changed by shifted causal models. However, can we find the correct skeleton of the true causal model efficiently?

b) Can we efficiently identify the variables whose generat-ing processes (i.e., causal models) change?

c) Compared to the situation with data from a fixed distri-bution, can the distribution shift phenomenon provide some benefit in causal discovery, especially in causal direction determination?

This paper is organized as follows. In Section 2 we give the problem definition and review related work. Section 3

proposes an enhanced constraint-based approach to robust and specific causal skeleton discovery, which is able to re-cover the skeleton of the causal structure underlying the observed variables and identify those variables whose gen-erating processes are nonstationary. The remaining prob-lem is how to determine the direction of the causal con-nections, which is addressed in Section 4: we show that the nonstionarity of the distribution usually provides addi-tional benefit in causal direction determination. Section 5

reports simulations results to test the performance of the proposed causal discovery approach when the ground truth is known. Finally, we apply the proposed approach to do causal discovery from fMRI data and to find the causal re-lations among a set of stocks from their daily returns in 2.

2. Problem Definition and Related Work

We aim at recovering the causal structure from data when the causal influences associated with some causal relations

change over time or across domains. In this paper we assume that the underlying causal structure is a directed acyclic graph (DAG) and that the causal structure is fixed, with changing causal models.

V1 V2 V3 V4

g(C)

V1 V2 V3 V4

(a) (b)

Figure 1. An illustration on how ignoring changes in the causal model may lead to spurious connections by the constraint-based method. (a) The true causal graph (including confounder g(C)). (b) The estimated conditional independence graph on the ob-served data in the asymptotic case.

Let us decompose the joint probability distribution of the given variable set V = {Vi}ni=1 according to the DAG as

P (V) =

n

Y

i=1

P (Vi | P Ai), (1) where P Ai denotes the set of parents (or direct causes)

of variable Vi in the causal DAG. Here we call each

P (Vi | P Ai) a causal module. Clearly, in the presence of distribution shifts, there must be changes in certain causal modules P (Vk | P Ak), k 2 N , to generate the change of

the data distribution. We call those causal modules non-stationary causal modules. Their changes may be caused by the change of the involved functional models, causal strengths, noise levels, etc. We assume that the changes in those quantities can be written as functions of the time or domain index, and denote by C such an index.

If the changes in some modules are related, one can imagine that there exist some unobservable quantity (con-founder) which influences those modules and, as a conse-quence, the conditional independence relationships in the distribution-shifted data will be different from those im-plied by the true causal structure. Therefore, the original constraint-based approach, like PC (Spirtes et al., 2001;

Pearl, 2000), may not be able to reveal the true causal struc-ture. This is especially the case for the causal network in the brain: the causal influences in different causal modules in the brain may change with stimuli, tasks, states, the at-tention of the subject, etc. As an illustration, suppose that the observed data were generated according to Fig. 1(a), where g(C), a function of C, is involved in the generating processes in both V2 and V4; the conditional independence graph on the observed data then contains spurious connec-tions V1 V4 and V2 V4, because there is only one

con-ditional independence relationship, V3 ?? V1 | V2, as shown

in 1(b). Moreover, when one fits a fixed functional causal model (e.g., the linear, non-Gaussian model (Shimizu et al.,

2006)) on the data with changing causal influences, the estimated noise may not be independent from the cause

With our proposed approach:

Kernel nonstationarity

visualization (KNV)

Zhang et al., On Causal Discovery in the Presence of Changing Causal Models, arXiv, 2016

References

Related documents

to 2010 the Conservative Party did not use any form of positive action, but for that election an ‘A List’ system was used which ensured that women candidates stood in seats the

■ Before using, test the Ground Fault Circuit Interrupter (GFCI) provided with the power cord to ensure it is operating properly.. GFCI reduces the risk of

members who were trained in DRR and Livelihoods by some NGOs, District level heads of Government Departments who participated in drafting District Disaster Management Plans for

"The Problems of Rapid Information Technology Change," Proceedings of the 1997 Association for Computing Machinery Special Interest Group on Computer Personnel

The estimates of the short and long memory models supported the Type IV asymmetry definition, which satisfies the following three conditions: (i) negative shocks to returns

The regularly recorded atmospheric parameters comprise many meteorological quantities (pressure, tempera- ture, humidity, wind, radiation, and precipitation) taken from the

The funding under this agreement will enable the formation of a Sector Human Resource Planning (HRP) Committee (Task Force) which is designed to bring together on a regular