LogFold: Enhancing Log Anomaly Detection through Sequence Folding and Reconstruction

被引:0
作者
Shi, Xiaonan [1 ]
Li, Rui [2 ]
Du, Qingfeng [1 ]
He, Cheng [3 ]
Tian, Fulong [3 ]
机构
[1] Tongji Univ, Sch Software Engn, Shanghai, Peoples R China
[2] Northeastern Univ, Khoury Coll Comp Sci, Boston, MA 02115 USA
[3] Di Matrix Informat Technol Co Ltd, Shanghai, Peoples R China
来源
PROCEEDINGS OF THE 2023 30TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC 2023 | 2023年
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
anomaly detection; log analysis; deep learning; system reliability;
D O I
10.1109/APSEC60848.2023.00028
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Modern large-scale systems and networks necessitate automated anomaly detection to support the high availability and quality of services. Since logs are an essential data source that can accurately reflect the state of a system, log anomaly detection has attracted a lot of attention from researchers in both academia and industry. As the technology of artificial intelligence advances, plenty of work has adopted deep learning to detect log anomalies and achieved promising results. Nevertheless, it usually suffers from a lack of labels, excessive log sequence length, and low throughput problems when deploying to real-world systems. To address these challenges, we propose LogFold, an unsupervised Transformer-based log anomaly detection approach. In LogFold, we propose fold embedding, which can compress long log sequences to enhance the efficiency of anomaly detection. And we design a sequence reconstruction technique to enhance the effectiveness of anomaly detection. Our evaluation shows LogFold achieves 90.55% and 99.90% F1-score on HDFS and BGL datasets, respectively, outperforming state-of-the-art methods. Besides, the fold embedding layer achieves compression rates of 36.55% and 64.86% on HDFS and BGL datasets, respectively, which helps to improve the throughput of LogFold.
引用
收藏
页码:181 / 190
页数:10
相关论文
共 30 条
[1]   How Incidental are the Incidents? Characterizing and Prioritizing Incidents for Large-Scale Online Service Systems [J].
Chen, Junjie ;
Zhang, Shu ;
He, Xiaoting ;
Lin, Qingwei ;
Zhang, Hongyu ;
Hao, Dan ;
Kang, Yu ;
Gao, Feng ;
Xu, Zhangwei ;
Dang, Yingnong ;
Zhang, Dongmei .
2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, :373-384
[2]   An Empirical Investigation of Incident Triage for Online Service Systems [J].
Chen, Junjie ;
He, Xiaoting ;
Lin, Qingwei ;
Xu, Yong ;
Zhang, Hongyu ;
Hao, Dan ;
Gao, Feng ;
Xu, Zhangwei ;
Dang, Yingnong ;
Zhang, Dongmei .
2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP 2019), 2019, :111-120
[3]   Logram: Efficient Log Parsing Using n-Gram Dictionaries [J].
Dai, Hetong ;
Li, Heng ;
Chen, Che Shao ;
Shang, Weiyi ;
Chen, Tse-Hsun .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (03) :879-892
[4]  
Devlin J, 2019, 2019 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL HLT 2019), VOL. 1, P4171
[5]   DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning [J].
Du, Min ;
Li, Feifei ;
Zheng, Guineng ;
Srikumar, Vivek .
CCS'17: PROCEEDINGS OF THE 2017 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2017, :1285-1298
[6]  
Du M, 2016, IEEE DATA MINING, P859, DOI [10.1109/ICDM.2016.0103, 10.1109/ICDM.2016.160]
[7]   The optimal class size for object-oriented software [J].
El Emam, K ;
Benlarbi, S ;
Goel, N ;
Melo, W ;
Lounis, H ;
Rai, SN .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (05) :494-509
[8]   LogBERT: Log Anomaly Detection via BERT [J].
Guo, Haixuan ;
Yuan, Shuhan ;
Wu, Xintao .
2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
[9]   Unsupervised Cross-system Log Anomaly Detection via Domain Adaptation [J].
Han, Xiao ;
Yuan, Shuhan .
PROCEEDINGS OF THE 30TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, CIKM 2021, 2021, :3068-3072
[10]   Drain: An Online Log Parsing Approach with Fixed Depth Tree [J].
He, Pinjia ;
Zhu, Jieming ;
Zheng, Zibin ;
Lyu, Michael R. .
2017 IEEE 24TH INTERNATIONAL CONFERENCE ON WEB SERVICES (ICWS 2017), 2017, :33-40