ASGNet: Adaptive Semantic Gate Networks for Log-Based Anomaly Diagnosis

被引:0
|
作者
Yang, Haitian [1 ,2 ]
Sun, Degang [2 ]
Liu, Wen [1 ,2 ]
Li, Yanshu [1 ,2 ]
Wang, Yan [1 ,2 ]
Huang, Weiqing [1 ,2 ]
机构
[1] Chinese Acad Sci, Inst Informat Engn, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Sch Cyber Secur, Beijing, Peoples R China
来源
NEURAL INFORMATION PROCESSING, ICONIP 2023, PT IV | 2024年 / 14450卷
关键词
Anomaly Diagnosis; Semantic features; Statistical Features; Diagnose System Failures;
D O I
10.1007/978-981-99-8070-3_16
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Logs are widely used in the development and maintenance of software systems. Logs can help engineers understand the runtime behavior of systems and diagnose system failures. For anomaly diagnosis, existing methods generally use log event data extracted from historical logs to build diagnostic models. However, we find that existing methods do not make full use of two types of features, (1) statistical features: some inherent statistical features in log data, such as word frequency and abnormal label distribution, are not well exploited. Compared with log raw data, statistical features are deterministic and naturally compatible with corresponding tasks. (2) semantic features: Logs contain the execution logic behind software systems, thus log statements share deep semantic relationships. How to effectively combine statistical features and semantic features in log data to improve the performance of log anomaly diagnosis is the key point of this paper. In this paper, we propose an adaptive semantic gate networks (ASGNet) that combines statistical features and semantic features to selectively use statistical features to consolidate log text semantic representation. Specifically, ASGNet encodes statistical features via a variational encoding module and fuses useful information through a well-designed adaptive semantic threshold mechanism. The threshold mechanism introduces the information flow into the classifier based on the confidence of the semantic features in the decision, which is conducive to training a robust classifier and can solve the overfitting problem caused by the use of statistical features. The experimental results on the real data set show that our method proposed is superior to all baseline methods in terms of various performance indicators.
引用
收藏
页码:200 / 212
页数:13
相关论文
共 50 条
  • [31] Sprelog: Log-Based Anomaly Detection with Self-matching Networks and Pre-trained Models
    Yang, Haitian
    Zhao, Xuan
    Sun, Degang
    Wang, Yan
    Huang, Weiqing
    SERVICE-ORIENTED COMPUTING (ICSOC 2021), 2021, 13121 : 736 - 743
  • [32] Toward a Log-based Anomaly Detection System for Cyber Range Platforms
    Blefari, Francesco
    Pironti, Francesco
    Furfaro, Angelo
    19TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY, AND SECURITY, ARES 2024, 2024,
  • [33] Improving Log-Based Anomaly Detection with Component-Aware Analysis
    Yin, Kun
    Yan, Meng
    Xu, Ling
    Xu, Zhou
    Li, Zhao
    Yang, Dan
    Zhang, Xiaohong
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 667 - 671
  • [34] Log-Based OpenStack Fault Diagnosis by Machine Learning
    Zhang, Leyi
    Fan, Lei
    Guo, Naiwang
    3RD ANNUAL INTERNATIONAL CONFERENCE ON INFORMATION SYSTEM AND ARTIFICIAL INTELLIGENCE (ISAI2018), 2018, 1069
  • [35] LogCAD: An Efficient and Robust Model for Log-Based Conformal Anomaly Detection
    Liu, Chunbo
    Liang, Mengmeng
    Hou, Jingwen
    Gu, Zhaojun
    Wang, Zhi
    SECURITY AND COMMUNICATION NETWORKS, 2022, 2022
  • [36] Log-based Anomaly Detection with Deep Learning: How Far Are We?
    Le, Van-Hoang
    Zhang, Hongyu
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 1356 - 1367
  • [37] Improving Log-Based Anomaly Detection by Pre-Training Hierarchical Transformers
    Huang, Shaohan
    Liu, Yi
    Fung, Carol
    Wang, He
    Yang, Hailong
    Luan, Zhongzhi
    IEEE TRANSACTIONS ON COMPUTERS, 2023, 72 (09) : 2656 - 2667
  • [38] Virtual Machine Proactive Fault Tolerance Using Log-Based Anomaly Detection
    Senevirathne, Pratheek
    Cooray, Samindu
    Herath, Jerome Dinal
    Fernando, Dinuni
    IEEE ACCESS, 2024, 12 : 178951 - 178970
  • [39] Temporal Logical Attention Network for Log-Based Anomaly Detection in Distributed Systems
    Liu, Yang
    Ren, Shaochen
    Wang, Xuran
    Zhou, Mengjie
    Sensors, 2024, 24 (24)
  • [40] AFALog: A General Augmentation Framework for Log-based Anomaly Detection with Active Learning
    Duan, Chiming
    Jia, Tong
    Cai, Huaqian
    Li, Ying
    Huang, Gang
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 46 - 56