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

التفاصيل البيبلوغرافية
العنوان: LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models
المؤلفون: Ma, Lipeng, Yang, Weidong, Jiang, Sihang, Fei, Ben, Zhou, Mingjie, Li, Shuhao, Zhao, Mingyu, Xu, Bo, Xiao, Yanghua
سنة النشر: 2024
المجموعة: Computer Science
مصطلحات موضوعية: Computer Science - Software Engineering, Computer Science - Artificial Intelligence
الوصف: 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.
Comment: Under review
نوع الوثيقة: Working Paper
URL الوصول: http://arxiv.org/abs/2409.01909
رقم الانضمام: edsarx.2409.01909
قاعدة البيانات: arXiv