Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Models
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2015Bidirectional LSTM-CRF Models for Sequence Taggingcited by 544
- 2018Tools and Benchmarks for Automated Log Parsingcited by 56
- 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
- 2020Self-Supervised Log Parsingcited by 23
- 2021Multi-Source Anomaly Detection in Distributed IT Systemscited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 5; 2025: 4.
12 papers.
- 2022Deep Learning for Anomaly Detection in Log Data: A Surveycited by 27
- 2024A Survey on Large Language Models for Communication, Network, and Service Management: Application Insights, Challenges, and Future Directionscited by 25
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 18
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challengescited by 13
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
- 2025Inducing Personality in LLM-Based Honeypot Agents: Measuring the Effect on Human-Like Agenda Generationcited by 3
- 2024Enhancing Trust in Autonomous Agents: An Architecture for Accountability and Explainability through Blockchain and Large Language Modelscited by 2
- 2023Try with Simpler -- An Evaluation of Improved Principal Component Analysis in Log-based Anomaly Detectioncited by 1
- 2025SPEAR: Soft Prompt Enhanced Anomaly Recognition for Time Series Datacited by 1
- 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
- 2025SPEAR: Soft Prompt Enhanced Anomaly Recognition for Time Series Data4 Oct 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025Inducing Personality in LLM-Based Honeypot Agents: Measuring the Effect on Human-Like Agenda Generation25 Mar 2025
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Management12 Feb 2025
- 2024A Survey on Large Language Models for Communication, Network, and Service Management: Application Insights, Challenges, and Future Directions16 Dec 2024
- 2024Diagnosing Robotics Systems Issues with Large Language Models6 Oct 2024
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosis20 Sep 2024
- 2024Convolutional vs Large Language Models for Software Log Classification in Edge-Deployable Cellular Network Testing4 Jul 2024
- 2024Enhancing Trust in Autonomous Agents: An Architecture for Accountability and Explainability through Blockchain and Large Language Models14 Mar 2024
- 2023Try with Simpler -- An Evaluation of Improved Principal Component Analysis in Log-based Anomaly Detection24 Aug 2023
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challenges10 Apr 2023
- 2022Deep Learning for Anomaly Detection in Log Data: A Survey8 Jul 2022