Learning Neural Causal Models from Unknown Interventions

Nan Rosemary Ke, Olexa Bilaniuk, Anirudh Goyal, Stefan Bauer, Hugo Larochelle, Chris Pal, Yoshua BengioarXiv 2019

Introduction

Discovering the true causal structure of a system is a fundamental challenge in science. While observational data can reveal correlations, identifying the directed acyclic graph (DAG) representing cause-and-effect typically requires interventional data—randomized experiments where specific variables are manipulated. However, most existing algorithms rely on the strong assumption that the targets of these interventions are perfectly known. In real-world scenarios, interventions are often messy, uncertain, or triggered by unknown external agents.

This paper introduces Structure Discovery from Interventions (SDI), a continuous optimization framework using neural networks that can learn Structural Causal Models (SCMs) even when intervention targets are completely unknown. By bridging the gap between scalable neural approaches and interventional logic, SDI successfully recovers causal graphs from scratch and scales to complex partial graph completion tasks.

The SDI Framework

SDI is a score-based, iterative method that reframes the super-exponential search for DAGs as a continuous optimization problem. The model maintains two sets of parameters: structural parameters (a softened adjacency matrix representing causal edge beliefs) and functional parameters (neural networks modeling conditional probabilities).

The iterative training loop of SDI, alternating between graph fitting, scoring, and credit assignment.

The training process follows a three-phase cycle:

  1. Graph Fitting: Multi-layer perceptrons (MLPs) are trained to maximize the likelihood of observational data using causal links sampled from current structural beliefs. Edge dropouts are employed to ensure the networks rely strictly on sampled parent nodes.
  2. Graph Scoring: When presented with interventional data, the model identifies the unknown intervention target by finding the variable whose likelihood drops most significantly compared to the observational model. It then scores sampled graphs while masking this target.
  3. Credit Assignment: Using a REINFORCE-like gradient estimator, structural parameters are updated based on these scores. Sparsity and acyclicity regularizers ensure the resulting graph is sparse and contains no cycles.

Identifying Unknown Interventions

A key insight of this work is that complex latent variable modeling is not required to find an unknown intervention. Because an intervention overrides a variable's natural causal mechanism, the observational model will naturally fail to predict that specific variable. SDI leverages this drop in log-likelihood to pinpoint intervention targets with high accuracy—correctly identifying the target 95% of the time in 3-variable graphs and 71% in 8-variable graphs.

Experimental Results

The authors evaluated SDI against several state-of-the-art baselines using both synthetic and real-world benchmarks from the BnLearn repository.

Structural Hamming Distance (SHD) comparison between SDI and existing causal discovery methods across benchmark datasets.

As shown in the results, SDI achieved perfect recovery (Structural Hamming Distance of 0) for the Asia dataset and most synthetic graphs up to 13 variables. It significantly outperformed established methods like NOTEARS and DAG-GNN. Furthermore, the model demonstrated impressive scalability in partial graph recovery tasks, completing the 48-variable Barley network with over 90% accuracy.

Limitations and Future Work

While powerful, SDI faces challenges regarding sample complexity. The reliance on REINFORCE and nested sampling loops can require hundreds of millions of samples in extreme cases. Additionally, while the model excels on sparse graphs, its performance and variance degrade as graph density increases (e.g., the full13 synthetic benchmark). Future research will focus on extending the framework to continuous variables and handling more complex, non-sparse intervention setups.

Summary updated

BibTeX
@misc{ke2019learning,
  author = {Nan Rosemary Ke and Olexa Bilaniuk and Anirudh Goyal and Stefan Bauer and Hugo Larochelle and Chris Pal and Yoshua Bengio},
  title = {{Learning Neural Causal Models from Unknown Interventions}},
  year = {2019},
  eprint = {1910.01075},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.01075},
}
Figure