Causal Time Series Generation via Diffusion Models
Yutong Xia, Chang Xu, Yuxuan Liang, Qingsong Wen, Roger Zimmermann, Jiang Bian
TL;DR
This work reframes conditional time series generation as a causal task on Pearl's causal ladder, introducing Obs-TSG, Int-TSG, and CF-TSG. It presents CaTSG, a diffusion-based framework that uses backdoor-adjusted guidance and a latent environment bank to handle unobserved confounding and enable interventional and counterfactual generation. The methodology derives interventional and counterfactual score functions via backdoor adjustment and abduction–action–prediction, and demonstrates improved fidelity and counterfactual capabilities on synthetic and real datasets. The approach offers a promising path toward reliable simulation under interventions and personalized counterfactual generation in time series, with potential impact on policy planning, risk assessment, and decision support.
Abstract
Time series generation (TSG) synthesizes realistic sequences and has achieved remarkable success. Among TSG, conditional models generate sequences given observed covariates, however, such models learn observational correlations without considering unobserved confounding. In this work, we propose a causal perspective on conditional TSG and introduce causal time series generation as a new TSG task family, formalized within Pearl's causal ladder, extending beyond observational generation to include interventional and counterfactual settings. To instantiate these tasks, we develop CaTSG, a unified diffusion-based framework with backdoor-adjusted guidance that causally steers sampling toward desired interventions and individual counterfactuals while preserving observational fidelity. Specifically, our method derives causal score functions via backdoor adjustment and the abduction-action-prediction procedure, thus enabling principled support for all three levels of TSG. Extensive experiments on both synthetic and real-world datasets show that CaTSG achieves superior fidelity and also supporting interventional and counterfactual generation that existing baselines cannot handle. Overall, we propose the causal TSG family and instantiate it with CaTSG, providing an initial proof-of-concept and opening a promising direction toward more reliable simulation under interventions and counterfactual generation.
