PreprintCited by 561Software System Performance and ReliabilityAnomaly Detection Techniques and ApplicationsNetwork Security and Intrusion Detection

The DOI matches its DataCite record; 24 of the 24 references it cites were found in a registry or an index.

LogBERT: Log Anomaly Detection via BERT

Open access
Guo, Haixuan, Yuan, Shuhan, Wu, Xintao·2021·arXiv

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 and is able to detect anomalies where the underlying patterns deviate from normal log sequences. 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.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2103.04475

Cites

24 of 24 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

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?

  • Classical unsupervised techniques, including PCA and Isolation Forest, obtained F1-scores of 0.741 and 0.718, respectively, on the HDFS dataset.

    “Classical unsupervised techniques, including PCA and Isolation Forest, obtained F1-scores of 0.741 and 0.718, respectively, on the HDFs dataset [6].”

    From Log anomaly detection in AIOps: A real-world implementation using Large Language Models (2026) · cites this paper as [6]

    Table 2 in §4.2 (p. 8) reports HDFS F1-scores of 11.12% for PCA and 60.49% for iForest (Isolation Forest), not 0.741 and 0.718. The methods and dataset match, but the claimed scores contradict the paper's results. (LLM, conf=0.94)

    Checked by a reasoning model — may be wrong.

    Experimental — accuracy not yet measured
  • LogBERT has demonstrated state-of-the-art performance on structured and labeled datasets such as HDFS, BGL, and Thunderbird.

    “While LogBERT has demonstrated state-of-the-art performance on structured and labeled datasets -such as Hadoop Distributed File System (HDFS), BlueGene/L (BGL), and Thunderbird -its applicability to heterogeneous and unlabeled Linux syslogs remains underexplored in the literature.”

    From Log anomaly detection in AIOps: A real-world implementation using Large Language Models (2026) · cites this paper as [6]

    The Experimental Results (p. 8) report that LogBERT achieved the highest F1 score among the tested baselines on HDFS, BGL, and Thunderbird, and the Experimental Setup (p. 7) describes anomaly labels for those datasets. However, the Framework (p. 3) describes the input log messages as unstructured and says they are parsed into log keys; the paper does not establish that the datasets themselves are structured. (LLM, conf=0.86)

    Experimental — accuracy not yet measured
  • Guo et al. [6] followed a similar approach but with larger time windows between 1 to 5 min, and dropped windows shorter than 10 tokens.

    “Guo et al. [6] followed a similar approach but with larger time windows between 1 to 5 min, and instead of following our buffering technique, they just dropped windows shorter than 10 tokens.”

    From Log anomaly detection in AIOps: A real-world implementation using Large Language Models (2026) · cites this paper as [6]

    The Experimental Setup (p. 7) says LogBERT used five-minute sliding windows for BGL and one-minute sliding windows for Thunderbird. Our copy does not say that windows shorter than 10 tokens were dropped; searches for that threshold and for discarded short sequences found no supporting passage. (LLM, conf=0.85)

    Experimental — accuracy not yet measured
  • Training and validation used 100% of available training windows, with a 10% split reserved for validation during training.

    “Similarly to what [6] did, we conducted training and validation using 100% of the available training windows, with a 10% split reserved for validation during training.”

    From Log anomaly detection in AIOps: A real-world implementation using Large Language Models (2026) · cites this paper as [6]

    The Experimental Setup (p. 8) says LogBERT tuned hyperparameters using a small validation set. It does not say that training and validation used 100% of available training windows or that 10% was reserved for validation during training; searches for those split details found no supporting passage. (LLM, conf=0.78)

    Experimental — accuracy not yet measured
  • The baseline models were selected to align with existing literature and to support a balanced comparison between unsupervised and supervised approaches.

    “The selection of these models aligns with the existing literature [6,14,15,22] and supports a balanced comparison between unsupervised and supervised approaches.”

    From Log anomaly detection in AIOps: A real-world implementation using Large Language Models (2026) · cites this paper as [6]

    The Baselines section (4.1, p. 7) compares LogBERT with several previously cited anomaly-detection methods, supporting the connection to existing literature. It identifies an unsupervised method, but does not describe the comparison as balanced between unsupervised and supervised approaches or identify a supervised baseline. (LLM, conf=0.85)

    Experimental — accuracy not yet measured

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

Flagged first, then by citations

Research works printed but not linked: 2

  1. [20]20. Yen, T.F., Oprea, A., Onarlioglu, K., Leetham, T., Robertson, W., Juels, A., Kirda, E.: Beehive: Large-scale log analysis for detecting suspicious activity in enterprise networks. In: Proceedings of the 29th Annual Computer Security Applications Conference. pp. 199-208 (2013)
  2. [24]24. He, S., Zhu, J., He, P., Lyu, M.R.: Loghub: A Large Collection of System Log Datasets towards Automated Log Analytics. arXiv:2008.06448 [cs] (Aug 2020) · arXiv

Cited by

Sorted by citations

Metadata

Authors
Guo, H., Yuan, S., & Wu, X.
Affiliations
  • Utah State University (US)
  • University of Arkansas at Fayetteville (US)
Venue
arXiv
Publisher
arXiv
Published
2021
ISSN
2331-8422 (ISSN-L)
OpenAlex
W3134847483
Cited by
7
References
24
Citations by year
2026: 1 · 2024: 2 · 2023: 2 · 2021: 2
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • Digital Commons - USU (Utah State University) (submittedVersion)
  • arXiv (Cornell University) (cc-by)
  • Digital Commons - USU (Utah State University)
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