mlsanityData to 7 Oct 2026

What Information Contributes to Log-based Anomaly Detection? Insights from a Configurable Transformer-Based Approach

arXiv 2409.20503 ↗First posted 30 Sep 2024cs.SE cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Log data are generated from logging statements in the source code, providing insights into the execution processes of software applications and systems. State-of-the-art log-based anomaly detection approaches typically leverage deep learning models to capture the semantic or sequential information in the log data and detect anomalous runtime behaviors. However, the impacts of these different types of information are not clear. In addition, most existing approaches ignore the timestamps in log data, which can potentially provide fine-grained sequential and temporal information. In this work, we propose a configurable Transformer-based anomaly detection model that can capture the semantic, sequential, and temporal information in the log data and allows us to configure the different types of information as the model's features. Additionally, we train and evaluate the proposed model using log sequences of different lengths, thus overcoming the constraint of existing methods that rely on fixed-length or time-windowed log sequences as inputs. With the proposed model, we conduct a series of experiments with different combinations of input features to evaluate the roles of different types of information in anomaly detection. The model can attain competitive and consistently stable performance compared to the baselines when presented with log sequences of varying lengths. The results indicate that the event occurrence information plays a key role in identifying anomalies, while the impact of the sequential and temporal information is not significant for anomaly detection on the studied public datasets. On the other hand, the findings also reveal the simplicity of the studied public datasets and highlight the importance of constructing new datasets that contain different types of anomalies to better evaluate the performance of anomaly detection models.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 40 references that are in the map. First posted on arXiv 30 Sep 2024.

Builds on

17 of 40 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2019Time2Vec: Learning a Vector Representation of Timecited by 208
  5. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  6. 2021LogBERT: Log Anomaly Detection via BERTcited by 114
  7. 2019Language Modeling with Deep Transformerscited by 96
  8. 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 68
  9. 2021Log-based Anomaly Detection Without Log Parsingcited by 59
  10. 2018Tools and Benchmarks for Automated Log Parsingcited by 56
  11. 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
  12. 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
5 more
  1. 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
  2. 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
  3. 2024LogFormer: A Pre-train and Tuning Pipeline for Log Anomaly Detectioncited by 15
  4. 2023A Critical Review of Common Log Data Sets Used for Evaluation of Sequence-based Anomaly Detection Techniquescited by 7
  5. 2023On the Effectiveness of Log Representation for Log-based Anomaly Detectioncited by 6

Built on by

Not cited yet.