用多智能体思维递归方法,仅靠一次请求就精准定位微服务故障根源。
Adaptive Root Cause Localization for Microservice Systems with Multi-Agent Recursion-of-Thought
- 设计多智能体递归思考框架,模拟人类排查故障的层层深入过程。
- 仅需单次请求即定位根因,准确率超越依赖多请求聚合的现有方法。
- 适合需要快速响应的运维团队,尤其在复杂微服务系统中提升可解释性。
随着现代微服务系统规模扩大至数百甚至上千个细粒度、相互依赖的子系统,故障频发已成为常态。保障系统可靠性亟需精准定位根因。尽管追踪数据和指标已被证明是有效数据源,但现有方法或严重依赖预定义模式,在动态运行环境中适应性差;或推理过程缺乏可解释性,使运维工程师困惑。本文通过调研多家机构的专业SRE,发现人工根因分析具备递归性、多维扩展性和跨模态推理三大特征。受此启发,我们提出RCLAgent——一种基于多智能体递归思考框架的自适应根因定位方法。RCLAgent采用新颖的递归思考策略引导大模型推理,融合多智能体数据与工具辅助分析,高效精准定位根因。在多个公开数据集上的实验表明,RCLAgent仅需单次请求即可实现优于当前最优方法的性能,后者依赖多请求聚合。结果验证了该方法在复杂微服务环境下提升根因定位效率与精度的有效性。
原文摘要 · Abstract (English)
As contemporary microservice systems become increasingly popular and complex-often comprising hundreds or even thousands of fine-grained, interdependent subsystems-they are facing more frequent failures. Ensuring system reliability thus demands accurate root cause localization. While traces and metrics have proven to be effective data sources for this task, existing methods either heavily rely on pre-defined schemas, which struggle to adapt to evolving operational contexts, or lack interpretability in their reasoning process, thereby leaving Site Reliability Engineers (SREs) confused. In this paper, we conduct a comprehensive study on how SREs localize the root cause of failures, drawing insights from multiple professional SREs across different organizations. Our investigation reveals that human root cause analysis exhibits three key characteristics: recursiveness, multi-dimensional expansion, and cross-modal reasoning. Motivated by these findings, we introduce RCLAgent, an adaptive root cause localization method for microservice systems that leverages a multi-agent recursion-of-thought framework. RCLAgent employs a novel recursion-of-thought strategy to guide the LLM's reasoning process, effectively integrating data from multiple agents and tool-assisted analysis to accurately pinpoint the root cause. Experimental evaluations on various public datasets demonstrate that RCLAgent achieves superior performance by localizing the root cause using only a single request-outperforming state-of-the-art methods that depend on aggregating multiple requests. These results underscore the effectiveness of RCLAgent in enhancing the efficiency and precision of root cause localization in complex microservice environments.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。