Self-Attentive Classification-Based Anomaly Detection in Unstructured Logs
Not on the map. Why?
Abstract (arXiv)
The detection of anomalies is essential mining task for the security and reliability in computer systems. Logs are a common and major data source for anomaly detection methods in almost every computer system. They collect a range of significant events describing the runtime system status. Recent studies have focused predominantly on one-class deep learning methods on predefined non-learnable numerical log representations. The main limitation is that these models are not able to learn log representations describing the semantic differences between normal and anomaly logs, leading to a poor generalization of unseen logs. We propose Logsy, a classification-based method to learn log representations in a way to distinguish between normal data from the system of interest and anomaly samples from auxiliary log datasets, easily accessible via the internet. The idea behind such an approach to anomaly detection is that the auxiliary dataset is sufficiently informative to enhance the representation of the normal data, yet diverse to regularize against overfitting and improve generalization. We propose an attention-based encoder model with a new hyperspherical loss function. This enables learning compact log representations capturing the intrinsic differences between normal and anomaly logs. Empirically, we show an average improvement of 0.25 in the F1 score, compared to the previous methods. To investigate the properties of Logsy, we perform additional experiments including evaluation of the effect of the auxiliary data size, the influence of expert knowledge, and the quality of the learned log representations. The results show that the learned representation boost the performance of the previous methods such as PCA with a relative improvement of 28.2%.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Aug 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 5; 2023: 8; 2024: 6; 2025: 5; 2026: 4.
36 papers.
Sort:
By area:
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
- 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detectioncited by 33
- 2021LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Modelcited by 30
- 2022Deep Learning for Anomaly Detection in Log Data: A Surveycited by 27
- 2023Deep transfer learning for intrusion detection in industrial control networks: A comprehensive reviewcited by 21
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challengescited by 13
- 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Modelscited by 12
- 2021A2Log: Attentive Augmented Log Anomaly Detectioncited by 10
- 2021Artificial Intelligence for IT Operations (AIOPS) Workshop White Papercited by 7
- 2021OneLog: Towards End-to-End Training in Software Log Anomaly Detectioncited by 7
24 more
- 2021LogLAB: Attention-Based Labeling of Log Data Anomalies via Weak Supervisioncited by 6
- 2023On the Effectiveness of Log Representation for Log-based Anomaly Detectioncited by 6
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2024LogELECTRA: Self-supervised Anomaly Detection for Unstructured Logscited by 4
- 2024FastLogAD: Log Anomaly Detection with Mask-Guided Pseudo Anomaly Generation and Discriminationcited by 4
- 2023PULL: Reactive Log Anomaly Detection Based On Iterative PU Learningcited by 3
- 2023LogAI: A Library for Log Analytics and Intelligencecited by 2
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2022Leveraging Log Instructions in Log-based Anomaly Detectioncited by 1
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Modelcited by 1
- 2022AI based Log Analyser: A Practical Approachcited by 0
- 2022Failure Identification from Unstable Log Data using Deep Learningcited by 0
- 2023CSCLog: A Component Subsequence Correlation-Aware Log Anomaly Detection Methodcited by 0
- 2023RAPID: Training-free Retrieval-based Log Anomaly Detection with PLM considering Token-level informationcited by 0
- 2024What Information Contributes to Log-based Anomaly Detection? Insights from a Configurable Transformer-Based Approachcited by 0
- 2024TPLogAD: Unsupervised Log Anomaly Detection Based on Event Templates and Key Parameterscited by 0
- 2025RationAnomaly: Log Anomaly Detection with Rationality via Chain-of-Thought and Reinforcement Learningcited by 0
- 2025A Comprehensive Forecasting-Based Framework for Time Series Anomaly Detection: Benchmarking on the Numenta Anomaly Benchmark (NAB)cited by 0
- 2025LogPurge: Log Data Purification for Anomaly Detection via Rule-Enhanced Filteringcited by 0
- 2025A unified framework for detecting point and collective anomalies in operating system logs via collaborative transformerscited by 0
- 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstractioncited by 0
- 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoningcited by 0
- 2026Understanding Online Failure Prediction in Linux Through Complementary Multi-View Explainabilitycited by 0
- 2026Too Sure to Be Safe: Model Calibration for Reliable Log Anomaly Detectioncited by 0
- 2026Too Sure to Be Safe: Model Calibration for Reliable Log Anomaly Detection18 Aug 2026
- 2026Understanding Online Failure Prediction in Linux Through Complementary Multi-View Explainability1 Aug 2026
- 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoning7 Jun 2026
- 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstraction7 Feb 2026
- 2025A unified framework for detecting point and collective anomalies in operating system logs via collaborative transformers29 Dec 2025
- 2025LogPurge: Log Data Purification for Anomaly Detection via Rule-Enhanced Filtering18 Nov 2025
- 2025A Comprehensive Forecasting-Based Framework for Time Series Anomaly Detection: Benchmarking on the Numenta Anomaly Benchmark (NAB)13 Oct 2025
- 2025RationAnomaly: Log Anomaly Detection with Rationality via Chain-of-Thought and Reinforcement Learning18 Sep 2025
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Model15 May 2025
- 2024TPLogAD: Unsupervised Log Anomaly Detection Based on Event Templates and Key Parameters22 Nov 2024
- 2024What Information Contributes to Log-based Anomaly Detection? Insights from a Configurable Transformer-Based Approach30 Sep 2024
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosis20 Sep 2024
24 more
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024FastLogAD: Log Anomaly Detection with Mask-Guided Pseudo Anomaly Generation and Discrimination12 Apr 2024
- 2024LogELECTRA: Self-supervised Anomaly Detection for Unstructured Logs16 Feb 2024
- 2023RAPID: Training-free Retrieval-based Log Anomaly Detection with PLM considering Token-level information9 Nov 2023
- 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detection3 Sep 2023
- 2023On the Effectiveness of Log Representation for Log-based Anomaly Detection17 Aug 2023
- 2023CSCLog: A Component Subsequence Correlation-Aware Log Anomaly Detection Method7 Jul 2023
- 2023Deep transfer learning for intrusion detection in industrial control networks: A comprehensive review19 Apr 2023
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challenges10 Apr 2023
- 2023LogAI: A Library for Log Analytics and Intelligence31 Jan 2023
- 2023PULL: Reactive Log Anomaly Detection Based On Iterative PU Learning25 Jan 2023
- 2022Deep Learning for Anomaly Detection in Log Data: A Survey8 Jul 2022
- 2022Leveraging Log Instructions in Log-based Anomaly Detection7 Jul 2022
- 2022Failure Identification from Unstable Log Data using Deep Learning6 Apr 2022
- 2022AI based Log Analyser: A Practical Approach18 Mar 2022
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?9 Feb 2022
- 2021LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Model18 Nov 2021
- 2021LogLAB: Attention-Based Labeling of Log Data Anomalies via Weak Supervision2 Nov 2021
- 2021A2Log: Attentive Augmented Log Anomaly Detection20 Sep 2021
- 2021Log-based Anomaly Detection Without Log Parsing4 Aug 2021
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detection13 Jul 2021
- 2021OneLog: Towards End-to-End Training in Software Log Anomaly Detection15 Apr 2021
- 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Models23 Feb 2021
- 2021Artificial Intelligence for IT Operations (AIOPS) Workshop White Paper15 Jan 2021
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
- 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detectioncited by 33
- 2021LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Modelcited by 30
- 2022Deep Learning for Anomaly Detection in Log Data: A Surveycited by 27
- 2023Deep transfer learning for intrusion detection in industrial control networks: A comprehensive reviewcited by 21
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challengescited by 13
- 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Modelscited by 12
- 2021A2Log: Attentive Augmented Log Anomaly Detectioncited by 10
- 2021Artificial Intelligence for IT Operations (AIOPS) Workshop White Papercited by 7
- 2021OneLog: Towards End-to-End Training in Software Log Anomaly Detectioncited by 7
12 most cited of 35 All 35 (JSON)
- 2026Too Sure to Be Safe: Model Calibration for Reliable Log Anomaly Detection18 Aug 2026
- 2026Understanding Online Failure Prediction in Linux Through Complementary Multi-View Explainability1 Aug 2026
- 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoning7 Jun 2026
- 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstraction7 Feb 2026
- 2025A unified framework for detecting point and collective anomalies in operating system logs via collaborative transformers29 Dec 2025
- 2025LogPurge: Log Data Purification for Anomaly Detection via Rule-Enhanced Filtering18 Nov 2025
- 2025A Comprehensive Forecasting-Based Framework for Time Series Anomaly Detection: Benchmarking on the Numenta Anomaly Benchmark (NAB)13 Oct 2025
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Model15 May 2025
- 2024TPLogAD: Unsupervised Log Anomaly Detection Based on Event Templates and Key Parameters22 Nov 2024
- 2024What Information Contributes to Log-based Anomaly Detection? Insights from a Configurable Transformer-Based Approach30 Sep 2024
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosis20 Sep 2024
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
12 newest of 35 All 35 (JSON)