SpaceTime: Causal Discovery from Non-Stationary Time Series
Sarah Mameche, Lénaïg Cornanguer, Urmi Ninad, Jilles Vreeken
TL;DR
SpaceTime addresses causal discovery in non-stationary, multi-context time series by unifying regime detection, context partitioning, and causal graph learning under a Minimum Description Length (MDL) framework. It employs Gaussian processes to model nonparametric causal mechanisms and uses an edge-greedy search to build a window causal graph, while kernel-based tests identify invariant contexts and regimes and a PELT-based method detects changepoints. Theoretical consistency is established under assumptions of regime persistence and independent mechanism changes, and the algorithm is validated on synthetic data and two real-world hydrology/meteorology case studies, revealing spatially varying causal strengths and regime-dependent structures. This approach enables joint inference of dynamic causal networks across space and time, providing insights into complex systems such as river discharge dynamics and biosphere-atmosphere interactions, with practical implications for understanding environmental and climate processes.
Abstract
Understanding causality is challenging and often complicated by changing causal relationships over time and across environments. Climate patterns, for example, shift over time with recurring seasonal trends, while also depending on geographical characteristics such as ecosystem variability. Existing methods for discovering causal graphs from time series either assume stationarity, do not permit both temporal and spatial distribution changes, or are unaware of locations with the same causal relationships. In this work, we therefore unify the three tasks of causal graph discovery in the non-stationary multi-context setting, of reconstructing temporal regimes, and of partitioning datasets and time intervals into those where invariant causal relationships hold. To construct a consistent score that forms the basis of our method, we employ the Minimum Description Length principle. Our resulting algorithm SPACETIME simultaneously accounts for heterogeneity across space and non-stationarity over time. Given multiple time series, it discovers regime changepoints and a temporal causal graph using non-parametric functional modeling and kernelized discrepancy testing. We also show that our method provides insights into real-world phenomena such as river-runoff measured at different catchments and biosphere-atmosphere interactions across ecosystems.
