Unsupervised Out-of-Distribution Detection by Restoring Lossy Inputs with Variational Autoencoder

Zezhen Zeng, Bin Liu
9/5/2023
1 citation
cs.LG

Official code: ZJLAB-AMMI/VAE4OOD (1 star, Python, Apache-2.0, last commit 2024-01-03).

Abstract

Deep generative models have been demonstrated as problematic in the unsupervised out-of-distribution (OOD) detection task, where they tend to assign higher likelihoods to OOD samples. Previous studies on this issue are usually not applicable to the Variational Autoencoder (VAE).

Show full abstract

As a popular subclass of generative models, the VAE can be effective with a relatively smaller model size and be more stable and faster in training and inference, which can be more advantageous in real-world applications. In this paper, We propose a novel VAE-based score called Error Reduction (ER) for OOD detection, which is based on a VAE that takes a lossy version of the training set as inputs and the original set as targets. Experiments are carried out on various datasets to show the effectiveness of our method, we also present the effect of design choices with ablation experiments. Our code is available at: https://github.com/ZJLAB-AMMI/VAE4OOD.

View on arXivView PDF

Code Implementations(1)

ZJLAB-AMMI/VAE4OODOfficial100%
Apache-2.0

Python code to implement an efficient approach to unsupervised OOD detection with VAE

10PythonAug 31, 20232 years agoApache-2.0
deep-learningkolmogorov-complexityood-detectionunsupervised-learningvae+1 more

Similar Papers

Cite this paper

@article{zeng2023unsupervised,
  title  = {Unsupervised Out-of-Distribution Detection by Restoring Lossy Inputs with Variational Autoencoder},
  author = {Zezhen Zeng and Bin Liu},
  year   = {2023},
  eprint = {2309.02084},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.02084v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.02084.svg)](https://codeofpaper.com/paper/2309.02084)

Discussion