Counterfactual Identifiability of Bijective Causal Models

Arash Nasr-Esfahany, Mohammad Alizadeh, Devavrat Shah · DOI

Introduction

In causal inference, Judea Pearl’s "Ladder of Causation" distinguishes between three levels of reasoning: association (seeing), intervention (doing), and counterfactuals (imagining). While associational and interventional queries are well-studied, the jump to counterfactual reasoning ($L_3$) is notoriously difficult. Answering "what-if" questions—such as "would the patient have recovered if they hadn't taken the medicine?"—typically requires strong, often unverifiable assumptions about the underlying functional mechanisms of the world.

This paper introduces Bijective Generation Mechanisms (BGM), a flexible class of causal models designed to bridge this gap. By combining causal theory with deep generative modeling, specifically Normalizing Flows, the authors demonstrate that counterfactuals can be uniquely identified and efficiently computed, even in the presence of unobserved confounders.

Bijective Generation Mechanisms (BGM)

The core innovation is the BGM framework. In a BGM, an outcome $V$ is generated by a function $f$ of its parents $X$ and exogenous noise $U$. The defining characteristic is that for any fixed $X$, the mapping between $U$ and $V$ is bijective (invertible).

This bijectivity is crucial for the "Abduction" step of counterfactual reasoning. It allows researchers to calculate the exact noise $U$ that led to an observed outcome, which can then be used to simulate alternative scenarios. BGMs generalize several popular models, including Nonlinear Additive Noise Models (ANM) and Post-Nonlinear (PNL) models, into a unified framework.

Identifiability and Causal Structures

The authors provide theoretical proofs for the counterfactual identifiability of BGMs under three common causal structures:

  1. Markovian: Settings with no unobserved confounding.
  2. Instrumental Variable (IV): Using an external "instrument" to resolve confounding between treatment and outcome.
  3. Backdoor Criterion (BC): Using a set of observed variables to block spurious correlations.
Comparison of Markovian and Non-Markovian causal structures.

In the Markovian case, the absence of unobserved confounding simplifies the identification process. However, real-world data often involves hidden variables. The paper shows that BGMs remain identifiable in more complex scenarios, such as those satisfying the IV or Backdoor criteria.

Causal diagrams for the Instrumental Variable (IV) and Backdoor Criterion (BC) settings.

Structured Generative Networks

To implement these models, the authors propose using Conditional Normalizing Flows. Rather than relying on complex adversarial training, they design the network architecture to inherit the required independence constraints naturally. For instance, in the IV case, the latent noise is sampled independently of the instrument, forcing the model to learn a valid causal representation by construction. This approach avoids the instability of min-max optimization games common in other causal discovery methods.

Experimental Results

The framework was evaluated on both synthetic and real-world tasks:

  • Counterfactual Ellipse Generation: In this synthetic visual task, the model must "imagine" the full shape of an ellipse given only a single point and an angle. The BGM approach achieved a 1% Mean Absolute Percentage Error (MAPE), while standard baselines that ignored causal structure failed with errors exceeding 6000%.
  • Video Streaming Simulation: Using a simulator for Adaptive Bitrate (ABR) algorithms, the authors estimated counterfactual throughput for video chunks. The BGM-based IV method matched the accuracy of state-of-the-art baselines like CausalSim but converged 8.6x faster.
  • Structural Synergy: Combining IV and Backdoor structures reduced average error by nearly 38% compared to using the Backdoor criterion alone, proving the framework's ability to leverage multiple sources of causal information.

Conclusion and Future Work

BGMs offer a powerful, efficient path toward counterfactual reasoning in complex systems. While the current work assumes prior knowledge of the causal Directed Acyclic Graph (DAG) and focuses primarily on scalar variables for certain proofs, it sets the stage for future extensions into high-dimensional causal discovery. By making bijectivity the minimal requirement for identifiability, this research provides a practical bridge between theoretical causality and modern machine learning.

Summary updated

BibTeX
@inproceedings{nasresfahany2023counterfactual,
  author = {Arash Nasr-Esfahany and Mohammad Alizadeh and Devavrat Shah},
  title = {{Counterfactual Identifiability of Bijective Causal Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=4KeshY2gzB},
}
Figure