arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.13810cs.CLcs.SE
收藏

使用基于 GPT-4 的上下文学习自动化云事件根因定位

Automated Root Causing of Cloud Incidents using In-Context Learning with GPT-4

Microsoft(微软)

Xuchao Zhang, Supriyo Ghosh, Chetan Bansal, Rujia Wang, Minghua Ma, Yu Kang, Saravan Rajmohan

AI总结:

针对云事件根因分析中微调 GPT-4 成本高昂的问题,提出无需微调的上下文学习方法,并在十万余起生产事件上验证其显著优于微调及零样本模型。

摘要:

根因分析(Root Cause Analysis,RCA)在云服务的事件诊断过程中发挥着关键作用,它要求值班工程师识别主要问题并实施纠正措施,以防止未来再次发生。改进事件 RCA 流程对于最大限度减少服务停机时间、客户影响和人工辛劳至关重要。人工智能的最新进展带来了诸如 GPT-4 等最先进的大型语言模型(Large Language Models,LLMs),这些模型已被证明能够有效处理从代码编写到事件管理的各种 AIOps 问题。尽管如此,GPT-4 模型极其庞大,当尝试基于用户数据对其进行微调时会带来挑战,原因是需要大量 GPU 资源,并且随着新数据的出现还必须持续进行模型微调。为了解决微调 LLM 的高成本问题,我们提出了一种用于自动化根因定位的上下文学习方法,该方法无需进行微调。我们对超过 100,000 起生产环境事件开展了广泛研究,使用多项指标对若干大型语言模型进行比较。结果表明,我们的上下文学习方法在所有指标上平均比此前经过微调的大型语言模型(如 GPT-3)高出 24.8%,相较零样本模型更取得了令人瞩目的 49.7% 提升。此外,由实际事件负责人参与的人工评估证明其优于微调模型,在正确性上提升 43.5%,在可读性上提升 8.7%。这些令人印象深刻的结果证明了使用原始 GPT 模型完成 RCA 任务的可行性,从而避免了与微调模型相关的高昂计算和维护成本。

英文摘要:

Root Cause Analysis (RCA) plays a pivotal role in the incident diagnosis process for cloud services, requiring on-call engineers to identify the primary issues and implement corrective actions to prevent future recurrences. Improving the incident RCA process is vital for minimizing service downtime, customer impact and manual toil. Recent advances in artificial intelligence have introduced state-of-the-art Large Language Models (LLMs) like GPT-4, which have proven effective in tackling various AIOps problems, ranging from code authoring to incident management. Nonetheless, the GPT-4 model's immense size presents challenges when trying to fine-tune it on user data because of the significant GPU resource demand and the necessity for continuous model fine-tuning with the emergence of new data. To address the high cost of fine-tuning LLM, we propose an in-context learning approach for automated root causing, which eliminates the need for fine-tuning. We conduct extensive study over 100,000 production incidents, comparing several large language models using multiple metrics. The results reveal that our in-context learning approach outperforms the previous fine-tuned large language models such as GPT-3 by an average of 24.8\% across all metrics, with an impressive 49.7\% improvement over the zero-shot model. Moreover, human evaluation involving actual incident owners demonstrates its superiority over the fine-tuned model, achieving a 43.5\% improvement in correctness and an 8.7\% enhancement in readability. The impressive results demonstrate the viability of utilizing a vanilla GPT model for the RCA task, thereby avoiding the high computational and maintenance costs associated with a fine-tuned model.

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

↑