Abstract
Traditional causal discovery methods are typically "one-off" tools that must be refit from scratch for every new dataset. This paper introduces Amortized Causal Discovery (ACD), a framework that trains a single model to infer causal relations across many different samples by leveraging shared underlying dynamics. By using a Graph Neural Network (GNN) based encoder-decoder architecture, ACD significantly outperforms existing methods in efficiency and accuracy, even in the presence of noise and hidden confounders.
Introduction
Inferring causal relationships in time-series data—such as brain activity or financial markets—is a fundamental challenge in science. Most current methods rely on Granger Causality: the principle that if the past of variable $X$ helps predict the future of variable $Y$ better than $Y$'s own past alone, then $X$ "Granger causes" $Y$.
However, existing deep learning approaches for this task suffer from a major efficiency gap. They assume all data originates from a single causal graph. If a researcher has 100 different patients with unique brain connectivity patterns, traditional methods require training 100 separate models. This approach is computationally expensive and ignores a critical fact: while the specific "wiring" (the graph) may vary between individuals, the "physics" (the underlying dynamics of interaction) usually remains consistent across the population.
Methods
The authors propose an encoder-decoder architecture based on Variational Inference and Graph Neural Networks (GNNs) to bridge this gap. As shown in the figure above, while previous approaches require a new model for every dataset, ACD uses a single shared model to process multiple distinct samples.
- Amortized Encoder: Instead of optimizing parameters for a specific graph, the encoder is a GNN that takes a time-series sample as input and predicts the edges of the causal graph. It learns a general mapping from data patterns to causal structures.
- Dynamics Decoder: The decoder takes the predicted edges and the current state of the system to predict the next time step, effectively learning the system's "laws of physics."
- The "No-Edge" Function: To enforce Granger causality, the authors implement a structural bias: if the encoder predicts "no edge" between two variables, the decoder is mathematically forced to ignore information from the source variable when predicting the target's future.
- Test-Time Adaptation (TTA): For scenarios with extremely limited data, the predicted graph can be further refined through a quick optimization step on the specific test sample, closing the "amortization gap."
Experimental Evaluation
The model was evaluated on several benchmarks modified to ensure asymmetric causal connectivity:
- Kuramoto Oscillators: Five phase-coupled oscillators.
- Particles: Five particles in 2D space with spring-based interactions.
- Netsim: Simulated fMRI data across 15 brain regions.
- Hidden Confounding: Specialized versions of the Particles dataset with unobserved variables to test robustness.
Key Results
- State-of-the-Art Performance: On the Kuramoto dataset, ACD achieved an AUROC of 0.952, significantly outperforming the next best baseline (0.647).
- Data Efficiency: ACD outperformed all previous methods using as few as 50 training samples, demonstrating the power of pooling statistical strength across different graphs.
- Robustness to Confounders: By extending the encoder to predict latent variables, the model successfully "explained away" correlations caused by hidden particles, recovering the true causal structure of the observed system.
Conclusion and Future Work
Amortized Causal Discovery represents a shift from fitting individual models to learning generalizable causal inference engines. While the current work relies on simulated data and the assumption of shared dynamics, it provides a formal bridge between GNN architectures and non-linear Granger causality. Future work will focus on applying ACD to complex, non-stationary real-world data and exploring architectures like Recurrent Neural Networks for longer-term temporal dependencies.
Summary updated