Out-of-Distribution Detection with Memory-Augmented Variational Autoencoder

被引:0
|
作者
Ataeiasad, Faezeh [1 ]
Elizondo, David [1 ]
Ramirez, Saul Calderon [2 ]
Greenfield, Sarah [1 ]
Deka, Lipika [1 ]
机构
[1] De Montfort Univ, Sch Comp Sci & Informat, Gateway, Leicester LE1 9BH, England
[2] Costa Rica Inst Technol ITCR, Sch Comp Engn, Cartago 30109, Costa Rica
关键词
out-of-distribution detection; variational autoencoder; memory-augmentation; machine learning; integrated external memory; PyTorch; deep learning; NETWORK;
D O I
10.3390/math12193153
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
This paper proposes a novel method capable of both detecting OOD data and generating in-distribution data samples. To achieve this, a VAE model is adopted and augmented with a memory module, providing capacities for identifying OOD data and synthesising new in-distribution samples. The proposed VAE is trained on normal data and the memory stores prototypical patterns of the normal data distribution. At test time, the input is encoded by the VAE encoder; this encoding is used as a query to retrieve related memory items, which are then integrated with the input encoding and passed to the decoder for reconstruction. Normal samples reconstruct well and yield low reconstruction errors, while OOD inputs produce high reconstruction errors as their encodings get replaced by retrieved normal patterns. Prior works use memory modules for OOD detection with autoencoders, but this method leverages a VAE architecture to enable generation abilities. Experiments conducted with CIFAR-10 and MNIST datasets show that the memory-augmented VAE consistently outperforms the baseline, particularly where OOD data resembles normal patterns. This notable improvement is due to the enhanced latent space representation provided by the VAE. Overall, the memory-equipped VAE framework excels in identifying OOD and generating creative examples effectively.
引用
收藏
页数:16
相关论文
共 50 条
  • [21] 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
  • [22] Memory-Augmented Autoencoder Based Continuous Authentication on Smartphones With Conditional Transformer GANs
    Li, Yantao
    Liu, Li
    Deng, Shaojiang
    Qin, Huafeng
    El-Yacoubi, Mounim A.
    Zhou, Gang
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2024, 23 (05) : 4467 - 4482
  • [23] A Cognitive Memory-Augmented Network for Visual Anomaly Detection
    Wang, Tian
    Xu, Xing
    Shen, Fumin
    Yang, Yang
    IEEE-CAA JOURNAL OF AUTOMATICA SINICA, 2021, 8 (07) : 1296 - 1307
  • [24] Identification of Geochemical Anomalies Using a Memory-Augmented Autoencoder Model with Geological Constraint
    Luo, Tonghui
    Zhou, Zhongli
    Tang, Long
    Gong, Hao
    Liu, Bin
    NATURAL RESOURCES RESEARCH, 2025, 34 (01) : 23 - 40
  • [25] Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoder
    Xiao, Zhisheng
    Yan, Qing
    Amit, Yali
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [26] Memory-augmented Variational Adaptation for Online Few-shot Segmentation
    Liu, Jie
    Du, Yingjun
    Xiao, Zehao
    Snoek, Cees G. M.
    Sonke, Jan-Jakob
    Gavves, Efstratios
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION WORKSHOPS, ICCVW, 2023, : 3316 - 3325
  • [27] TSMAE: A Novel Anomaly Detection Approach for Internet of Things Time Series Data Using Memory-Augmented Autoencoder
    Gao, Honghao
    Qiu, Binyang
    Barroso, Ramon J. Duran
    Hussain, Walayat
    Xu, Yueshen
    Wang, Xinheng
    IEEE TRANSACTIONS ON NETWORK SCIENCE AND ENGINEERING, 2023, 10 (05): : 2978 - 2990
  • [28] Anomaly detection in concrete dam using memory-augmented autoencoder and generative adversarial network (MemAE-GAN)
    Kang, Xinyu
    Li, Yanlong
    Zhang, Ye
    Ma, Ning
    Wen, Lifeng
    AUTOMATION IN CONSTRUCTION, 2024, 168
  • [29] Hyperspectral anomaly detection via memory-augmented autoencoders
    Zhao, Zhe
    Sun, Bangyong
    CAAI TRANSACTIONS ON INTELLIGENCE TECHNOLOGY, 2023, 8 (04) : 1274 - 1287
  • [30] FL-MAAE: An Intrusion Detection Method for the Internet of Vehicles Based on Federated Learning and Memory-Augmented Autoencoder
    Xing, Ling
    Wang, Kun
    Wu, Honghai
    Ma, Huahong
    Zhang, Xiaohui
    ELECTRONICS, 2023, 12 (10)