NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Beyond Stationarity in Time Series: Discovering Causal Structures and Latent Regimes via Markov Blankets

Lei Zan, Charles K. Assaad, Emilie Devijver, Eric GaussierarXiv 2026

TL;DR

Real-world time series rarely maintain a fixed causal structure, yet most causal discovery methods assume stationarity. This paper introduces RCBNB-MB, an algorithm that jointly segments non-stationary time series into distinct latent "causal regimes" and learns their unique causal graphs. By leveraging Markov blankets instead of just direct parents, the method achieves remarkable robustness against graph estimation errors and accurately captures instantaneous effects.

What Problem Does This Paper Address?

Causal discovery aims to find cause-and-effect relationships from observational data. In time series analysis, traditional methods almost always assume stationarity—the idea that the underlying causal mechanisms do not change over time. However, real-world systems (such as climate dynamics, economic markets, or IT infrastructure) frequently experience sudden shifts or operate in different "regimes" (e.g., a server operating normally versus being under a cyberattack).

Existing methods that attempt to handle non-stationarity usually require predefined knowledge of when these shifts happen, or they rely strictly on finding a variable's direct causal parents to identify regimes. The catch-22 is that errors in estimating the causal graph lead to incorrect regime assignments, which in turn ruin subsequent graph estimations. Furthermore, standard methods struggle with instantaneous effects (contemporaneous relationships that appear within the same timestamp due to low sampling rates), leading to poor timestamp clustering.

Example of how causal graphs change across distinct latent regimes.

Methods

The authors propose RCBNB-MB (Regime-aware Constraint-Based and Noise-Based causal discovery with Markov Blankets). It resolves the regime-graph dependency using an alternating, two-step optimization loop:

  1. Causal Discovery (Step 1): Given a current regime assignment, it uses a hybrid algorithm called CBNB to learn the specific window causal graph for each regime. CBNB combines constraint-based methods (conditional independence tests to find the graph skeleton) and noise-based methods (to orient tricky instantaneous edges).
  2. Regime Detection (Step 2): It reframes regime assignment as a prediction task. Instead of predicting a variable based only on its estimated parents, it uses its Markov Blanket (MB)—which includes its parents, children, and spouses.

The key innovation is using the Markov Blanket. Because the MB contains the theoretically optimal feature set for predicting a variable, it provides a much more stable signature for each regime. If the causal discovery step misses a parent but catches a child, a parent-based method fails to predict accurately, whereas an MB-based method retains its predictive power, making the clustering step highly resilient to minor graph errors.

Flowchart of the RCBNB-MB iterative optimization procedure.

Datasets

The authors evaluated their approach on both synthetic and real-world data:

  • Simulated Data: Synthetic linear time series with 6 and 15 variables, lengths of 600 and 1,200 timesteps, containing 2 or 3 distinct causal regimes (tested with both equal and unequal regime sizes).
  • Real-world IT Monitoring Data: An 8-variable dataset provided by EasyVista tracking system activities over 2,100 minutes, containing a known 100-minute anomaly interval verified by a system expert.

Key Insights and Ideas

  • The Power of the Markov Blanket: Moving from parents (PA) to Markov blankets (MB) for regime identification is a major robustness booster. It preserves predictive information even when the exact parent-child orientations are misidentified by the causal discovery step.
  • Instantaneous Connections Matter: Failing to account for contemporaneous effects causes massive errors in time-segmentation. RCBNB-MB explicitly models these, allowing it to correctly group timestamps even when data sampling rates are low relative to the speed of the underlying processes.
  • Regimes Don't Have to Be Contiguous: The framework treats regimes as latent states, meaning a system can flip back and forth between the same regimes over time (e.g., normal $\rightarrow$ anomaly $\rightarrow$ normal), rather than just breaking the time series into sequential chunks.

Key Results

  • Regime Assignment Accuracy: On simulated data with 2 regimes, RCBNB-MB achieved a Mean Error Rate (MER) of just 1.27% (misclassifying only about 8 out of 600 timestamps), drastically outperforming baselines like CASTOR, which exhibited an MER of over 20%.
  • Graph Reconstruction: It achieved the highest oriented F1-score (0.73 for 2 regimes) and the lowest normalized Structural Hamming Distance (0.52), proving its capability to reconstruct both lagged and instantaneous causal links accurately.
  • Real-World Success: When applied to the EasyVista IT data, RCBNB-MB precisely isolated the expert-identified anomaly window. Interestingly, when configured to look for 3 regimes, it discovered a "transitional phase" right at the boundaries of the anomaly, demonstrating its practical utility for root-cause analysis.

Limitations and Future Work

  • Linearity Constraint: The current implementation assumes linear relationships between variables within each regime. The authors note that extending this to non-linear dynamics is an important next step.
  • Boundary Sensitivity: Timestamps located exactly at the transition boundary between two regimes remain difficult to assign correctly due to the localized loss of Markov blanket information.
  • Scalability to Many Regimes: The experiments focused primarily on 2 or 3 regimes; performance under highly dynamic environments with numerous short-lived regimes needs further exploration.

Summary updated

BibTeX
@misc{zan2026beyond,
  author = {Lei Zan and Charles K. Assaad and Emilie Devijver and Eric Gaussier},
  title = {{Beyond Stationarity in Time Series: Discovering Causal Structures and Latent Regimes via Markov Blankets}},
  year = {2026},
  eprint = {2609.05150},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.05150},
}
Figure