Introduction
Causal discovery aims to uncover the underlying mechanisms governing complex systems from observational data. However, most existing methods rely on the assumption of stationarity—the idea that causal relationships remain constant over time. In real-world domains like climate science or ecology, this assumption is frequently violated. Causal mechanisms often shift due to seasonal changes (temporal non-stationarity) or vary across different geographical locations (spatial heterogeneity).
The SPACETIME Framework
To address these challenges, we introduce SPACETIME, a unified framework designed for causal discovery in non-stationary and heterogeneous environments. SPACETIME leverages the Minimum Description Length (MDL) principle, positing that the true causal model is the one that most efficiently compresses the observed data.
The framework integrates three key tasks:
- Causal Graph Discovery: Identifying directed acyclic graphs (DAGs) that represent the causal links between variables.
- Regime Reconstruction: Detecting temporal changepoints where causal rules shift and identifying recurring regimes.
- Context Partitioning: Grouping different datasets or locations that share the same causal mechanisms into "contexts."
SPACETIME operates through an iterative process involving an edge-greedy search for graph structure, Gaussian Process-based changepoint detection, and kernelized hypothesis testing for regime partitioning. This allows the model to capture non-linear, complex interactions common in natural systems.
Experimental Results
We evaluated SPACETIME against state-of-the-art competitors, including PCMCI+, DYNOTEARS, and VARLiNGAM, using both synthetic benchmarks and real-world environmental datasets.
Synthetic Benchmarks
In controlled simulations with non-linear causal shifts and hidden regimes, SPACETIME consistently outperformed existing methods. It demonstrated superior accuracy in identifying the direction of causal edges and the precise timing of regime transitions, as measured by F1 scores and Adjusted Rand Index (ARI).
Real-World Case Studies
- River Discharge (GRDC): Analyzing temperature, precipitation, and runoff across 307 European catchments, SPACETIME correctly identified the lagged influence of precipitation on runoff and mapped how this interaction strength varies spatially.
- FLUXNET: In a study of biosphere-atmosphere fluxes, the framework successfully identified distinct causal regimes during the 2003 European heatwave. It revealed that extreme meteorological events force ecosystems into unique functional states that differ significantly from normal conditions.
Conclusion
SPACETIME provides a robust approach to causal discovery by treating causality as a means of data compression across changing environments. While computationally more intensive than stationary methods, its ability to handle recurring regimes and spatial heterogeneity makes it a powerful tool for analyzing complex, real-world time series. Future research will focus on optimizing the framework for global-scale datasets and addressing potential latent confounders.
Summary updated