LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Model
Not on the map. Why?
Abstract (arXiv)
The system log generated in a computer system refers to large-scale data that are collected simultaneously and used as the basic data for determining errors, intrusion and abnormal behaviors. The aim of system log anomaly detection is to promptly identify anomalies while minimizing human intervention, which is a critical problem in the industry. Previous studies performed anomaly detection through algorithms after converting various forms of log data into a standardized template using a parser. Particularly, a template corresponding to a specific event should be defined in advance for all the log data using which the information within the log key may get lost. In this study, we propose LAnoBERT, a parser free system log anomaly detection method that uses the BERT model, exhibiting excellent natural language processing performance. The proposed method, LAnoBERT, learns the model through masked language modeling, which is a BERT-based pre-training method, and proceeds with unsupervised learning-based anomaly detection using the masked language modeling loss function per log key during the test process. In addition, we also propose an efficient inference process to establish a practically applicable pipeline to the actual system. Experiments on three well-known log datasets, i.e., HDFS, BGL, and Thunderbird, show that not only did LAnoBERT yield a higher anomaly detection performance compared to unsupervised learning-based benchmark models, but also it resulted in a comparable performance with supervised learning-based benchmark models.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 24 of its 52 references that are in the map. First posted on arXiv 18 Nov 2021.
Builds on
24 of 52 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
12 more
- 2019Cross-lingual Language Model Pretrainingcited by 1,088
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
- 2020ProtTrans: Towards Cracking the Language of Life's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 162
- 2021LogBERT: Log Anomaly Detection via BERTcited by 114
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
- 2018Recurrent Neural Network Attention Mechanisms for Interpretable System Log Anomaly Detectioncited by 21
- 2014Detection of Early-Stage Enterprise Infection by Mining Large-Scale Log Datacited by 13
- 2016LSTM-Based System-Call Language Modeling and Robust Ensemble Method for Designing Host-Based Intrusion Detection Systemscited by 9
Built on by
Citing papers per year: 2022: 2; 2023: 5; 2024: 9; 2025: 11; 2026: 3.
30 papers.
Sort:
- 2023Video Understanding with Large Language Models: A Surveycited by 203
- 2024Transformers and Large Language Models for Efficient Intrusion Detection Systems: A Comprehensive Surveycited by 21
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Modelscited by 21
- 2022CAN-BERT do it? Controller Area Network Intrusion Detection System based on BERT Language Modelcited by 17
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challengescited by 13
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2022LogLG: Weakly Supervised Log Anomaly Detection via Log-Event Graph Constructioncited by 8
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusioncited by 8
- 2024LLMcap: Large Language Model for Unsupervised PCAP Failure Detectioncited by 6
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
- 2024FastLogAD: Log Anomaly Detection with Mask-Guided Pseudo Anomaly Generation and Discriminationcited by 4
- 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Modelcited by 4
18 more
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Modelscited by 3
- 2023LogAI: A Library for Log Analytics and Intelligencecited by 2
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2025Deep Learning-based Intrusion Detection Systems: A Surveycited by 2
- 2025RuleGenie: SIEM Detection Rule Set Optimizationcited by 2
- 2023SCMM: Calibrating Cross-modal Representations for Text-Based Person Searchcited by 1
- 2025Large Language Models powered Malicious Traffic Detection: Architecture, Opportunities and Case Studycited by 1
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Modelcited by 1
- 2025A Novel GPT-Based Framework for Anomaly Detection in System Logscited by 1
- 2023RAPID: Training-free Retrieval-based Log Anomaly Detection with PLM considering Token-level informationcited by 0
- 2024Convolutional vs Large Language Models for Software Log Classification in Edge-Deployable Cellular Network Testingcited by 0
- 2024Diagnosing Robotics Systems Issues with Large Language Modelscited by 0
- 2025Good Enough to Learn: LLM-based Anomaly Detection in ECU Logs without Reliable Labelscited by 0
- 2025SeBERTis: A Framework for Producing Classifiers of Security-Related Issue Reportscited by 0
- 2025Debugging Tabular Log as Dynamic Graphscited by 0
- 2026Log anomaly detection via Meta Learning and Prototypical Networks for Cross domain generalizationcited by 0
- 2026Beyond Heavy Log Curation: Perplexity-Based APT Detection via Unsupervised, Context-Augmented Language Modelscited by 0
- 2026Exploring Block Anomaly Detection In HDFS Log Data Analysiscited by 0
- 2026Exploring Block Anomaly Detection In HDFS Log Data Analysis31 Jul 2026
- 2026Beyond Heavy Log Curation: Perplexity-Based APT Detection via Unsupervised, Context-Augmented Language Models23 Jul 2026
- 2026Log anomaly detection via Meta Learning and Prototypical Networks for Cross domain generalization20 Jan 2026
- 2025Debugging Tabular Log as Dynamic Graphs28 Dec 2025
- 2025SeBERTis: A Framework for Producing Classifiers of Security-Related Issue Reports17 Dec 2025
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion12 Dec 2025
- 2025A Novel GPT-Based Framework for Anomaly Detection in System Logs16 Oct 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Good Enough to Learn: LLM-based Anomaly Detection in ECU Logs without Reliable Labels1 Jul 2025
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Model15 May 2025
- 2025RuleGenie: SIEM Detection Rule Set Optimization10 May 2025
- 2025Deep Learning-based Intrusion Detection Systems: A Survey10 Apr 2025
18 more
- 2025Large Language Models powered Malicious Traffic Detection: Architecture, Opportunities and Case Study24 Mar 2025
- 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Model19 Jan 2025
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Models13 Nov 2024
- 2024Diagnosing Robotics Systems Issues with Large Language Models6 Oct 2024
- 2024A Comparative Study on Large Language Models for Log Parsing4 Sep 2024
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024Transformers and Large Language Models for Efficient Intrusion Detection Systems: A Comprehensive Survey14 Aug 2024
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models2 Aug 2024
- 2024Convolutional vs Large Language Models for Software Log Classification in Edge-Deployable Cellular Network Testing4 Jul 2024
- 2024LLMcap: Large Language Model for Unsupervised PCAP Failure Detection3 Jul 2024
- 2024FastLogAD: Log Anomaly Detection with Mask-Guided Pseudo Anomaly Generation and Discrimination12 Apr 2024
- 2023Video Understanding with Large Language Models: A Survey29 Dec 2023
- 2023RAPID: Training-free Retrieval-based Log Anomaly Detection with PLM considering Token-level information9 Nov 2023
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challenges10 Apr 2023
- 2023SCMM: Calibrating Cross-modal Representations for Text-Based Person Search5 Apr 2023
- 2023LogAI: A Library for Log Analytics and Intelligence31 Jan 2023
- 2022CAN-BERT do it? Controller Area Network Intrusion Detection System based on BERT Language Model17 Oct 2022
- 2022LogLG: Weakly Supervised Log Anomaly Detection via Log-Event Graph Construction23 Aug 2022
- 2023Video Understanding with Large Language Models: A Surveycited by 203
- 2024Transformers and Large Language Models for Efficient Intrusion Detection Systems: A Comprehensive Surveycited by 21
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Modelscited by 21
- 2022CAN-BERT do it? Controller Area Network Intrusion Detection System based on BERT Language Modelcited by 17
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challengescited by 13
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2022LogLG: Weakly Supervised Log Anomaly Detection via Log-Event Graph Constructioncited by 8
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusioncited by 8
- 2024LLMcap: Large Language Model for Unsupervised PCAP Failure Detectioncited by 6
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
- 2024FastLogAD: Log Anomaly Detection with Mask-Guided Pseudo Anomaly Generation and Discriminationcited by 4
- 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Modelcited by 4
12 most cited of 30 All 30 (JSON)
- 2026Exploring Block Anomaly Detection In HDFS Log Data Analysis31 Jul 2026
- 2026Beyond Heavy Log Curation: Perplexity-Based APT Detection via Unsupervised, Context-Augmented Language Models23 Jul 2026
- 2026Log anomaly detection via Meta Learning and Prototypical Networks for Cross domain generalization20 Jan 2026
- 2025Debugging Tabular Log as Dynamic Graphs28 Dec 2025
- 2025SeBERTis: A Framework for Producing Classifiers of Security-Related Issue Reports17 Dec 2025
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion12 Dec 2025
- 2025A Novel GPT-Based Framework for Anomaly Detection in System Logs16 Oct 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Good Enough to Learn: LLM-based Anomaly Detection in ECU Logs without Reliable Labels1 Jul 2025
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Model15 May 2025
- 2025RuleGenie: SIEM Detection Rule Set Optimization10 May 2025
- 2025Deep Learning-based Intrusion Detection Systems: A Survey10 Apr 2025
12 newest of 30 All 30 (JSON)