arXiv:2601.02736cs.SEcs.AI2026-01中稿 · ICSE-NIER'26被引 13

用假设-验证框架提升微服务故障分析的准确与效率

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

  • 先快速生成故障假设,再并行验证候选原因
  • 在AIOps 2022数据集上准确率和效率均优于现有方法
  • 适合需要快速可解释故障诊断的云原生系统运维人员

微服务系统因资源弹性、松耦合架构和轻量部署成为云原生企业应用的核心。然而其固有的复杂性和动态运行时交互不可避免地引发异常,系统可靠性依赖于有效的根因分析(RCA),不仅需定位异常源头,还需及时、可解释地刻画根本故障。近年来基于大语言模型(LLMs)的智能RCA技术展现出潜力,减少对手工特征依赖,具备跨平台适应性、任务泛化性和灵活性。但现有方法仍存在两大局限:(a) 探索多样性不足,影响准确性;(b) 过度依赖大规模LLM,导致推理缓慢。为此,我们提出SpecRCA,一种采用‘假设-验证’范式的微服务根因分析框架。SpecRCA首先通过假设生成模块快速生成候选根因,再通过并行验证模块高效验证。初步实验在AIOps 2022数据集上表明,SpecRCA在准确率与效率方面均优于现有方法,展现出在复杂微服务环境中实现可扩展、可解释RCA的潜力。

原文摘要 · Abstract (English)

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.

根因分析微服务大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。