Bayesian Autoencoders: Analysing and Fixing the Bernoulli likelihood for Out-of-Distribution Detection

Bang Xiang Yong, Tim Pearce, Alexandra Brintrup
7/28/2021
cs.LGstat.ML
bayesian

Official code: bangxiangyong/bae-ood-images (6 stars, Python, last commit 2020-07-27).

Abstract

After an autoencoder (AE) has learnt to reconstruct one dataset, it might be expected that the likelihood on an out-of-distribution (OOD) input would be low. This has been studied as an approach to detect OOD inputs.

Show full abstract

Recent work showed this intuitive approach can fail for the dataset pairs FashionMNIST vs MNIST. This paper suggests this is due to the use of Bernoulli likelihood and analyses why this is the case, proposing two fixes: 1) Compute the uncertainty of likelihood estimate by using a Bayesian version of the AE. 2) Use alternative distributions to model the likelihood.

View on arXivView PDF

Code Implementations(1)

Bayesian autoencoders for Out-of-distribution detection (image dataset pairs)

61PythonJun 13, 20206 years ago

Similar Papers

Cite this paper

@article{yong2021bayesian,
  title  = {Bayesian Autoencoders: Analysing and Fixing the Bernoulli likelihood for Out-of-Distribution Detection},
  author = {Bang Xiang Yong and Tim Pearce and Alexandra Brintrup},
  year   = {2021},
  eprint = {2107.13304},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.13304}
}

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/2107.13304.svg)](https://codeofpaper.com/paper/2107.13304)

Discussion