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

RAPID:考虑Token级信息的基于检索的免训练日志异常检测PLM方法

RAPID: Training-free Retrieval-based Log Anomaly Detection with PLM considering Token-level information

Korea University(高丽大学)

Gunho No, Yukyung Lee, Hyeongwon Kang, Pilsung Kang

AI总结:

针对传统日志异常检测需特定训练、难发现细微异常且实时性差的问题,提出免训练的RAPID模型,用PLM提取日志表示,结合基于检索的对比和核心集技术,实现了有竞争力的实时异常检测性能。

摘要:

随着IT行业的发展,系统日志数据变得越来越重要。由于源代码访问受限,许多计算机系统依赖日志文本进行管理。日志异常检测的需求日益增长,尤其是在实际应用中,但在快速累积的日志中识别异常仍然是一项具有挑战性的任务。传统的基于深度学习的异常检测模型需要针对特定数据集进行训练,这会带来相应的延迟。值得注意的是,大多数方法仅关注序列级的日志信息,这使得细微异常的检测难度加大,且其推理过程通常难以实时应用。我们提出了RAPID模型,该模型利用日志数据的固有特性实现无训练延迟的异常检测,确保实时能力。RAPID将日志视为自然语言,使用预训练语言模型(PLM)提取表示。由于日志可以根据系统上下文进行分类,我们采用了一种基于检索的技术,将测试日志与最相似的正常日志进行对比。该策略不仅省去了针对特定日志的训练需求,还巧妙地整合了token级信息,确保了精细且鲁棒的检测效果,尤其是对于未见过的日志。我们还提出了核心集技术,能够降低对比所需的计算成本。实验结果表明,即使未在日志数据上进行训练,RAPID与现有模型相比仍表现出具有竞争力的性能,并且在部分数据集上取得了最优效果。通过多项研究问题,我们验证了其无延迟实时检测的能力。

英文摘要:

As the IT industry advances, system log data becomes increasingly crucial. Many computer systems rely on log texts for management due to restricted access to source code. The need for log anomaly detection is growing, especially in real-world applications, but identifying anomalies in rapidly accumulating logs remains a challenging task. Traditional deep learning-based anomaly detection models require dataset-specific training, leading to corresponding delays. Notably, most methods only focus on sequence-level log information, which makes the detection of subtle anomalies harder, and often involve inference processes that are difficult to utilize in real-time. We introduce RAPID, a model that capitalizes on the inherent features of log data to enable anomaly detection without training delays, ensuring real-time capability. RAPID treats logs as natural language, extracting representations using pre-trained language models. Given that logs can be categorized based on system context, we implement a retrieval-based technique to contrast test logs with the most similar normal logs. This strategy not only obviates the need for log-specific training but also adeptly incorporates token-level information, ensuring refined and robust detection, particularly for unseen logs. We also propose the core set technique, which can reduce the computational cost needed for comparison. Experimental results show that even without training on log data, RAPID demonstrates competitive performance compared to prior models and achieves the best performance on certain datasets. Through various research questions, we verified its capability for real-time detection without delay.

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

↑