arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.02732cs.SEcs.AI
收藏

基于代理记忆的递归推理用于微服务根因定位

Agentic Memory Enhanced Recursive Reasoning for Root Cause Localization in Microservices

Peking University(北京大学);Alibaba Group(阿里巴巴集团);Tsinghua University(清华大学);Institute of Artificial Intelligence(人工智能研究院)

Lingzhe Zhang, Tong Jia, Yunpeng Zhai, Leyi Pan, Chiming Duan, Minghua He, Mengxi Jia, Ying Li

AI总结:

本文提出AMER-RCL框架,通过递归推理和代理记忆提升微服务根因定位的准确性和效率。

摘要:

随着当代微服务系统日益流行且复杂,往往由数百甚至数千个细粒度且相互依赖的子系统组成,它们正经历更频繁的故障。因此,确保系统可靠性需要准确的根因定位。虽然许多传统图基和深度学习方法已被探索用于此任务,但它们通常依赖于预定义的模式,难以适应不断变化的操作环境。因此,最近提出了一些基于大型语言模型(LLM)的方法。然而,这些方法仍然面临两个主要限制:浅层、以症状为中心的推理会削弱准确性,以及缺乏跨警报重用导致推理冗余和延迟。在本文中,我们对SREs如何定位故障根因进行了全面研究,从多个组织的专业人员中汲取见解。我们的调查发现,专家根因分析具有三个关键特征:递归性、多维扩展性和跨模态推理。受这些发现的启发,我们引入了AMER-RCL,一种增强递归推理的代理记忆框架,用于微服务根因定位。AMER-RCL采用递归推理RCL引擎,一个多代理框架,对每个警报进行递归推理,逐步细化候选原因,同时代理记忆逐步积累和重用先前警报在时间窗口内的推理,以减少冗余探索并降低推理延迟。实验结果表明,AMER-RCL在定位准确性和推理效率方面均优于最先进的方法。

英文摘要:

As contemporary microservice systems become increasingly popular and complex-often comprising hundreds or even thousands of fine-grained, interdependent subsystems-they are experiencing more frequent failures. Ensuring system reliability thus demands accurate root cause localization. While many traditional graph-based and deep learning approaches have been explored for this task, they often rely heavily on pre-defined schemas that struggle to adapt to evolving operational contexts. Consequently, a number of LLM-based methods have recently been proposed. However, these methods still face two major limitations: shallow, symptom-centric reasoning that undermines accuracy, and a lack of cross-alert reuse that leads to redundant reasoning and high latency. In this paper, we conduct a comprehensive study of how Site Reliability Engineers (SREs) localize the root causes of failures, drawing insights from professionals across multiple organizations. Our investigation reveals that expert root cause analysis exhibits three key characteristics: recursiveness, multi-dimensional expansion, and cross-modal reasoning. Motivated by these findings, we introduce AMER-RCL, an agentic memory enhanced recursive reasoning framework for root cause localization in microservices. AMER-RCL employs the Recursive Reasoning RCL engine, a multi-agent framework that performs recursive reasoning on each alert to progressively refine candidate causes, while Agentic Memory incrementally accumulates and reuses reasoning from prior alerts within a time window to reduce redundant exploration and lower inference latency. Experimental results demonstrate that AMER-RCL consistently outperforms state-of-the-art methods in both localization accuracy and inference efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑