LogLLM: Log-based Anomaly Detection Using Large Language Models
Wei Guan, Jian Cao, Shiyou Qian, Jianqi Gao, Chun Ouyang

TL;DR
LogLLM introduces a novel framework leveraging large language models to improve log-based anomaly detection by capturing semantic information more effectively than traditional methods.
Contribution
The paper presents LogLLM, a new approach combining BERT and Llama models with a vector space alignment technique for improved anomaly detection in logs.
Findings
Outperforms state-of-the-art methods on four datasets.
Effectively detects anomalies in unstable logs.
Captures semantic meaning of log messages accurately.
Abstract
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. Traditional deep learning methods often struggle to capture the semantic information embedded in log data, which is typically organized in natural language. In this paper, we propose LogLLM, a log-based anomaly detection framework that leverages large language models (LLMs). LogLLM employs BERT for extracting semantic vectors from log messages, while utilizing Llama, a transformer decoder-based model, for classifying log sequences. Additionally, we introduce a projector to align the vector representation spaces of BERT and Llama, ensuring a cohesive understanding of log semantics. Unlike conventional methods that require…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Security and Intrusion Detection · Anomaly Detection Techniques and Applications · Topic Modeling
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Linear Layer · Dropout · Linear Warmup With Linear Decay · WordPiece · Dense Connections · ALIGN · Layer Normalization · Adam
