Trust Your 𝛁: Gradient-based Intervention Targeting for Causal Discovery

Mateusz Olko, Michal Zajac, Aleksandra Nowak, Nino Scherrer, Yashas Annadani, Stefan Bauer, Lukasz Kucinski, Piotr Milos

TL;DR

Gathering experimental data to infer causal graphs is often expensive, making it crucial to pick the most informative intervention targets. Gradient-based Intervention Targeting (GIT) actively chooses which variable to intervene on by "trusting" the gradient estimator of an underlying gradient-based causal discovery model, selecting targets that yield the largest parameter updates on model-generated "imaginary" data. Across synthetic and real-world causal graphs, GIT matches or outperforms existing active causal discovery baselines—excelling especially in low-data regimes.

What Problem Does This Paper Address?

Observational data alone is generally insufficient to uniquely identify a system's true Directed Acyclic Graph (DAG); it can only narrow the structure down to a Markov Equivalence Class (MEC) containing multiple observationally indistinguishable graphs. Resolving the remaining edge directions requires interventions (controlled experiments). However, conducting interventions in real-world environments—such as clinical trials or biology wet labs—is costly, slow, and resource-constrained.

To minimize the number of required experiments, active causal discovery (experimental design) selects which variables to manipulate next. Existing strategies suffer from key flaws:

  • Graph-theoretic methods rely on heuristics on completed partially directed acyclic graphs (CPDAGs), which can fail catastrophically if early graph approximations are misspecified.
  • Bayesian optimal experimental design aims to maximize mutual information (MI) between interventions and graph beliefs (e.g., AIT or CBED), but computing MI requires rough approximations that frequently break down in practice.

The authors propose a simpler, practical alternative tailored to modern gradient-based causal discovery.

Methods

GIT is built for parametric, gradient-based causal discovery frameworks (such as ENCO or DiBS) that maintain a distribution over graph structures.

       Current Belief P_ρ(G)
                │
                ▼
   Sample "Imaginary" Data P_G,i
   for Candidate Interventions
                │
                ▼
Evaluate Gradient Norms: ||∇_ρ L||
                │
                ▼
Select Intervention Target with
       Max Gradient Score
                │
                ▼
Perform Real Experiment & Update Model
  • Gradient-Based Scoring: GIT scores candidate target variable $i \in V$ by the expected gradient norm of the structural parameters: $$\| \nabla_\rho \mathcal{L} \|$$ Intuitively, this picks the intervention target where the model expects to be the "most mistaken," generating the largest corrective step.

  • Imaginary Interventions: Evaluating gradients using real interventional data prior to intervention is impossible without actually running the experiment (an oracle baseline the authors designate as GIT-privileged). GIT circumvents this by generating synthetic, "imaginary" interventional samples directly from its running causal model and current structural belief.

  • Structural Separation: In ENCO, edges are parameterized by existence ($\gamma$) and orientation ($\theta$). GIT scores targets using only the gradients of structural parameters ($\|\nabla_\gamma \mathcal{L}\|^2 + \|\nabla_\theta \mathcal{L}\|^2$), ignoring functional neural network parameters.

Datasets

The authors evaluated methods on an online causal discovery pipeline (5,000 observational samples, followed by acquiring 32-sample interventional batches across either 33 rounds/1,056 samples or 100 rounds/3,200 samples):

  • Synthetic 25-node DAGs: bidiag, chain, collider, jungle, fulldag, and Erdos-Renyi random graphs (categorical variables with 10 categories; conditional distributions parameterized by MLPs).
  • Real-World Benchmarks (BnLearn): Six standard Bayesian networks: alarm, child, asia, cancer, earthquake, and sachs.
  • Large-Scale Continuous Settings (DiBS): 50-node Erdos-Renyi and Scale-Free graphs evaluated with soft variants of GIT, AIT, and CBED.

Key Insights and Ideas

  • Model-Simulated Gradients are Trustworthy: Despite being evaluated on imaginary data produced by an imperfect model, GIT's target scores show a 0.73 Spearman rank correlation with oracle gradients computed using real interventional data (GIT-privileged).
  • Targeting High-Leverage and Uncertain Subgraphs: Qualitative analysis reveals that GIT consistently targets high out-degree nodes (whose interventions cascade through the network), topographically early nodes, and nodes adjacent to reversible edges in the MEC.
  • Uncovering Rare Observational Events: In graphs with rare events (e.g., earthquake or cancer), conditional distributions for child nodes are difficult to infer observationally. GIT automatically isolates and targets these critical low-frequency nodes to reveal downstream dependencies.
  • Robustness Against Approximations: Unlike MI-based baselines (CBED and AIT), which accumulate compounding errors when estimating mutual information across Monte Carlo graph samples, gradient magnitude provides a numerically stable surrogate for information utility.

Key Results

Performance was evaluated using Structural Hamming Distance (SHD) and Area Under the SHD curve (AUSHD) across 24 experimental configurations (12 graphs $\times$ 2 data regimes):

  • Dominance in Low-Data Regimes ($N = 1056$): GIT matched or outperformed all other non-privileged methods in 11 out of 12 benchmark graphs (surpassed only by AIT on cancer).
  • Overall Performance: Under the AUSHD metric, GIT was best or comparable to baselines in 18 out of 24 configurations (versus 12/24 for Random, 6/24 for CBED, and 6/24 for AIT). In direct pairwise comparisons across all 96 settings, GIT was superior in 45, tied in 35, and worse in only 16.
  • Near-Oracle Parity: GIT closely matched the soft upper bound of GIT-privileged in 10 low-data setups and 5 regular-data setups.

Limitations and Future Work

  • Framework Constraints: GIT requires a causal discovery backend that maintains an explicit distribution over graphs, supports sampling imaginary data from its beliefs, and exposes structural parameter gradients.
  • Target Selection Only: GIT currently decides which node to intervene on, but does not choose the specific intervention value (setting continuous intervention levels remains an open challenge).
  • Diminished Returns in High-Data Regimes: On very small graphs where the MEC is a singleton or when interventional data becomes abundant, the relative edge of GIT over simple round-robin random acquisition decreases.
  • Heuristic Nature: While effective, gradient magnitudes remain a proxy; future work could investigate meta-learning the intervention targeting policy directly.

Summary updated

Abstract

Inferring causal structure from data is a challenging task of fundamental importance in science. Often, observational data alone is not enough to uniquely identify a system’s causal structure. The use of interventional data can address this issue, however, acquiring these samples typically demands a considerable investment of time and physical or financial resources. In this work, we are concerned with the acquisition of interventional data in a targeted manner to minimize the number of required experiments. We propose a novel Gradient-based Intervention Targeting method, abbreviated GIT, that ’trusts’ the gradient estimator of a gradient-based causal discovery framework to provide signals for the intervention targeting function. We provide extensive experiments in simulated and real-world datasets and demonstrate that GIT performs on par with competitive baselines, surpassing them in the low-data regime.
BibTeX
@inproceedings{olko2023trust,
  author = {Mateusz Olko and Michal Zajac and Aleksandra Nowak and Nino Scherrer and Yashas Annadani and Stefan Bauer and Lukasz Kucinski and Piotr Milos},
  title = {{Trust Your 𝛁: Gradient-based Intervention Targeting for Causal Discovery}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=dmD63sv0TZ},
}
Figure