Abstract
Root Cause Analysis (RCA) in modern cloud-native environments is hindered by cascading failures, system noise, and the "intensity bias," where symptomatic victims exhibit larger metric deviations than the actual root cause. We present DynaCausal, a framework that leverages multi-modal data alignment and dynamic causality-aware representation learning. By combining a Transformer-based temporal encoder with a Hybrid-Aware Graph Attention Network (H-GAT) and a novel Causal Representation Discrimination (CRD) module, DynaCausal effectively disentangles faults from normal fluctuations and prioritizes causal ancestors. Evaluation on large-scale benchmarks demonstrates a significant performance leap, outperforming state-of-the-art methods by up to 46% in diagnostic accuracy.
Introduction
In distributed microservices, scaling, updates, and shifting dependencies make identifying the root cause of failures increasingly difficult. Current RCA tools often fail to account for the dynamic nature of service topologies and are frequently misled by "intensity bias"—the tendency to flag services with the most dramatic metric spikes rather than the upstream source of the glitch. DynaCausal addresses these gaps by modeling dynamic fault propagation and distinguishing genuine causal signals from background noise.
Methodology
DynaCausal introduces a multi-stage pipeline to unify observability data and model system interactions:
- Multi-modal Data Alignment: The framework unifies metrics, logs, and traces into a single multivariate time series, providing a holistic view of the system's state.
- Dynamic Call Graph Construction: Instead of a static topology, DynaCausal builds a dynamic graph where edges are weighted by real-time request counts and error rates, capturing the evolving dependencies of the microservice environment.
- Representation Learning: The system uses a Transformer encoder to capture temporal patterns and a Hybrid-Aware Graph Attention Network (H-GAT) to model spatial patterns of fault propagation between services.
- Causal Representation Discrimination (CRD): This core innovation consists of Temporal Causal Disentanglement (TCD), which uses contrastive learning to separate fault signals from normal background noise, and Spatial Causal Ordering (SCO), a ranking objective that explicitly prioritizes causal ancestors over symptomatic victims.
Experimental Evaluation
The authors evaluated DynaCausal on two primary benchmarks:
- D1 (RCAEval-RE2-OB): Based on the Google "Online Boutique" microservices, containing 12 services and 90 fault cases.
- D2 (Train-Ticket): A complex dataset featuring 50 services and 1,430 fault cases, representing the largest public RCA benchmark currently available.
DynaCausal consistently outperformed five state-of-the-art baselines, achieving an average Accuracy at Rank 1 (AC@1) of 0.63. This represents an absolute gain of 0.25–0.46 over existing methods. Notably, the model maintained high diagnostic accuracy on the complex D2 dataset, proving its robustness to scale and complexity.
Conclusion
DynaCausal demonstrates that prioritizing causality over anomaly intensity is critical for effective RCA in microservices. By integrating dynamic topology and contrastive learning, the framework provides a robust solution for modern cloud-native observability. Future work will focus on improving scalability for even larger systems and enhancing the interpretability of diagnostic outputs to provide natural language explanations for engineering teams.
Summary updated