arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.01909cs.SEcs.AI
收藏

LUK:利用来自大型语言模型的专家知识赋能日志理解

LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models

School of Computer Science, Fudan University(复旦大学计算机科学学院);School of Artificial Intelligence, Optics and Electronics (iOPEN), Northwestern Polytechnical University(西北工业大学人工智能、光学与电子学院);School of Computer Science and Technology, Donghua University(东华大学计算机科学与技术学院)

Lipeng Ma, Weidong Yang, Sihang Jiang, Ben Fei, Mingjie Zhou, Shuhao Li, Mingyu Zhao, Bo Xu, Yanghua Xiao

AI总结:

本文提出LUK知识增强框架,通过多专家协作从大型语言模型自动获取专家知识,并利用两个新颖预训练任务增强较小的预训练语言模型,以低成本实现更优的日志理解与分析。

摘要:

日志在为系统监控和故障排除提供关键信息方面发挥着重要作用。近期,随着预训练语言模型(PLMs)和大型语言模型(LLMs)在自然语言处理(NLP)领域的成功,较小的PLMs(如BERT)和LLMs(如GPT-4)已成为当前日志分析的主流方法。尽管LLMs具备卓越的能力,但其较高的成本和低效的推理在充分利用LLMs分析日志方面带来了重大挑战。相比之下,较小的PLMs即使在计算资源有限的情况下也能针对特定任务进行微调,使其更具实用性。然而,由于专家知识有限,这些较小的PLMs在全面理解日志方面面临挑战。为了解决专家知识缺乏的问题并增强较小PLMs的日志理解能力,本文提出了一种新颖且实用的知识增强框架,称为LUK,该框架自动从LLMs中获取专家知识,然后利用这些专家知识增强较小的PLM进行日志分析。LUK能够充分利用这两类模型的优势。具体而言,我们设计了一个基于具有不同角色的LLMs的多专家协作框架来获取专家知识。此外,我们提出了两个新颖的预训练任务,以利用专家知识增强日志预训练。LUK在不同的日志分析任务上取得了最先进的结果,大量实验表明来自LLMs的专家知识可以被更有效地用于理解日志。我们的源代码和详细实验数据可在 https://github.com/LeaperOvO/LUK 获取。

英文摘要:

Logs play a critical role in providing essential information for system monitoring and troubleshooting. Recently, with the success of pre-trained language models (PLMs) and large language models (LLMs) in natural language processing (NLP), smaller PLMs (such as BERT) and LLMs (like GPT-4) have become the current mainstream approaches for log analysis. Despite the remarkable capabilities of LLMs, their higher cost and inefficient inference present significant challenges in leveraging the full potential of LLMs to analyze logs. In contrast, smaller PLMs can be fine-tuned for specific tasks even with limited computational resources, making them more practical. However, these smaller PLMs face challenges in understanding logs comprehensively due to their limited expert knowledge. To address the lack of expert knowledge and enhance log understanding for smaller PLMs, this paper introduces a novel and practical knowledge enhancement framework, called LUK, which acquires expert knowledge from LLMs automatically and then enhances the smaller PLM for log analysis with these expert knowledge. LUK can take full advantage of both types of models. Specifically, we design a multi-expert collaboration framework based on LLMs with different roles to acquire expert knowledge. In addition, we propose two novel pre-training tasks to enhance the log pre-training with expert knowledge. LUK achieves state-of-the-art results on different log analysis tasks and extensive experiments demonstrate expert knowledge from LLMs can be utilized more effectively to understand logs. Our source code and detailed experimental data are available at https://github.com/LeaperOvO/LUK.

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

↑