Adapting Large Language Models for Parameter-Efficient Log Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Log Anomaly Detection (LAD) seeks to identify atypical patterns in log data that are crucial to assessing the security and condition of systems. Although Large Language Models (LLMs) have shown tremendous success in various fields, the use of LLMs in enabling the detection of log anomalies is largely unexplored. This work aims to fill this gap. Due to the prohibitive costs involved in fully fine-tuning LLMs, we explore the use of parameter-efficient fine-tuning techniques (PEFTs) for adapting LLMs to LAD. To have an in-depth exploration of the potential of LLM-driven LAD, we present a comprehensive investigation of leveraging two of the most popular PEFTs -- Low-Rank Adaptation (LoRA) and Representation Fine-tuning (ReFT) -- to tap into three prominent LLMs of varying size, including RoBERTa, GPT-2, and Llama-3, for parameter-efficient LAD. Comprehensive experiments on four public log datasets are performed to reveal important insights into effective LLM-driven LAD in several key perspectives, including the efficacy of these PEFT-based LLM-driven LAD methods, their stability, sample efficiency, robustness w.r.t. unstable logs, and cross-dataset generalization. Code is available at https://github.com/mala-lab/LogADReft.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 11 of its 21 references that are in the map. First posted on arXiv 11 Mar 2025.
Builds on
11 of 21 references.
References · 11
- 2017Attention Is All You Needcited by 59,932
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023A Rank Stabilization Scaling Factor for Fine-Tuning with LoRAcited by 231
- 2021LogBERT: Log Anomaly Detection via BERTcited by 114
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
- 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detectioncited by 33
- 2024LogFormer: A Pre-train and Tuning Pipeline for Log Anomaly Detectioncited by 15
- 2024LogELECTRA: Self-supervised Anomaly Detection for Unstructured Logscited by 4
- 2023FastLog: An End-to-End Method to Efficiently Generate and Insert Logging Statementscited by 3
Built on by
Citing papers per year: 2026: 3.
3 papers.