LILAC: Log Parsing using LLMs with Adaptive Parsing Cache
Not on the map. Why?
Abstract (arXiv)
Log parsing transforms log messages into structured formats, serving as the prerequisite step for various log analysis tasks. Although a variety of log parsing approaches have been proposed, their performance on complicated log data remains compromised due to the use of human-crafted rules or learning-based models with limited training data. The recent emergence of powerful large language models (LLMs) demonstrates their vast pre-trained knowledge related to code and logging, making it promising to apply LLMs for log parsing. However, their lack of specialized log parsing capabilities currently hinders their accuracy in parsing. Moreover, the inherent inconsistent answers, as well as the substantial overhead, prevent the practical adoption of LLM-based log parsing. To address these challenges, we propose LILAC, the first practical log parsing framework using LLMs with adaptive parsing cache. To facilitate accurate and robust log parsing, LILAC leverages the in-context learning (ICL) capability of the LLM by performing a hierarchical candidate sampling algorithm and selecting high-quality demonstrations. Furthermore, LILAC incorporates a novel component, an adaptive parsing cache, to store and refine the templates generated by the LLM. It helps mitigate LLM's inefficiency issue by enabling rapid retrieval of previously processed log templates. In this process, LILAC adaptively updates the templates within the parsing cache to ensure the consistency of parsed results. The extensive evaluation on public large-scale datasets shows that LILAC outperforms state-of-the-art methods by 69.5% in terms of the average F1 score of template accuracy. In addition, LILAC reduces the query times to LLMs by several orders of magnitude, achieving a comparable efficiency to the fastest baseline.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Oct 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 8; 2025: 14; 2026: 7.
30 papers.
Sort:
By area:
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2025Taming Latency-Memory Trade-Off in MoE-Based LLM Serving via Fine-Grained Expert Offloadingcited by 24
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 18
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 13
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2025On the Effectiveness of Large Language Models in Writing Alloy Formulascited by 7
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 6
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
- 2026A Survey on Evaluating Quality and Trustworthiness in LLM-Generated Datacited by 5
- 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Modelcited by 4
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
18 more
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correctioncited by 3
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Modelscited by 3
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Modelscited by 3
- 2024HELP: Hierarchical Embeddings-based Log Parsingcited by 2
- 2025System Log Parsing with Large Language Models: A Reviewcited by 2
- 2025SDLog: A Deep Learning Framework for Detecting Sensitive Information in Software Logscited by 2
- 2025OBsmith: LLM-Powered JavaScript Obfuscator Testingcited by 2
- 2026LanG -- A Governance-Aware Agentic AI Platform for Unified Security Operationscited by 1
- 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMscited by 1
- 2026TriCalRAG: A Three-Strategy, Retrieval-Augmented Benchmark for On-Premise LLM-Based Root Cause Analysis in AIOpscited by 1
- 2024Fine Grained Insider Risk Detectioncited by 0
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognitioncited by 0
- 2025LLMBisect: Breaking Barriers in Bug Bisection with A Comparative Analysis Pipelinecited by 0
- 2025REFLEX: Reference-Free Evaluation of Log Summarization via Large Language Model Judgmentcited by 0
- 2025Scalable and Efficient Large-Scale Log Analysis with LLMs: An IT Software Support Case Studycited by 0
- 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learningcited by 0
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaborationcited by 0
- 2026TriFleetRCA: On-Premise LLM Root Cause Analysis for Kubernetescited by 0
- 2026TriFleetRCA: On-Premise LLM Root Cause Analysis for Kubernetes20 Sep 2026
- 2026TriCalRAG: A Three-Strategy, Retrieval-Augmented Benchmark for On-Premise LLM-Based Root Cause Analysis in AIOps13 Sep 2026
- 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMs22 Apr 2026
- 2026LanG -- A Governance-Aware Agentic AI Platform for Unified Security Operations7 Apr 2026
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaboration28 Mar 2026
- 2026A Survey on Evaluating Quality and Trustworthiness in LLM-Generated Data25 Jan 2026
- 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learning11 Jan 2026
- 2025Scalable and Efficient Large-Scale Log Analysis with LLMs: An IT Software Support Case Study17 Nov 2025
- 2025REFLEX: Reference-Free Evaluation of Log Summarization via Large Language Model Judgment6 Nov 2025
- 2025LLMBisect: Breaking Barriers in Bug Bisection with A Comparative Analysis Pipeline30 Oct 2025
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Models28 Oct 2025
- 2025OBsmith: LLM-Powered JavaScript Obfuscator Testing11 Oct 2025
18 more
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
- 2025SDLog: A Deep Learning Framework for Detecting Sensitive Information in Software Logs20 May 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2025On the Effectiveness of Large Language Models in Writing Alloy Formulas21 Feb 2025
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Management12 Feb 2025
- 2025Taming Latency-Memory Trade-Off in MoE-Based LLM Serving via Fine-Grained Expert Offloading7 Feb 2025
- 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Model19 Jan 2025
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
- 2024Fine Grained Insider Risk Detection4 Nov 2024
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysis12 Oct 2024
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosis20 Sep 2024
- 2024A Comparative Study on Large Language Models for Log Parsing4 Sep 2024
- 2024HELP: Hierarchical Embeddings-based Log Parsing15 Aug 2024
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models2 Aug 2024
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correction5 Jun 2024
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 18
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 13
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2025On the Effectiveness of Large Language Models in Writing Alloy Formulascited by 7
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 6
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
- 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Modelcited by 4
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Modelscited by 3
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Modelscited by 3
12 most cited of 25 All 25 (JSON)
- 2026TriFleetRCA: On-Premise LLM Root Cause Analysis for Kubernetes20 Sep 2026
- 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMs22 Apr 2026
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaboration28 Mar 2026
- 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learning11 Jan 2026
- 2025Scalable and Efficient Large-Scale Log Analysis with LLMs: An IT Software Support Case Study17 Nov 2025
- 2025REFLEX: Reference-Free Evaluation of Log Summarization via Large Language Model Judgment6 Nov 2025
- 2025LLMBisect: Breaking Barriers in Bug Bisection with A Comparative Analysis Pipeline30 Oct 2025
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Models28 Oct 2025
- 2025OBsmith: LLM-Powered JavaScript Obfuscator Testing11 Oct 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
12 newest of 25 All 25 (JSON)