MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Log parsing converts semi-structured logs into structured templates, forming a critical foundation for downstream analysis. Traditional syntax and semantic-based parsers often struggle with semantic variations in evolving logs and data scarcity stemming from their limited domain coverage. Recent large language model (LLM)-based parsers leverage in-context learning (ICL) to extract semantics from examples, demonstrating superior accuracy. However, LLM-based parsers face two main challenges: 1) underutilization of ICL capabilities, particularly in dynamic example selection and cross-domain generalization, leading to inconsistent performance; 2) time-consuming and costly LLM querying. To address these challenges, we present MicLog, the first progressive meta in-context learning (ProgMeta-ICL) log parsing framework that combines meta-learning with ICL on small open-source LLMs (i.e., Qwen-2.5-3B). Specifically, MicLog: i) enhances LLMs' ICL capability through a zero-shot to k-shot ProgMeta-ICL paradigm, employing weighted DBSCAN candidate sampling and enhanced BM25 demonstration selection; ii) accelerates parsing via a multi-level pre-query cache that dynamically matches and refines recently parsed templates. Evaluated on Loghub-2.0, MicLog achieves 10.3% higher parsing accuracy than the state-of-the-art parser while reducing parsing time by 42.4%.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 43 references that are in the map. First posted on arXiv 11 Jan 2026.
Builds on
17 of 43 references.
References · 17
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2022A Survey on In-context Learningcited by 717
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2021Meta-learning via Language Model In-context Tuningcited by 163
- 2023What and How does In-Context Learning Learn? Bayesian Model Averaging, Parameterization, and Generalizationcited by 112
- 2021Template-free Prompt Tuning for Few-shot NERcited by 73
- 2018Tools and Benchmarks for Automated Log Parsingcited by 56
- 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
- 2023LILAC: Log Parsing using LLMs with Adaptive Parsing Cachecited by 30
- 2023Revisiting Large Language Models as Zero-shot Relation Extractorscited by 29
5 more
- 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
- 2023A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We?cited by 25
- 2021SemParser: A Semantic Parser for Log Analysiscited by 15
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correctioncited by 3
Built on by
Not cited yet.