mlsanityData to 7 Oct 2026

On the Effectiveness of Log Representation for Log-based Anomaly Detection

arXiv 2308.08736 ↗First posted 17 Aug 2023cs.SE cs.LGcited by 6

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2018Learning Word Vectors for 157 Languagescited by 279
  4. 2021Log-based Anomaly Detection Without Log Parsingcited by 59
  5. 2018Tools and Benchmarks for Automated Log Parsingcited by 56
  6. 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
  7. 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
  8. 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
  9. 2018The Impact of Automated Parameter Optimization on Defect Prediction Modelscited by 36
  10. 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
  11. 2023Log Parsing with Prompt-based Few-shot Learningcited by 28
  12. 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
2 more
  1. 2016Integrating Distributional Lexical Contrast into Word Embeddings for Antonym-Synonym Distinctioncited by 13
  2. 2022LogGD:Detecting Anomalies from System Logs by Graph Neural Networkscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 2; 2025: 2; 2026: 1.

6 papers.