mlsanityData to 7 Oct 2026

Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Models

arXiv 2102.11570 ↗First posted 23 Feb 2021cs.AI cs.CL cs.SEcited by 12

Not on the map. Why?

Abstract (arXiv)

Anomalies or failures in large computer systems, such as the cloud, have an impact on a large number of users that communicate, compute, and store information. Therefore, timely and accurate anomaly detection is necessary for reliability, security, safe operation, and mitigation of losses in these increasingly important systems. Recently, the evolution of the software industry opens up several problems that need to be tackled including (1) addressing the software evolution due software upgrades, and (2) solving the cold-start problem, where data from the system of interest is not available. In this paper, we propose a framework for anomaly detection in log data, as a major troubleshooting source of system information. To that end, we utilize pre-trained general-purpose language models to preserve the semantics of log messages and map them into log vector embeddings. The key idea is that these representations for the logs are robust and less invariant to changes in the logs, and therefore, result in a better generalization of the anomaly detection models. We perform several experiments on a cloud dataset evaluating different language models for obtaining numerical log representations such as BERT, GPT-2, and XL. The robustness is evaluated by gradually altering log messages, to simulate a change in semantics. Our results show that the proposed approach achieves high performance and robustness, which opens up possibilities for future research in this direction.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 9 of its 18 references that are in the map. First posted on arXiv 23 Feb 2021.

Builds on

9 of 18 references.

References · 9

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  4. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  5. 2015Bidirectional LSTM-CRF Models for Sequence Taggingcited by 544
  6. 2018Tools and Benchmarks for Automated Log Parsingcited by 56
  7. 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
  8. 2020Self-Supervised Log Parsingcited by 23
  9. 2021Multi-Source Anomaly Detection in Distributed IT Systemscited by 4

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 2; 2024: 5; 2025: 4.

12 papers.