TL;DR
Can deep learning bypass the fundamental mathematical limits of causal discovery? By analyzing the transformer-based CSIvA architecture, this paper shows that amortized causal discovery remains strictly bound by classical identifiability theory: training data merely acts as an implicit prior over structural causal models. However, the authors demonstrate that training transformers on mixtures of distinct identifiable causal models substantially boosts generalization on unseen data and real-world benchmarks.
What Problem Does This Paper Address?
Inferring cause and effect from purely observational data is an ill-posed inverse problem. Without restrictive assumptions on the underlying Structural Causal Model (SCM)—such as linearity with non-Gaussian noise (LiNGAM) or non-linear additive noise models (ANM)—multiple directed acyclic graphs (DAGs) can generate the exact same joint probability distribution.
Recent deep learning methods for amortized causal discovery (such as CSIvA) train neural networks on synthetic data to directly predict DAGs from observations. Early work suggested that supervised learning could bypass classical identifiability constraints and handle arbitrary data-generating processes without explicit structural assumptions. This paper investigates whether that claim holds: does amortized inference truly escape identifiability limits, how well does it generalize out-of-distribution (OOD), and what structural priors are actually being learned?
Methods
The authors analyze CSIvA (Causal Structure Induction via Attention), an encoder-decoder transformer that uses alternating attention across attributes and samples to map observational tabular data to an adjacency matrix.
- Identifiability Probes: The authors design closed-form synthetic experiments where the true causal direction is mathematically ambiguous (e.g., pairs of variables admitting both a forward linear model and a backward non-linear model with the same joint distribution, or unidentifiable linear Gaussian models).
- Mixture-of-SCMs Training: To fix the poor out-of-distribution generalization of single-SCM models, the authors propose training CSIvA on mixtures of distinct identifiable model classes (combinations of linear, additive non-linear, and post-non-linear mechanisms across multiple noise families).
- Theoretical Justification: The authors prove that the space of non-identifiable distributions in the post-additive noise model (post-ANM) is confined to a 2-dimensional subspace within an infinite-dimensional distribution space, meaning ambiguous overlap between identifiable SCM families is measure-zero / practically negligible.
Datasets
- Synthetic Bivariate Datasets: ~15,000 datasets (1,500 samples each), normalized to prevent variance-based shortcuts (varsortability).
- Mechanisms: Linear, Non-linear (parameterized via MLPs and Gaussian Processes), and Post-Nonlinear (PNL with $z \mapsto z^3$).
- Noise distributions: Beta, Gamma, Gumbel, Exponential, Uniform, Gaussian, and MLP-transformed Gaussian.
- Real-World / Semi-Real Benchmarks:
- Tübingen Cause-Effect Pairs: 102 bivariate real-world pairs.
- Sachs Dataset: 9 bivariate subgraphs extracted from single-cell protein signaling.
- AutoMPG: 3 bivariate subgraphs on car fuel consumption.
- Sprinkler: 2 bivariate subgraphs of categorical observations.
Key Insights and Ideas
- Transformers Cannot Defy Identifiability: When trained on non-identifiable linear Gaussian data, CSIvA performs strictly at chance level ($\text{SHD} \approx 0.5$). When trained on synthetic data admitting both forward linear and backward non-linear factorizations, CSIvA predicts each direction with 50% probability. The training distribution acts as an implicit prior; supervised models cannot magically resolve fundamental observational equivalences.
- Brittleness Across Mechanisms and Noise: A transformer trained only on linear mechanisms fails when evaluated on non-linear mechanisms (and vice versa), degrading to coin-flip performance. Generalization across unseen noise distributions is similarly fragile.
- Mixture Training Unlocks Broader Generalization: Because the overlap between identifiable model classes is mathematically negligible, training on a diverse mixture of identifiable mechanisms and noise terms does not introduce ambiguity. Instead, it enables the network to generalize across heterogeneous real-world causal mechanisms.
Key Results
- In-Distribution vs. OOD: CSIvA matches specialized classical baselines (DirectLiNGAM, NoGAM) in-distribution ($\text{SHD} \approx 0$). However, on unseen mechanisms, its Structural Hamming Distance degrades to the random coin-flip baseline ($\text{SHD} \approx 0.5$).
- Mixture Training Benefits:
- Training on mixtures of mechanisms (linear + nonlinear + PNL) slashes test SHD on linear and non-linear test data from $\sim 0.5$ down to $\sim 0.2$.
- Training across multiple noise distributions yields near-perfect noise agnosticism ($\text{SHD} < 0.1$ across most test distributions).
- Real-World Superiority: On the Tübingen pairs and AutoMPG benchmarks, the "mixed-mixed" CSIvA model outperforms or matches all classical algorithms (DirectLiNGAM, CAM, NoGAM, and GraNDAG).
Limitations and Future Work
- Bivariate Focus: Empirical validation is primarily restricted to bivariate cause-effect pairs ($X \to Y$ vs. $Y \to X$), though the authors discuss how the restricted ANM theorem theoretically links bivariate identifiability to multivariate DAGs.
- Observational Only: The study does not evaluate active or passive interventional data.
- Single Architecture: Experiments focus solely on CSIvA, leaving open whether other amortized causal architectures display different inductive biases.
- Noise Coverage Trade-off: While mechanism types are few and easily mixed in training, the space of real-world noise distributions is infinite, making complete training coverage practically unattainable.
Summary updated