DSGN: Log-based anomaly diagnosis with dynamic semantic gate networks

被引:0
|
作者
Yang, Haitian [1 ,3 ]
Sun, Degang [2 ,3 ]
Wang, Yan [1 ,3 ]
Huang, Weiqing [1 ,3 ]
机构
[1] Chinese Acad Sci, Inst Informat Engn, Beijing 100080, Peoples R China
[2] Chinese Acad Sci, Comp Network Informat Ctr, Beijing 100080, Peoples R China
[3] Univ Chinese Acad Sci, Sch Cyber Secur, Beijing 100080, Peoples R China
关键词
Log anomaly diagnosis; Statistical features; Semantic features; System behavior; Graph convolution networks; Dynamic semantic gating network; SYSTEM;
D O I
10.1016/j.ins.2024.121174
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Existing log anomaly diagnosis methods still face challenges in the lack of statistical features of log messages and insufficient exploitation of textual semantic features. In order to tackle this issue, we propose a novel approach called Dynamic Semantic Gating Network (DSGN). The core idea of DSGN is to enrich the semantic representation of log texts by selectively utilizing statistical information, thus achieving an organic integration of statistical and semantic features. Specifically, DSGN incorporates a variational encoding module to encode statistical features, and a log content-aware graph convolutional network module to capture semantic features from the log context. Furthermore, DSGN introduces a dynamic semantic threshold mechanism that dynamically adjusts the information flow based on the confidence level of semantic features and feeds it into the classifier. This design not only helps train a more robust classifier, but also leverages the advantages of both statistical and semantic features while avoiding overfitting caused by using statistical features. Experimental results show that the DSGN model achieves significant performance improvements on seven public datasets, with a macro-average F1 score exceeding 83% and a micro-average F1 score exceeding 81%, outperforming existing baseline techniques and demonstrating its substantial advantages.
引用
收藏
页数:22
相关论文
共 50 条
  • [21] Log-based Anomaly Detection of CPS Using a Statistical Method
    Harada, Yoshiyuki
    Yamagata, Yoriyuki
    Mizuno, Osamu
    Choi, Eun-Hye
    2017 8TH IEEE INTERNATIONAL WORKSHOP ON EMPIRICAL SOFTWARE ENGINEERING IN PRACTICE (IWESEP), 2017, : 1 - 6
  • [22] 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
  • [23] 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,
  • [24] 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
  • [25] 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
  • [26] 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
  • [27] 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
  • [28] 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
  • [29] 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
  • [30] 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