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

A Contrastive Learning Approach for Training Variational Autoencoder Priors

About

Variational autoencoders (VAEs) are one of the powerful likelihood-based generative models with applications in many domains. However, they struggle to generate high-quality images, especially when samples are obtained from the prior without any tempering. One explanation for VAEs' poor generative quality is the prior hole problem: the prior distribution fails to match the aggregate approximate posterior. Due to this mismatch, there exist areas in the latent space with high density under the prior that do not correspond to any encoded image. Samples from those areas are decoded to corrupted images. To tackle this issue, we propose an energy-based prior defined by the product of a base prior distribution and a reweighting factor, designed to bring the base closer to the aggregate posterior. We train the reweighting factor by noise contrastive estimation, and we generalize it to hierarchical VAEs with many latent variable groups. Our experiments confirm that the proposed noise contrastive priors improve the generative performance of state-of-the-art VAEs by a large margin on the MNIST, CIFAR-10, CelebA 64, and CelebA HQ 256 datasets. Our method is simple and can be applied to a wide variety of VAEs to improve the expressivity of their prior distribution.

Jyoti Aneja, Alexander Schwing, Jan Kautz, Arash Vahdat• 2020

Related benchmarks

TaskDatasetResultRank
Image GenerationCIFAR-10 (test)
FID24.08
471
Image GenerationCelebA 64 x 64 (test)
FID5.25
203
Unconditional Image GenerationCIFAR-10 unconditional
FID24.08
159
Image GenerationCelebA-HQ 256x256
FID24.79
51
Image GenerationCelebA (test)
FID5.25
49
Image GenerationCelebA-HQ 256x256 (test)
FID24.8
34
Unconditional image synthesisCelebA-HQ 256 x 256 (test)
FID24.8
22
Image GenerationSVHN (test)
FID33.23
14
Image Generation and ReconstructionCelebA (test)
FID42.07
11
Image GenerationCelebA-HQ-256 (test)
FID24.79
11
Showing 10 of 14 rows

Other info

Follow for update