Abstract: Causal discovery for both cross-sectional and temporal data has traditionally followed a dataset-specific paradigm, where a new model is fitted for each individual dataset. Such an approach limits the potential of multi-dataset pretraining. The concept of large causal models (LCMs) envisions a class of pre-trained neural architectures specifically designed for temporal causal discovery. Prior approaches are constrained to small variable counts, degrade with larger inputs, and rely heavily on synthetic data, limiting generalization. We propose a principled framework for LCMs, combining diverse synthetic generators with realistic time-series datasets, allowing learning at scale. Extensive experiments on synthetic, semi-synthetic and realistic benchmarks show that LCMs scale effectively to higher variable counts and deeper architectures while maintaining strong performance. Trained models achieve competitive or superior accuracy compared to classical and neural baselines, particularly in out-of-distribution settings, while enabling fast, single-pass inference. Results demonstrate LCMs as a promising foundation-model paradigm for temporal causal discovery. Experiments and model weights are available at https://github.com/kougioulis/LCM-paper/.
1. Introduction
Traditional temporal causal discovery (CD) has long been a dataset-specific endeavor. When presented with a new multivariate time-series dataset, researchers typically deploy algorithms such as PCMCI, DYNOTEARS, or VARLiNGAM that perform an exhaustive search for causal structures from scratch. This paradigm is computationally expensive, often scaling superlinearly with the number of variables and time lags, and fails to leverage the potential of multi-dataset pre-training.
This paper introduces Large Causal Models (LCMs), a foundation-model approach to temporal causal discovery. By reframing CD as a supervised multi-label classification problem, LCMs can learn to infer causal relationships across a vast and diverse corpus of time-series data. Once pre-trained, these models perform zero-shot causal discovery in a single forward pass, offering significant speedups and robust generalization to unseen domains.
2. The LCM Framework
The core idea behind LCMs is to amortize the cost of causal search into the weights of a neural network. The model takes a multivariate time series $X \in \mathbb{R}^{L \times V}$ as input and directly predicts a lagged adjacency tensor $\mathcal{C} \in [0, 1]^{V_{max} \times V_{max} \times \tau_{max}}$, where each entry represents the probability of a directed causal edge between two variables at a specific time lag.
As illustrated in the pipeline above, the LCM lifecycle consists of three main stages:
- Data Curation: Combining synthetic generators with realistic simulators to create a large-scale corpus of (time-series, causal graph) pairs.
- Supervised Training: Training the model $f_\theta$ to minimize the binary cross-entropy loss between predicted and ground-truth causal graphs.
- Zero-shot Discovery: Deploying the pre-trained model on unseen datasets without any retraining or gradient updates.
3. Model Architecture
The LCM architecture is designed to capture complex temporal dependencies while remaining scalable. It utilizes a convolution-enhanced Transformer encoder, which processes the input time series through a series of multi-head self-attention and 1D convolutional layers.
To enhance performance, the authors incorporate "Training Aids" into the network. Specifically, empirical lagged cross-correlations are calculated from the input and concatenated to the Transformer's output before the final feed-forward network. This "Correlation Injection" provides the model with strong statistical cues. Furthermore, a "Correlation Regularization" term is added to the loss function, encouraging the model to align its causal predictions with observed empirical correlations.
4. Data-Centric Pre-training
The success of LCMs hinges on the diversity and scale of the training data. The authors curated a corpus of 275,000 instances, totaling 137.5 million time points. This corpus includes:
- Synthetic Data: Generated via Temporal Structural Causal Models (TSCMs) with varying functional forms (linear, non-linear) and graph structures.
- Realistic Data: Created using "causal twins"—simulators derived from real-world datasets in domains like meteorology and energy.
A key finding is the "80/20 rule": a mixture of 80% synthetic and 20% realistic data provides the best balance between structural diversity and real-world fidelity, enabling the model to generalize to complex, unseen dynamics.
5. Results and Scaling
LCMs demonstrate state-of-the-art performance across several benchmarks. In synthetic evaluations, they match or exceed the accuracy of established baselines. More importantly, they exhibit strong zero-shot generalization on out-of-distribution (OOD) datasets, such as fMRI brain activity simulations and Kuramoto oscillators, achieving AUC scores near 0.99.
Computational efficiency is another major advantage. While classical methods' runtimes explode as the number of variables increases, the LCM's inference time remains constant ($O(1)$ relative to the search space), enabling near-instantaneous causal discovery even for larger systems. Finally, the authors observe clear scaling laws: increasing model parameters (from 2.5M to 24M) consistently improves performance, provided the training data scale is increased proportionally.
6. Conclusion and Future Work
LCMs represent a shift toward a foundation-model paradigm for causal discovery. By training on a massive, heterogeneous corpus, these models overcome the limitations of previous neural approaches and offer a scalable, fast alternative to classical methods. Current limitations include the assumption of causal sufficiency and the absence of contemporaneous effects. Future research will focus on relaxing these assumptions and scaling to even higher-dimensional systems and longer temporal horizons.
Summary updated