mlsanityData to 14 Oct 2026

LogLLM: Log-based Anomaly Detection Using Large Language Models

arXiv 2411.08561 ↗First posted 13 Nov 2024cs.SE cs.AIcited by 22

Not on the map. Why?

Abstract (arXiv)

Software systems often record important runtime information in logs to help with troubleshooting. Log-based anomaly detection has become a key research area that aims to identify system issues through log data, ultimately enhancing the reliability of software systems. Existing methods often fall short in capturing the semantic information, typically expressed in natural language, or the sequential dependencies inherent in log sequences. In this paper, we propose LogLLM, a framework that enables collaboration between heterogeneous LLMs for log-based anomaly detection. LogLLM exploits the complementary capabilities of different LLM architectures: a Transformer encoder-based LLM is employed to extract fine-grained semantic vectors from individual log messages, while a Transformer decoder-based LLM is utilized to model sequential dependencies and generate anomaly detection decisions. To enable effective collaboration between these heterogeneous LLMs, we introduce a learnable projector to align their vector representation spaces. Furthermore, we design a progressive three-stage training strategy to optimize the collaboration between heterogeneous LLMs by gradually aligning their representations and adapting them to log anomaly detection. Unlike conventional methods that require log parsers to extract templates, LogLLM preprocesses log messages with regular expressions, streamlining the entire process. Experimental results on four public real-world datasets demonstrate that LogLLM outperforms state-of-the-art methods, achieving an average F1-score improvement of 6.6% over the strongest existing approach. Further analyses provide insights into the effectiveness of the key components of the model architecture and progressive three-stage training strategy.

Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 23 of its 69 references that are in the map. First posted on arXiv 13 Nov 2024.

Builds on

23 of 69 references.

References · 23

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  7. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  8. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
  9. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 834
  10. 2016FastText.zip: Compressing text classification modelscited by 335
  11. 2021LogBERT: Log Anomaly Detection via BERTcited by 118
  12. 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 70
11 more
  1. 2021Log-based Anomaly Detection Without Log Parsingcited by 59
  2. 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 57
  3. 2018Tools and Benchmarks for Automated Log Parsingcited by 56
  4. 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detectioncited by 35
  5. 2021LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Modelcited by 30
  6. 2023Log Parsing with Prompt-based Few-shot Learningcited by 29
  7. 2023RAGLog: Log Anomaly Detection using Retrieval Augmented Generationcited by 19
  8. 2022LogGD:Detecting Anomalies from System Logs by Graph Neural Networkscited by 8
  9. 2021OneLog: Towards End-to-End Training in Software Log Anomaly Detectioncited by 7
  10. 2024DABL: Detecting Semantic Anomalies in Business Processes Using Large Language Modelscited by 5
  11. 2024FastLogAD: Log Anomaly Detection with Mask-Guided Pseudo Anomaly Generation and Discriminationcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 10; 2026: 12.

22 papers.

Sort:

By area:

  1. 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
  2. 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusioncited by 8
  3. 2025K4: Online Log Anomaly Detection Via Unsupervised Typicality Learningcited by 6
  4. 2025FALCON: Transforming Cyber Threat Intelligence into Deployable IDS Rules with Self-Reflectioncited by 4
  5. 2026Retrieval-Augmented LLMs for Security Incident Analysiscited by 4
  6. 2025Domain Specific Benchmarks for Evaluating Multimodal Large Language Modelscited by 3
  7. 2025LogReasoner: Empowering LLMs with Expert-like Coarse-to-Fine Reasoning for Automated Log Analysiscited by 2
  8. 2026KORAL: Knowledge Graph Guided LLM Reasoning for SSD Operational Analysiscited by 2
  9. 2025ALPHA: LLM-Enabled Active Learning for Human-Free Network Anomaly Detectioncited by 1
  10. 2025Towards Generalizable Context-aware Anomaly Detection: A Large-scale Benchmark in Cloud Environmentscited by 0
  11. 2025Information-Dense Reasoning for Efficient and Auditable Security Alert Triagecited by 0
  12. 2025Automated Fault Detection in 5G Core Networks Using Large Language Modelscited by 0
10 more
  1. 2026DP-FlogTinyLLM: Differentially private federated log anomaly detection using Tiny LLMscited by 0
  2. 2026NLLog: Lightweight, Explainable SOC Anomaly Detection via Log-to-Language Rewritingcited by 0
  3. 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoningcited by 0
  4. 2026Can Large Language Models Reason about Event-Time Stream-Processing Semantics?cited by 0
  5. 2026Too Sure to Be Safe: Model Calibration for Reliable Log Anomaly Detectioncited by 0
  6. 2026From Noise to Signal: Improving Security Log Anomaly Detection Using LLMs with Endpoint-Specific Logscited by 0
  7. 2026Large Language Models in the Loop: A Stability- and Network-Aware Survey in Networked Control, Cyber-Physical, and Multi-Agent Systemscited by 0
  8. 2026TriFleetRCA: On-Premise LLM Root Cause Analysis for Kubernetescited by 0
  9. 2026Towards Understanding LLM-Based Log Anomaly Detection: An Empirical Study of Performance, Efficiency, and Robustnesscited by 0
  10. 2026Protocol-Sensitive Evaluation of Log Anomaly Detection: Component Costs and Target-Access Sensitivity on HDFS and BGLcited by 0