mlsanityData to 7 Oct 2026

LILAC: Log Parsing using LLMs with Adaptive Parsing Cache

arXiv 2310.01796 ↗First posted 3 Oct 2023cs.SEcited by 30

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 8; 2025: 14; 2026: 7.

30 papers.

Sort:

By area:

  1. 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
  2. 2025Taming Latency-Memory Trade-Off in MoE-Based LLM Serving via Fine-Grained Expert Offloadingcited by 24
  3. 2025A Survey of AIOps in the Era of Large Language Modelscited by 18
  4. 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 13
  5. 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
  6. 2025On the Effectiveness of Large Language Models in Writing Alloy Formulascited by 7
  7. 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
  8. 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 6
  9. 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
  10. 2026A Survey on Evaluating Quality and Trustworthiness in LLM-Generated Datacited by 5
  11. 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Modelcited by 4
  12. 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
18 more
  1. 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correctioncited by 3
  2. 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Modelscited by 3
  3. 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Modelscited by 3
  4. 2024HELP: Hierarchical Embeddings-based Log Parsingcited by 2
  5. 2025System Log Parsing with Large Language Models: A Reviewcited by 2
  6. 2025SDLog: A Deep Learning Framework for Detecting Sensitive Information in Software Logscited by 2
  7. 2025OBsmith: LLM-Powered JavaScript Obfuscator Testingcited by 2
  8. 2026LanG -- A Governance-Aware Agentic AI Platform for Unified Security Operationscited by 1
  9. 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMscited by 1
  10. 2026TriCalRAG: A Three-Strategy, Retrieval-Augmented Benchmark for On-Premise LLM-Based Root Cause Analysis in AIOpscited by 1
  11. 2024Fine Grained Insider Risk Detectioncited by 0
  12. 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognitioncited by 0
  13. 2025LLMBisect: Breaking Barriers in Bug Bisection with A Comparative Analysis Pipelinecited by 0
  14. 2025REFLEX: Reference-Free Evaluation of Log Summarization via Large Language Model Judgmentcited by 0
  15. 2025Scalable and Efficient Large-Scale Log Analysis with LLMs: An IT Software Support Case Studycited by 0
  16. 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learningcited by 0
  17. 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaborationcited by 0
  18. 2026TriFleetRCA: On-Premise LLM Root Cause Analysis for Kubernetescited by 0