mlsanityData to 7 Oct 2026

LogLLaMA: Transformer-based log anomaly detection with LLaMA

arXiv 2503.14849 ↗First posted 19 Mar 2025cs.LG cs.CLcited by 3

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 409
  5. 2021LogBERT: Log Anomaly Detection via BERTcited by 114
  6. 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.