用递归推理和记忆复用提升微服务故障根因定位准确率与效率
Agentic Memory Enhanced Recursive Reasoning for Root Cause Localization in Microservices
- 构建多智能体递归推理引擎,逐层精炼故障候选原因
- 引入智能体记忆机制,在时间窗口内复用历史推理,减少重复计算
- 基于一线工程师经验设计,适合高复杂度微服务系统运维场景
随着现代微服务系统日益复杂(常包含数百甚至上千个细粒度、相互依赖的子系统),故障频发。保障系统可靠性亟需精准的根因定位。尽管已有大量基于图和深度学习的方法,但普遍依赖预定义模式,难以适应动态运行环境。近期虽出现一些基于大模型的方法,但仍存在浅层症状驱动推理导致精度不足、跨告警间无法复用推理路径造成冗余计算和高延迟两大问题。本文通过对多位一线运维专家的调研,发现专家分析具有递归性、多维扩展性与跨模态推理三大特征。据此提出AMER-RCL框架:通过递归推理引擎对每个告警进行逐层推理以逐步缩小候选原因范围;通过智能体记忆机制在时间窗口内累积并复用先前告警的推理过程,降低冗余探索与推理延迟。实验表明,AMER-RCL在定位准确率与推理效率上均持续优于当前最优方法。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。