Deep Learning or Classical Machine Learning? An Empirical Study on Log-Based Anomaly Detection
Boxi Yu, Jiayi Yao, Qiuai Fu, Zhiqing Zhong, Haotian Xie, Yaoliang Wu, Yuchi Ma, Pinjia He
摘要
While deep learning (DL) has emerged as a powerful technique, its benefits must be carefully considered in relation to computational costs. Specifically, although DL methods have achieved strong performance in log anomaly detection, they often require extended time for log preprocessing, model training, and model inference, hindering their adoption in online distributed cloud systems that require rapid deployment of log anomaly detection service. This paper investigates the superiority of DL methods compared to simpler techniques in log anomaly detection. We evaluate basic algorithms (e.g., KNN, SLFN) and DL approaches (e.g., CNN) on five public log anomaly detection datasets (e.g., HDFS). Our findings demonstrate that simple algorithms outperform DL methods in both time efficiency and accuracy. For instance, on the Thunderbird dataset, the K-nearest neighbor algorithm trains 1,000 times faster than NeuralLog while achieving a higher F1-Score by 0.0625. We also identify three factors contributing to this phenomenon, which are: (1) redundant log preprocessing strategies, (2) dataset simplicity, and (3) the nature of binary classification in log anomaly detection. To assess the necessity of DL, we propose LightAD, an architecture that optimizes training time, inference time, and performance score. With automated hyper-parameter tuning, LightAD allows
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Semi-supervised Log-based Anomaly Detection via Probabilistic Label Estimation 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- Log-based Anomaly Detection Without Log Parsing 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- SEAL: Storage-efficient Causality Analysis on Enterprise Logs with Query-friendly Compression 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- Towards More Trustworthy Deep Code Models by Enabling Out-of-Distribution Detection 引用了 Semi-supervised Log-based Anomaly Detection via Probabilistic Label Estimation
引用它的顶会 Paper1
它引用的 Paper8
- DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 次引用
- Log-based Anomaly Detection Without Log ParsingVan-Hoang Le, Hongyu ZhangASE 2021 · 249 次引用
- Semi-supervised Log-based Anomaly Detection via Probabilistic Label EstimationLin Yang, Junjie Chen, Zan Wang, Weijing Wang 等ICSE 2021 · 216 次引用
- Guidelines for Assessing the Accuracy of Log Message Template Identification TechniquesZanis Ali Khan, Donghwan Shin, Domenico Bianculli, Lionel C. BriandICSE 2022 · 77 次引用
- SEAL: Storage-efficient Causality Analysis on Enterprise Logs with Query-friendly CompressionPeng Fei, Zhou Li, Zhiying Wang, Xiao Yu 等USENIX Security 2021 · 45 次引用
相关 Paper
- A Critical Review of Common Log Data Sets Used for Evaluation of Sequence-Based Anomaly Detection TechniquesMax Landauer, Florian Skopik, Markus WurzenbergerFSE 2024 · 44 次引用
- Log-based Anomaly Detection with Deep Learning: How Far Are We?Van-Hoang Le, Hongyu ZhangICSE 2022 · 212 次引用
- ADA: Adaptive Deep Log Anomaly DetectorYali Yuan, Sripriya Srikant Adhatarao, Mingkai Lin, Yachao Yuan 等INFOCOM 2020 · 58 次引用
- Efficient Zero-Shot and Label-free Log Anomaly Detection for Resource-Constrained SystemsZuohan Wu, Jiachuan Wang, Libin Zheng, Yongqi Zhang 等ICDE 2026
- LogOnline: A Semi-Supervised Log-Based Anomaly Detector Aided with Online Learning MechanismXuheng Wang, Jiaxing Song, Xu Zhang, Junshu Tang 等ASE 2023 · 12 次引用
