AIDA: Accelerating Root Cause Analysis for Multi-Vendor Device Failures with LLM-Powered Reasoning
Problem Statement
Monitoring can flag which network device failed, but diagnosing why is still a slow, manual, expert-driven process. These delays raise the risk of recurring failures and cascading cloud outages. Existing approaches fall short: rule-based methods lack precision, while prior ML/LLM approaches are too coarse-grained, need heavy manual configuration, or produce unverifiable outputs that operators do not trust.
Key Novelty
- RL fine-tuning of an LLM to distill expert diagnostic logic into interpretable, step-by-step reasoning chains for device-level RCA
- Synthesis of the generated reasoning chains into an evolving knowledge graph that serves as a structured, self-updating RAG substrate
- KG-guided multi-step RAG inference in which the LLM is sequentially steered by graph structure to build verifiable diagnoses across heterogeneous multi-vendor devices
- Claimed first production deployment of automated, fine-grained device-failure RCA at hyperscale (Alibaba Cloud, more than 1 year)
Evaluation Highlights
- 95.4% precision with interpretable reasoning output in production
- Median RCA time reduced from 72.6 hours to 1.6 minutes
- 90th-percentile diagnosis latency reduced from 329.9 hours to 19.4 hours
- Sustained deployment for over a year in Alibaba Cloud's production network
Signal Assessment
Methodology
- Collect historical device failure cases, logs, and expert diagnoses across multiple vendors as training signal
- Fine-tune an LLM with reinforcement learning, rewarding correct and interpretable reasoning chains that mirror expert RCA logic
- Aggregate validated reasoning chains into a knowledge graph of symptoms, intermediate checks, and root causes, updated continuously as new cases arrive
- At inference time, retrieve relevant KG subgraphs and guide the LLM through sequential, step-wise reasoning in which each step is grounded in retrieved knowledge
- Output a verifiable reasoning chain and root cause to operators, then feed confirmed results back to evolve the KG
System Components
An LLM trained with reinforcement learning to generate interpretable, expert-aligned diagnostic reasoning chains from device telemetry and logs.
A structured graph synthesized from reasoning chains that encodes failure symptoms, diagnostic steps, and root causes, and grows as new failures are diagnosed.
Retrieves relevant subgraphs and reasoning paths from the KG to ground the LLM's inference for a given failure.
Orchestrates sequential reasoning in which the LLM is steered step by step by KG structure, producing robust and verifiable diagnoses.
Handles heterogeneous log formats and device semantics across vendors so the reasoning pipeline can operate uniformly. This component is inferred from the multi-vendor framing rather than stated explicitly in the abstract.
Results
| Metric/Benchmark | Baseline | This Paper | Delta |
|---|---|---|---|
| Median RCA time | 72.6 hours (manual) | 1.6 minutes | ~2,700x faster |
| P90 RCA latency | 329.9 hours (manual) | 19.4 hours | ~17x faster (-310.5 h) |
| Precision | Lower for traditional/prior ML/LLM methods (not quantified in abstract) | 95.4% | Qualitatively higher; exact delta not given |
| Interpretability | Coarse or non-verifiable outputs | Verifiable reasoning chains | Qualitative improvement |
| Deployment duration | N/A | >1 year at Alibaba Cloud | Production-validated |
Key Takeaways
- Using RL to distill expert procedures into explicit reasoning chains, rather than just answers, makes LLM outputs auditable, which is critical for operator trust in high-stakes operations.
- Converting model-generated reasoning traces into a knowledge graph creates a self-improving retrieval memory, a reusable pattern for agentic systems in domains with recurring but evolving failure modes.
- Structured, step-wise KG-guided RAG is more robust than flat document retrieval for multi-hop diagnosis, especially across heterogeneous multi-vendor data.
- Tail latency (P90) is improved much less than the median, so hard, novel failures remain challenging; plan human-in-the-loop fallbacks and KG coverage expansion for long-tail cases.
Abstract
Root cause analysis (RCA) of network device failures is critical to cloud reliability. While monitoring can identify which device has failed, diagnosing why remains a slow, manual process, increasing the risk of recurring failures and cascading service disruptions. Existing automated methods are inadequate: traditional methods lack precision, while prior machine learning (ML) and large language model (LLM) approaches are often too coarse-grained, require heavy manual configuration, or fail to produce verifiable reasoning essential for operator trust. This paper presents AIDA, the first system to deliver automated, fine-grained RCA of network device failures, deployed at scale in Alibaba Cloud's production network. AIDA's contributions include: (1) fine-tuning an LLM with reinforcement learning to distill expert logic into interpretable reasoning chains; (2) synthesizing these chains into an evolving knowledge graph (KG) to support retrieval-augmented generation (RAG); and (3) employing RAG-driven multi-step inference wherein the LLM is sequentially guided by the KG to construct robust, verifiable reasoning. Deployed for over a year, AIDA has achieved 95.4% precision with interpretable output and reduced the median RCA time from 72.6 hours to 1.6 minutes. Notably, it curtails the 90th-percentile diagnosis latency from 329.9 hours to 19.4 hours.