arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.04123cs.SEcs.CLcs.LG
收藏

探索基于大语言模型的智能体用于根因分析

Exploring LLM-based Agents for Root Cause Analysis

Washington State University(华盛顿州立大学);Microsoft(微软公司)

Devjeet Roy, Xuchao Zhang, Rashi Bhave, Chetan Bansal, Pedro Las-Casas, Rodrigo Fonseca, Saravan Rajmohan

AI总结:

针对现有大语言模型RCA方法无法动态收集诊断信息的问题,本研究探索基于LLM的ReAct智能体开展RCA,在微软生产事件数据集上验证其事实准确性更优,并结合实际工具部署的实践考量。

摘要:

基于云的软件系统日益复杂,使得事件管理已成为软件开发生命周期中不可或缺的一部分。根因分析(RCA)作为事件管理流程的关键环节,对值班工程师而言是一项高要求任务,需要深厚的领域知识以及对团队特定服务的丰富经验。实现RCA自动化可大幅节省时间,并减轻值班工程师的事件管理负担。近年来,研究人员已利用大语言模型(LLMs)开展RCA工作,并取得了颇具前景的成果。然而,这类方法无法动态收集额外的诊断信息,例如事件相关日志、指标或数据库数据,严重限制了其诊断根因的能力。\n在本研究中,我们探索将基于LLM的智能体用于RCA,以解决这一局限性。我们在微软收集的生产事件分布外数据集上,对配备检索工具的ReAct智能体(一种结合推理与行动的智能体框架)开展了全面的实证评估。结果表明,ReAct的性能与强大的检索和推理基线相当,但事实准确性大幅提升。随后我们扩展了评估,将事件报告相关的讨论内容作为模型的额外输入,令人意外的是,这并未带来显著的性能提升。最后,我们与微软的一个团队合作开展了案例研究,为ReAct智能体配备了可访问外部诊断服务的工具,这些服务是该团队开展人工RCA时所使用的。我们的结果展示了智能体如何克服现有工作的局限性,以及在实际中部署此类系统的实际考量因素。

英文摘要:

The growing complexity of cloud based software systems has resulted in incident management becoming an integral part of the software development lifecycle. Root cause analysis (RCA), a critical part of the incident management process, is a demanding task for on-call engineers, requiring deep domain knowledge and extensive experience with a team's specific services. Automation of RCA can result in significant savings of time, and ease the burden of incident management on on-call engineers. Recently, researchers have utilized Large Language Models (LLMs) to perform RCA, and have demonstrated promising results. However, these approaches are not able to dynamically collect additional diagnostic information such as incident related logs, metrics or databases, severely restricting their ability to diagnose root causes. In this work, we explore the use of LLM based agents for RCA to address this limitation. We present a thorough empirical evaluation of a ReAct agent equipped with retrieval tools, on an out-of-distribution dataset of production incidents collected at Microsoft. Results show that ReAct performs competitively with strong retrieval and reasoning baselines, but with highly increased factual accuracy. We then extend this evaluation by incorporating discussions associated with incident reports as additional inputs for the models, which surprisingly does not yield significant performance improvements. Lastly, we conduct a case study with a team at Microsoft to equip the ReAct agent with tools that give it access to external diagnostic services that are used by the team for manual RCA. Our results show how agents can overcome the limitations of prior work, and practical considerations for implementing such a system in practice.

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

↑