FCI Algorithm — Fast Causal Inference

Statistics
Introduced by
Spirtes, Glymour & Scheines
Year
2000
Type
Constraint-based causal discovery algorithm
Family
Causal discovery

What does it do?

The Fast Causal Inference (FCI) algorithm is a constraint-based causal discovery method, described by Spirtes, Glymour, and Scheines in *Causation, Prediction, and Search* (2nd ed., MIT Press, 2000).

Unlike the PC algorithm, it is designed to handle settings in which some common causes of the measured variables are unmeasured (latent), or in which sample selection bias is present. Its output is a Partial Ancestral Graph (PAG), which represents the causal structures compatible with the conditional independencies found in the data and leaves open the orientation of edges the data cannot settle.

The intuition behind the method

Suppose you want to infer which variables influence which others, but some of the influences come from factors you never recorded. FCI works from patterns of statistical independence: it checks which pairs of variables become unrelated once other variables are held fixed, and uses those patterns to decide which connections must exist, which arrows can be oriented, and where a hidden common cause could account for an association. Where the data do not determine a direction, the output says so rather than choosing one.

History

FCI is described by Peter Spirtes, Clark Glymour, and Richard Scheines in *Causation, Prediction, and Search*; this page cites the 2000 second edition. It extends the PC algorithm to settings with unmeasured common causes, a recurring concern in observational research.

When to use it

Choose FCI when you suspect that some common causes of your variables are unmeasured, or when the sample may have been selected in a way that induces bias. In these settings the PC algorithm can give misleading orientations. FCI's output is justified under the following assumptions: the underlying causal structure, including any unmeasured variables, is acyclic; the causal Markov condition and faithfulness hold for the true graph; and the data may contain latent common causes and sample selection bias, which FCI is designed to accommodate. Its guarantees are asymptotic and require conditional independence tests that are reliable at the available sample size. With small samples or many conditioning variables, these tests become the main source of error. Mistakes made in the skeleton phase can carry into the orientations, so the resulting PAG may misrepresent the causal structure. If all relevant common causes have been measured, PC is simpler and cheaper. For problems with many variables, score-based methods such as NOTEARS, which appears among the related methods, are an alternative, but they return a different kind of output and do not provide a PAG.

Limitations and considerations

  • The Possible-D-Sep stage requires conditional independence tests over sets of variables that can grow large; in the worst case the number of tests grows exponentially with the number of variables.
  • Reliability depends on sample size: tests that condition on many variables need large samples, and errors made early in the skeleton phase propagate into the orientations.
  • Correctness requires faithfulness; if influences cancel exactly (for example through parameter cancellation), true edges may be removed.
  • The PAG notation (circle endpoints, bidirected arrows, and ancestral semantics) is hard to read for non-specialists, and a PAG often leaves several edges unoriented.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Explicitly allows for latent common causes and selection bias. Under the causal Markov condition, faithfulness, and reliable conditional independence tests, the output converges to the true PAG equivalence class as the sample size grows.
  • The PAG distinguishes orientations that the data establish from those they leave open, so circle endpoints show exactly where the data are silent.
  • Because the procedure depends on conditional independence tests, the test can be matched to the data: Fisher-z for approximately Gaussian variables, G-squared for discrete variables, or kernel-based tests for more general dependence.

Applications

  • Epidemiology: inferring causal pathways between exposures and disease outcomes when not all confounders can be measured.
  • Economics: examining causal relations among observational variables when unobserved macroeconomic factors may act as common causes.
  • Genomics: exploring regulatory relationships among genes from expression data when some regulators are not measured.
  • Neuroscience: exploring directed connectivity between brain regions from fMRI data, where hidden state variables may be present.
  • Social science: disentangling relationships among survey variables when latent constructs may affect several of them.

How it works

How it works

1

FCI begins in the same way as the PC algorithm. It starts from a complete undirected graph over the observed variables and removes the edge between two variables whenever they are found conditionally independent given some subset of their neighbours. Each removed edge is recorded together with the separating set that justified its removal, and these sets are used in later steps.

Formula
\hat{G} = \text{Skeleton}(\mathbf{X}) \text{ via } X_i \perp\!\!\!\perp X_j \mid \mathbf{S}_{ij}
2

Using the recorded separating sets, FCI orients unshielded colliders of the form X → L ← Y. The triple X–L–Y is treated as a collider when X and Y are dependent given L and L is not in the separating set of X and Y; that is, conditioning on L was not what made X and Y independent. Under the stated assumptions this identifies L as a collider, and these colliders provide the initial arrowheads from which further orientations are propagated.

Formula
X_i \to L \leftarrow X_j \text{ iff } L \notin \mathbf{S}_{ij} \text{ and } X_i \not\!\perp\!\!\!\perp X_j \mid L
3

To allow for latent variables, FCI extends the standard PC orientation step. It computes Possible-D-Sep sets, the nodes lying on possible paths between two variables that could act as d-separators once hidden variables are allowed. Conditional independence tests over these sets are then used to refine the graph, either removing edges that appear spurious or confirming those that remain.

Formula
\text{PossibleDSep}(X_i, X_j) = \{\mathbf{Z} : \mathbf{Z} \text{ on possible path between } X_i, X_j\}
4

The skeleton and the partially oriented edges are then completed by applying orientation rules that propagate the initial arrowheads to the remaining edges, until no further orientation is implied. The resulting PAG uses circle endpoints to mark endpoints whose type (arrowhead or tail) the data do not determine, and bidirected arrows to indicate that two variables are dependent without an ancestral relation, typically because of a latent common cause. The PAG compactly represents the equivalence class of maximal ancestral graphs compatible with the data.

Formula
\mathcal{P} = \text{PAG}(\hat{G}) \text{ via orientation rules } R_1\text{–}R_{10}

Common pitfalls

  • Running FCI when every relevant common cause has been measured adds computational cost and typically leaves more edges unoriented than PC, without addressing a problem that is actually present.
  • Applying Fisher-z to non-Gaussian or discrete data can distort the error rates of the independence tests, so that true edges are wrongly removed or spurious edges are kept.
  • Reading circle endpoints as arrows, or treating a PAG as a fully directed graph, leads to overconfident causal claims about edges that the data did not orient.
  • On datasets with many variables, running FCI without a sparsity assumption or a reduction in the variable set can be computationally infeasible.

Frequently asked questions

What is the difference between FCI and the PC algorithm?

The PC algorithm assumes all common causes are observed and outputs a Completed Partially Directed Acyclic Graph (CPDAG). FCI relaxes this assumption, allowing for latent confounders and selection bias, and outputs a Partial Ancestral Graph (PAG) that uses circle and bidirected-arrow endpoints to represent causal uncertainty introduced by unobserved variables.

What does a bidirected arrow (↔) in the PAG output mean?

A bidirected arrow between variables X and Y in the PAG indicates that there is likely a latent common cause — an unmeasured variable that causally influences both X and Y. It does not mean X and Y cause each other directly; rather, their association is at least partially explained by one or more hidden confounders.

Is FCI suitable for small datasets?

FCI is not recommended for small datasets. Its correctness guarantees are asymptotic, and reliable conditional independence testing — especially when conditioning on large subsets — requires substantial sample sizes. With small samples, spurious independencies and missed dependencies can cascade through the algorithm, producing a PAG that misrepresents the true causal structure.

Related methods

Sources

  1. Spirtes, P., Glymour, C., & Scheines, R. (2000). Causation, Prediction, and Search (2nd ed.). MIT Press.

    ISBN: 978-0-262-19440-2