TL;DR
When complex systems fail, pinpointing the exact cause is challenging because anomalies propagate over time. This paper introduces a framework that adapts "difference graph discovery" to linear time-series data, allowing researchers to isolate root causes by directly identifying changes in causal mechanisms between normal and anomalous periods. The proposed methods provide strong theoretical guarantees and outperform traditional baselines on both simulated data and real-world IT and healthcare monitoring datasets.
What Problem Does This Paper Address?
Whether it’s a sudden crash in an IT cloud infrastructure or a critical shift in a patient’s vitals in an intensive care unit (ICU), performing Root Cause Analysis (RCA) is vital for timely intervention. However, existing RCA methods suffer from two major limitations:
- They often require a pre-defined causal graph of the system, which is rarely available in practice.
- They typically treat data as static, failing to capture how systems dynamically evolve over time.
While a subfield of causality called difference graph discovery excels at finding structural changes between two environments, it has traditionally been restricted to static, independent, and identically distributed (i.i.d.) data. This paper bridges the gap by extending difference graph discovery to time-series data, specifically targeting effect-defying root causes—variables whose causal relationships with their inputs alter when the system transitions from a normal to an anomalous regime.
Methods
The authors formalize the system using linear discrete-time dynamic structural causal models (DT-DSCMs). To capture temporal dynamics without requiring a full, infinite graph, they utilize a block-wise window graph representation based on a maximum time lag ($\ell_{max}$).
They introduce four novel time-series extensions of static difference graph algorithms:
tsLDiffPC: Extends the constraint-based LDiffPC algorithm. It finds the difference graph skeleton by testing the equality of regression coefficients across regimes over a time window. It then uses temporal ordering and conditional independence rules to orient the edges.tsDCI: Extends the Difference Causal Inference (DCI) algorithm. While it shares the same skeleton-learning step astsLDiffPC, it orients instantaneous edges by exploiting changes in residual variances across regimes.tsLDiffPC2&tsDCIPC**: Augmented versions that first run a standard time-series causal discovery algorithm (tPC) strictly on the cleaner, more abundant normal regime data. It then projects these learned orientations onto the difference graph to resolve remaining ambiguities.
The regime change mechanism and how it affects the causal graph structure can be visualized as a Full-Time Directed Acyclic Graph (FT-DAG):
Datasets
The authors evaluated their methods across three distinct setups:
- Simulated Data: Synthetic multivariate time-series generated from random finite-lag causal graphs with varying dimensions ($d \in \{3, 5, 7, 9\}$) to evaluate performance across different graph complexities.
- IT Monitoring (Ingestion Dataset): A real-world dataset consisting of 8 metrics tracking an IT ingestion pipeline (e.g., message routing, database insertion). It contains 1,000 normal observations and 100 anomalous observations.
- Intensive Care Monitoring (MIMIC-IV): High-resolution physiological signals (9 variables including blood pressure, heart rate, and respiratory rate) from a real ICU patient record.
Key Insights and Ideas
- Direct Estimation beats Graph Subtraction: A naive way to find differences is to estimate a causal graph for the normal regime, another for the anomalous regime, and subtract them. However, this compounds estimation errors. Directly testing for coefficient equality across regimes is statistically more robust and computationally efficient.
- The Power of the Normal Regime: The normal regime typically contains significantly more data points than the anomalous window. By learning the background causal structure of the normal regime first (as done in
tsLDiffPC2andtsDCIPC), the algorithms can successfully orient ambiguous edges in the difference graph. - Anomalies Create Helpful Colliders: When an anomaly alters multiple incoming causal links to a variable, it naturally forms an "unshielded collider" (e.g., $X \rightarrow Y \leftarrow Z$) in the difference graph. The constraint-based algorithms exploit these structures to easily orient edges toward the true root cause.
Key Results
The performance of the algorithms was measured using the F1-score relative to identifying the true root causes.
Simulated Data
As shown in the benchmark results below, tsDCI and tsDCIPC achieve the highest overall F1-scores when identifying confirmed root causes. However, when a target has multiple changed parents (the "At least 2 parents" setting), tsLDiffPC2 becomes highly competitive due to its ability to exploit unshielded colliders.
Real-World Applications
- IT Monitoring: The proposed difference graph methods successfully isolated the exact expert-verified root cause (
ESB), whereas baseline methods like MicroCause and RCD suffered from high false-positive rates or identified unrelated metrics. - ICU Monitoring: While ground truth wasn't available, the proposed time-series algorithms demonstrated strong clinical plausibility, showing high agreement on a tight subset of candidate root causes: mean pulmonary arterial pressure (
PAPm), central venous pressure (CVPm), and respiratory rate (RR).
Limitations and Future Work
- Strict Linearity: The framework assumes linear structural equations with Gaussian noise. Real-world anomalies (especially in complex IT systems or biology) often exhibit highly non-linear dynamics.
- Causal Sufficiency: The proofs rely on the assumption that there are no unobserved confounders (hidden variables driving both causes and effects), which is a restrictive assumption for real-world deployments.
- Scalability: The computational cost scales rapidly with the number of variables and the maximum time lag ($\ell_{max}$), meaning further optimization is required before these methods can be applied to large-scale industrial systems.
Summary updated