Do Bayesian Variational Autoencoders Know What They Don't Know?

12/29/2022
by   Misha Glazunov, et al.
0

The problem of detecting the Out-of-Distribution (OoD) inputs is of paramount importance for Deep Neural Networks. It has been previously shown that even Deep Generative Models that allow estimating the density of the inputs may not be reliable and often tend to make over-confident predictions for OoDs, assigning to them a higher density than to the in-distribution data. This over-confidence in a single model can be potentially mitigated with Bayesian inference over the model parameters that take into account epistemic uncertainty. This paper investigates three approaches to Bayesian inference: stochastic gradient Markov chain Monte Carlo, Bayes by Backpropagation, and Stochastic Weight Averaging-Gaussian. The inference is implemented over the weights of the deep neural networks that parameterize the likelihood of the Variational Autoencoder. We empirically evaluate the approaches against several benchmarks that are often used for OoD detection: estimation of the marginal likelihood utilizing sampled model ensemble, typicality test, disagreement score, and Watanabe-Akaike Information Criterion. Finally, we introduce two simple scores that demonstrate the state-of-the-art performance.

READ FULL TEXT
research
12/11/2019

Bayesian Variational Autoencoders for Unsupervised Out-of-Distribution Detection

Despite their successes, deep neural networks still make unreliable pred...
research
07/03/2020

The FMRIB Variational Bayesian Inference Tutorial II: Stochastic Variational Bayes

Bayesian methods have proved powerful in many applications for the infer...
research
10/16/2018

Metropolis-Hastings view on variational inference and adversarial training

In this paper we propose to view the acceptance rate of the Metropolis-H...
research
09/03/2020

Ramifications of Approximate Posterior Inference for Bayesian Deep Learning in Adversarial and Out-of-Distribution Settings

Deep neural networks have been successful in diverse discriminative clas...
research
05/25/2016

Asymptotically exact inference in differentiable generative models

Many generative models can be expressed as a differentiable function of ...
research
06/16/2023

Vacant Holes for Unsupervised Detection of the Outliers in Compact Latent Representation

Detection of the outliers is pivotal for any machine learning model depl...
research
03/03/2022

Comparison of LSTM autoencoder based deep learning enabled Bayesian inference using two time series reconstruction approaches

In this work, we use a combination of Bayesian inference, Markov chain M...

Please sign up or login with your details

Forgot password? Click here to reset