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 条
  • [1] 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
  • [2] 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
  • [3] Anomaly detection with variational quantum generative adversarial networks
    Herr, Daniel
    Obert, Benjamin
    Rosenkranz, Matthias
    QUANTUM SCIENCE AND TECHNOLOGY, 2021, 6 (04)
  • [4] Forward-Backward Generative Adversarial Networks for Anomaly Detection
    Kim, Youngnam
    Choi, Seungjin
    ASIAN CONFERENCE ON MACHINE LEARNING, VOL 101, 2019, 101 : 1142 - 1155
  • [5] Memory-Augmented Generative Adversarial Networks for Anomaly Detection
    Yang, Ziyi
    Zhang, Teng
    Bozchalooi, Iman Soltani
    Darve, Eric
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2022, 33 (06) : 2324 - 2334
  • [6] Unsupervised anomaly detection using inverse generative adversarial networks
    Xiao, Feng
    Zhou, Jianfeng
    Han, Kunpeng
    Hu, Haoyuan
    Fan, Jicong
    INFORMATION SCIENCES, 2025, 689
  • [7] Self-Supervised Attentive Generative Adversarial Networks for Video Anomaly Detection
    Huang, Chao
    Wen, Jie
    Xu, Yong
    Jiang, Qiuping
    Yang, Jian
    Wang, Yaowei
    Zhang, David
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2023, 34 (11) : 9389 - 9403
  • [8] A Framework for Anomaly Detection in IoT Networks Using Conditional Generative Adversarial Networks
    Ullah, Imtiaz
    Mahmoud, Qusay H.
    IEEE ACCESS, 2021, 9 : 165907 - 165931
  • [9] 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
  • [10] Anomaly detection of adversarial examples using class-conditional generative adversarial networks
    Wang, Hang
    Miller, David J.
    Kesidis, George
    COMPUTERS & SECURITY, 2023, 124