Unsupervised abnormal detection using VAE with memory

被引:7
作者
Xie, Xin [1 ]
Li, Xinlei [1 ]
Wang, Bin [1 ]
Wan, Tiancheng [1 ]
Xu, Lei [1 ]
Li, Huiping [2 ]
机构
[1] East China Jiaotong Univ, Sch Informat Engn, Nanchang, Jiangxi, Peoples R China
[2] Univ Elect Sci & Technol China, Sch Informat & Commun Engn, Chengdu, Peoples R China
基金
中国国家自然科学基金;
关键词
Anomaly detection; Unsupervised learning; Variational autoencoder; Generative adversarial networks; MHMA; ANOMALY DETECTION; NOVELTY DETECTION;
D O I
10.1007/s00500-022-07140-6
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Anomaly detection based on generative models usually uses the reconstruction loss of samples for anomaly discrimination. However, there are two problems in semi-supervised or unsupervised learning. One is that the generalizing ability of the generator is too strong, which may reduce the reconstruction loss of some outliers. The other is that the background statistics will interfere with the reconstruction loss of outliers. Both of them will reduce the effectiveness of anomaly detection. In this paper, we propose an anomaly detection method called MHMA (Multi-headed Memory Autoencoder). The variational autoencoder is used as the generation model, and the vector in potential space is limited by the memory module, which increases the reconstruction error of abnormal samples. Moreover, the MHMA uses the multi-head structure to divide the last layer of the decoder into multiple branches to learn and generate a diverse sample distribution, which keeps the generalization capability of the model within a reasonable range. In the process of calculating outliers, a likelihood ratio method is employed to obtain correct background statistics according to the background model, thus enhancing the specific features in the reconstructed samples. The effectiveness and universality of MHMA are tested on different types of datasets, and the results show that the model achieves 99.5% recall, 99.9% precision, 99.69% F1 and 98.12% MCC on the image dataset and it achieves 98.61% recall, 98.73% precision, 98.67% F1 and 95.82% MCC on the network security dataset.
引用
收藏
页码:6219 / 6231
页数:13
相关论文
共 36 条
  • [1] Fraud detection system: A survey
    Abdallah, Aisha
    Maarof, Mohd Aizaini
    Zainal, Anazida
    [J]. JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2016, 68 : 90 - 113
  • [2] A survey of network anomaly detection techniques
    Ahmed, Mohiuddin
    Mahmood, Abdun Naser
    Hu, Jiankun
    [J]. JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2016, 60 : 19 - 31
  • [3] A survey of anomaly detection techniques in financial domain
    Ahmed, Mohiuddin
    Mahmood, Abdun Naser
    Islam, Md. Rafiqul
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2016, 55 : 278 - 288
  • [4] GANomaly: Semi-supervised Anomaly Detection via Adversarial Training
    Akcay, Samet
    Atapour-Abarghouei, Amir
    Breckon, Toby P.
    [J]. COMPUTER VISION - ACCV 2018, PT III, 2019, 11363 : 622 - 637
  • [5] An J, 2015, VARIATIONAL AUTOENCO, P118
  • [6] Bengio Y., 2007, ADV NEURAL INFORM PR, P153
  • [7] Anomaly Detection: A Survey
    Chandola, Varun
    Banerjee, Arindam
    Kumar, Vipin
    [J]. ACM COMPUTING SURVEYS, 2009, 41 (03)
  • [8] Chollet, 2015, FRANC OTH
  • [9] Semi-supervised Brain Lesion Segmentation with an Adapted Mean Teacher Model
    Cui, Wenhui
    Liu, Yanlin
    Li, Yuxing
    Guo, Menghao
    Li, Yiming
    Li, Xiuli
    Wang, Tianle
    Zeng, Xiangzhu
    Ye, Chuyang
    [J]. INFORMATION PROCESSING IN MEDICAL IMAGING, IPMI 2019, 2019, 11492 : 554 - 565
  • [10] Dong C, 2018, 2018 IEEE 3 INT C DA