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 条
  • [1] Enclosing Prototypical Variational Autoencoder for Explainable Out-of-Distribution Detection
    Orglmeister, Conrad
    Bochinski, Erik
    Eiselein, Volker
    Fleig, Elvira
    COMPUTER SAFETY, RELIABILITY, AND SECURITY. SAFECOMP 2024 WORKSHOPS, 2024, 14989 : 365 - 378
  • [2] Network Anomaly Detection Using Memory-Augmented Deep Autoencoder
    Min, Byeongjun
    Yoo, Jihoon
    Kim, Sangsoo
    Shin, Dongil
    Shin, Dongkyoo
    IEEE ACCESS, 2021, 9 : 104695 - 104706
  • [3] Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications
    Feng, Yeli
    Ng, Daniel Jun Xian
    Easwaran, Arvind
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2021, 20 (05)
  • [4] Abnormal State Detection using Memory-augmented Autoencoder technique in Frequency-Time Domain
    Zhong, Haoyi
    Zhao, Yongjiang
    Lim, Chang Gyoon
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2024, 18 (02): : 348 - 369
  • [5] Semantic enhanced for out-of-distribution detection
    Jiang, Weijie
    Yu, Yuanlong
    FRONTIERS IN NEUROROBOTICS, 2022, 16
  • [6] Timing Performance Benchmarking of Out-of-Distribution Detection Algorithms
    Siyu Luan
    Zonghua Gu
    Amin Saremi
    Leonid Freidovich
    Lili Jiang
    Shaohua Wan
    Journal of Signal Processing Systems, 2023, 95 : 1355 - 1370
  • [7] Timing Performance Benchmarking of Out-of-Distribution Detection Algorithms
    Luan, Siyu
    Gu, Zonghua
    Saremi, Amin
    Freidovich, Leonid
    Jiang, Lili
    Wan, Shaohua
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2023, 95 (12): : 1355 - 1370
  • [8] 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
  • [9] On the Learnability of Out-of-distribution Detection
    Fang, Zhen
    Li, Yixuan
    Liu, Feng
    Han, Bo
    Lu, Jie
    JOURNAL OF MACHINE LEARNING RESEARCH, 2024, 25
  • [10] Ensemble-Based Out-of-Distribution Detection
    Yang, Donghun
    Mai Ngoc, Kien
    Shin, Iksoo
    Lee, Kyong-Ha
    Hwang, Myunggwon
    ELECTRONICS, 2021, 10 (05) : 1 - 12