mlsanityData to 7 Oct 2026

Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge

arXiv 2412.01377 ↗First posted 2 Dec 2024cs.CL cs.SEcited by 6

Not on the map. Why?

Abstract (arXiv)

Log analysis represents a critical sub-domain within AI applications that facilitates automatic approaches to fault and error management of large-scaled software systems, saving labors of traditional manual methods. While existing solutions using large language models (LLMs) show promise, they are limited by a significant domain gap between natural and log languages (the latter contains rich domain-specific tokens such as status codes, IP addresses, resource pathes), which restricts their effectiveness in real-world applications. However, directly adapting general-purpose LLMs to log analysis using raw logs may degrade their performance due to inconsistent token distribution. In this paper, we present a domain adaptation approach that addresses these limitations by integrating interpretable domain knowledge into open-source LLMs through continual pre-training (CPT), which bridges this domain gap by adapting LLMs on interpretable natural texts with log knowledge (instead of raw logs) to reduce distribution discrepancy. To achieve this, we developed NLPLog, a comprehensive dataset containing over 250,000 question-answer pairs on log-related knowledge. Our resulting model, SuperLog, achieves the best performance across four log analysis tasks, with an average accuracy improvement of 12.01% over the second-best model. Ablation study also suggests advantages of domain adaption using interpretable log knowledge over using raw logs.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 43 of its 81 references that are in the map. First posted on arXiv 2 Dec 2024.

Builds on

43 of 81 references.

References · 43

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2023Qwen Technical Reportcited by 3,273
  7. 2023Mistral 7Bcited by 3,065
  8. 2023A Survey of Large Language Modelscited by 2,537
  9. 2024Qwen2 Technical Reportcited by 2,076
  10. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  11. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  12. 2019Publicly Available Clinical BERT Embeddingscited by 995
31 more
  1. 2023Baichuan 2: Open Large-scale Language Modelscited by 664
  2. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  3. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  4. 2024InternLM2 Technical Reportcited by 391
  5. 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 262
  6. 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
  7. 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
  8. 2021LogBERT: Log Anomaly Detection via BERTcited by 114
  9. 2024MegaScale: Scaling Large Language Model Training to More Than 10,000 GPUscited by 111
  10. 2023Text Classification via Large Language Modelscited by 104
  11. 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 82
  12. 2021Log-based Anomaly Detection Without Log Parsingcited by 59
  13. 2018Tools and Benchmarks for Automated Log Parsingcited by 56
  14. 2024Investigating Continual Pretraining in Large Language Models: Insights and Implicationscited by 54
  15. 2024Clustering and Ranking: Diversity-preserved Instruction Selection through Expert-aligned Quality Estimationcited by 53
  16. 2023OWL: A Large Language Model for IT Operationscited by 43
  17. 2023Recommending Root-Cause and Mitigation Steps for Cloud Incidents using Large Language Modelscited by 38
  18. 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategiescited by 34
  19. 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detectioncited by 33
  20. 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsingcited by 32
  21. 2023LILAC: Log Parsing using LLMs with Adaptive Parsing Cachecited by 30
  22. 2023Log Parsing with Prompt-based Few-shot Learningcited by 28
  23. 2024LogParser-LLM: Advancing Efficient Log Parsing with Large Language Modelscited by 20
  24. 2023Did We Miss Something Important? Studying and Exploring Variable-Aware Log Abstractioncited by 19
  25. 2023RAGLog: Log Anomaly Detection using Retrieval Augmented Generationcited by 19
  26. 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
  27. 2021SemParser: A Semantic Parser for Log Analysiscited by 15
  28. 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 13
  29. 2024From Handcrafted Features to LLMs: A Brief Survey for Machine Translation Quality Estimationcited by 10
  30. 2024LogEval: A Comprehensive Benchmark Suite for Large Language Models In Log Analysiscited by 10
  31. 2022LogStamp: Automatic Online Log Parsing Based on Sequence Labellingcited by 6

Built on by

Cited by year (2026 to 7 Oct)

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

6 papers.