NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Efficient Algorithm for Computing Interventional Distributions in Latent Variable Causal Models

Ilya Shpitser, Thomas S. Richardson, James M. Robins

TL;DR

This paper introduces the Efficient Identification (EID) algorithm, a generalization of variable elimination designed to calculate causal effects in graphical models with unobserved (latent) variables. By leveraging a novel recursive factorization that captures hidden "dormant" independences, EID avoids the exponential blow-up of standard probability tables, making causal inference computationally tractable for a broader class of complex networks.

What Problem Does This Paper Address?

Causal inference aims to predict the effects of interventions (e.g., medical treatments or policy changes) using purely observational data. Directed Acyclic Graphs (DAGs) are the standard tool for this task, but they typically assume causal sufficiency—the assumption that all common causes of observed variables are also measured and included in the model. In real-world scenarios, unobserved "latent" variables (confounders) are ubiquitous.

To handle latents, researchers use Acyclic Directed Mixed Graphs (ADMGs), which include bidirected edges to represent unobserved common causes.

Figure 2: (a) A DAG. (b) A latent projection of the DAG in (a) onto {Y1, Y2, Y3, Y4, . . . }.

While existing methods (like the famous ID algorithm) can determine whether a causal effect is theoretically identifiable in an ADMG, actually computing that effect has remained a massive computational bottleneck. The algebraic manipulations required to compute these distributions lead to massive, intractable conditional probability tables as the graph grows. This paper addresses the lack of an efficient computational scheme to evaluate these causal effect functionals.

Methods

The authors extend efficient probabilistic inference to mixed graphs by introducing several novel concepts:

  • Recursive Factorization (r-factorization): A refinement of standard Markov factorizations. It captures "dormant independences"—conditional independences that are not visible in the raw observational distribution but emerge after an intervention or a specific algebraic division by a conditional density.
  • Generalized Möbius Parameterization: For binary variables, the authors parameterize the model using the "heads" and "tails" of intrinsic sets (graph structures immune to certain types of confounding), mapping these parameters to joint probabilities via an inverse Möbius transform.
  • The EID Algorithm: A two-stage algorithm. First, it prunes the parameter set to match the post-intervention world. Second, it systematically marginalizes out irrelevant variables using a specified elimination order, acting as a direct analogue to variable elimination in standard DAGs.
  • Fast Generalized Möbius Transform (FGMT): A dynamic programming scheme that optimizes the parameter-to-probability conversion, drastically reducing the time complexity of the marginalization step.

Datasets

Not discussed in the paper. (This paper is purely theoretical and algorithmic, focusing on proofs and complexity analysis rather than empirical evaluation on real-world datasets.)

Key Insights and Ideas

  • Dormant Independences as a Resource: Just as standard conditional independence allows us to break a massive joint distribution into small, manageable chunks in a standard DAG, dormant independences allow a similar factorization in graphs plagued by latent variables.
  • Mixed Graph Binary Width: The authors define a new metric for graph complexity, "mixed graph binary width," which serves as the mixed-graph analogue to treewidth. The computational cost of the EID algorithm scales exponentially with this width, rather than the total number of variables in the graph.
  • Conservative but Optimal: The r-factorization framework makes absolutely no assumptions about the state space or distribution of the hidden variables. It is inherently conservative, yet optimal if a researcher refuses to guess at the underlying structure of unobserved confounders.

Key Results

  • The EID algorithm successfully computes exact interventional distributions without constructing large, intermediate probability tables.
  • By utilizing the FGMT dynamic programming scheme, the overall time complexity of EID is bounded by $O(\text{poly}(n) \cdot b \cdot 2^b)$, where $b$ is the mixed graph binary width and $n$ is the number of nodes.
  • In a concrete example analyzed in the text, the EID algorithm reduces the number of parameters needed to evaluate a causal query from a naive 31 down to just 23 parameters, avoiding intermediate steps that would otherwise require evaluating exponential tables (e.g., tables with 32 entries for a single conditional term).

Limitations and Future Work

  • Latent Variable Agnosticism: Because the model assumes nothing about the latent variables, it can be less efficient than structural equation models that explicitly constrain latent behaviors (e.g., assuming latent variables are binary or follow a specific parametric distribution).
  • Coarse Graph Complexity: The authors note that their analysis of the graph operations within EID is somewhat coarse. Future work could optimize these graph manipulations to further lower the polynomial factors of the algorithm's runtime.

Summary updated

BibTeX
@misc{shpitser2012efficient,
  author = {Ilya Shpitser and Thomas S. Richardson and James M. Robins},
  title = {{An Efficient Algorithm for Computing Interventional Distributions in Latent Variable Causal Models}},
  year = {2012},
  eprint = {1202.3763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1202.3763},
}
Figure