TRACE: Scalable Amortized Causal Discovery from Single Sequences via Autoregressive Density Estimation
Hugo Math, Rainer Lienhart
TL;DR
The paper tackles causal discovery from a single high-dimensional sequence of discrete events, a setting where repeated samples are unavailable and long-range dependencies complicate inference. It introduces TRACE, which repurposes pretrained autoregressive density estimators to estimate conditional mutual information and perform parallel, instance-level causal discovery, yielding a summary causal graph over event types with linear complexity in vocabulary size. The authors establish identifiability under an epsilon-strong faithfulness framework when the autoregressive model approximates the true distribution (an $\epsilon$-oracle), and they demonstrate robustness to imperfect models, long horizons, and high-dimensional vocabularies. Empirically, TRACE outperforms baselines on synthetic data and scales to real-world vehicle diagnostics with $|\mathcal{X}|\approx 29{,}000$, enabling scalable, GPU-accelerated causal discovery for industrial and healthcare sequences.
Abstract
We study causal discovery from a single observed sequence of discrete events generated by a stochastic process, as encountered in vehicle logs, manufacturing systems, or patient trajectories. This regime is particularly challenging due to the absence of repeated samples, high dimensionality, and long-range temporal dependencies of the single observation during inference. We introduce TRACE, a scalable framework that repurposes autoregressive models as pretrained density estimators for conditional mutual information estimation. TRACE infers the summary causal graph between event types in a sequence, scaling linearly with the event vocabulary and supporting delayed causal effects, while being fully parallel on GPUs. We establish its theoretical identifiability under imperfect autoregressive models. Experiments demonstrate robust performance across different baselines and varying vocabulary sizes including an application to root-cause analysis in vehicle diagnostics with over 29,100 event types.
