用多智能体并行推理,精准定位微服务故障根源。
Towards In-Depth Root Cause Localization for Microservices with Multi-Agent Recursion-of-Thought
- 设计多智能体递归思维框架,按调用链图分解诊断任务。
- 在多个公开数据集上准确率超越当前最佳方法,推理速度更快。
- 适合系统运维人员与需要可解释故障分析的团队使用。
随着微服务系统因动态交互和运行环境变化日益复杂,故障频率不断上升。保障系统可靠性关键在于精准定位故障根源(RCL)。传统机器学习与深度学习方法虽被广泛探索,但普遍存在可解释性差、跨部署泛化能力弱的问题。近期基于大语言模型(LLM)的方法虽有所改进,但仍面临两大挑战:上下文爆炸导致关键证据被稀释,影响定位精度;串行推理结构限制了深层因果探索,降低推理效率。本文通过研究真实场景下SRE工程师的诊断实践,揭示现有LLM方法的不足。据此提出RCLAgent框架,实现基于调用链图的多智能体并行递归思维。每个调用片段由专属智能体处理,按图拓扑结构递归组织,最终融合根级诊断报告与全局证据图得出结论。在多个公开基准上的实验证明,RCLAgent在定位准确率和推理效率上均持续优于当前最优方法。
原文摘要 · Abstract (English)
As modern microservice systems grow increasingly complex due to dynamic interactions and evolving runtime environments, they experience failures with rising frequency. Ensuring system reliability therefore critically depends on accurate root cause localization (RCL). While numerous traditional machine learning and deep learning approaches have been explored for this task, they often suffer from limited interpretability and poor transferability across deployments. More recently, large language model (LLM)-based methods have been proposed to address these issues. However, existing LLM-based approaches still face two fundamental limitations: context explosion, which dilutes critical evidence and degrades localization accuracy, and serial reasoning structures, which hinder deep causal exploration and impair inference efficiency. In this paper, we conduct a comprehensive study of both how human SREs perform root cause localization in practice and why existing LLM-based methods fall short. Motivated by these findings, we introduce RCLAgent, an in-depth root cause localization framework for microservice systems that realizes multi-agent recursion-of-thought with parallel reasoning. RCLAgent decomposes the diagnostic process along the trace graph by assigning each span to a Dedicated Agent and organizing agents recursively and in parallel according to the graph topology, with the final diagnosis obtained by synthesizing the Root-Level Diagnosis Report and the Global Evidence Graph. Extensive experiments on multiple public benchmarks demonstrate that RCLAgent consistently outperforms state-of-the-art methods in both localization accuracy and inference efficiency.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。