The Causal-Neural Connection: Expressiveness, Learnability, and Inference

Kevin Xia, Kai-Zhan Lee, Yoshua Bengio, Elias Bareinboim

Introduction

While neural networks are celebrated for their ability to approximate any function, they face a fundamental barrier when it comes to causality. According to the Pearl Causal Hierarchy (PCH), reasoning is divided into three distinct levels: Seeing (Association), Doing (Intervention), and Imagining (Counterfactuals). Standard deep learning operates primarily at the first level, relying on observational data. This paper introduces Neural Causal Models (NCMs), a framework designed to bridge this gap by embedding causal structural constraints directly into neural architectures, enabling the estimation of causal effects through gradient-based optimization.

The Challenge of Causal Learnability

A common misconception in machine learning is that sufficient data and model expressivity can solve any task. However, the Causal Hierarchy Theorem proves that even an infinitely expressive model trained on observational data cannot predict the outcome of an intervention without additional structural assumptions. Historically, bridging these layers required symbolic logic, such as Pearl’s do-calculus. The authors propose replacing these symbolic manipulations with a neural optimization framework that respects the underlying causal geometry.

Neural Causal Models (NCMs)

The core of this approach is the Neural Causal Model (NCM), a Structural Causal Model (SCM) where internal mechanisms are parameterized by feedforward neural networks.

The relationship between the unobserved Structural Causal Model (SCM) and the learned Neural Causal Model (NCM), constrained by a causal diagram.

Key Architectural Features:

  1. Inductive Bias ($\mathcal{G}$-consistency): A causal diagram (DAG) is encoded into the network's connectivity. If the diagram specifies that variable $X$ causes $Y$, the NCM ensures the sub-network for $Y$ receives $X$ as an input.
  2. Handling Unobserved Confounders: To model complex probability distributions and latent variables, NCMs utilize a "Gumbel-max" style approach for discrete variables, mapping uniform noise into the required distributions.

Neural Identification via Optimization

One of the paper's most significant contributions is the use of optimization as a prover for causal identifiability. To determine if a causal query (e.g., "What is the effect of $X$ on $Y$?") is identifiable, the framework trains two NCMs simultaneously: one to maximize the predicted effect and another to minimize it.

Visualizing identifiability: multiple models may fit observational data ($L_1$) but diverge on interventional queries ($L_2$) without structural constraints.

As illustrated above, if both models converge to the same value despite their competing objectives, the effect is considered identifiable. If a significant "max-min gap" remains, it serves as empirical evidence that the available data and graph are insufficient to provide a unique answer (non-identifiable). This "Neural Identification" allows for integrated estimation, where identifiability and statistical estimation occur within a single gradient-based loop.

Experimental Validation

The authors evaluated NCMs using synthetic data from eight canonical causal graphs, including both identifiable cases (e.g., Front-door, Napkin-graph) and non-identifiable cases (e.g., Bow-graph, Instrumental Variable setup).

  • Accuracy and Convergence: In identifiable settings, the max-min gap consistently shrank toward zero. For these cases, NCMs were competitive with or outperformed traditional estimators like Weighted Empirical Risk Minimization (WERM).
  • Scalability: The method proved robust in high-dimensional variants where binary variables were mapped into 20-dimensional vectors. This suggests that NCMs can handle complex data representations (like images or text) more effectively than symbolic methods.

Insights and Future Directions

The paper establishes a "Graphical-Neural Equivalence," proving that neural optimization is theoretically as powerful as symbolic do-calculus. However, the authors note that this relies on the optimizer finding global optima. Future work includes integrating NCMs with Causal Discovery (learning the graph itself) and extending the framework's rigor to continuous variables. By treating causal inference as an optimization problem, this research provides a scalable path for integrating deep learning with rigorous causal reasoning.

Summary updated

BibTeX
@inproceedings{xia2021causal,
  author = {Kevin Xia and Kai-Zhan Lee and Yoshua Bengio and Elias Bareinboim},
  title = {{The Causal-Neural Connection: Expressiveness, Learnability, and Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=wcbZr9yxvD},
}
Figure