Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Merging
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Logs produced by extensive software systems are integral to monitoring system behaviors. Advanced log analysis facilitates the detection, alerting, and diagnosis of system faults. Log parsing, which entails transforming raw log messages into structured templates, constitutes a critical phase in the automation of log analytics. Existing log parsers fail to identify the correct templates due to reliance on human-made rules. Besides, these methods focus on statistical features while ignoring semantic information in log messages. To address these challenges, we introduce a cutting-edge Log parsing framework with Entropy sampling and chain-of-thought Merging (model). Specifically, to discard the tedious manual rules, we propose a novel sampling method inspired by information entropy, which efficiently clusters typical logs. Furthermore, to enhance the merging of log templates, we design a chain-of-thought method for large language models (LLMs). LLMs exhibit exceptional semantic comprehension and deftly distinguish between parameters and invariant tokens. We have conducted experiments on large-scale public datasets. Extensive evaluation demonstrates that model achieves state-of-the-art performance and impressive efficiency. The Code is available at https://github.com/zwpride/lemur.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 17 of its 58 references that are in the map. First posted on arXiv 28 Feb 2024.
Builds on
17 of 58 references.
References · 17
- 2017Attention Is All You Needcited by 59,932
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2023PaLM 2 Technical Reportcited by 1,154
- 2023FinGPT: Open-Source Financial Large Language Modelscited by 244
- 2023Scaling Laws for Generative Mixed-Modal Language Modelscited by 131
- 2019Cross-Lingual Natural Language Generation via Pre-Trainingcited by 63
- 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
- 2023A Brief Report on LawGPT 1.0: A Virtual Legal Assistant Based on GPT-3cited by 46
- 2023OWL: A Large Language Model for IT Operationscited by 43
- 2021Multilingual Machine Translation Systems from Microsoft for WMT21 Shared Taskcited by 34
5 more
- 2023Log Parsing with Prompt-based Few-shot Learningcited by 28
- 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
- 2020Self-Supervised Log Parsingcited by 23
- 2022UM4: Unified Multilingual Multiple Teacher-Student Model for Zero-Resource Neural Machine Translationcited by 10
- 2021On Automatic Parsing of Log Recordscited by 3
Built on by
Citing papers per year: 2024: 9; 2025: 7.
16 papers.
Sort:
By area:
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
- 2024mABC: multi-Agent Blockchain-Inspired Collaboration for root cause analysis in micro-services architecturecited by 26
- 2024UniCoder: Scaling Code Large Language Model via Universal Codecited by 18
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 18
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2025MR-UIE: Multi-Perspective Reasoning with Reinforcement Learning for Universal Information Extractioncited by 6
- 2024ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsingcited by 5
- 2024XFormParser: A Simple and Effective Multimodal Multilingual Semi-structured Form Parsercited by 5
- 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedbackcited by 5
- 2025Large Language Models for Network Intrusion Detection Systems: Foundations, Implementations, and Future Directionscited by 4
- 2025Emotional Support with LLM-based Empathetic Dialogue Generationcited by 4
- 2025TableZoomer: A Collaborative Agent Framework for Large-scale Table Question Answeringcited by 3
4 more
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2024FuzzCoder: Byte-level Fuzzing Test via Large Language Modelcited by 2
- 2024Optimizing Chain-of-Thought Reasoning: Tackling Arranging Bottleneck via Plan Augmentationcited by 2
- 2025System Log Parsing with Large Language Models: A Reviewcited by 2
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025MR-UIE: Multi-Perspective Reasoning with Reinforcement Learning for Universal Information Extraction11 Sep 2025
- 2025TableZoomer: A Collaborative Agent Framework for Large-scale Table Question Answering1 Sep 2025
- 2025Emotional Support with LLM-based Empathetic Dialogue Generation17 Jul 2025
- 2025Large Language Models for Network Intrusion Detection Systems: Foundations, Implementations, and Future Directions7 Jul 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedback23 Dec 2024
- 2024Optimizing Chain-of-Thought Reasoning: Tackling Arranging Bottleneck via Plan Augmentation22 Oct 2024
- 2024FuzzCoder: Byte-level Fuzzing Test via Large Language Model3 Sep 2024
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024UniCoder: Scaling Code Large Language Model via Universal Code24 Jun 2024
4 more
- 2024XFormParser: A Simple and Effective Multimodal Multilingual Semi-structured Form Parser27 May 2024
- 2024ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsing22 May 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024mABC: multi-Agent Blockchain-Inspired Collaboration for root cause analysis in micro-services architecture18 Apr 2024
- 2024mABC: multi-Agent Blockchain-Inspired Collaboration for root cause analysis in micro-services architecturecited by 26
- 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedbackcited by 5
- 2025TableZoomer: A Collaborative Agent Framework for Large-scale Table Question Answeringcited by 3
- 2025TableZoomer: A Collaborative Agent Framework for Large-scale Table Question Answering1 Sep 2025
- 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedback23 Dec 2024
- 2024mABC: multi-Agent Blockchain-Inspired Collaboration for root cause analysis in micro-services architecture18 Apr 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
- 2024UniCoder: Scaling Code Large Language Model via Universal Codecited by 18
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 18
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2024ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsingcited by 5
- 2024XFormParser: A Simple and Effective Multimodal Multilingual Semi-structured Form Parsercited by 5
- 2025Large Language Models for Network Intrusion Detection Systems: Foundations, Implementations, and Future Directionscited by 4
- 2025Emotional Support with LLM-based Empathetic Dialogue Generationcited by 4
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2024FuzzCoder: Byte-level Fuzzing Test via Large Language Modelcited by 2
- 2025System Log Parsing with Large Language Models: A Reviewcited by 2
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Emotional Support with LLM-based Empathetic Dialogue Generation17 Jul 2025
- 2025Large Language Models for Network Intrusion Detection Systems: Foundations, Implementations, and Future Directions7 Jul 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2024FuzzCoder: Byte-level Fuzzing Test via Large Language Model3 Sep 2024
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024UniCoder: Scaling Code Large Language Model via Universal Code24 Jun 2024
- 2024XFormParser: A Simple and Effective Multimodal Multilingual Semi-structured Form Parser27 May 2024
- 2024ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsing22 May 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
Similar, not cited
Close in wording, no citation either way
- 2026CelerLog: Fast Log Parsing via Dynamic Routing ↗
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models
- 2026Instruction-Tuned LLMs for Parsing and Mining Unstructured Logs on Leadership HPC Systems
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion
- 2024LogEval: A Comprehensive Benchmark Suite for Large Language Models In Log Analysis
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correction
- 2026On Sequence-to-Sequence Models for Automated Log Parsing
- 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Model