SpaceTime MDL Regime Discovery
- The paper presents a unified framework that jointly discovers regime changepoints, causal graphs, and context partitions using an MDL criterion and nonparametric Gaussian Process models.
- It leverages kernel-based conditional independence tests to accurately partition both time intervals and spatial domains, addressing spatial-temporal heterogeneity in complex datasets.
- Empirical evaluations on synthetic benchmarks and real-world environmental data demonstrate improved directed F1 for causal graph recovery and robust changepoint detection.
SpaceTime MDL-Based Regime Discovery is a unified approach for causal discovery in non-stationary, multi-context time series data. By leveraging the Minimum Description Length (MDL) principle, this framework combines identification of regime changepoints, causal graph structure learning, and partitioning of both datasets (“contexts”) and time intervals (“regimes”) into domains where invariant causal mechanisms govern the data. Unlike methods that assume stationarity or allow only a single form of distributional change, SpaceTime models both spatial and temporal heterogeneity, with mechanisms allowed to shift independently across blocks. The method operates by fitting nonparametric Gaussian Process (GP) models to each system component, detecting mechanism changes using kernel-based statistics, and minimizing a global MDL criterion over all partitions and graphs (Mameche et al., 17 Jan 2025).
1. Problem Formulation and Motivation
Many real-world processes—such as climate, hydrology, or ecosystem fluxes—exhibit nonstationarity: causal relationships change over time (e.g., seasonal effects, long-term trends) and may vary across spatial domains or operational contexts (e.g., different catchments or ecosystems). Standard time series causal discovery often assumes a single, stable (stationary) generating process, risking failure to detect shifting or repeated regimes and spatially localized event structures. The regime discovery task is to learn:
- A window causal graph (a condensed DAG incorporating both instantaneous and lagged dependencies)
- A set of temporal regime changepoints
- A regime partition of time indices, segmenting the data into intervals where mechanisms are constant
- A context partition of datasets, grouping spatial locations with identical mechanisms
The aim is that, within each block defined by the context–regime tuple , the system’s causal mechanisms are stable, but these mechanisms may differ across blocks (Mameche et al., 17 Jan 2025).
2. Formal Definitions: Contexts, Regimes, and Causal Models
Formally, given continuous variables observed over timepoints in datasets, data are denoted for each . The partitioning constructs are as follows:
- Contexts: Partition 0 of datasets such that within each 1, all members share identical variable mechanisms.
- Changepoints and Regimes: Changepoints 2 signal times where any variable’s mechanism shifts. The intervals between changepoints segment time into regimes 3 so that all timepoints in a regime share identical mechanisms.
- Spatio-Temporal Block: For context 4 and regime 5, 6 denotes the collection 7.
The underlying generative model assumes that for all 8, 9, each variable 0 admits a structural equation: 1 where 2 denotes the set of (instantaneous and lagged) parents in window graph 3, and 4 may differ across context–regime blocks (Mameche et al., 17 Jan 2025).
3. Minimum Description Length (MDL) Objective
SpaceTime operationalizes regime and context discovery by employing the two-part MDL principle as an approximation to Kolmogorov complexity within the Algorithmic Model of Causation. For candidate model 5 and data 6: 7 where 8 encodes the graph, changepoints, and partitions, and
9
Each conditional is modeled using a Gaussian Process with kernel 0 and noise variance 1, yielding: 2 where 3 regularizes functional complexity (Mameche et al., 17 Jan 2025).
The inferred model is the minimizer of the total code length: 4
4. SpaceTime Algorithmic Framework
The combinatorial joint optimization over causal graphs, changepoints, and partitions is computationally hard, so SpaceTime uses an interleaved, iterative scheme:
6
Component modules:
- ChangepointDetection: Fit GPs for each variable and context in the last known regime; apply kernel-based changepoint methods (e.g., PELT) to GP residuals to locate abrupt mechanism shifts and update 5.
- Partitioning: Aggregate data from candidate pairs of datasets (contexts) or time intervals (regimes); test equality of conditional distributions 6. Kernel-based conditional independence tests (HSIC) are used with an indicator variable 7, grouping together samples with no significant differences into coherent contexts or regimes (8 and 9).
- EdgeGreedySearch: For fixed partitions and changepoints, edges are added greedily to the window DAG 0 in order of maximal MDL gain 1, followed by backward pruning (Mameche et al., 17 Jan 2025).
5. Nonparametric Functional Models and Kernel Testing
SpaceTime leverages nonparametric Gaussian Process (GP) regression to flexibly model the potentially nonlinear conditional mechanisms 2. GP hyperparameters are optimized under maximum-marginal MDL. To discriminate between candidate regimes or contexts, the framework employs kernel-based conditional independence tests—specifically, the Hilbert-Schmidt Independence Criterion (HSIC)—to test the null hypothesis 3 between subsamples 4 and 5. By relabeling pooled data with an environment indicator 6, one can statistically test whether 7 is independent of the environment label, and partition accordingly (Mameche et al., 17 Jan 2025).
6. Consistency Guarantee and Theoretical Properties
Subject to assumptions including (i) sufficient sample size and regime length, (ii) Shift-Faithfulness (each mechanism unique to its block), (iii) independent mechanism changes across variables, and (iv) causal Markov plus Faithfulness, the global MDL criterion
8
is, as sample size 9, almost surely minimized uniquely by the true causal graph 0, changepoints 1, and partitions 2 (Mameche et al., 17 Jan 2025).
7. Empirical Evaluation: Synthetic and Real-World Case Studies
Experiments address both synthetic and observational multivariate time series:
- Synthetic Benchmarks: Randomly generated WCGs (3), random changepoints (4), diverse mechanisms (linear/nonlinear), and noise distributions are used. Compared to methods assuming stationarity (PCMCI+, VARLiNGAM, DYNOTEARS), those with single-regime changepoints (RPCMCI), multi-context discovery (J-PCMCI), and nonstationary-aware methods (CD-NOD), SpaceTime achieves superior directed F1 for graph recovery, F1 for changepoint detection, and high ARI/NMI for partitioning.
- River Discharge Data: Using daily measurements of temperature, precipitation, and discharge at 307 European catchments (2010), SpaceTime recovers physically validated causal dependencies (e.g., 5), and reveals spatial gradients in causal strength correlating with known catchment characteristics.
- Biosphere–Atmosphere Fluxes: Applied to FLUXNET tower data (air temperature, radiation, net ecosystem exchange, heat, vapor pressure deficit) at 63 sites (2000–2009), SpaceTime identifies a consistent DAG and maps edge strengths onto low-dimensional embeddings (t-SNE), corresponding to established meteorological states. It detects regime shifts relating to real phenomena, including the 2003 European heatwave (Mameche et al., 17 Jan 2025).
8. Practical Implications
SpaceTime encapsulates causal discovery, changepoint detection, and context/regime partitioning for non-stationary, multi-context multivariate time series, providing a consistent and interpretable model for evolving causal structures. Its use of nonparametric, MDL-scored GPs allows functional flexibility, while kernel-based independence testing ensures robust partitioning. Empirical results confirm that the method quantitatively recovers known causal effects, captures spatial and temporal heterogeneity, and detects meaningful regime changes induced by concrete environmental and climatological events (Mameche et al., 17 Jan 2025).