CoChat

LogFiT: Log Anomaly Detection Using Fine-Tuned Language Models

Open access
Almodovar, Crispin, Sabrina, Fariza, Karimi, Sarvnaz, Azad, Salahuddin · 2024 · IEEE Transactions on Network and Service Management

Published version of a preprint

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

Abstract

System logs are a valuable source of information for monitoring and maintaining the security and stability of computer systems. Techniques based on Deep Learning and Natural Language Processing have demonstrated effectiveness in detecting abnormal behavior from these system logs. However existing approaches are inflexible and impractical: techniques that rely on log templates are unable to handle variability in log content, while classification-based approaches require labeled data for supervised training. In this paper, a novel log anomaly detection model named LogFiT is proposed. The LogFiT model is robust to changes in log content and only requires self-supervised training. The LogFiT model uses a pretrained BERT-based language model fine-tuned to recognise the linguistic patterns of the normal log data. The LogFiT model is trained using masked token prediction on the normal log data only. Consequently when presented with the new log data, the model's top-k token prediction accuracy is used as threshold for determining whether the new log data has deviated from the normal log data. Experimental results show that LogFiT's F1 score exceeds that of baselines on the HDFS, BGL and Thunderbird datasets. Critically, when variability in the log data is introduced during evaluation, LogFiT's effectiveness surpasses that of the baseline models.

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.

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

Integrity signals

Registry

Crossref · 10.1109/tnsm.2024.3358730

Cites

60 of 60 references verified0 citation errors · 0 not checkable

Statistics

Figures

Figure 1 Log parsing applied to HDFS log data.
Figure 1 Log parsing applied to HDFS log data.CC-BY-NC-ND · From the PDF
Figure 2 Logical architecture of the LogFiT log anomaly detection approach.
Figure 2 Logical architecture of the LogFiT log anomaly detection approach.CC-BY-NC-ND · From the PDF
Figure 3 LogFiT integrated into existing system observability platform.
Figure 3 LogFiT integrated into existing system observability platform.CC-BY-NC-ND · From the PDF
Figure 4 UMAP plot of Thunderbird semantic vectors, where the blue, pink, and yellow colours of the points represent training samples, normal predictions, and anomaly predictions respectively.
Figure 4 UMAP plot of Thunderbird semantic vectors, where the blue, pink, and yellow colours of the points represent training samples, normal predictions, and anomaly predictions respectively.CC-BY-NC-ND · From the PDF

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.

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?

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

Show all 60 references

Research works printed but not linked: 3

  1. RiskIQ, The evil internet minute 2019, 2019. [Online]. Available: https : / / www . riskiq . com / resources / infographic/evil-internet-minute-2019.
  2. International Business Machines, Cost of a data breach report 2022, 2022. [Online]. Available: https : / / www. ibm.com/security/data-breach.
  3. 10.3390/INFOo11020108 · doi:10.3390/infoo11020108

Cited by

See all 117

Metadata

Authors
Almodovar, C., Sabrina, F., Karimi, S., & Azad, S.
Affiliations
  • Central Queensland University (AU)
  • Data61 (AU)
Venue
IEEE Transactions on Network and Service Management
Published
2024-04
Volume
21
Issue
2
Pages
1715-1723
ISSN
  • 1932-4537 (ISSN-L)
  • 2373-7379
OpenAlex
W4391235307
Cited by
111
References
53
Citations by year
2026: 45 · 2025: 53 · 2024: 12
FWCI
18.31
Type
journal article
Language
en
Open access
Locations
  • IEEE Transactions on Network and Service Management (publishedVersion, cc-by-nc-nd)
  • Figshare (submittedVersion, cc-by)
  • Figshare (submittedVersion, cc-by-nc-nd)
Funders
  • Central Queensland University’s School of Graduate Research
  • Commonwealth Scientific and Industrial Research Organisation (CSIRO)’s Data61 unit
Topics
  • Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
  • Physical Sciences › Computer Science › Computer Networks and Communications › Network Security and Intrusion Detection
  • Physical Sciences › Computer Science › Artificial Intelligence › Anomaly Detection Techniques and Applications
Keywords
log anomaly detection, system logs, self-supervised learning, masked language modeling, BERT fine-tuning, threshold-based anomaly detection, HDFS logs

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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: LogFiT: Log Anomaly Detection Using Fine-Tuned Language Models. https://app.cochat.ai/papers/10.1109/tnsm.2024.3358730
The paper
Almodovar, C., Sabrina, F., Karimi, S., & Azad, S. (2024). LogFiT: Log Anomaly Detection Using Fine-Tuned Language Models. IEEE Transactions on Network and Service Management. https://doi.org/10.1109/tnsm.2024.3358730

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.