Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

VAEBM: A Symbiosis between Variational Autoencoders and Energy-based Models

About

Energy-based models (EBMs) have recently been successful in representing complex distributions of small images. However, sampling from them requires expensive Markov chain Monte Carlo (MCMC) iterations that mix slowly in high dimensional pixel space. Unlike EBMs, variational autoencoders (VAEs) generate samples quickly and are equipped with a latent space that enables fast traversal of the data manifold. However, VAEs tend to assign high probability density to regions in data space outside the actual data distribution and often fail at generating sharp images. In this paper, we propose VAEBM, a symbiotic composition of a VAE and an EBM that offers the best of both worlds. VAEBM captures the overall mode structure of the data distribution using a state-of-the-art VAE and it relies on its EBM component to explicitly exclude non-data-like regions from the model and refine the image samples. Moreover, the VAE component in VAEBM allows us to speed up MCMC updates by reparameterizing them in the VAE's latent space. Our experimental results show that VAEBM outperforms state-of-the-art VAEs and EBMs in generative quality on several benchmark image datasets by a large margin. It can generate high-quality images as large as 256$\times$256 pixels with short MCMC chains. We also demonstrate that VAEBM provides complete mode coverage and performs well in out-of-distribution detection. The source code is available at https://github.com/NVlabs/VAEBM

Zhisheng Xiao, Karsten Kreis, Jan Kautz, Arash Vahdat• 2020

Related benchmarks

TaskDatasetResultRank
Image GenerationCIFAR-10 (test)
FID12.19
471
Image GenerationCelebA 64 x 64 (test)
FID5.31
203
Unconditional Image GenerationCIFAR-10
FID12.16
171
Unconditional Image GenerationCIFAR-10 unconditional
FID12.19
159
Image GenerationCIFAR10 32x32 (test)
FID12.2
154
Unconditional GenerationCIFAR-10 (test)
FID12.2
102
Image GenerationCelebA-HQ 256x256
FID20.38
51
Out-of-Distribution DetectionSVHN (test)
AUROC0.83
48
Image GenerationCelebA-HQ (test)
FID20.38
42
Out-of-Distribution DetectionCelebA (test)
AUROC77
36
Showing 10 of 21 rows

Other info

Code

Follow for update