arXiv:2609.05150cs.LGSep 2026

Manuscript Offprint

arXiv:2609.05150

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

Lei Zan, Charles K. Assaad, Emilie Devijver, Eric Gaussier

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Lei Zan¹, Charles K. Assaad², Emilie Devijver¹, and Eric Gaussier¹

¹ Univ. Grenoble Alpes, CNRS, Grenoble INP, LIG, Grenoble, France xdzanlei@gmail.com, {familie.devijver, eric.gaussier}@univ-grenoble-alpes.fr

² Sorbonne Université, INSERM, Institut Pierre Louis d'Epidémiologie et de Santé Publique, F75012, Paris, France charles.assaad@inserm.fr

Abstract. This paper introduces Regime-aware Constraint-Based and Noise-Based causal discovery with Markov Blankets (RCBNB-MB), a novel causal discovery algorithm for time series that relaxes the common assumption of a single, time-consistent causal structure. Time series are typically observed at discrete time points and often exhibit regime changes that challenge the assumption of a static causal structure, a limitation in many real-world dynamic systems. To address this challenge, RCBNB-MB identifies latent causal regimes, defined as subsets of time points within which a stable causal structure holds. The algorithm follows an iterative strategy that segments the time series into regimes and discovers the causal graph within each regime. By leveraging the Markov blanket rather than direct parents, RCBNB-MB gains robustness to errors in causal discovery and preserves predictive information. We provide theoretical guarantees for RCBNB-MB's ability to recover both regime transitions and causal graphs under reasonable assumptions. Furthermore, we validate its effectiveness through extensive experiments on simulated datasets with known ground truth and real-world IT monitoring data, where taking into account regime shifts is critical. Empirical results show that RCBNB-MB systematically outperforms baseline approaches in accurately detecting regime changes and their associated causal graphs, positioning it as a robust and versatile framework for non-stationary time series analysis.

Keywords: causal discovery · regime shift · non-stationarity.

1 Introduction

Causal discovery for time series is a fundamental problem in many domains, such as IT monitoring systems, climate science, economics, epidemiology, and neuroscience. Understanding causal relationships over time enables better prediction, diagnosis, and intervention in complex dynamic systems. However, most

L. Zan et al.

causal discovery methods assume stationarity, i.e., that causal dependencies remain constant. In practice, this assumption is often unrealistic: many systems undergo regime shifts, where causal influences change due to unobserved factors.

To address this, we propose a method that automatically segments time series into distinct regimes, within which stationarity holds. By jointly learning the segmentation and the causal structure in each regime, our approach provides a more flexible and robust framework for causal discovery in heterogeneous time series. A key challenge in this setting is that regime assignment must be inferred from data. Standard methods typically rely on the causal parent set (PA) to group time points into regimes, but errors in causal graph estimation can lead to incorrect assignments. To mitigate this, we instead use the Markov blanket [21] (MB), a set comprising a variable's parents, children, and spouses that renders the variable independent of all others when conditioned upon. As a theoretically optimal feature set for prediction and classification [33], the MB provides a more stable and informative representation for regime assignment. This is particularly relevant in applications where regime changes are implicit and unknown. For instance, in IT monitoring data [4], system behavior differs between normal and anomalous states, but the transition times are often unknown. Similar shifts can arise from hidden external factors in neuroscience, epidemiology, and climate science. Our method learns these regimes directly from data while recovering their causal structures.

Our main contributions are:

– Identifying a key challenge in heterogeneous time series: when instantaneous effects exist (e.g., due to low sampling rates), standard causal discovery methods struggle to correctly assign timestamps to the right regime.

– Reframing the regime assignment problem as a prediction task, leveraging the Markov blanket to improve robustness against errors in graph estimation.

– Introducing RCBNB-MB, a novel method that simultaneously identifies regimes and reconstructs regime-specific causal graphs, including instantaneous connections.

– Demonstrating the effectiveness of our approach in uncovering regime-dependent causal structures through an empirical validation on synthetic and real-world IT monitoring data.

The paper is organized as follows. Section 2 reviews existing causal discovery methods for heterogeneous time series and their limitations. Section 3 introduces our causal model. Section 4 presents our proposed method, RCBNB-MB. Section 5 provides experimental results on synthetic and real-world data. Finally, Section 6 concludes the paper.

References (32)