TL;DR
This paper shifts the evaluation of LLM-based Root Cause Analysis (RCA) from simple "final answer" correctness to a rigorous, step-by-step examination of an agent's diagnostic trajectory. By analyzing 3,500 trajectories against manually curated fault-propagation paths, the authors reveal that agents often guess the right faulty service despite flawed reasoning, and they leverage these insights to build DiagGuard, a defense framework that boosts localization accuracy by up to 9%.
What Problem Does This Paper Address?
When a microservice architecture fails, site reliability engineers (SREs) don't just need a label pointing to the broken service—they need the evidence and the propagation path to trust and act on the diagnosis.
However, current automated RCA benchmarks evaluate LLM agents purely on outcome-level metrics (like Top-k accuracy). This creates a dangerous blind spot: an agent can get lucky and name the correct root-cause service while completely misunderstanding how the fault traveled through the system, or it might fail because it overlooked a single piece of crucial telemetry.
To bridge this gap, the authors treat RCA as an observable process, evaluating the entire "reasoning trajectory" of an agent to understand how it investigates and why it fails.
Methods
The authors developed a trajectory-level characterization framework consisting of several key phases:
- Propagation-Path Annotation: They manually mapped out the ground-truth service-level fault propagation graphs ($G^\star$) for the benchmark cases, establishing a process-level baseline.
- Trajectory Normalization: They normalized the heterogeneous outputs of six different agent frameworks into comparable sequences of thoughts, actions (SQL queries), and results.
- Behavior & Intent Analysis: Agent actions were categorized using a taxonomy of 10 navigation transitions (e.g., advancing deeper, backtracking) and 11 SRE diagnostic intents (e.g., scanning symptoms, following traces, probing resources).
- Failure Mode Coding: Unsuccessful trajectories were systematically categorized into three evidence-handling failure families: Protocol Omissions (failing to gather evidence), Semantic Misreads (misinterpreting data), and General Reasoning errors (hallucinating out-of-schema causes).
Using these insights, they designed DiagGuard, a two-stage defense-in-depth architecture. It wraps around any standard agent core with a Grounder (forcing a systematic survey of available telemetry before localization) and a Verifier (auditing the final diagnosis against the gathered evidence to prevent hallucinated or ungrounded claims).
Datasets
The study evaluated agent trajectories across two public microservice benchmarks:
- RCABench: Used for the primary empirical study. The authors sampled 500 cases and manually annotated their service-to-code fault propagation paths.
- AIOps 2025: A live-benchmark e-commerce dataset consisting of 400 incidents across ten core services. This was kept entirely separate as a held-out validation set to test the generalizability of DiagGuard.
Key Insights and Ideas
- The Correctness Illusion: Naming the right service is significantly easier than reconstructing the fault path. Even when agents successfully localized the root cause, their edge reconstruction scores (Edge F1) remained low, proving that final-answer metrics mask weak reasoning.
- Flexibility Beats Specialization: Open-ended, adaptive deep-research and coding agents (like
ClaudeCodeandThinkDepth.ai) significantly outperformed rigid, RCA-specific frameworks. The best agents dynamically rewrite their queries as new telemetry emerges rather than following a fixed playbook. - Repertoire Breadth Dictates Depth: Stronger models (like Claude 3.5 Sonnet) succeed because they pivot mid-investigation from superficial log/trace scans to deep resource and topology queries. Weaker models get stuck in repetitive, shallow loops.
- Predictable Failure Modes: Agent failures are rarely random; they collapse into a small taxonomy of evidence-handling mistakes. Sonnet tends to fail by misreading complex data, while Qwen fails by omitting deep telemetry entirely.
Key Results
The horizontal evaluation on RCABench highlighted a massive performance spread across frameworks and a clear advantage for advanced backbone models:
- Model Impact: Upgrading the backbone model from Qwen to Claude Sonnet within the same framework (
ThinkDepth.ai) yielded a 10.8% absolute gain in Acc@1 (from 79.2% to 90.0%). - DiagGuard Validation: When evaluated on the completely unseen AIOps 2025 dataset using a different model (
Doubao-seed-2.0-pro), the DiagGuard framework successfully mitigated the identified failure modes, boosting Acc@1 from 43.5% to 52.5% (+9.0%). Ablation studies showed that the Grounder and Verifier contributed near-equal, complementary gains.
Limitations and Future Work
While highly insightful, the study's trajectory analysis relies on simulated benchmark environments rather than live, chaotic production incidents where telemetry might be missing or corrupted. Additionally, establishing the process-level ground truth still requires intensive manual annotation.
For future work, the authors propose using these trajectory-level labels as reinforcement learning signals to train agents to natively maintain better diagnostic discipline, and scaling the evaluations to more complex, production-grade cloud incidents.
Summary updated