Semi-Supervised Log-Based Anomaly Detection via Probabilistic Label Estimation
The DOI matches its Crossref record; 23 of the 23 references it cites were found in a registry or an index.
Abstract
With the growth of software systems, logs have become an important data to aid system maintenance. Log-based anomaly detection is one of the most important methods for such purpose, which aims to automatically detect system anomalies via log analysis. However, existing log-based anomaly detection approaches still suffer from practical issues due to either depending on a large amount of manually labeled training data (supervised approaches) or unsatisfactory performance without learning the knowledge on historical anomalies (unsupervised and semi-supervised approaches). In this paper, we propose a novel practical log-based anomaly detection approach, PLELog, which is semi-supervised to get rid of time-consuming manual labeling and incorporates the knowledge on historical anomalies via probabilistic label estimation to bring supervised approaches' superiority into play. In addition, PLELog is able to stay immune to unstable log data via semantic embedding and detect anomalies efficiently and effectively by designing an attention-based GRU neural network. We evaluated PLELog on two most widely-used public datasets, and the results demonstrate the effectiveness of PLELog, significantly outperforming the compared approaches with an average of 181.6% improvement in terms of F1-score. In particular, PLELog has been applied to two real-world systems from our university and a large corporation, further demonstrating its practicability
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Glove: Global Vectors for Word Representation
Pennington, J., Socher, R., & Manning, C. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1162 · Cited by 34,071
An introduction to ROC analysis
Fawcett, T. (2006) · Pattern Recognition Letters · doi:10.1016/j.patrec.2005.10.010 · Cited by 21,879
Algorithm AS 136: A K-Means Clustering Algorithm
Hartigan, J. A., & Wong, M. A. (1979) · Applied Statistics · doi:10.2307/2346830 · Cited by 14,523
Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling
Chung, J., Gulcehre, C., Cho, K., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1412.3555 · Cited by 11,008 · cited 1×
“handle temporal relations in sequential data [57], [58].”
BackgroundTerm-weighting approaches in automatic text retrieval
Salton, G., & Buckley, C. (1988) · Information Processing & Management · doi:10.1016/0306-4573(88)90021-0 · Cited by 9,740
On the Properties of Neural Machine Translation: Encoder–Decoder Approaches
Cho, K., van Merrienboer, B., Bahdanau, D., & Bengio, Y. (2014) · Proceedings of SSST-8, Eighth Workshop on Syntax, Semantics and Structure in Statistical Translation · doi:10.3115/v1/w14-4012 · Cited by 7,099
hdbscan: Hierarchical density based clustering
McInnes, L., Healy, J., & Astels, S. (2017) · The Journal of Open Source Software · doi:10.21105/joss.00205 · Cited by 2,833 · cited 19×
“Based on this major premise and the scores produced by HDBSCAN clustering, we transform each preliminarily estimated label to a probabilistic label as P (anomalous) = 1− score2 and P (normal) = score 2 .”
BackgroundMethodInfluentialDeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
Du, M., Li, F., Zheng, G., & Srikumar, V. (2017) · Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3133956.3134015 · Cited by 1,835
Detecting large-scale system problems by mining console logs
Xu, W., Huang, L., Fox, A., Patterson, D., & Jordan, M. I. (2009) · Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles · doi:10.1145/1629575.1629587 · Cited by 1,332 · cited 5×
“3: Visualization of main stages in HDBSCAN clustering by sampling 100 log sequences in the HDFS dataset [27]”
BackgroundMethodInfluentialDrain: an online log parsing approach with fixed depth tree
He, P., Zhu, J., Zheng, Z., & Lyu, M. R. (2017) · 2017 IEEE International Conference on Web Services (ICWS) · doi:10.1109/icws.2017.13 · Cited by 943 · cited 3×
“He, J. Zhu, Z. Zheng, and M. R. Lyu, “Drain: An online log parsing approach with fixed depth tree,” in ICWS.”
MethodInfluentialRobust log-based anomaly detection on unstable log data
Zhang, X., Xu, Y., Lin, Q., Qiao, B., Zhang, H., Dang, Y., Xie, C., Yang, X., Cheng, Q., Li, Z., et al. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3338931 · Cited by 761
Self-citationLogAnomaly: Unsupervised Detection of Sequential and Quantitative Anomalies in Unstructured Logs
Meng, W., Liu, Y., Zhu, Y., Zhang, S., Pei, D., Liu, Y., Chen, Y., Zhang, R., Tao, S., Sun, P., et al. (2019) · Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/658 · Cited by 708
Tools and benchmarks for automated log parsing
Zhu, J., He, S., Liu, J., He, P., Xie, Q., Zheng, Z., & Lyu, M. R. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip.2019.00021 · Cited by 574
Failure Prediction in IBM BlueGene/L Event Logs
Liang, Y., Zhang, Y., Xiong, H., & Sahoo, R. (2007) · Seventh IEEE International Conference on Data Mining (ICDM 2007) · doi:10.1109/icdm.2007.46 · Cited by 292
Zhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Liu, D., Xiang, Q., & He, C. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3338961 · Cited by 277
Towards Automated Log Parsing for Large-Scale Log Data Analysis
He, P., Zhu, J., He, S., Li, J., & Lyu, M. R. (2018) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2017.2762673 · Cited by 230 · cited 1×
“1) Log Parsing: As shown in Figure 1, raw log messages are unstructured data and contain variable log parameters, which could hinder automated log analysis [42], [43].”
MethodAn Empirical Study of Model-Agnostic Techniques for Defect Prediction Models
Jiarpakdee, J., Tantithamthavorn, C. K., Dam, H. K., & Grundy, J. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.2982385 · Cited by 148
Predicting Defective Lines Using a Model-Agnostic Technique
Wattanakriengkrai, S., Thongtanunam, P., Tantithamthavorn, C., Hata, H., & Matsumoto, K. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3023177 · Cited by 137 · cited 1×
“Moreover, recent studies have presented that making software analytics models interpretable to software practitioners is as important as achieving accurate prediction [75]–[77].”
BackgroundCan Better Identifier Splitting Techniques Help Feature Location?
Dit, B., Guerrouj, L., Poshyvanyk, D., & Antoniol, G. (2011) · 2011 IEEE 19th International Conference on Program Comprehension · doi:10.1109/icpc.2011.47 · Cited by 89
Root-Cause Metric Location for Microservice Systems via Log Anomaly Detection
Wang, L., Zhao, N., Chen, J., Li, P., Zhang, W., & Sui, K. (2020) · 2020 IEEE International Conference on Web Services (ICWS) · doi:10.1109/icws49710.2020.00026 · Cited by 84
Self-citationJiang, J., Lu, W., Chen, J., Lin, Q., Zhao, P., Kang, Y., Zhang, H., Xiong, Y., Gao, F., Xu, Z., et al. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3417054 · Cited by 56
Self-citationIdentifying linked incidents in large-scale online service systems
Chen, Y., Yang, X., Dong, H., He, X., Zhang, H., Lin, Q., Chen, J., Zhao, P., Kang, Y., Gao, F., et al. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3409768 · Cited by 47
Self-citationContinuous delivery of personalized assessment and feedback in agile software engineering projects
Bai, X., Li, M., Pei, D., Li, S., & Ye, D. (2018) · Proceedings of the 40th International Conference on Software Engineering: Software Engineering Education and Training · doi:10.1145/3183377.3183387 · Cited by 39
Research works printed but not linked: 63
- 10.1007/s10664-017-9518-0 · DOI
- 10.1145/3183519.3183552 · doi:10.1145/3183519.3183552
- xu, 2010, System Problem Detection by Mining Console Logs
- 10.1109/DSN.2007.103 · DOI · Paper page
- 10.1145/3183399.3183424 · DOI · Paper page
- 10.1007/s11277-015-3128-1 · DOI
- 10.1109/ICDM.2009.60 · DOI · Paper page
- lin, 2016, Log Clustering Based Problem Identification for Online Service Systems, 2016 IEEE/ACM 38th International Conference on Software Engineering Companion (ICSE-C) ICSE-C, 102
- 10.1145/3133956.3138825 · DOI
- 10.1007/s10664-017-9518-0 · DOI
- 10.1007/s10664-014-9303-2 · DOI
- nagaraj, 2012, Structured comparative analysis of systems logs to diagnose performance problems, NSDI, 353
- 10.1145/3236024.3236054 · DOI
- 10.1109/TSE.2012.67 · DOI · Paper page
- gower, 1969, Minimum spanning trees and single linkage cluster analysis, Journal of the Royal Statistical Society Series C (Applied Statistics), 18, 54
- 10.1109/ICAC.2004.1301345 · DOI · Paper page
- dunia, 1997, Multi-dimensional fault diagnosis using a subspace approach, American Control Conference
- 2020, Torch official website
- 2020, Hdbscan
- lou, 2010, Mining invariants from console logs for system problem detection, ATC
- 2020, Scikit-Learn
- 2020, Logdeep
- 2020, Loghub
- 10.1109/ICSE-SEIP.2019.00020 · DOI · Paper page
- yao, 2017, Anomaly Detection as a Service Challenges Advances and Opportunities ser Synthesis Lectures on Information Security Privacy and Trust
- 10.1109/ISSRE.2015.7381796 · DOI · Paper page
- 10.1145/3236024.3236069 · DOI
- 10.1109/BigData.2016.7840733 · DOI · Paper page
- shu, 2013, Massive distributed and parallel log analysis for organizational security, Globecom Workshops, 194
- 10.1109/ICACCI.2017.8125846 · DOI · Paper page
- 10.1109/ISSRE.2016.21 · DOI · Paper page
- 10.1145/1810295.1810405 · DOI
- 10.1145/3394112 · DOI · Paper page
- 10.1016/j.is.2018.12.003 · DOI
- 10.1145/3236024.3236083 · DOI · Paper page
- 10.1109/ASE.2019.00042 · DOI · Paper page
- 10.1016/j.jlamp.2014.05.001 · DOI
- 10.1109/TNN.2006.880980 · doi:10.1109/tnn.2006.880980
- 10.1090/dimacs/015/09 · doi:10.1090/dimacs/015/09
- 10.1109/ITSC.2019.8916873 · doi:10.1109/itsc.2019.8916873
- 10.1109/BigData.2018.8622005 · doi:10.1109/bigdata.2018.8622005
- ding, 2015, Log2: A cost-aware logging mechanism for performance diagnosis, USENIX Annual Technical Conference, 139
- 10.1109/MSR.2013.6624054 · DOI · Paper page
- 10.1145/2983323.2983358 · DOI · Paper page
- 10.1145/2591062.2591175 · DOI · Paper page
- 10.1109/ICSME.2019.00079 · DOI
- candido, 2019, Contemporary software monitoring: A systematic literature review, CoRR, abs 1912 5878
- 10.1145/2810103.2813654 · DOI
- 10.1007/s10664-018-9603-z · DOI
- 10.1109/ICSE.2017.71 · DOI
- 10.1145/1755913.1755926 · DOI · Paper page
- 10.1145/3097983.3098022 · DOI · Paper page
- 10.3233/JCS-2009-0321 · DOI
- 10.1145/3368089.3409672 · DOI
- chen, 2020, How incidental are the incidents? characterizing and prioritizing incidents for large-scale online service systems, ASE, 373
- 10.1109/ICSE.2019.00031 · DOI · Paper page
- zhu, 2015, Learning to log: helping developers make informed logging decisions, Proceedings of the International Conference on Software Engineering ICSE'94, 415
- 10.1007/3-540-45071-8_5 · doi:10.1007/3-540-45071-8_5
- 10.1145/3377813.3381363 · DOI
- 10.1109/MSR.2019.00081 · DOI
- 10.1109/ICDMW.2017.12 · DOI · Paper page
- 10.1109/ICACCI.2017.8125846 · DOI · Paper page
- 10.1109/DSN.2016.66 · DOI · Paper page
Cited by
Log-based anomaly detection with deep learning: how far are we?
Le, V.-H., & Zhang, H. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510155 · Cited by 257
“[48] addressed the issue of insufficient labels via probabilistic label estimation and designed an attention-based GRU neural network to detect anomalies.”
BackgroundMethodInfluentialAn empirical investigation of practical log anomaly detection for online service systems
Zhao, N., Wang, H., Li, Z., Peng, X., Wang, G., Pan, Z., Wu, Y., Feng, Z., Wen, X., Zhang, W., et al. (2021) · Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3468264.3473933 · Cited by 77
“To overcome the drawbacks of manual rules, tremendous efforts have been dedicated into automated log anomaly detection [19, 23, 25, 29, 30, 35, 38, 42, 45, 47, 48, 50, 51, 53].”
MethodSelf-citationDeep Learning or Classical Machine Learning? An Empirical Study on Log-Based Anomaly Detection
Yu, B., Yao, J., Fu, Q., Zhong, Z., Xie, H., Wu, Y., Ma, Y., & He, P. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3623308 · Cited by 65
Landauer, M., Skopik, F., & Wurzenberger, M. (2024) · Proceedings of the ACM on Software Engineering · doi:10.1145/3660768 · Cited by 61
“…in sequences or windows [26], transform log messages into numeric vectors with embedding techniques [41], apply weighting schemes such as TF-IDF [40], use neural networks on the raw log messages [10], etc. Eventually, the data fed into anomaly detection systems usually directly relates to event…”
MethodImpact of log parsing on deep learning-based anomaly detection
Khan, Z. A., Shin, D., Bianculli, D., & Briand, L. C. (2024) · Empirical Software Engineering · doi:10.1007/s10664-024-10533-w · Cited by 49
“In Table 6, except for PLELog, SVM, and RF, the values for all anomaly detection techniques are identical due to the reasons explained in the last paragraph of Section 5.1.”
BackgroundMethodInfluential
Metadata
- Authors
- Yang, L., Chen, J., Wang, Z., Wang, W., Jiang, J., Dong, X., & Zhang, W.
- Venue
- 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)
- Publisher
- IEEE
- Published
- 2021-05
- Pages
- 1448-1460
- OpenAlex
- W4255845613
- Cited by
- 244
- References
- 23
- FWCI
- 33.25
- Type
- conference paper
- Language
- en
- Open access
- closed
- Funders
- National Natural Science Foundation of China
- Tianjin University
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.