AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Model
Not on the map. Why?
Abstract (arXiv)
Automated log analysis is crucial to ensure high availability and reliability of complex systems. The advent of LLMs in NLP has ushered in a new era of language model-driven automated log analysis, garnering significant interest. Within this field, two primary paradigms based on language models for log analysis have become prominent. Small Language Models (SLMs) follow the pre-train and fine-tune paradigm, focusing on the specific log analysis task through fine-tuning on supervised datasets. On the other hand, LLMs following the in-context learning paradigm, analyze logs by providing a few examples in prompt contexts without updating parameters. Despite their respective strengths, we notice that SLMs are more cost-effective but less powerful, whereas LLMs with large parameters are highly powerful but expensive and inefficient. To trade-off between the performance and inference costs of both models in automated log analysis, this paper introduces an adaptive log analysis framework known as AdaptiveLog, which effectively reduces the costs associated with LLM while ensuring superior results. This framework collaborates an LLM and a small language model, strategically allocating the LLM to tackle complex logs while delegating simpler logs to the SLM. Specifically, to efficiently query the LLM, we propose an adaptive selection strategy based on the uncertainty estimation of the SLM, where the LLM is invoked only when the SLM is uncertain. In addition, to enhance the reasoning ability of the LLM in log analysis tasks, we propose a novel prompt strategy by retrieving similar error-prone cases as the reference, enabling the model to leverage past error experiences and learn solutions from these cases. Extensive experiments demonstrate that AdaptiveLog achieves state-of-the-art results across different tasks, elevating the overall accuracy of log analysis while maintaining cost efficiency.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 50 of its 97 references that are in the map. First posted on arXiv 19 Jan 2025.
Builds on
50 of 97 references.
References · 50
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2020A Review of Uncertainty Quantification in Deep Learning: Techniques, Applications and Challengescited by 813
- 2022A Survey on In-context Learningcited by 717
38 more
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 437
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
- 2023Larger language models do in-context learning differentlycited by 386
- 2024Large Language Models for Mathematical Reasoning: Progresses and Challengescited by 283
- 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
- 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 249
- 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 163
- 2023Conformal Prediction with Large Language Models for Multi-Choice Question Answeringcited by 131
- 2023Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!cited by 119
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
- 2023When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunitiescited by 89
- 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 82
- 2018Quantifying Uncertainties in Natural Language Processing Taskscited by 79
- 2018Lightweight Probabilistic Deep Networkscited by 77
- 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 68
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
- 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
- 2021Reordering Examples Helps during Priming-based Few-Shot Learningcited by 50
- 2023Evaluating and Improving Tool-Augmented Computation-Intensive Math Reasoningcited by 49
- 2023What Makes Good In-context Demonstrations for Code Intelligence Tasks with LLMs?cited by 47
- 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 39
- 2022SPT-Code: Sequence-to-Sequence Pre-Training for Learning Source Code Representationscited by 35
- 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategiescited by 34
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsingcited by 32
- 2021LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Modelcited by 30
- 2023LILAC: Log Parsing using LLMs with Adaptive Parsing Cachecited by 30
- 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
- 2022CoCoSoDa: Effective Contrastive Learning for Code Searchcited by 21
- 2024LogParser-LLM: Advancing Efficient Log Parsing with Large Language Modelscited by 20
- 2019How Bad Can a Bug Get? An Empirical Analysis of Software Failures in the OpenStack Cloud Computing Platformcited by 11
- 2022Improving Automated Program Repair with Domain Adaptationcited by 10
- 2023Exploring the Effectiveness of LLMs in Automated Logging Generation: An Empirical Studycited by 9
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
- 2024LogSD: Detecting Anomalies from System Logs through Self-supervised Learning and Frequency-based Maskingcited by 4
- 2024Stronger, Cheaper and Demonstration-Free Log Parsing with LLMscited by 3
- 2024LogRCA: Log-based Root Cause Analysis for Distributed Servicescited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2025LogReasoner: Empowering LLMs with Expert-like Coarse-to-Fine Reasoning for Automated Log Analysiscited by 0
- 2026Fine-Tuning Small Language Models for Solution-Oriented Windows Event Log Analysiscited by 0
- 2026FAME: Failure-Aware Mixture-of-Experts for Message-Level Log Anomaly Detectioncited by 0
- 2026FAME: Failure-Aware Mixture-of-Experts for Message-Level Log Anomaly Detection21 May 2026
- 2026Fine-Tuning Small Language Models for Solution-Oriented Windows Event Log Analysis7 May 2026
- 2025LogReasoner: Empowering LLMs with Expert-like Coarse-to-Fine Reasoning for Automated Log Analysis25 Sep 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2024LogEval: A Comprehensive Benchmark Suite for Large Language Models In Log Analysis
- 2026Improve Large Language Model Systems with User Logs
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correction
- 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Merging
- 2025Optimising Language Models for Downstream Tasks: A Post-Training Perspective
- 2026CelerLog: Fast Log Parsing via Dynamic Routing ↗
- 2025R-Log: Incentivizing Log Analysis Capability in LLMs via Reasoning-based Reinforcement Learning
- 2026Instruction-Tuned LLMs for Parsing and Mining Unstructured Logs on Leadership HPC Systems