LogLLaMA: Transformer-based log anomaly detection with LLaMA
Not on the map. Why?
Abstract (arXiv)
Log anomaly detection refers to the task that distinguishes the anomalous log messages from normal log messages. Transformer-based large language models (LLMs) are becoming popular for log anomaly detection because of their superb ability to understand complex and long language patterns. In this paper, we propose LogLLaMA, a novel framework that leverages LLaMA2. LogLLaMA is first finetuned on normal log messages from three large-scale datasets to learn their patterns. After finetuning, the model is capable of generating successive log messages given previous log messages. Our generative model is further trained to identify anomalous log messages using reinforcement learning (RL). The experimental results show that LogLLaMA outperforms the state-of-the-art approaches for anomaly detection on BGL, Thunderbird, and HDFS datasets.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 6 of its 24 references that are in the map. First posted on arXiv 19 Mar 2025.
Builds on
6 of 24 references.
References · 6
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 409
- 2021LogBERT: Log Anomaly Detection via BERTcited by 114
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Benchmarking Small Language Models and Small Reasoning Language Models on System Log Severity Classificationcited by 1
- 2026NLLog: Lightweight, Explainable SOC Anomaly Detection via Log-to-Language Rewritingcited by 0
- 2026LogNEO: A GPT-Neo Reinforcement Learning Framework for Accurate Real-Time Log Anomaly Detectioncited by 0
- 2026LogNEO: A GPT-Neo Reinforcement Learning Framework for Accurate Real-Time Log Anomaly Detection6 Jun 2026
- 2026NLLog: Lightweight, Explainable SOC Anomaly Detection via Log-to-Language Rewriting3 Jun 2026
- 2026Benchmarking Small Language Models and Small Reasoning Language Models on System Log Severity Classification12 Jan 2026