mlsanityData to 7 Oct 2026

Anomaly detection through latent space restoration using vector-quantized variational autoencoders

arXiv 2012.06765 ↗First posted 12 Dec 2020cs.CV cs.LG eess.IVcited by 45

Not on the map. Why?

Abstract (arXiv)

We propose an out-of-distribution detection method that combines density and restoration-based approaches using Vector-Quantized Variational Auto-Encoders (VQ-VAEs). The VQ-VAE model learns to encode images in a categorical latent space. The prior distribution of latent codes is then modelled using an Auto-Regressive (AR) model. We found that the prior probability estimated by the AR model can be useful for unsupervised anomaly detection and enables the estimation of both sample and pixel-wise anomaly scores. The sample-wise score is defined as the negative log-likelihood of the latent variables above a threshold selecting highly unlikely codes. Additionally, out-of-distribution images are restored into in-distribution images by replacing unlikely latent codes with samples from the prior model and decoding to pixel space. The average L1 distance between generated restorations and original image is used as pixel-wise anomaly score. We tested our approach on the MOOD challenge datasets, and report higher accuracies compared to a standard reconstruction-based approach with VAEs.

Key facts. Cited by 45 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Dec 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 3; 2022: 6; 2023: 17; 2024: 6; 2025: 7; 2026: 6.

45 papers.

Sort:

By area:

  1. 2022Diffusion Models for Medical Anomaly Detectioncited by 231
  2. 2021Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localizationcited by 116
  3. 2023Vector Quantized Time Series Generation with a Bidirectional Prior Modelcited by 49
  4. 2021Detecting Outliers with Poisson Image Interpolationcited by 44
  5. 2023Disentanglement via Latent Quantizationcited by 40
  6. 2023MSFlow: Multi-Scale Flow-based Framework for Unsupervised Anomaly Detectioncited by 25
  7. 2024MedIAnomaly: A comparative study of anomaly detection in medical imagescited by 25
  8. 2023Segment Every Out-of-Distribution Objectcited by 21
  9. 2021Implicit field learning for unsupervised anomaly detection in medical imagescited by 17
  10. 2022Dual-Distribution Discrepancy for Anomaly Detection in Chest X-Rayscited by 17
  11. 2023Explainable Time Series Anomaly Detection using Masked Latent Generative Modelingcited by 15
  12. 2024Evaluation of pseudo-healthy image reconstruction for anomaly detection with deep generative models: Application to brain FDG PETcited by 10
33 more
  1. 2023Unmasking the Chameleons: A Benchmark for Out-of-Distribution Detection in Medical Tabular Datacited by 8
  2. 2023DISYRE: Diffusion-Inspired SYnthetic REstoration for Unsupervised Anomaly Detectioncited by 8
  3. 2023Cross Attention Transformers for Multi-modal Unsupervised Whole-Body PET Anomaly Detectioncited by 7
  4. 2024Binary Noise for Binary Tasks: Masked Bernoulli Diffusion for Unsupervised Anomaly Detectioncited by 7
  5. 2022StRegA: Unsupervised Anomaly Detection in Brain MRIs using a Compact Context-encoding Variational Autoencodercited by 6
  6. 2025Scale-Aware Contrastive Reverse Distillation for Unsupervised Medical Anomaly Detectioncited by 6
  7. 2023CRADL: Contrastive Representations for Unsupervised Anomaly Detection and Localizationcited by 3
  8. 2023cOOpD: Reformulating COPD classification on chest CT scans as anomaly detection using contrastive representationscited by 3
  9. 2025Out-of-Distribution Radar Detection in Compound Clutter and Thermal Noise through Variational Autoencoderscited by 3
  10. 2026Dual Distillation for Few-Shot Anomaly Detectioncited by 3
  11. 2022nnOOD: A Framework for Benchmarking Self-supervised Anomaly Localisation Methodscited by 2
  12. 2022Anomaly Detection using Generative Models and Sum-Product Networks in Mammography Scanscited by 2
  13. 2023Burnt area extraction from high-resolution satellite images based on anomaly detectioncited by 2
  14. 2023Histogram- and Diffusion-Based Medical Out-of-Distribution Detectioncited by 2
  15. 2025Q-Former Autoencoder: A Modern Framework for Medical Anomaly Detectioncited by 2
  16. 2026A Principled Approach to Unsupervised Anomaly Detectioncited by 2
  17. 2023Unsupervised Anomaly Detection with Local-Sensitive VQVAE and Global-Sensitive Transformerscited by 1
  18. 2023Unsupervised Brain Tumor Segmentation with Image-based Promptscited by 1
  19. 2024Pancreatic Tumor Segmentation as Anomaly Detection in CT Images Using Denoising Diffusion Modelscited by 1
  20. 2024Efficient Continual Learning for Small Language Models with a Discrete Key-Value Bottleneckcited by 1
  21. 2025Toward Long-Tailed Online Anomaly Detection through Class-Agnostic Conceptscited by 1
  22. 2025Unsupervised Deep Generative Models for Anomaly Detection in Neuroimaging: A Systematic Scoping Reviewcited by 1
  23. 2022Dual-distribution discrepancy with self-supervised refinement for anomaly detection in medical imagescited by 0
  24. 2023Technical outlier detection via convolutional variational autoencoder for the ADMANI breast mammogram datasetcited by 0
  25. 2023MIM-OOD: Generative Masked Image Modelling for Out-of-Distribution Detection in Medical Imagescited by 0
  26. 2023Attentive VQ-VAEcited by 0
  27. 2024Unsupervised Hybrid framework for ANomaly Detection (HAND) -- applied to Screening Mammogramcited by 0
  28. 2025RASALoRE: Region Aware Spatial Attention with Location-based Random Embeddings for Weakly Supervised Anomaly Detection in Brain MRI Scanscited by 0
  29. 2025Latent-space metrics for Complex-Valued VAE out-of-distribution detection under radar cluttercited by 0
  30. 2026Out-of-Distribution Radar Detection with Complex VAEs: Theory, Whitening, and ANMF Fusioncited by 0
  31. 2026Spatial Autoregressive Modeling of DINOv3 Embeddings for Unsupervised Anomaly Detectioncited by 0
  32. 2026Anatomy-Aware Unsupervised Detection and Localization of Retinal Abnormalities in Optical Coherence Tomographycited by 0
  33. 2026Soft-Constrained Optimization of Latent Space in Variational Autoencoderscited by 0