The continuous Bernoulli: fixing a pervasive error in variational autoencoders

07/16/2019
by   Gabriel Loaiza-Ganem, et al.
5

Variational autoencoders (VAE) have quickly become a central tool in machine learning, applicable to a broad range of data types and latent variable models. By far the most common first step, taken by seminal papers and by core software libraries alike, is to model MNIST data using a deep network parameterizing a Bernoulli likelihood. This practice contains what appears to be and what is often set aside as a minor inconvenience: the pixel data is [0,1] valued, not 0,1 as supported by the Bernoulli likelihood. Here we show that, far from being a triviality or nuisance that is convenient to ignore, this error has profound importance to VAE, both qualitative and quantitative. We introduce and fully characterize a new [0,1]-supported, single parameter distribution: the continuous Bernoulli, which patches this pervasive bug in VAE. This distribution is not nitpicking; it produces meaningful performance improvements across a range of metrics and datasets, including sharper image samples, and suggests a broader class of performant VAE.

READ FULL TEXT
research
02/23/2020

Variance Loss in Variational Autoencoders

In this article, we highlight what appears to be major issue of Variatio...
research
06/11/2020

A Generalised Linear Model Framework for Variational Autoencoders based on Exponential Dispersion Families

Although variational autoencoders (VAE) are successfully used to obtain ...
research
07/30/2021

Data-driven modeling of time-domain induced polarization

We present a novel approach for data-driven modeling of the time-domain ...
research
03/04/2020

Deterministic Decoding for Discrete Data in Variational Autoencoders

Variational autoencoders are prominent generative models for modeling di...
research
11/16/2016

Deep Variational Inference Without Pixel-Wise Reconstruction

Variational autoencoders (VAEs), that are built upon deep neural network...
research
08/20/2018

Synthetic Patient Generation: A Deep Learning Approach Using Variational Autoencoders

Artificial Intelligence in healthcare is a new and exciting frontier and...
research
06/20/2022

Latent Variable Modelling Using Variational Autoencoders: A survey

A probability distribution allows practitioners to uncover hidden struct...

Please sign up or login with your details

Forgot password? Click here to reset