A Generative Adversarial Networks for Log Anomaly Detection

被引:14
|
作者
Duan, Xiaoyu [1 ]
Ying, Shi [1 ]
Yuan, Wanli [1 ]
Cheng, Hailong [1 ]
Yin, Xiang [2 ]
机构
[1] Wuhan Univ, Sch Comp Sci, Wuhan 430072, Peoples R China
[2] Chinese Acad Sci, Inst Informat Engn, Beijing 100093, Peoples R China
来源
COMPUTER SYSTEMS SCIENCE AND ENGINEERING | 2021年 / 37卷 / 01期
基金
中国国家自然科学基金;
关键词
Generative adversarial networks; anomaly detection; data mining; deep learning; IMAGE; PREDICTION;
D O I
10.32604/csse.2021.014030
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Detecting anomaly logs is a great significance step for guarding system faults. Due to the uncertainty of abnormal log types, lack of real anomaly logs and accurately labeled log datasets. Existing technologies cannot be enough for detecting complex and various log point anomalies by using human-defined rules. We propose a log anomaly detection method based on Generative Adversarial Networks (GAN). This method uses the Encoder-Decoder framework based on Long Short-Term Memory (LSTM) network as the generator, takes the log keywords as the input of the encoder, and the decoder outputs the generated log template. The discriminator uses the Convolutional Neural Networks (CNN) to identify the difference between the generated log template and the real log template. The model parameters are optimized automatically by iteration. In the stage of anomaly detection, the probability of anomaly is calculated by the Euclidean distance. Experiments on real data show that this method can detect log point anomalies with an average precision of 95%. Besides, it outperforms other existing log-based anomaly detection methods.
引用
收藏
页码:135 / 148
页数:14
相关论文
共 50 条
  • [31] Anomaly prediction of Internet behavior based on generative adversarial networks
    Wang, XiuQing
    An, Yang
    Hu, Qianwei
    PeerJ Computer Science, 2024, 10
  • [32] MAD-GAN: Multivariate Anomaly Detection for Time Series Data with Generative Adversarial Networks
    Li, Dan
    Chen, Dacheng
    Shi, Lei
    Jin, Baihong
    Goh, Jonathan
    Ng, See-Kiong
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING - ICANN 2019: TEXT AND TIME SERIES, PT IV, 2019, 11730 : 703 - 716
  • [33] IoT-GAN: Anomaly Detection for Time Series in IoT Based on Generative Adversarial Networks
    Chen, Xiaofei
    Zhang, Shuo
    Jiang, Qiao
    Chen, Jiayuan
    Huang, Hejiao
    Gu, Chonglin
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2021, PT II, 2022, 13156 : 682 - 694
  • [34] Dis-AE-LSTM: Generative Adversarial Networks for Anomaly Detection of Time Series Data
    Mao, Sheng
    Guo, Jiansheng
    Gu, Taoyong
    Ma, Zhong
    2020 INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND COMPUTER ENGINEERING (ICAICE 2020), 2020, : 330 - 336
  • [35] Unsupervised anomaly detection using generative adversarial networks in 1H-MRS of the brain
    Jang, Joon
    Lee, Hyeong Hun
    Park, Ji-Ae
    Kim, Hyeonjin
    JOURNAL OF MAGNETIC RESONANCE, 2021, 325
  • [36] IWGAN: Anomaly Detection in Airport Based on Improved Wasserstein Generative Adversarial Network
    Huang, Ko-Wei
    Chen, Guan-Wei
    Huang, Zih-Hao
    Lee, Shih-Hsiung
    APPLIED SCIENCES-BASEL, 2023, 13 (03):
  • [37] Generative Adversarial Attributed Network Anomaly Detection
    Chen, Zhenxing
    Liu, Bo
    Wang, Meiqing
    Dai, Peng
    Lv, Jun
    Bo, Liefeng
    CIKM '20: PROCEEDINGS OF THE 29TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, 2020, : 1989 - 1992
  • [38] Audio Data-driven Anomaly Detection for Induction Motor Based on Generative Adversarial Networks
    Shim, Jaehoon
    Joung, Taesuk
    Lee, Sangwon
    Ha, Jung-Ik
    2022 IEEE ENERGY CONVERSION CONGRESS AND EXPOSITION (ECCE), 2022,
  • [39] Multivariate Time Series Anomaly Detection With Generative Adversarial Networks Based on Active Distortion Transformer
    Kong, Lingkun
    Yu, Jinsong
    Tang, Diyin
    Song, Yue
    Han, Danyang
    IEEE SENSORS JOURNAL, 2023, 23 (09) : 9658 - 9668
  • [40] f-AnoGAN: Fast unsupervised anomaly detection with generative adversarial networks
    Schlegl, Thomas
    Seebock, Philipp
    Waldstein, Sebastian M.
    Langs, Georg
    Schmidt-Erfurth, Ursula
    MEDICAL IMAGE ANALYSIS, 2019, 54 : 30 - 44