ACM Transactions on Software Engineering and Methodology· 2026Q1
LogReasoner: Empowering LLMs with Expert-Like Coarse-to-Fine Reasoning for Automated Log Analysis
- 4citations
- Q1SCImago
- 2026year
Short summary
LogReasoner, a new framework, enhances large language models (LLMs) to perform log analysis tasks with expert-like coarse-to-fine reasoning, significantly outperforming existing LLMs on four distinct tasks.
AI-generated from the title and abstract; the full text is not read.
Key points
- LogReasoner enhances LLMs for log analysis using a coarse-to-fine reasoning framework.
- The framework first coarse-grains expert thinking and then fine-grains specific reasoning steps.
- It utilizes troubleshooting flowcharts, stepwise solutions, and preference learning for calibration.
- Evaluations on four log analysis tasks show LogReasoner outperforms existing LLMs.
AI-generated from the title and abstract; the full text is not read.
Abstract
Log analysis is crucial for monitoring system health and diagnosing failures in complex systems. Recent advances in large language models (LLMs) offer new opportunities for automated log analysis, leveraging their reasoning capabilities to perform tasks such as anomaly detection and failure prediction. However, general-purpose LLMs struggle to formulate structured reasoning workflows that align with expert cognition and deliver precise details of reasoning steps. To address these challenges, we propose LogReasoner, a coarse-to-fine reasoning enhancement framework designed to enable LLMs to reason log analysis tasks like experts. LogReasoner consists of two stages: (1) coarse-grained enhancement of expert thinking, where high-level expert thoughts are constructed from collected troubleshooting flowcharts and existing tasks to enable LLMs to formulate structured reasoning workflows and (2) fine-grained enhancement of specific steps, where we first fine-tune the LLM with task-specific stepwise solutions to enhance the LLM for instantiated reasoning, then employ the preference learning to calibrate the LLM’s reasoning details from its mistakes, further strengthen the LLM’s analytical granularity and correctness. We evaluate LogReasoner on four distinct log analysis tasks using open source LLMs such as Qwen-2.5 and Llama-3. Experimental results show that LogReasoner significantly outperforms existing LLMs, achieving state-of-the-art performance and demonstrating its effectiveness in enhancing the reasoning capabilities of LLMs for log analysis. Our source code and detailed experimental data are available at https://github.com/LeaperOvO/LogReasoner .
The authors' abstract, as published at the source. ACM Transactions on Software Engineering and Methodology, 2026 · DOI ↗
Continue with a free account
Ask the paper: 5 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Computer Networks and Communications
Computer Networks and CommunicationsComputer Science