TL;DR
CHASE is a novel framework that significantly improves Root Cause Analysis (RCA) in complex microservice systems by fusing multimodal data (logs, metrics, and traces) into a unified graph. By leveraging causal hypergraphs, it captures complex, multivariate failure patterns that traditional methods miss, achieving up to a 36% performance boost over state-of-the-art benchmarks.
What Problem Does This Paper Address?
Modern enterprise software is built on microservices—hundreds of small, independent components talking to each other. While this makes systems scalable, it makes debugging a nightmare. When a failure occurs, it ripples through the system like a wave.
Existing Root Cause Analysis (RCA) tools often struggle with two main issues:
- Data Silos: They might look only at system metrics (like CPU usage) or only at logs, missing the full picture.
- Simple Causality: Most tools model relationships as simple pairs (Service A causes an error in Service B). In reality, one service failure can simultaneously impact dozens of downstream calls, a complex "multivariate" relationship that standard graphs can't easily represent.
Methods
The authors propose CHASE (Causal Hypergraph grAph baSed framEwork), which operates in three sophisticated stages:
- Multimodal Graph Construction: CHASE doesn't just map which service calls which; it attaches time-series metrics (via a Transformer encoder) and semi-structured logs (via FastText) directly to the service nodes in an "invocation graph."
- Attentive Anomaly Detection: Using a Heterogeneous Graph Transformer (HGT), the model performs "message passing." Each service node "listens" to its attached logs and metrics to determine if it is behaving abnormally. This fuses different types of data into a single "anomaly embedding."
- Hypergraph Causality Learning: This is the core innovation. Instead of simple edges, CHASE builds a hypergraph. A hyperedge can connect a group of services (e.g., all descendants of a failed node), allowing the model to capture how a single root cause propagates through an entire branch of the system.
Datasets
The framework was evaluated on two distinct public datasets:
- GAIA (Generic AIOps Atlas): A dataset with 10 service instances and a static topology, featuring injected anomalies like memory leaks and login failures.
- AIOps 2020: A more challenging, real-world dataset with hundreds of instances and a dynamic topology, meaning the way services interact changes over time.
Key Insights and Ideas
- Hypergraphs are the "Aha!" Moment: Traditional graphs are too rigid for failure propagation. Hyperedges allow for modeling "one-to-many" causal flows, which more accurately reflects how a single bottleneck in a database can choke multiple upstream application services simultaneously.
- Heterogeneity is a Feature, Not a Bug: By using dedicated encoders for logs and metrics before fusing them, CHASE respects the unique information density of each data type. Logs often signal what happened (e.g., "File not found"), while metrics signal when and how much (e.g., latency spikes).
- End-to-End Training: Unlike many RCA tools that rely on manual rules or separate stages, CHASE is a unified neural network. It learns to identify anomalies and trace their causes at the same time, improving its generalization across different system architectures.
Key Results
CHASE consistently outperformed seven major benchmarks, including popular GNN-based methods like DiagFusion and TrinityRCL.
- Accuracy Boost: On the GAIA dataset, CHASE achieved a Top-1 Accuracy (A@1) of 61.35%, a massive 36.2% improvement over the next best method.
- Robustness in Dynamic Systems: On the complex AIOps 2020 dataset, it maintained a significant lead, showing it can handle systems where service connections are constantly shifting.
- Ablation Success: Removing the hypergraph component led to a 23.7% drop in accuracy, proving that the hypergraph structure is indeed the "secret sauce" for effective causality tracing.
Limitations and Future Work
While powerful, CHASE currently treats the system topology as a series of snapshots. The authors note that future versions could benefit from spatiotemporal modeling to better capture how traces evolve second-by-second during a "cascading failure."
Additionally, they suggest that Large Language Models (LLMs) could eventually replace the current log encoders to provide even deeper semantic understanding of error messages, potentially making the system even more robust to "unseen" failure types.
Summary updated