- Introduced by
- Spirtes, Glymour & Scheines (PC/FCI); Shimizu et al. (LiNGAM)
- Year
- 2000
- Type
- Causal structure learning
What does it do?
Causal discovery algorithms learn causal structure, usually represented as a directed acyclic graph (DAG) or a class of DAGs, from observational data, rather than requiring the causal direction to be specified in advance.
The PC and FCI algorithms, developed by Spirtes, Glymour and Scheines (2000), rely on conditional-independence tests, while the LiNGAM model of Shimizu et al. (2006) uses non-Gaussian noise to orient edges.
The intuition behind the method
Instead of assuming you already know which variable causes which, these algorithms let the data sketch the arrows for you. PC starts from a fully connected web of variables and removes a link between two variables whenever some other set of variables makes them statistically independent, then orients the surviving arrows. LiNGAM takes a different route: when relationships are linear and the noise is non-Gaussian, the direction of cause and effect leaves a detectable asymmetric fingerprint, so the model can point the arrows even when correlation alone could not.
History
Causal discovery grew out of the constraint-based tradition formalised in Spirtes, Glymour and Scheines's Causation, Prediction, and Search (2000), which presented the PC and FCI algorithms built on conditional-independence testing under the Markov and faithfulness assumptions. A second strand came with the Linear Non-Gaussian Acyclic Model (LiNGAM) of Shimizu and colleagues (2006), which showed that non-Gaussian noise can make the causal direction identifiable, in contrast to the equivalence classes returned by constraint-based methods.
When to use it
Use causal discovery when you want to explore or hypothesise causal structure among several measured variables from observational data, particularly when a controlled experiment is not feasible. PC and FCI depend on the Markov and faithfulness assumptions and on conditional-independence tests suited to your variable types; FCI is the appropriate choice when unmeasured common causes are plausible. LiNGAM requires linear relationships, additive and mutually independent non-Gaussian noise, an acyclic structure and causal sufficiency, so it is the wrong tool when the noise appears Gaussian or when hidden confounding is likely. The sample size needed depends on the number of variables, the strength of the dependencies and the conditional-independence test used. Because these tests lose power in small samples, check the stability of the learned edges with sensitivity analysis rather than relying on a fixed cut-off. With many variables the size of candidate parent sets must be bounded, and any discovered graph should be interpreted with domain expertise rather than taken as established causation.
Limitations and considerations
- Conditional-independence tests lose power in small samples, so missing or spurious edges become more likely; the sample size needed depends on the number of variables, the strength of the dependencies and the test used.
- LiNGAM's edge orientations depend on the non-Gaussian noise assumption: when disturbances are close to Gaussian, the directions are not identified by this model. It also assumes causal sufficiency, so unmeasured common causes make its orientations unreliable; FCI is designed for the case where latent confounding is possible.
- With many variables the parent-set search becomes costly and unreliable unless the size of candidate parent sets is bounded.
- The output is a graph consistent with the data under its assumptions, and a genuinely causal reading requires subject-matter knowledge.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Learns causal structure directly from observational data when controlled experiments are infeasible.
- Offers complementary engines: PC/FCI for constraint-based testing and LiNGAM for fully oriented graphs under non-Gaussian noise.
- FCI explicitly allows for hidden (latent) confounders rather than assuming all common causes are observed.
Applications
- Hypothesising causal pathways among biomedical or clinical variables before designing experiments.
- Exploring drivers and feedback structure in economic and social-science systems from observational records.
- Reconstructing regulatory or dependency structure among many measured variables in the natural sciences.
How it works
How it works
The data are assumed to be generated by an unknown causal graph G over the variables V. The joint distribution is Markov and faithful to G, meaning the conditional independencies in the data mirror the missing edges in the graph. PC and FCI probe these conditional independencies with statistical tests to recover the skeleton and orient as many edges as the data allow. Each test is run at a chosen significance level, and the test must suit the variable types: a partial-correlation test such as Fisher's z for continuous variables, a chi-squared or G-test for discrete variables, and a mixed-data test when both occur. Because the search runs many tests in sequence, an error in an early independence decision can remove or misdirect edges that later steps depend on, so results should be checked for stability across significance levels and test choices. FCI extends this approach to settings where hidden confounders may exist, and it returns a partial ancestral graph rather than a fully oriented DAG.
Formula
G = (V, E), \quad P(V) \text{ Markov and faithful to } GLiNGAM assumes each variable is a linear function of its parents plus an additive disturbance, that the disturbances are mutually independent and non-Gaussian, and that the causal structure is acyclic. Under this model the direction of each edge can be identified from the data, so the result can be a fully oriented DAG rather than only an equivalence class of graphs. The original estimation approach uses independent component analysis to recover the mixing structure from the observed data, and then uses the non-Gaussianity of the disturbances to determine a causal ordering of the variables and which connection weights are non-zero. If the noise is close to Gaussian, this identification argument does not apply. The model also assumes causal sufficiency, meaning all relevant common causes are measured, so unmeasured common causes violate its assumptions.
Formula
X_j = \sum_{i \in \mathrm{pa}(j)} b_{ji} X_i + e_j, \quad e_j \text{ non-Gaussian}Common pitfalls
- Running discovery on a small sample relative to the number of variables and the strength of the dependencies, then trusting the resulting edges without checking their stability.
- Applying LiNGAM to data whose noise is approximately Gaussian, or to data where unmeasured common causes are plausible, where its edge orientations are not identified.
- Using PC when unmeasured common causes are plausible; PC assumes all relevant common causes are measured, and FCI is the alternative that drops this assumption.
- Reporting a learned DAG as established causation without subject-matter support, or reading an absent edge as proof of no causal effect.
- Treating the significance level and the choice of independence test as fixed settings; PC and FCI results can change with them, so compare several settings before interpreting the graph.
Frequently asked questions
How is causal discovery different from regression?
Regression estimates the effect of predictors on an outcome whose causal role you have already assumed. Causal discovery instead tries to learn the direction of the arrows themselves, which variables cause which, directly from the data's (conditional) independence and distributional structure.
When should I use FCI instead of PC?
PC assumes there are no hidden confounders. FCI relaxes this and is appropriate when unmeasured common causes may exist; it returns a partial ancestral graph that marks where latent confounding could be present.
What does LiNGAM need that PC does not?
LiNGAM requires a linear model with additive, mutually independent, non-Gaussian noise, an acyclic structure and no unmeasured common causes. When those assumptions hold, it can orient every edge of the DAG. PC returns a completed partially directed acyclic graph (CPDAG) in which some edges may remain undirected, and FCI returns a partial ancestral graph (PAG) whose endpoint marks indicate uncertain orientation and possible latent confounding.
Can I treat a discovered DAG as proven causation?
No. The algorithms recover structure consistent with the data under their assumptions, and a causal reading must be supported by domain expertise. The sample size needed depends on the number of variables, the strength of the dependencies and the test used, so check whether the learned edges are stable under sensitivity analysis rather than relying on a fixed cut-off.
Related methods
Sources
Spirtes, P., Glymour, C., & Scheines, R. (2000). Causation, Prediction, and Search (2nd ed.). MIT Press.
ISBN: 978-0262194402Shimizu, S., Hoyer, P. O., Hyvärinen, A., & Kerminen, A. (2006). A Linear Non-Gaussian Acyclic Model for Causal Discovery. Journal of Machine Learning Research, 7, 2003-2030.
Open publication reference