TL;DR
CORAL is a novel online, unsupervised framework for Root Cause Analysis (RCA) that automatically detects system faults and identifies their origins in near-real-time. By disentangling stable system dependencies from fault-specific changes, it updates causal models incrementally, outperforming traditional methods in both speed and accuracy while requiring significantly less data.
What Problem Does This Paper Address?
In complex modern systems—from microservices to industrial water plants—faults are inevitable and expensive. Root Cause Analysis (RCA) is the process of identifying why a system failed so it can be fixed.
Traditionally, RCA has been an offline task. When a failure occurs, operators manually trigger a process that collects a massive historical dataset to train a causal model from scratch. This approach has three major flaws:
- Delayed Response: Manual triggers mean the damage is often already done by the time analysis begins.
- Computational Waste: Retraining models from scratch for every new fault is slow and ignores the fact that many system dependencies remain constant.
- Data Hunger: Offline models require huge amounts of data to become robust, making them slow to adapt to new, streaming information.
The authors propose CORAL to move RCA into an automated, online, and incremental workflow.
Methods
CORAL (Incremental Causal Graph Learning for Online Root Cause AnLysis) consists of three main modules:
- Online Trigger Point Detection: Instead of waiting for a human, CORAL uses Multivariate Singular Spectrum Analysis (MSSA) combined with Cumulative Sum (CUSUM) statistics. It monitors both system metrics (like CPU usage) and Key Performance Indicators (KPIs, like latency) to detect state transitions automatically.
- Incremental Disentangled Causal Graph Learning: This is the core innovation. When a fault is detected, CORAL doesn't throw away its old model. Instead, it uses a "disentangled" approach to separate causal relations into two types:
- State-Invariant: Inherent dependencies that don't change (e.g., a specific service always calls another).
-
State-Dependent: New, anomalous relations introduced by the fault. By keeping the invariant parts and only learning the new dependent parts from streaming batches, the model updates much faster.
-
Network Propagation-based Localization: Once the causal graph is updated, CORAL uses a Random Walk with Restarts (RWR). It starts at the "symptom" (the KPI node) and traverses the graph backward to find the most likely root cause entities.
The process is iterative: as new data batches arrive, the graph evolves until the root cause list stabilizes, at which point it reports to the operator.
Datasets
The researchers evaluated CORAL on three diverse, real-world datasets:
- AIOps: Data from a real microservice system with 5 servers and 234 pods, featuring 5 distinct system faults.
- SWaT (Secure Water Treatment): An 11-day dataset from a water treatment testbed with 51 sensors and 16 faults.
- WADI (Water Distribution): A 16-day dataset from a larger water distribution testbed with 123 sensors and 15 faults.
Key Insights and Ideas
- Disentanglement as Efficiency: The "aha moment" here is that system faults rarely change the entire architecture of a system. By explicitly modeling what stays the same versus what changes, CORAL avoids the "catastrophic forgetting" or redundant learning common in standard models.
- Early Warning via Entity Metrics: The authors found that by monitoring individual entity metrics alongside the global KPI, they could detect "precursor patterns." This allows CORAL to trigger the RCA process earlier than if it only watched for a spike in latency.
- Convergence as a Stop Signal: Because CORAL is online, it needs to know when to stop. The authors use the similarity between consecutive root cause lists to determine when the model has "seen enough" to be confident, preventing unnecessary computation.
Key Results
CORAL consistently outperformed both classic offline models (like PC and Dynotears) and online versions of state-of-the-art causal discovery tools (NOTEARS and GOLEM).
- Higher Accuracy: On the AIOps dataset, CORAL achieved a Precision@1 of 80%, significantly higher than the next best online baseline (GOLEM* at 60%).
- Faster Localization: CORAL identified root causes much earlier in the data stream. In one case study (AIOps 0901), it converged on the correct root cause nine batches earlier than other online methods.
- Reduced Data Volume: CORAL achieved superior results while using up to 40% less data than offline models, proving its efficiency for streaming environments.
Limitations and Future Work
While CORAL is a significant step forward, the authors note a few areas for growth:
- Data Modality: The current framework relies primarily on numerical time-series metrics. In real-world IT operations, system logs (textual data) provide critical context that CORAL does not yet incorporate.
- Structural Complexity: The model uses several complex components (LSTMs, VGAEs, SVAR). While it is faster than offline retraining, the overhead of maintaining these neural architectures in extremely high-velocity streaming environments remains a consideration for deployment.
Future work aims to integrate multi-source data, such as combining system logs with time-series metrics, to further improve the precision of online RCA in complex, heterogeneous systems.
Summary updated