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

RCAgent:基于工具增强大语言模型的自主智能体进行云根因分析

RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Models

Tsinghua University(清华大学);Nanjing University(南京大学);Alibaba Group(阿里巴巴集团);Anytime AI;Squirrel Ai Learning(松鼠AI智适应教育)

Zefan Wang, Zichuan Liu, Yingying Zhang, Aoxiao Zhong, Jihong Wang, Fengbin Yin, Lunting Fan, Lingfei Wu, Qingsong Wen

AI总结:

本文提出RCAgent,一个基于工具增强LLM的自主智能体框架,通过动作轨迹自一致性和上下文管理等技术,在云根因分析各维度上一致超越ReAct,并已部署于阿里云Flink平台。

摘要:

大语言模型(LLM)在云根因分析(RCA)中的应用近年来得到了积极探索。然而,当前方法仍然依赖人工设定的工作流程,未能充分发挥LLM的决策能力和环境交互能力。我们提出RCAgent,一个面向实际工业场景且注重隐私保护的工具增强型LLM自主智能体框架。RCAgent运行在内部部署的模型上而非GPT系列模型,能够借助工具进行自由形式的数据收集和全面分析。我们的框架融合了多种增强技术,包括独特的动作轨迹自一致性(Self-Consistency)方法,以及一整套用于上下文管理、稳定性和导入领域知识的方法。实验表明,RCAgent在RCA的所有方面——预测根因、解决方案、证据和责任归属——以及当前规则覆盖或未覆盖的任务上,均明显且一致地优于ReAct,这一结论同时得到了自动化指标和人工评估的验证。此外,RCAgent已被集成到阿里云Apache Flink实时计算平台的诊断和问题发现工作流中。

英文摘要:

Large language model (LLM) applications in cloud root cause analysis (RCA) have been actively explored recently. However, current methods are still reliant on manual workflow settings and do not unleash LLMs' decision-making and environment interaction capabilities. We present RCAgent, a tool-augmented LLM autonomous agent framework for practical and privacy-aware industrial RCA usage. Running on an internally deployed model rather than GPT families, RCAgent is capable of free-form data collection and comprehensive analysis with tools. Our framework combines a variety of enhancements, including a unique Self-Consistency for action trajectories, and a suite of methods for context management, stabilization, and importing domain knowledge. Our experiments show RCAgent's evident and consistent superiority over ReAct across all aspects of RCA -- predicting root causes, solutions, evidence, and responsibilities -- and tasks covered or uncovered by current rules, as validated by both automated metrics and human evaluations. Furthermore, RCAgent has already been integrated into the diagnosis and issue discovery workflow of the Real-time Compute Platform for Apache Flink of Alibaba Cloud.

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

↑