arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.16359cs.SE
收藏

LLM4Log: 大型语言模型基于日志分析的系统综述

LLM4Log: A Systematic Review of Large Language Model-based Log Analysis

Concordia University(康科迪亚大学);Software PErformance, Analysis, and Reliability (SPEAR) lab, Concordia University(康科迪亚大学软件性能、分析与可靠性实验室)

Zeyang Ma, Jinqiu Yang, Tse-Hsun Chen

AI总结:

本文系统综述了基于大型语言模型的日志分析,涵盖从日志生成维护到解析结构化及下游任务如异常检测、故障预测、根本原因分析和日志摘要的全流程,总结了常见设计模式和评估实践,并指出可靠实际应用中的关键挑战和开放问题。

摘要:

软件系统生成大量、不断变化的半结构化日志,是可靠性工程和AIOps的核心,但大规模分析在漂移和有限标签下具有挑战性。最近预训练Transformer模型和指令调优大型语言模型(LLMs)的进步通过使语义泛化和跨源证据整合重塑了日志分析,但也引入了部署风险,如上下文限制、延迟和成本、隐私约束以及幻觉。本文提出了LLM4Log,对LLM基于日志分析的全流程进行系统综述,从上游日志语句生成和维护到日志解析/结构化及下游任务包括异常检测、故障预测、根本原因分析和日志摘要。按照结构化搜索和手动筛选协议,我们于2025年11月完成文献收集,识别出七个日志任务中的145篇独特论文。我们通过统一的任务驱动分类法组织研究领域,总结了常见设计模式(提示/ICL、检索基础、微调、工具/代理增强和验证),并分析了评估实践、数据集、指标和可重复性。基于这些跨论文分析,我们总结了可靠实际应用中的关键经验和开放挑战。我们强调在漂移和长尾事件下的稳健性,以及面向操作员的输出的基础和准确性,以及具有可验证行为的部署导向设计。

英文摘要:

Software systems generate massive, evolving, semi-structured logs that are central to reliability engineering and AIOps, yet difficult to analyze at scale under drift and limited labels. Recent advances in pretrained Transformer models and instruction-tuned large language models (LLMs) have reshaped log analysis by enabling semantic generalization and cross-source evidence integration, but also introducing deployment risks such as context limits, latency and cost, privacy constraints, and hallucinations. This paper presents LLM4Log, a systematic review of LLM-based log analysis across the end-to-end pipeline, from upstream logging-statement generation and maintenance to log parsing/structuring and downstream tasks including anomaly detection, failure prediction, root cause analysis, and log summarization. Following a structured search and manual screening protocol, we completed literature collection in November 2025 and identified 145 unique papers across seven logging tasks. We organize the research area through a unified, task-driven taxonomy, summarize common design patterns (prompting/ICL, retrieval grounding, fine-tuning, tool/agent augmentation, and verification), and analyze evaluation practices, datasets, metrics, and reproducibility. Based on these cross-paper analyses, we summarize key lessons and open challenges for reliable real-world adoption. We emphasize robustness under drift and long-tail events, grounding and faithfulness for operator-facing outputs, and deployment-oriented designs with verifiable behavior.

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

↑