On the Effectiveness of Log Representation for Log-based Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Logs are an essential source of information for people to understand the running status of a software system. Due to the evolving modern software architecture and maintenance methods, more research efforts have been devoted to automated log analysis. In particular, machine learning (ML) has been widely used in log analysis tasks. In ML-based log analysis tasks, converting textual log data into numerical feature vectors is a critical and indispensable step. However, the impact of using different log representation techniques on the performance of the downstream models is not clear, which limits researchers and practitioners' opportunities of choosing the optimal log representation techniques in their automated log analysis workflows. Therefore, this work investigates and compares the commonly adopted log representation techniques from previous log analysis research. Particularly, we select six log representation techniques and evaluate them with seven ML models and four public log datasets (i.e., HDFS, BGL, Spirit and Thunderbird) in the context of log-based anomaly detection. We also examine the impacts of the log parsing process and the different feature aggregation approaches when they are employed with log representation techniques. From the experiments, we provide some heuristic guidelines for future researchers and developers to follow when designing an automated log analysis workflow. We believe our comprehensive comparison of log representation techniques can help researchers and practitioners better understand the characteristics of different log representation techniques and provide them with guidance for selecting the most suitable ones for their ML-based log analysis workflow.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 14 of its 60 references that are in the map. First posted on arXiv 17 Aug 2023.
Builds on
14 of 60 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018Learning Word Vectors for 157 Languagescited by 279
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2018Tools and Benchmarks for Automated Log Parsingcited by 56
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
- 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
- 2018The Impact of Automated Parameter Optimization on Defect Prediction Modelscited by 36
- 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
- 2023Log Parsing with Prompt-based Few-shot Learningcited by 28
- 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 2; 2026: 1.
6 papers.
- 2024AI for DevSecOps: A Landscape and Future Opportunitiescited by 3
- 2023LogLead -- Fast and Integrated Log Loader, Enhancer, and Anomaly Detectorcited by 1
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Modelcited by 1
- 2024What Information Contributes to Log-based Anomaly Detection? Insights from a Configurable Transformer-Based Approachcited by 0
- 2025MINES: Explainable Anomaly Detection through Web API Invariant Inferencecited by 0
- 2026From Noise to Signal: Improving Security Log Anomaly Detection Using LLMs with Endpoint-Specific Logscited by 0
- 2026From Noise to Signal: Improving Security Log Anomaly Detection Using LLMs with Endpoint-Specific Logs20 Aug 2026
- 2025MINES: Explainable Anomaly Detection through Web API Invariant Inference7 Dec 2025
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Model15 May 2025
- 2024What Information Contributes to Log-based Anomaly Detection? Insights from a Configurable Transformer-Based Approach30 Sep 2024
- 2024AI for DevSecOps: A Landscape and Future Opportunities7 Apr 2024
- 2023LogLead -- Fast and Integrated Log Loader, Enhancer, and Anomaly Detector20 Nov 2023