Differentiable Causal Backdoor Discovery

Limor Gultchin, Matt J. Kusner, Varun Kanade, Ricardo Silva

Abstract

Discovering the causal effect of a decision is critical to nearly all forms of decision-making. In particular, it is a key quantity in drug development, in crafting government policy, and when implementing business strategies. This paper introduces a fully differentiable, gradient-based optimization method to identify the "backdoor" variables needed to estimate causal effects from observational data. By leveraging an auxiliary variable and continuous optimization, the authors bypass the need for expensive combinatorial searches or knowing the full causal graph.

Introduction

In causal inference, a primary goal is to determine the Average Treatment Effect (ATE): the expected change in an outcome $Y$ resulting from an intervention on treatment $X$. While randomized controlled trials are the gold standard, researchers often must rely on observational data. Such data is frequently plagued by "confounders"—variables that influence both $X$ and $Y$—which introduce bias into causal estimates.

To address this, researchers use backdoor adjustment, "controlling for" a set of variables $Z^*$ that blocks non-causal paths. Traditionally, identifying $Z^*$ requires knowing the full Directed Acyclic Graph (DAG) of the system, a task that is computationally expensive and often yields ambiguous results. This paper proposes a novel question: Can we identify the necessary adjustment variables without first learning the entire causal graph?

Methodology: Causal Supervised Learning

The authors reformulate causal discovery as a continuous optimization task, a "causal supervised learning" approach that avoids discrete combinatorial searches.

Causal graph illustrating the relationships between the auxiliary variable $W$, treatment $X$, outcome $Y$, and potential confounders $Z$.

The method relies on several key components:

  1. The Auxiliary Variable ($W$): The framework assumes the existence of an observed variable $W$ associated with treatment $X$ but having no direct path to outcome $Y$ except through $X$ and the adjustment set. This variable serves as a "certified" anchor for the causal chain.
  2. Continuous Representation: Instead of selecting discrete variables, the model learns a representation function $\phi(Z)$ of the covariates. In linear settings, this is a weighted combination ($\beta^T Z$).
  3. Differentiable Objective: The algorithm minimizes a dependence measure (such as absolute partial correlation) between $W$ and $Y$, conditioned on $X$ and $\phi(Z)$. If $W$ is independent of $Y$ given $X$ and $Z^*$, then $Z^*$ is mathematically certified as a valid backdoor set.
  4. Sparsity via $L_1$ Penalty: To avoid "over-adjusting" and introducing new biases (like M-bias), an $L_1$ penalty is added to force the selection of a minimal, sufficient adjustment set.

By making the objective function continuous and differentiable, the method can leverage standard gradient descent and GPU acceleration, making it significantly more scalable than previous search-based algorithms.

Experimental Evaluation

The proposed method was evaluated using both high-dimensional synthetic benchmarks and real-world-inspired data from the UK National Health Service (NHS).

Comparison of Average Treatment Effect (ATE) error distributions across different discovery methods, showing the superior performance of the proposed differentiable approach.

In synthetic tests, the differentiable approach consistently achieved lower ATE error compared to several baselines: "Marginal" (no adjustment), "All Z" (adjusting for all covariates), and the state-of-the-art search algorithm by Entner et al. (2013). Notably, the method proved robust across varying noise levels and causal effect strengths.

On the NHS dataset—modeling the effect of workplace training on well-being—the proposed method achieved an ATE error of 0.163. This significantly outperformed the "All Z" baseline (0.324) and the Entner et al. algorithm (0.771), demonstrating its ability to filter out harmful variables that mislead other discovery methods.

Discussion and Conclusion

This work demonstrates that targeted discovery is a powerful alternative to full graph learning. By focusing specifically on the $X \to Y$ relationship, the causal discovery problem becomes much more tractable. The core insight—using conditional independence as a proxy for structural validity—allows causal inference to benefit from the optimization techniques central to modern deep learning.

While the current implementation relies on certain parametric assumptions (e.g., linear Gaussian relationships), the underlying concept is general. Future research will explore extending this framework to semi-parametric models using neural networks and handling more complex sets of treatment and auxiliary variables.

Summary updated

BibTeX
@inproceedings{gultchin2020differentiable,
  author = {Limor Gultchin and Matt J. Kusner and Varun Kanade and Ricardo Silva},
  title = {{Differentiable Causal Backdoor Discovery}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=HyKADfeZwHm},
}
Figure