arXiv:1907.06845stat.ML
The continuous Bernoulli: fixing a pervasive error in variational autoencoders
Abstract
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.
Looks like this paper gives some background: https://arxiv.org/abs/1907.06845 I've dabbled in VAEs, but haven't read this paper. Anyone want to try an ELI5thYearGradStudent?
sdenton4View on HNParent context
> I see it’s equivalent to a Beta distribution. It's not. The beta distribution is p(x) ∝ x^(α-1) (1-x)^(β-1). x is in the bases. The continuous Bernoulli distribution is p(x) ∝ λ^x (1-λ)^x. x is in the exponents. As https://arxiv.org/abs/1907.06845 says: > the continuous…
alentistView on HNParent context