面向微服务的深入根本原因定位:多智能体递归思考
Towards In-Depth Root Cause Localization for Microservices with Multi-Agent Recursion-of-Thought
AI总结:
本文提出RCLAgent框架,通过多智能体递归思考实现微服务系统根本原因定位,提升定位准确性和推理效率。
摘要:
随着现代微服务系统因动态交互和演变的运行环境而变得更加复杂,其故障频率也在上升。因此,确保系统可靠性关键在于准确的根本原因定位(RCL)。尽管已探索了大量传统机器学习和深度学习方法,但它们通常存在解释性差和跨部署转移性差的问题。最近,基于大语言模型(LLM)的方法被提出以解决这些问题。然而,现有LLM方法仍面临两个根本限制:上下文爆炸,稀释关键证据并降低定位准确性;以及串行推理结构,阻碍深入因果探索并影响推理效率。本文对人类SREs在实践中如何进行根本原因定位以及现有LLM方法为何不足进行了全面研究。受这些发现启发,我们引入RCLAgent,一种面向微服务系统的深入根本原因定位框架,实现了多智能体递归思考的并行推理。RCLAgent通过将每个跨度分配给专用智能体,并根据图拓扑递归和并行组织智能体,以合成根级诊断报告和全局证据图来获得最终诊断。在多个公开基准上的广泛实验表明,RCLAgent在定位准确性和推理效率上均优于现有最先进方法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。