Unsupervised Log Anomaly Detection Method Based on Multi-Feature

被引:4
|
作者
He, Shiming [1 ]
Deng, Tuo [1 ]
Chen, Bowen [1 ]
Sherratt, R. Simon [2 ]
Wang, Jin [1 ]
机构
[1] Changsha Univ Sci & Technol, Sch Comp & Commun Engn, Changsha 410114, Peoples R China
[2] Univ Reading, Sch Syst Engn, Reading RG6 6AY, England
来源
CMC-COMPUTERS MATERIALS & CONTINUA | 2023年 / 76卷 / 01期
基金
中国国家自然科学基金; 芬兰科学院;
关键词
System log; anomaly detection; semantic features; statistical; features; Transformer;
D O I
10.32604/cmc.2023.037392
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Log anomaly detection is an important paradigm for system troubleshooting. Existing log anomaly detection based on Long Short-Term Memory (LSTM) networks is time-consuming to handle long sequences. Transformer model is introduced to promote efficiency. However, most existing Transformer-based log anomaly detection methods convert unstructured log messages into structured templates by log parsing, which introduces parsing errors. They only extract simple semantic feature, which ignores other features, and are generally supervised, relying on the amount of labeled data. To overcome the limitations of existing methods, this paper proposes a novel unsupervised log anomaly detection method based on multi-feature (UMFLog). UMFLog includes two sub-models to consider two kinds of features: semantic feature and statistical feature, respectively. UMFLog applies the log original content with detailed parameters instead of templates or template IDs to avoid log parsing errors. In the first sub-model, UMFLog uses Bidirectional Encoder Representations from Transformers (BERT) instead of random initialization to extract effective semantic feature, and an unsupervised hypersphere-based Transformer model to learn compact log sequence representations and obtain anomaly candidates. In the second sub-model, UMFLog exploits a statistical feature-based Variational Autoencoder (VAE) about word occurrence times to identify the final anomaly from anomaly candidates. Extensive experiments and evaluations are conducted on three real public log datasets. The results show that UMFLog significantly improves F1scores compared to the state-of-the-art (SOTA) methods because of the multifeature.
引用
收藏
页码:517 / 541
页数:25
相关论文
共 50 条
  • [41] LogUAD: Log Unsupervised Anomaly Detection Based on Word2Vec
    Wang, Jin
    Zhao, Changqing
    He, Shiming
    Gu, Yu
    Alfarraj, Osama
    Abugabah, Ahed
    [J]. COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2022, 41 (03): : 1207 - 1222
  • [42] Multi-Layer Feature Restoration and Projection Model for Unsupervised Anomaly Detection
    Cai, Fuzhen
    Xia, Siyu
    [J]. MATHEMATICS, 2024, 12 (16)
  • [43] The detection method of low-rate DoS attack based on multi-feature fusion
    Liang Liu
    Huaiyuan Wang
    Zhijun Wu
    Meng Yue
    [J]. Digital Communications and Networks, 2020, 6 (04) : 504 - 513
  • [44] Latent feature reconstruction for unsupervised anomaly detection
    Jinghuang Lin
    Yifan He
    Weixia Xu
    Jihong Guan
    Ji Zhang
    Shuigeng Zhou
    [J]. Applied Intelligence, 2023, 53 : 23628 - 23640
  • [45] Latent feature reconstruction for unsupervised anomaly detection
    Lin, Jinghuang
    He, Yifan
    Xu, Weixia
    Guan, Jihong
    Zhang, Ji
    Zhou, Shuigeng
    [J]. APPLIED INTELLIGENCE, 2023, 53 (20) : 23628 - 23640
  • [46] Dual Co-Attention-Based Multi-Feature Fusion Method for Rumor Detection
    Bing, Changsong
    Wu, Yirong
    Dong, Fangmin
    Xu, Shouzhi
    Liu, Xiaodi
    Sun, Shuifa
    [J]. INFORMATION, 2022, 13 (01)
  • [47] A Multi-Feature Fusion-Based Change Detection Method for Remote Sensing Images
    Cai, Liping
    Shi, Wenzhong
    Hao, Ming
    Zhang, Hua
    Gao, Lipeng
    [J]. JOURNAL OF THE INDIAN SOCIETY OF REMOTE SENSING, 2018, 46 (12) : 2015 - 2022
  • [48] Detection method of vehicle in highway green toll lane based on multi-feature fusion
    Zhang H.
    Liu H.-M.
    Wu C.-G.
    Zhang Y.-M.
    Zhao T.-M.
    Li S.-T.
    [J]. Jilin Daxue Xuebao (Gongxueban)/Journal of Jilin University (Engineering and Technology Edition), 2016, 46 (01): : 271 - 276
  • [49] The detection method of low-rate DoS attack based on multi-feature fusion
    Liu, Liang
    Wang, Huaiyuan
    Wu, Zhijun
    Yue, Meng
    [J]. DIGITAL COMMUNICATIONS AND NETWORKS, 2020, 6 (04) : 504 - 513
  • [50] Study on Video Based Fire Detection Algorithm using Multi-Feature Fusion Method
    Yang Manjiang
    Rang Jianzhong
    Wang Jian
    [J]. 2011 3RD WORLD CONGRESS IN APPLIED COMPUTING, COMPUTER SCIENCE, AND COMPUTER ENGINEERING (ACC 2011), VOL 3, 2011, 3 : 207 - 213