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 条
  • [41] Rule-Based Out-of-Distribution Detection
    De Bernardi G.
    Narteni S.
    Cambiaso E.
    Mongelli M.
    IEEE Transactions on Artificial Intelligence, 2024, 5 (06): : 2627 - 2637
  • [42] Full-Spectrum Out-of-Distribution Detection
    Yang, Jingkang
    Zhou, Kaiyang
    Liu, Ziwei
    INTERNATIONAL JOURNAL OF COMPUTER VISION, 2023, 131 (10) : 2607 - 2622
  • [43] DICE: Leveraging Sparsification for Out-of-Distribution Detection
    Sun, Yiyou
    Li, Yixuan
    COMPUTER VISION, ECCV 2022, PT XXIV, 2022, 13684 : 691 - 708
  • [44] Gradient-Regularized Out-of-Distribution Detection
    Sharifi, Sina
    Entesari, Taha
    Safaei, Bardia
    Patel, Vishal M.
    Fazlyab, Mahyar
    COMPUTER VISION - ECCV 2024, PT XIII, 2025, 15071 : 459 - 478
  • [45] Out-of-Distribution Detection by Cross-Class Vicinity Distribution of In-Distribution Data
    Zhao, Zhilin
    Cao, Longbing
    Lin, Kun-Yu
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024, 35 (10) : 13777 - 13788
  • [46] Full-Spectrum Out-of-Distribution Detection
    Jingkang Yang
    Kaiyang Zhou
    Ziwei Liu
    International Journal of Computer Vision, 2023, 131 : 2607 - 2622
  • [47] Image Dataset Quality Assessment Through Descriptive Out-of-Distribution Detection
    Kharma, Sarni
    Grossmann, Juergen
    KI 2024: ADVANCES IN ARTIFICIAL INTELLIGENCE, KI 2024, 2024, 14992 : 147 - 159
  • [48] Gaussian-Based Approach for Out-of-Distribution Detection in Deep Learning
    Carvalho, Thiago
    Vellasco, Marley
    Amaral, Jose Franco
    24TH INTERNATIONAL CONFERENCE ON ENGINEERING APPLICATIONS OF NEURAL NETWORKS, EAAAI/EANN 2023, 2023, 1826 : 303 - 314
  • [49] An Efficient Anomalous Action Recognition Model Based on Out-of-Distribution Detection
    Yu, Pei-Lun
    Chou, Po-Yung
    Lin, Cheng-Hung
    Kao, Wen-Chung
    IEEE ISPCE-ASIA 2021: IEEE INTERNATIONAL SYMPOSIUM ON PRODUCT COMPLIANCE ENGINEERING - ASIA, 2021,
  • [50] Out-of-Distribution Detection through Relative Activation-Deactivation Abstractions
    Zhang, Zhen
    Wu, Peng
    Chen, Yuhang
    Su, Jing
    2021 IEEE 32ND INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2021), 2021, : 150 - 161