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
来源
基金
中国国家自然科学基金;
关键词
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 条
  • [1] Image Anomaly Detection with Generative Adversarial Networks
    Deecke, Lucas
    Vandermeulen, Robert
    Ruff, Lukas
    Mandt, Stephan
    Kloft, Marius
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, ECML PKDD 2018, PT I, 2019, 11051 : 3 - 17
  • [2] Anomaly detection with variational quantum generative adversarial networks
    Herr, Daniel
    Obert, Benjamin
    Rosenkranz, Matthias
    QUANTUM SCIENCE AND TECHNOLOGY, 2021, 6 (04)
  • [3] Generative Adversarial Networks for anomaly detection in aerial images
    Contreras-Cruz, Marco A.
    Correa-Tome, Fernando E.
    Lopez-Padilla, Rigoberto
    Ramirez-Paredes, Juan-Pablo
    COMPUTERS & ELECTRICAL ENGINEERING, 2023, 106
  • [4] Unsupervised Anomaly Detection via Generative Adversarial Networks
    Wang, Hanling
    Li, Mingyang
    Ma, Fei
    Huang, Shao-Lun
    Zhang, Lin
    IPSN '19: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING IN SENSOR NETWORKS, 2019, : 313 - 314
  • [5] Unsupervised anomaly detection with generative adversarial networks in mammography
    Park, Seungju
    Lee, Kyung Hwa
    Ko, Beomseok
    Kim, Namkug
    SCIENTIFIC REPORTS, 2023, 13 (01)
  • [6] Generative Adversarial Networks for anomaly detection on decentralised data
    Katzefa, Marc
    Cullen, Andrew C.
    Alpcan, Tansu
    Leckie, Christopher
    ANNUAL REVIEWS IN CONTROL, 2022, 53 : 329 - 337
  • [7] Video anomaly detection based on ensemble generative adversarial networks
    Gu Jia-Cheng
    Long Ying-Wen
    Ji Ming-Ming
    CHINESE JOURNAL OF LIQUID CRYSTALS AND DISPLAYS, 2022, 37 (12) : 1607 - 1613
  • [8] Anomaly Detection via Minimum Likelihood Generative Adversarial Networks
    Wang, Chu
    Zhang, Yan-Ming
    Liu, Cheng-Lin
    2018 24TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2018, : 1121 - 1126
  • [9] Unsupervised anomaly detection using inverse generative adversarial networks
    Xiao, Feng
    Zhou, Jianfeng
    Han, Kunpeng
    Hu, Haoyuan
    Fan, Jicong
    INFORMATION SCIENCES, 2025, 689
  • [10] Forward-Backward Generative Adversarial Networks for Anomaly Detection
    Kim, Youngnam
    Choi, Seungjin
    ASIAN CONFERENCE ON MACHINE LEARNING, VOL 101, 2019, 101 : 1142 - 1155