paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Improving LLM-based Log Parsing by Learning from Errors in Reasoning Traces

通过从推理轨迹中的错误学习来改进基于LLM的日志解析
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 2/10 · 论文聚焦日志解析这一软件工程任务,通过分析LLM推理轨迹中的错误并微调模型来提升解析准确率,目标本质是改进LLM自身能力,而非将LLM/Agent作为工具用于静态分析、浮点程序分析或贝叶斯程序分析,因此与研究画像核心方向关联较弱。引用 0 inbox
Jialai Wang, Juncheng Lu, Jie Yang, Junjie Wang, Zeyu Gao, Chao Zhang, Zhenkai Liang, Ee-Chien Chang
crossref: 2026-09-12

AI 速览

一句话:分析LLM日志解析推理轨迹中的错误类型,生成日志变体微调模型,显著提升解析准确率。

针对基于大语言模型的日志解析器,本文研究如何利用推理轨迹提升性能。提出 TraceDoctor 框架:先分析解析错误对应的推理轨迹,归纳高层错误类型;再依据这些错误类型设计有针对性的日志变体生成策略,并用生成数据微调 LLM。作者在五种具备推理能力的 SOTA LLM 上实例化日志解析器,共识别出 29 种高层错误类型。实验表明,该方法使解析准确率(PA)和分组准确率(GA)平均最高分别提升 17.3% 和 16.3%。

问题
如何从推理型 LLM 的中间推理轨迹中诊断日志解析错误,并利用诊断结果提升解析性能。
方法
提出 TraceDoctor,将解析错误关联到推理轨迹,归纳高层错误类型,并据此生成针对性日志变体以微调 LLM。
评估
在五种 SOTA 推理 LLM 上实例化日志解析器,识别 29 种错误类型,并以解析准确率 PA 和分组准确率 GA 对比微调前后性能。
原文摘要(Abstract)

Recent advances in reasoning-capable large lan-guage models (LLMs) have led to their application in a wide range of tasks, including log parsing. These LLMs generate intermediate reasoning traces during inference, offering a unique opportunity to analyze and improve their performance. In this work, we investigate how reasoning traces can be leveraged to enhance LLM-based log parsers. We propose TraceDoctor, a framework that analyzes reasoning traces associated with parsing errors to understand the causes of failure. We categorize these error causes into high-level error types and design targeted log variant generation strategies guided by these high-level error types. The generated variants are then used to fine-tune the LLMs. We instantiate five state-of-the-art (SOTA) reasoning-capable LLMs as log parsers and identify 29 distinct high-level error types. Our approach improves their average parsing accuracy by up to 17.3% and 16.3% on parsing accuracy (PA) and group accuracy (GA), respectively.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9192,
  title = {Improving LLM-based Log Parsing by Learning from Errors in Reasoning Traces},
  author = {Jialai Wang and Juncheng Lu and Jie Yang and Junjie Wang and Zeyu Gao and Chao Zhang and Zhenkai Liang and Ee-Chien Chang},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00066}
}