arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.11997cs.AI
收藏

通过知识增强融合进行大规模语言模型的日志异常检测

Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion

University of Pittsburgh(匹兹堡大学);Eaton Corporation(埃顿公司)

Anfeng Peng, Ajesh Koyatan Chathoth, Stephen Lee

AI总结:

EnrichLog通过知识增强融合技术,提升日志异常检测的准确性和可解释性,适用于实际系统部署。

摘要:

系统日志是监控和管理分布式系统的关键资源,提供了关于故障和异常行为的洞察。传统的日志分析技术,包括基于模板和序列驱动的方法,往往丢失重要的语义信息或难以处理模糊的日志模式。为了解决这个问题,我们提出了EnrichLog,一种无需训练的基于条目的异常检测框架,它通过语料库特定和样本特定的知识来丰富原始日志条目。EnrichLog结合了上下文信息,包括历史示例和从语料库中推导出的推理,以实现更准确和可解释的异常检测。该框架利用检索增强生成来整合相关上下文知识,而无需重新训练。我们评估了EnrichLog在四个大规模系统日志基准数据集上的表现,并将其与五个基线方法进行比较。我们的结果表明,EnrichLog在异常检测性能上始终有所提升,能够有效处理模糊的日志条目,并保持高效的推理。此外,结合语料库和样本特定的知识增强了模型的置信度和检测准确性,使EnrichLog适合实际部署。

英文摘要:

System logs are a critical resource for monitoring and managing distributed systems, providing insights into failures and anomalous behavior. Traditional log analysis techniques, including template-based and sequence-driven approaches, often lose important semantic information or struggle with ambiguous log patterns. To address this, we present EnrichLog, a training-free, entry-based anomaly detection framework that enriches raw log entries with both corpus-specific and sample-specific knowledge. EnrichLog incorporates contextual information, including historical examples and reasoning derived from the corpus, to enable more accurate and interpretable anomaly detection. The framework leverages retrieval-augmented generation to integrate relevant contextual knowledge without requiring retraining. We evaluate EnrichLog on four large-scale system log benchmark datasets and compare it against five baseline methods. Our results show that EnrichLog consistently improves anomaly detection performance, effectively handles ambiguous log entries, and maintains efficient inference. Furthermore, incorporating both corpus- and sample-specific knowledge enhances model confidence and detection accuracy, making EnrichLog well-suited for practical deployments.

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

↑