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 条
  • [21] A log-based anomaly detection method with the NW ensemble rules
    Wang, Bingming
    Ying, Shi
    Cheng, Guoli
    Li, Yiyao
    2020 IEEE 20TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY (QRS 2020), 2020, : 72 - 82
  • [22] LogPrompt: A Log-based Anomaly Detection Framework Using Prompts
    Zhang, Ting
    Huang, Xin
    Zhao, Wen
    Bian, Shaohuang
    Du, Peng
    2023 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, IJCNN, 2023,
  • [23] ClusterLog: Clustering Logs for Effective Log-based Anomaly Detection
    Egersdoerfer, Chris
    Zhang, Di
    Dai, Dong
    2022 IEEE/ACM 12TH WORKSHOP ON FAULT TOLERANCE FOR HPC AT EXTREME SCALE (FTXS), 2022, : 1 - 10
  • [24] LogEncoder: Log-Based Contrastive Representation Learning for Anomaly Detection
    Qi, Jiaxing
    Luan, Zhongzhi
    Huang, Shaohan
    Fung, Carol
    Yang, Hailong
    Li, Hanlu
    Zhu, Danfeng
    Qian, Depei
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2023, 20 (02): : 1378 - 1391
  • [25] Black-box Attacks to Log-based Anomaly Detection
    Huang, Shaohan
    Liu, Yi
    Fung, Carol
    Yang, Hailong
    Luan, Zhongzhi
    2022 18TH INTERNATIONAL CONFERENCE ON NETWORK AND SERVICE MANAGEMENT (CNSM 2022): INTELLIGENT MANAGEMENT OF DISRUPTIVE NETWORK TECHNOLOGIES AND SERVICES, 2022, : 310 - 316
  • [26] Log-based rich-semantic ABAC policy mining
    Wu W.-C.
    Ren Z.-Y.
    Du X.-H.
    Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2020, 54 (11): : 2149 - 2157
  • [27] A robust Wide & Deep learning framework for log-based anomaly detection
    Niu, Weina
    Liao, Xuhan
    Huang, Shiping
    Li, Yudong
    Zhang, Xiaosong
    Li, Beibei
    APPLIED SOFT COMPUTING, 2024, 153
  • [28] Log-Based Anomaly Detection with the Improved K-Nearest Neighbor
    Wang, Bingming
    Ying, Shi
    Cheng, Guoli
    Wang, Rui
    Yang, Zhe
    Dong, Bo
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2020, 30 (02) : 239 - 262
  • [29] Log-Based Anomaly Detection With Robust Feature Extraction and Online Learning
    Han, Shangbin
    Wu, Qianhong
    Zhang, Han
    Qin, Bo
    Hu, Jiankun
    Shi, Xingang
    Liu, Linfeng
    Yin, Xia
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2021, 16 : 2300 - 2311
  • [30] LogCTBL: a hybrid deep learning model for log-based anomaly detection
    Huang, Hong
    Luo, Wengang
    Wang, Yunfei
    Zhou, Yinghang
    Huang, Weitao
    JOURNAL OF SUPERCOMPUTING, 2025, 81 (02):