LogBERT: Log Anomaly Detection via BERT
The DOI matches its Crossref record; 28 of the 28 references it cites were found in a registry or an index.
Abstract
Detecting anomalous events in online computer systems is crucial to protect the systems from malicious attacks or malfunctions. System logs, which record detailed information of computational events, are widely used for system status analysis. In this paper, we propose LogBERT, a self-supervised framework for log anomaly detection based on Bidirectional Encoder Representations from Transformers (BERT). LogBERT learns the patterns of normal log sequences by two novel self-supervised training tasks, masked log message prediction and volume of hypersphere minimization. After training, LogBERT is able to capture the patterns of normal log sequences and further detect anomalies where the underlying patterns deviate from expected patterns. The experimental results on three log datasets show that LogBERT outperforms state-of-the-art approaches for anomaly detection.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source doesn’t support the claim as written.
In the citing paper
“However, the study reported ROC metrics only, omitting PR-AUC, calibration, and latency evaluation.”
From A SIEM-Integrated Cybersecurity Prototype for Insider Threat Anomaly Detection Using Enterprise Logs and Behavioural Biometrics (2025) · cites this paper as [7]
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“LogBERT achieved ROC-AUC > 0.90 on large-scale log corpora (HDFS, BGL) and proved effective for unseen attack types.”
From A SIEM-Integrated Cybersecurity Prototype for Insider Threat Anomaly Detection Using Enterprise Logs and Behavioural Biometrics (2025) · cites this paper as [7]
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Likewise, calibrated scoring and threshold control are often omitted, even though analysts require stable, interpretable alert probabilities to manage false positives.”
From A SIEM-Integrated Cybersecurity Prototype for Insider Threat Anomaly Detection Using Enterprise Logs and Behavioural Biometrics (2025) · cites this paper as [7]
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“(ii) deep CNN, LSTM, and Transformer models improve temporal representation but are largely uncalibrated and offline [1,3,8,23];”
From A SIEM-Integrated Cybersecurity Prototype for Insider Threat Anomaly Detection Using Enterprise Logs and Behavioural Biometrics (2025) · cites this paper as [7]
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“LogBERT[28] innovatively introduced Masked Language Modeling (MLM), treating logs as word sequences and utilizing BERT's powerful attention mechanism to learn long-distance contextual dependencies.”
From From Correlation to Intervention: A Survey on Log-Based Causal Analysis for Security and AIOps (2026) · cites this paper as [28]
Experimental — accuracy not yet measured
3 more claims about this paper
Create a free account to see every claim other papers make about this one.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 2×
“attention sub-layer and a position-wise feed forward sub-layer, in which a residual connection is employed around each of two sub-layers, followed by layer normalization [17].”
Exploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173 · cited 2×
“Inspired by BERT [8], LogBERT leverages the Transformer encoder to model log sequences and is trained by novel self-supervised tasks to capture the patterns of normal sequences.”
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325 · cited 2×
“Inspired by BERT [8], LogBERT leverages the Transformer encoder to model log sequences and is trained by novel self-supervised tasks to capture the patterns of normal sequences.”
Nonlinear Dimensionality Reduction by Locally Linear Embedding
Roweis, S. T., & Saul, L. K. (2000) · Science · doi:10.1126/science.290.5500.2323 · Cited by 14,965 · cited 1×
“In order to visualize the log sequences, we adopt locally linear embedding (LLE) algorithm [24] to map”
Liu, F. T., Ting, K. M., & Zhou, Z.-H. (2008) · 2008 Eighth IEEE International Conference on Data Mining · doi:10.1109/icdm.2008.17 · Cited by 6,601 · cited 1×
“– IsolationForest (iForest) [7].”
Estimating the Support of a High-Dimensional Distribution
Schölkopf, B., Platt, J. C., Shawe-Taylor, J., Smola, A. J., & Williamson, R. C. (2001) · Neural Computation · doi:10.1162/089976601750264965 · Cited by 6,168
Convolutional Sequence to Sequence Learning
Gehring, J., Auli, M., Grangier, D., Yarats, D., & Dauphin, Y. N. (2017) · arXiv · doi:10.48550/arxiv.1705.03122 · Cited by 2,850 · cited 1×
“In 2017, the Facebook AI team [58] adopted CNN in sequence-to-sequence learning by using convolution kernels to extract the information of sequences.”
MethodDeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
Du, M., Li, F., Zheng, G., & Srikumar, V. (2017) · Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3133956.3134015 · Cited by 1,835 · cited 11×
“Regarding baselines, we leverage the package Loglizer [4] to evaluate PCA, OCSVM, iForest as well as LogCluster for anomaly detection and adopt the open source deep learning-based log analysis toolkit to evaluate DeepLog and LogAnomaly 3 .”
InfluentialRuff, L., Vandermeulen, R. A., Görnitz, N., Deecke, L., Siddiqui, S. A., Binder, A., Müller, E., & Kloft, M. (2018) · International Conference on Machine Learning · Cited by 1,719
Cited by
Log-based Anomaly Detection Without Log Parsing
Le, V.-H., & Zhang, H. (2021) · 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase51524.2021.9678773 · Cited by 361
“automatically detect anomalies by analyzing log data [3], [4], [5], [6], [7], [8], [9].”
MethodLog-based anomaly detection with deep learning: how far are we?
Le, V.-H., & Zhang, H. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510155 · Cited by 257
“It has been applied in [15, 26, 39] for log-based anomaly detection.”
MethodDeep learning for anomaly detection in log data: A survey
Landauer, M., Onder, S., Skopik, F., & Wurzenberger, M. (2023) · Machine Learning with Applications · doi:10.1016/j.mlwa.2023.100470 · Cited by 202
“Other common loss functions include the Hyper-Sphere Objective Function (HS) where the distance to the center of a hyper-sphere represents the anomaly score [24], [39], [41], [62], the Mean Squared Error (MSE) that is used for regression [20], [27], [28], [47], [50], [53], [68], and the Kullback-Leibler Divergence (KL…”
BackgroundMethodInfluentialKheddar, H. (2025) · Information Fusion · doi:10.1016/j.inffus.2025.103347 · Cited by 161
LAnoBERT: System log anomaly detection based on BERT masked language model
Lee, Y., Kim, J., & Kang, P. (2023) · Applied Soft Computing · doi:10.1016/j.asoc.2023.110689 · Cited by 194
Log Parsing with Prompt-based Few-shot Learning
Le, V.-H., & Zhang, H. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00204 · Cited by 129
“Several studies also found that RoBERTa is effective for log analysis [16], [33], [47].”
BackgroundA Survey on XAI for 5G and Beyond Security: Technical Aspects, Challenges and Research Directions
Senevirathna, T., La, V. H., Marchal, S., Siniarski, B., Liyanage, M., & Wang, S. (2024) · IEEE Communications Surveys & Tutorials · doi:10.1109/comst.2024.3437248 · Cited by 153
“Furthermore, LLM-based penetrating testing tools (e.g.: PentestGPT [169]), anomaly detection tools (e.g., PAC-GPT [170], LogBERT [171], LogBot [172]), and threat detection tools (e.g., TSTEM [173], Cyber Sentinel [174]) The rise of this new addition to the security stack of 5G and beyond begs the…”
LogFiT: Log Anomaly Detection Using Fine-Tuned Language Models
Almodovar, C., Sabrina, F., Karimi, S., & Azad, S. (2024) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2024.3358730 · Cited by 111
“Additionally, Figure 3 shows LogFiT can be integrated into a system observability platform (such as the Elasticsearch stack) and configured In its early version [20], LogFiT incorporated centroid loss, inspired by the LogBERT [9] method.”
BackgroundMethodInfluentialAutoLog: Anomaly detection by deep autoencoding of system logs
Catillo, M., Pecchia, A., & Villano, U. (2022) · Expert Systems with Applications · doi:10.1016/j.eswa.2021.116263 · Cited by 102
RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Models
Wang, Z., Liu, Z., Zhang, Y., Zhong, A., Wang, J., Yin, F., Fan, L., Wu, L., & Wen, Q. (2024) · Proceedings of the 33rd ACM International Conference on Information and Knowledge Management · doi:10.1145/3627673.3680016 · Cited by 99
BERT-Log: Anomaly Detection for System Logs Based on Pre-trained Language Model
Chen, S., & Liao, H. (2022) · Applied Artificial Intelligence · doi:10.1080/08839514.2022.2145642 · Cited by 87
“LogBERT (Guo, Yuan, and Wu 2021) learns the patterns of normal log sequences by two novel self-supervised training tasks, masked log message prediction and volume of hypersphere minimization, but it does not identify and train the semantic information of abnormal logs.”
BackgroundMa, M., Han, L., & Zhou, C. (2023) · Advanced Engineering Informatics · doi:10.1016/j.aei.2023.101949 · Cited by 101
“This problem also exists in the work of Haixuan [42], Markus [43] and Sergio [44] et al. Hayato [45] et al. used the attention mechanism in Transformer model for unsupervised anomaly noise detection task.”
MethodLogGPT: Log Anomaly Detection via GPT
Han, X., Yuan, S., & Trabelsi, M. (2023) · 2023 IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata59044.2023.10386543 · Cited by 63
Self-citationBenchmarking Large Language Models for Log Analysis, Security, and Interpretation
Karlsen, E., Luo, X., Zincir-Heywood, N., & Heywood, M. (2024) · Journal of Network and Systems Management · doi:10.1007/s10922-024-09831-x · Cited by 71
“Guo et al. [16] propose an anomaly detection system called LogBERT.”
Unsupervised Cross-system Log Anomaly Detection via Domain Adaptation
Han, X., & Yuan, S. (2021) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3459637.3482209 · Cited by 75
Self-citationLogEncoder: Log-Based Contrastive Representation Learning for Anomaly Detection
Qi, J., Luan, Z., Huang, S., Fung, C., Yang, H., Li, H., Zhu, D., & Qian, D. (2023) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2023.3239522 · Cited by 75
“Except for DeepLog, other prior studies are solving the challenge of discrete property of logs by leveraging word2vec [10] or event embedding technology [11].”
MethodLevshun, D., & Kotenko, I. V. (2023) · Artificial Intelligence Review · doi:10.1007/s10462-022-10381-4 · Cited by 80
“BERT models also allow learning the context of event log keys in anomaly detection systems LAnoBERT (Lee et al. 2021) and LogBERT (Guo et al. 2021).”
MethodCAN-BERT do it? Controller Area Network Intrusion Detection System based on BERT Language Model
Alkhatib, N., Mushtaq, M., Ghauch, H., & Danger, J. (2022) · IEEE/ACS International Conference on Computer Systems and Applications (AICCSA) · doi:10.1109/aiccsa56895.2022.10017800 · Cited by 99
“Inspired by its outstanding performance in modeling sequential data, BERT is recently employed for sequence anomaly detection [6] [7] [8] [9] [10].”
Landauer, M., Skopik, F., & Wurzenberger, M. (2024) · Proceedings of the ACM on Software Engineering · doi:10.1145/3660768 · Cited by 61
“We noticed that the chosen size of the time-window varies significantly in these works, ranging from 5 minutes [9] up to six hours [5].”
BackgroundMethodImproving Log-Based Anomaly Detection by Pre-Training Hierarchical Transformers
Huang, S.-H., Liu, Y., Fung, C. J., Wang, H., Yang, H.-L., & Luan, Z.-Z. (2023) · IEEE transactions on computers · doi:10.1109/tc.2023.3257518 · Cited by 54
“LogBERT[16] proposedaself-supervisedframeworkforloganomalydetec-tion.”
MethodZhang, C., Wang, X., Zhang, H., Zhang, H., & Han, P. (2021) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2021.3125967 · Cited by 49
MLog: Mogrifier LSTM-Based Log Anomaly Detection Approach Using Semantic Representation
Fu, Y., Liang, K., & Xu, J. (2023) · IEEE Transactions on Services Computing · doi:10.1109/tsc.2023.3289488 · Cited by 49
LayerLog: Log sequence anomaly detection based on hierarchical semantics
Zhang, C., Wang, X., Zhang, H., Zhang, J., Zhang, H., Liu, C., & Han, P. (2022) · Applied Soft Computing · doi:10.1016/j.asoc.2022.109860 · Cited by 54
Temporal Logical Attention Network for Log-Based Anomaly Detection in Distributed Systems
Liu, Y., Ren, S., Wang, X., & Zhou, M. (2024) · Sensors · doi:10.3390/s24247949 · Cited by 110
“While LogRobust [4] employs attention mechanisms at the template level and LogBERT [8] focuses on contextual embeddings, our framework explicitly models both temporal and structural dependencies.”
InfluentialLLM-LADE: Large language model-based log anomaly detection with explanation
Zhang, Z., Li, S., Zhang, L., Ye, J., Hu, C., & Yan, L. (2025) · Knowledge-Based Systems · doi:10.1016/j.knosys.2025.114064 · Cited by 42
Loader: A Log Anomaly Detector Based on Transformer
Xiao, T. Y., Quan, Z., Wang, Z.-J., Le, Y., Du, Y., Liao, X., Li, K., & Li, K. (2023) · IEEE Transactions on Services Computing · doi:10.1109/tsc.2023.3280575 · Cited by 48
“LogBERT [37]: Like Loader, LogBERT also leverages the Transformer encoder to model normal log sequences.”
MethodLogGT: Cross-system log anomaly detection via heterogeneous graph feature and transfer learning
Wang, P., Zhang, X., Cao, Z., Xu, W., & Li, W. (2024) · Expert Systems with Applications · doi:10.1016/j.eswa.2024.124082 · Cited by 47
KnowLog: Knowledge Enhanced Pre-trained Language Model for Log Understanding
Ma, L., Yang, W., Xu, B., Jiang, S., Fei, B., Liang, J., Zhou, M., & Xiao, Y. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3623304 · Cited by 35
“Typical applications include log parsing [9, 27, 35, 58, 64], anomaly detection [11, 15, 26, 59, 61, 63], fault diagnosis [19, 62], failure prediction [34, 37, 38], etc.”
BackgroundA Review of Advancements and Applications of Pre-Trained Language Models in Cybersecurity
Liu, Z. (2024) · International Symposium on Digital Forensics and Security (ISDFS) · doi:10.1109/isdfs60797.2024.10527236 · Cited by 56
“Guo et al. [90] introduced LogBERT, a self-supervised framework based on BERT for log anomaly detection that learns normal log patterns through novel training tasks, showing superior performance over traditional methods.”
MethodEHR-BERT: A BERT-based model for effective anomaly detection in electronic health records
Niu, H., Omitaomu, O. A., Langston, M. A., Olama, M., Özmen, Ö., Klasky, H. B., Laurio, A., Ward, M. C., & Nebeker, J. R. (2024) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2024.104605 · Cited by 59
Anomaly Detection in Log Files Using Selected Natural Language Processing Methods
Ryciak, P., Wasielewska, K., & Janicki, A. (2022) · Applied Sciences · doi:10.3390/app12105089 · Cited by 54
Large language model-based optical network log analysis using LLaMA2 with instruction tuning
Pang, Y., Zhang, M., Liu, Y., Li, X., Wang, Y., Huan, Y., Liu, Z., Li, J., & Wang, D. (2024) · Journal of Optical Communications and Networking · doi:10.1364/jocn.527874 · Cited by 49
“LogBERT [27]: LogBERT is a self-supervised framework based on BERT.”
MethodCAT: Beyond Efficient Transformer for Content-Aware Anomaly Detection in Event Sequences
Zhang, S., Liu, Y., Zhang, X., Cheng, W., Chen, H., & Xiong, H. (2022) · Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining · doi:10.1145/3534678.3539155 · Cited by 35
“Such form of loss function, although being commonly used in other works [17, 36], only forces latent representations to be close with each other, but not forming a decision boundary.”
BackgroundMethodInfluentialTime Series Anomaly Detection Using Transformer-Based GAN With Two-Step Masking
Shin, A.-H., Kim, S. T., & Park, G.-M. (2023) · IEEE Access · doi:10.1109/access.2023.3289921 · Cited by 39
“…which proposes the Masked Language Model (MLM) technique to pretrain the language representation, many studies also adopt the masking methods, like [47] for action recognition, [47] for text classification task, [48] for text log anomaly detection, and [49], [50] for visual representation learning.”
MethodDetection of compromised functions in a serverless cloud environment
Ben-Shimol, L., Lavi, D., Klevansky, E., Brodt, O., Mimran, D., Elovici, Y., & Shabtai, A. (2024) · Computers & Security · doi:10.1016/j.cose.2024.104261 · Cited by 40
Towards Evaluation and Understanding of Large Language Models for Cyber Operation Automation
Sultana, M., Taylor, A., Li, L., & Majumdar, S. (2023) · IEEE Conference on Communications and Network Security · doi:10.1109/cns59707.2023.10288677 · Cited by 42
“As presented in Table I, several recent works have utilized LLMs to handle log files [19], [20] and extract valuable insights, such as identifying anomalies [21], [22] and advanced persistent threats (APTs) [23].”
BackgroundA comprehensive study of machine learning techniques for log-based anomaly detection
Ali, S., Boufaied, C., Bianculli, D., Branco, P., & Briand, L. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10669-3 · Cited by 53
A2Log: Attentive Augmented Log Anomaly Detection
Wittkopp, T., Acker, A., Nedelkoski, S., Bogatinovski, J., Scheinert, D., Wu, F., & Kao, O. (2022) · Hawaii International Conference on System Sciences (HICSS) · doi:10.24251/hicss.2022.234 · Cited by 38
Research on Log Anomaly Detection Based on Sentence-BERT
Hu, C., Xuekui, S., Dai, H., Zhang, H., & Liu, H. (2023) · Electronics · doi:10.3390/electronics12173580 · Cited by 32
“[24] learned the patterns of normal log sequences using two novel, self-supervised training tasks: the masked log message prediction and volume of hypersphere minimization.”
MethodMAD: Self-Supervised Masked Anomaly Detection Task for Multivariate Time Series
Fu, Y., & Feng, X. (2022) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn55064.2022.9892218 · Cited by 43
“Guo et al. [41] used BERT for detecting anomalous events in online computer systems by learning the patterns of normal log sequences.”
LogEval: A comprehensive benchmark suite for LLMs in log analysis
Cui, T., Ma, S., Chen, Z., Xiao, T., Zhao, C., Tao, S., Liu, Y., Zhang, S., Lin, D., Liu, C., et al. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10701-6 · Cited by 46
“…et al. 2020; Le and Zhang 2023 ; Xiao et al. 2020; Zhu et al. 2019 ; Wang et al. 2022), log anomaly detection (Du et al. 2017 ; Meng et al. 2019 ; Guo et al. 2021; Le and Zhang 2022; Zhao et al. 2021; Zhang et al. 2019 ; Du et al. 2021), log fault diagnosis (Jia et al. 2021; Zhou et al. 2019;…”
USTEP: Unfixed Search Tree for Efficient Log Parsing
Vervaet, A., Chiky, R., & Callau-Zori, M. (2021) · Proceedings · doi:10.1109/icdm51629.2021.00077 · Cited by 31
OneLog: towards end-to-end software log anomaly detection
Hashemi, S., & Mäntylä, M. (2024) · Automated Software Engineering · doi:10.1007/s10515-024-00428-x · Cited by 24
“Rather its silhouette scores are a side product of learning how to detect anomalies.”
Security in DevSecOps: Applying Tools and Machine Learning to Verification and Monitoring Steps
Cankar, M., Petrovic, N., Pita Costa, J., Cernivec, A., Antic, J., Martincic, T., & Stepec, D. (2023) · Companion of the 2023 ACM/SPEC International Conference on Performance Engineering · doi:10.1145/3578245.3584943 · Cited by 24
“It is based on LogBERT [7] and implements self-supervised NLP methods, such as Masked Language Modelling, relying on deep learning techniques and taking into account various aspects relevant to logs, such as semantics of their messages and sequential information.”
MethodAnomaly Detection in Cyber Security with Graph-Based LSTM in Log Analysis
Alaca, Y., Çelik, Y., & Goel, S. (2023) · Chaos Theory and Applications · doi:10.51537/chaos.1348302 · Cited by 28
Log Anomaly Detection with Conformal Alert Control and Evidence-Grounded Incident Ticket Generation
Xin, Q. (2026) · Aviation Electronics Information Technology Telecommunications Electricals Controls (AVITEC) · doi:10.28989/avitec.v8i2.3974 · Cited by 28
Tele-Knowledge Pre-training for Fault Analysis
Chen, Z., Wen, Z., Huang, Y., Chen, M., Geng, Y., Yu, H., Bi, Z., Zhang, Y., Yao, Z., Song, W., et al. (2023) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde55515.2023.00265 · Cited by 44
Self-citationBiglog: Unsupervised Large-scale Pre-training for a Unified Log Representation
Tao, S., Liu, Y., Meng, W., Ren, Z., Yang, H., Chen, X., Zhang, L., Xie, Y., Su, C., Oiao, X., et al. (2023) · International Workshop on Quality of Service · doi:10.1109/iwqos57198.2023.10188759 · Cited by 39
“We also noticed a recent study, LogBERT [25], which leverages both pre-training techniques and BERT to perform log anomaly detection.”
MethodSemi-supervised log anomaly detection based on bidirectional temporal convolution network
Yin, Z., Kong, X., & Yin, C. (2024) · Computers & Security · doi:10.1016/j.cose.2024.103808 · Cited by 25
Systematic Evaluation of Deep Learning Models for Log-based Failure Prediction
Hadadi, F., Dawes, J. H., Shin, D., Bianculli, D., & Briand, L. (2024) · Empirical Software Engineering · doi:10.1007/s10664-024-10501-4 · Cited by 27
ClusterLog: Clustering Logs for Effective Log-based Anomaly Detection
Egersdoerfer, C., Zhang, D., & Dai, D. (2022) · IEEE/ACM Workshop on Fault Tolerance for HPC at eXtreme Scale (FTXS) · doi:10.1109/ftxs56515.2022.00006 · Cited by 30
Cinque, M., Corte, R. D., & Pecchia, A. (2022) · Journal of Network and Computer Applications · doi:10.1016/j.jnca.2022.103515 · Cited by 28
Li, L., & Chen, W. (2024) · Electronics · doi:10.3390/electronics13050945 · Cited by 29
Anomaly Detection on Interleaved Log Data With Semantic Association Mining on Log-Entity Graph
Chu, G., Wang, J., Qi, Q., Sun, H., Zhuang, Z., He, B., Jing, Y., Zhang, L., & Liao, J. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2025.3527856 · Cited by 29
“These datasets are also used in existing works such as [9], [12], [18], [21].”
LLM Meets ML: Data-efficient Anomaly Detection on Unstable Logs
Hadadi, F., Xu, Q., Bianculli, D., & Briand, L. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3771283 · Cited by 37
LogEDL: Log Anomaly Detection via Evidential Deep Learning
Duan, Y., Xue, K., Sun, H., Bao, H., Wei, Y., You, Z., Zhang, Y., Jiang, X., Yang, S., Chen, J., et al. (2024) · Applied Sciences · doi:10.3390/app14167055 · Cited by 32
Xin, Q. (2026) · JEECS (Journal of Electrical Engineering and Computer Sciences) · doi:10.54732/jeecs.v11i1.3 · Cited by 23
“As a result, the same modeling choices used by DeepLog and LogBERT on HDFS (sessionized sequences, normal-only training, and session-level scoring) apply directly to SynHDFS-6k [5], [15].”
Wang, Q., Zhang, X., Wang, X., & Cao, Z. (2021) · Entropy · doi:10.3390/e24010069 · Cited by 29
“It is a common benchmark data for anomaly detection based on logs [30,31].”
BackgroundAdanomaly: Adaptive Anomaly Detection for System Logs with Adversarial Learning
Qi, J., Luan, Z., Huang, S., Wang, Y., Fung, C., Yang, H., & Qian, D. (2022) · IEEE/IFIP Network Operations and Management Symposium (NOMS) · doi:10.1109/noms54207.2022.9789917 · Cited by 26
“[27] proposed LogBERT, a self-supervised framework using transformers (BERT) bidirectional encoder, which to capture the pattern of normal log sequences.”
MethodCyber threat detection: Unsupervised hunting of anomalous commands (UHAC)
Kayhan, V. O., Agrawal, M., & Shivendu, S. (2023) · Decision Support Systems · doi:10.1016/j.dss.2023.113928 · Cited by 26
MDFULog: Multi-Feature Deep Fusion of Unstable Log Anomaly Detection Model
Li, M., Sun, M., Li, G., Han, D., & Zhou, M. (2023) · Applied Sciences · doi:10.3390/app13042237 · Cited by 24
Automatic Parsing and Utilization of System Log Features in Log Analysis: A Survey
Ma, J., Liu, Y., Wan, H., & Sun, G. (2023) · Applied Sciences · doi:10.3390/app13084930 · Cited by 33
LEMAD: LLM-Empowered Multi-Agent System for Anomaly Detection in Power Grid Services
Ji, X., Zhang, L., Zhang, W., Peng, F., Mao, Y., Liao, X., & Zhang, K. (2025) · Electronics · doi:10.3390/electronics14153008 · Cited by 33
Retrieval-Grounded HDFS Log Anomaly Detection and Deterministic Failure Narrative Generation
Sun, X., Zhong, Z. S., & Wu, Q. (2026) · Journal of Computational Systems and Applications · doi:10.64229/j6d7fr94 · Cited by 20
“That property has made HDFS a natural target for sequence-based and representation-based detectors, including Drain-supported pipelines [3,4], DeepLog [5], LogAnomaly [6], PLELog [7], LogBERT [8], and HitAnomaly [9].”
SSDLog: a semi-supervised dual branch model for log anomaly detection
Lu, S., Han, N., Wang, M., Wei, X., Lin, Z., & Wang, D. (2023) · World Wide Web · doi:10.1007/s11280-023-01174-y · Cited by 24
No, G., Lee, Y., Kang, H., & Kang, P. (2024) · Engineering Applications of Artificial Intelligence · doi:10.1016/j.engappai.2024.108613 · Cited by 24
Log Sequence Anomaly Detection Based on Template and Parameter Parsing via BERT
Chai, X., Zhang, H., Zhang, J., Sun, Y., & Das, S. K. (2024) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2024.3428538 · Cited by 26
“Therefore, most methods use ready-made log parsers [6], [7], [8] to extract the constant part in the log for analysis before anomaly detection [9], [10], [11], [12].”
Multi-source data based anomaly detection through temporal and spatial characteristics
Xu, P., Gao, Q., Zhang, Z., & Zhao, K. (2023) · Expert Systems with Applications · doi:10.1016/j.eswa.2023.121675 · Cited by 20
GLAD: Content-Aware Dynamic Graphs For Log Anomaly Detection
Li, Y., Liu, Y., Wang, H., Chen, Z., Cheng, W. D., Chen, Y., Yu, W., Chen, H., & Liu, C. (2023) · IEEE International Conference on Knowledge Graph (ICKG) · doi:10.1109/ickg59574.2023.00007 · Cited by 28
“(2) Sequential learning methods analyze events sequentially with a defined sliding window in order to forecast the subsequent event based on the observation window [6], [12].”
BackgroundMethodInfluentialJin, H., Papadimitriou, G., Raghavan, K., Zuk, P., Balaprakash, P., Wang, C., Mandal, A., & Deelman, E. (2024) · International Conference for High Performance Computing, Networking, Storage and Analysis (SC) · doi:10.1109/sc41406.2024.00098 · Cited by 26
“LogBERT [14] is a self-supervised anomaly detection framework based on BERT that learns the patterns of normal log sequences by two novel self-supervised training tasks and is able to detect anomalies where the underlying patterns deviate from normal log sequences.”
Parameter-Efficient Log Anomaly Detection based on Pre-training model and LORA
He, S., Lei, Y., Zhang, Y., Xie, K., & Sharma, P. K. (2023) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre59848.2023.00038 · Cited by 23
“LogBERT [30] combines two self-supervised tasks to learn the normal log sequence pattern by Transformer.”
MethodBai, J., Chen, S., Zheng, D., & Kuo, M.-J. (2026) · Informatics Electrical and Electronics Engineering (Infotron) · doi:10.33474/infotron.v6i1.24923 · Cited by 16
“The practical advantage of the chosen models is that their decisions and transition assumptions remain directly auditable [11], [12], [18].”
LogPrompt: A Log-based Anomaly Detection Framework Using Prompts
Zhang, T., Huang, X., Zhao, W. P., Bian, S., & Du, P. (2023) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn54540.2023.10191948 · Cited by 26
“Inspired by BERT, Haixuan Guo et al [6] proposed LogBERT based on BERT, which captures the sequential information by learning from normal log sequences.”
MethodAFMF: Time series anomaly detection framework with modified forecasting
Shen, L., Wei, Y., Wang, Y., & Li, H. (2024) · Knowledge-Based Systems · doi:10.1016/j.knosys.2024.111912 · Cited by 20
Pedroso, D. F., de Almeida, L., Pulcinelli, L. E. G., Pulcinelli, G., Akihiro, W., Aisawa, A., Dutra, I., & Bruschi, S. M. (2025) · IEEE Access · doi:10.1109/access.2025.3565220 · Cited by 22
Learning Representations on Logs for AIOps
Gupta, P., Kumar, H., Kar, D., Bhukar, K., Aggarwal, P., & Mohapatra, P. (2023) · IEEE ... International Conference on Cloud Computing · doi:10.1109/cloud60044.2023.00026 · Cited by 36
“LogBERT, BERT-Log, NeuralLog are BERT-based models trained specifically for the task of log anomaly detection [43]–[45].”
MethodAn Exploratory Study on How Non-Determinism in Large Language Models Affects Log Parsing
Astekin, M., Hort, M., & Moonen, L. (2024) · doi:10.1145/3643661.3643952 · Cited by 37
“Several studies have adopted pre-trained language models (PTMs) for different phases of log analysis, including log parsing [12, 16], and anomaly/fault detection [2, 4].”
BackgroundAnomaly Transformer Ensemble Model for Cloud Data Anomaly Detection
Sakong, W., Kwon, J., Min, K., Wang, S., & Kim, W. (2024) · IEEE Transactions on Cloud Computing · doi:10.1109/tcc.2024.3466174 · Cited by 20
“LogBERT [22] is a variant model based on Bidirectional Encoder Representations from Transformers(BERT) designed for anomaly detection using log messages [23].”
Robust log anomaly detection based on contrastive learning and multi-scale MASS
Wang, X., Cao, Q., Wang, Q., Cao, Z., Zhang, X., & Wang, P. (2022) · The Journal of Supercomputing · doi:10.1007/s11227-022-04508-1 · Cited by 17
“Guo et al. [19] proposed LogBert, which uses the Mask mechanism of the Bert model to randomly mask logs in the conversation window for training.”
BackgroundMethodSKDLog: Self-Knowledge Distillation-based CNN for Abnormal Log Detection
Han, N., Lu, S., Wang, D., Wang, M., Tan, X., & Wei, X. (2022) · IEEE Smart World Congress (SWC) · doi:10.1109/smartworld-uic-atc-scalcom-digitaltwin-pricomp-metaverse56740.2022.00122 · Cited by 18
“Similarly, Logbert [20] learns normal log sequence patterns via bert, thus efficiently detecting abnormal logs.”
BackgroundLog Anomaly Detection method based on BERT model optimization
Shao, Y., Zhang, W., Liu, P., Ren, H., Tang, R., Yin, Q., & Li, Q. L. (2022) · International Conference on Cloud Computing and Big Data Analytics (ICCCBDA) · doi:10.1109/icccbda55098.2022.9778900 · Cited by 20
Xie, X., Jian, S., Huang, C., Yu, F., & Deng, Y. (2023) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre59848.2023.00015 · Cited by 18
“In order to generate the semantic embedding for logs, there are many methods adopting deep neural network models [11, 18, 42, 39] to process the template parsed from the raw logs.”
MethodInfluentialFew-Shot Log Anomaly Detection Based on Matching Networks
Han, C., Guan, B., Li, T., Kang, D., Qin, J., & Wu, Y. (2024) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2024.3363626 · Cited by 13
“3) Comparison Methods for Log Anomaly Detection: In order to compare the log anomaly detection method, we chose the LogBERT method [35] based on supervised learning, the LogClass method [36] and the LogAnMeta methods [20] based on semi-supervised learning.”
MethodAnomaly detection in log-event sequences: A federated deep learning approach and open challenges
Himler, P., Landauer, M., Skopik, F., & Wurzenberger, M. (2024) · Machine Learning with Applications · doi:10.1016/j.mlwa.2024.100554 · Cited by 26
Log Anomaly Detection by Leveraging LLM-Based Parsing and Embedding with Attention Mechanism
Fariha, A., Gharavian, V., Makrehchi, M., Rahnamayan, S., Alwidian, S., & Azim, A. (2024) · Conference proceedings - Canadian Conference on Electrical and Computer Engineering · doi:10.1109/ccece59415.2024.10667308 · Cited by 21
“Yicheng et al. [4] proposed a multi-head attention-based sequential model to predict the next event in a log sequence for detecting an abnormal sequence.”
BackgroundMethodInfluentialWang, P., Zhang, X., & Cao, Z. (2025) · Information Fusion · doi:10.1016/j.inffus.2025.103017 · Cited by 21
LogLLaMA: Transformer-based log anomaly detection with LLaMA
Yang, Z., & Harris, I. G. (2025) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn64981.2025.11227209 · Cited by 23
“For instance, LogBERT [6] utilizes a BERT-based model to identify anomalies through masked token prediction.”
InfluentialCyber Intrusion Detection using Natural Language Processing on Windows Event Logs
Steverson, K., Carlin, C., Mullin, J., & Ahiskali, M. (2021) · International Conference on Military Communications and Information Systems (ICMCIS) · doi:10.1109/icmcis52405.2021.9486307 · Cited by 13
Large Language Models for Security Operations Centers: A Comprehensive Survey
Habibzadeh, A., Feyzi, F., & Atani, R. E. (2026) · Journal of Electrical and Computer Engineering · doi:10.1155/jece/3383674 · Cited by 13
“LogBERT [203] is a self-supervised framework that is trained on normal data based on the masked log key prediction (MLKP) and Volume of Hypersphere Minimization (VHM) tasks and, at inference time, detects anomalies by comparing the actual log key of randomly masked tokens with top k predictions.”
Transformer-based Sentiment Analysis for Anomaly Detection on Drone Forensic Timeline
Silalahi, S., Ahmad, T., & Studiawan, H. (2023) · International Symposium on Digital Forensics and Security (ISDFS) · doi:10.1109/isdfs58141.2023.10131749 · Cited by 17
“Similar modeling techniques were proposed by Guo et al. in [8] by adopting the idea of the BERT pre-training approach.”
MethodSpikeLog: Log-Based Anomaly Detection via Potential-Assisted Spiking Neuron Network
Qi, J., Luan, Z., Huang, S., Fung, C., Yang, H., & Qian, D. (2023) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2023.3347695 · Cited by 15
Large language models and unsupervised feature learning: implications for log analysis
Karlsen, E., Luo, X., Zincir-Heywood, N., & Heywood, M. I. (2024) · Annals of Telecommunications · doi:10.1007/s12243-024-01028-2 · Cited by 18
“Guo et al. [9] propose LogBERT, an anomaly detection system that leverages the masked language modeling feature of the NLP transformer model BERT to perform a self-supervised form of anomaly detection on pre-parsed logs extracted using the Drain log parser.”
A classification-by-retrieval framework for few-shot anomaly detection to detect API injection
Aharon, U., Dubin, R., Dvir, A. Z., & Hajaj, C. (2024) · Computers & Security · doi:10.1016/j.cose.2024.104249 · Cited by 25
“This model underwent training with a maximum sequence length of 512, utilizing 4 hidden layers and 4 attention heads, as was the case in a similar task outlined in (Guo, Yuan and Wu, 2021).”
MethodLiu, H., Liu, M., Han, L., Sun, H., & Fu, C. (2025) · Computers & Security · doi:10.1016/j.cose.2025.104387 · Cited by 13
SemiRALD: A semi-supervised hybrid language model for robust Anomalous Log Detection
Sun, Y., Keung, J., Yang, Z., Liu, S., & Yu, H. K. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107743 · Cited by 18
SemiSMAC: A semi-supervised framework for log anomaly detection with automated hyperparameter tuning
Sun, Y., Keung, J., Yang, Z., Liu, S., & Liao, Y. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107869 · Cited by 13
Unsupervised Log Anomaly Detection Method Based on Multi-Feature
He, S., Deng, T., Chen, B., Sherratt, R. S., & Wang, J. (2023) · Computers, materials & continua/Computers, materials & continua (Print) · doi:10.32604/cmc.2023.037392 · Cited by 16
“LogBERT [26] initializes the log template IDs (refers to TemplateID) with random vectors and obtains the log sequence vectors by the Transformer encoder.”
Unsupervised Anomaly Detection in Sequential Process Data: Insights From PIAAC Problem-Solving Tasks
Bulut, O., Gorgun, G., & He, S. (2024) · Zeitschrift für Psychologie · doi:10.1027/2151-2604/a000558 · Cited by 13
LogETA: Time-aware cross-system log-based anomaly detection with inter-class boundary optimization
Gong, K., Luo, S., Pan, L., Zhang, L., Zhang, Y., & Yu, H. (2024) · Future Generation Computer Systems · doi:10.1016/j.future.2024.03.028 · Cited by 14
A Comparative Study on Large Language Models for Log Parsing
Astekin, M., Hort, M., & Moonen, L. (2024) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1145/3674805.3686684 · Cited by 22
“Pre-trained language models, or PTMs, have been applied in several studies for different phases of log analysis, including anomaly detection [3, 7, 17] and log parsing [16, 24].”
Metadata
- Authors
- Guo, H., Yuan, S., & Wu, X.
- Affiliations
- Utah State University (US)
- University of Arkansas at Fayetteville (US)
- ORCID
- Wu, Xintao
- Venue
- 2021 International Joint Conference on Neural Networks (IJCNN)
- Publisher
- IEEE
- Published
- 2021-07-18
- Pages
- 1-8
- ISSN
- 2161-4407 (ISSN-L)
- OpenAlex
- W3199174176
- Semantic Scholar
- 38c0543aa72b68d1ded4237e8cc5333b165ea249
- Cited by
- 454
- References
- 25
- Citations by year
- 2026: 122 · 2025: 124 · 2024: 94 · 2023: 81 · 2022: 26 · 2021: 7
- FWCI
- 48.02
- Type
- conference paper
- Language
- en
- Open access
- closed
- Licence
- Locations
- International Joint Conference on Neural Networks (IJCNN) (publishedVersion)
- Funders
- NSF (1564250,1937010,2103829)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Physical Sciences › Computer Science › Artificial Intelligence › Anomaly Detection Techniques and Applications
- Physical Sciences › Computer Science › Computer Networks and Communications › Network Security and Intrusion Detection
- Keywords
- log anomaly detection, system logs, BERT, self-supervised learning, intrusion detection, cybersecurity
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.