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

假设-验证:基于路径并行的微服务推测根本原因分析

Hypothesize-Then-Verify: Speculative Root Cause Analysis for Microservices with Pathwise Parallelism

Peking University(北京大学);Alibaba Group(阿里巴巴集团);Tsinghua University(清华大学)

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

AI总结:

SpecRCA通过假设-验证范式提升微服务系统根本原因分析的准确性和效率。

摘要:

微服务系统由于其资源弹性、松耦合架构和轻量部署,已成为云原生企业应用的骨干。然而,此类系统的内在复杂性和动态运行时交互不可避免地导致异常。因此,确保系统可靠性取决于有效的根本原因分析(RCA),这不仅需要定位异常源,还需要以及时且可解释的方式表征底层故障。最近在智能RCA技术方面的进展,特别是由大型语言模型(LLMs)驱动的RCA技术,已显示出有前途的能力,因为LLMs减少了对人工特征的依赖,同时提供跨平台适应性、任务泛化性和灵活性。然而,现有的基于LLM的方法仍然存在两个关键限制:(a)探索多样性有限,这削弱了准确性,(b)对大规模LLM的依赖导致推理缓慢。为克服这些挑战,我们提出了SpecRCA,一种针对微服务的推测根本原因分析框架,采用假设-验证范式。SpecRCA首先利用假设起草模块快速生成候选根本原因,然后使用并行根本原因验证器高效验证它们。在AIOps 2022数据集上的初步实验表明,SpecRCA在准确性和效率上均优于现有方法,凸显了其作为可扩展且可解释RCA解决方案的潜力。

英文摘要:

Microservice systems have become the backbone of cloud-native enterprise applications due to their resource elasticity, loosely coupled architecture, and lightweight deployment. Yet, the intrinsic complexity and dynamic runtime interactions of such systems inevitably give rise to anomalies. Ensuring system reliability therefore hinges on effective root cause analysis (RCA), which entails not only localizing the source of anomalies but also characterizing the underlying failures in a timely and interpretable manner. Recent advances in intelligent RCA techniques, particularly those powered by large language models (LLMs), have demonstrated promising capabilities, as LLMs reduce reliance on handcrafted features while offering cross-platform adaptability, task generalization, and flexibility. However, existing LLM-based methods still suffer from two critical limitations: (a) limited exploration diversity, which undermines accuracy, and (b) heavy dependence on large-scale LLMs, which results in slow inference. To overcome these challenges, we propose SpecRCA, a speculative root cause analysis framework for microservices that adopts a \textit{hypothesize-then-verify} paradigm. SpecRCA first leverages a hypothesis drafting module to rapidly generate candidate root causes, and then employs a parallel root cause verifier to efficiently validate them. Preliminary experiments on the AIOps 2022 dataset demonstrate that SpecRCA achieves superior accuracy and efficiency compared to existing approaches, highlighting its potential as a practical solution for scalable and interpretable RCA in complex microservice environments.

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

↑