mlsanityData to 7 Oct 2026

AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Model

arXiv 2501.11031 ↗First posted 19 Jan 2025cs.SE cs.AI cs.CLcited by 4

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  7. 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
  8. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  9. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  10. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  11. 2020A Review of Uncertainty Quantification in Deep Learning: Techniques, Applications and Challengescited by 813
  12. 2022A Survey on In-context Learningcited by 717
38 more
  1. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
  2. 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 437
  3. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
  4. 2023Larger language models do in-context learning differentlycited by 386
  5. 2024Large Language Models for Mathematical Reasoning: Progresses and Challengescited by 283
  6. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
  7. 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 249
  8. 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 163
  9. 2023Conformal Prediction with Large Language Models for Multi-Choice Question Answeringcited by 131
  10. 2023Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!cited by 119
  11. 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
  12. 2023When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunitiescited by 89
  13. 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 82
  14. 2018Quantifying Uncertainties in Natural Language Processing Taskscited by 79
  15. 2018Lightweight Probabilistic Deep Networkscited by 77
  16. 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 68
  17. 2021Log-based Anomaly Detection Without Log Parsingcited by 59
  18. 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
  19. 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
  20. 2021Reordering Examples Helps during Priming-based Few-Shot Learningcited by 50
  21. 2023Evaluating and Improving Tool-Augmented Computation-Intensive Math Reasoningcited by 49
  22. 2023What Makes Good In-context Demonstrations for Code Intelligence Tasks with LLMs?cited by 47
  23. 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 39
  24. 2022SPT-Code: Sequence-to-Sequence Pre-Training for Learning Source Code Representationscited by 35
  25. 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategiescited by 34
  26. 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsingcited by 32
  27. 2021LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Modelcited by 30
  28. 2023LILAC: Log Parsing using LLMs with Adaptive Parsing Cachecited by 30
  29. 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
  30. 2022CoCoSoDa: Effective Contrastive Learning for Code Searchcited by 21
  31. 2024LogParser-LLM: Advancing Efficient Log Parsing with Large Language Modelscited by 20
  32. 2019How Bad Can a Bug Get? An Empirical Analysis of Software Failures in the OpenStack Cloud Computing Platformcited by 11
  33. 2022Improving Automated Program Repair with Domain Adaptationcited by 10
  34. 2023Exploring the Effectiveness of LLMs in Automated Logging Generation: An Empirical Studycited by 9
  35. 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
  36. 2024LogSD: Detecting Anomalies from System Logs through Self-supervised Learning and Frequency-based Maskingcited by 4
  37. 2024Stronger, Cheaper and Demonstration-Free Log Parsing with LLMscited by 3
  38. 2024LogRCA: Log-based Root Cause Analysis for Distributed Servicescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024LogEval: A Comprehensive Benchmark Suite for Large Language Models In Log Analysis
  2. 2026Improve Large Language Model Systems with User Logs
  3. 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correction
  4. 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Merging
  5. 2025Optimising Language Models for Downstream Tasks: A Post-Training Perspective
  6. 2026CelerLog: Fast Log Parsing via Dynamic Routing ↗
  7. 2025R-Log: Incentivizing Log Analysis Capability in LLMs via Reasoning-based Reinforcement Learning
  8. 2026Instruction-Tuned LLMs for Parsing and Mining Unstructured Logs on Leadership HPC Systems