HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on Images

Rewon Child

Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on Images

Abstract

We present a hierarchical VAE that, for the first time, generates samples quickly while outperforming the PixelCNN in log-likelihood on all natural image benchmarks. We begin by observing that, in theory, VAEs can actually represent autoregressive models, as well as faster, better models if they exist, when made sufficiently deep. Despite this, autoregressive models have historically outperformed VAEs in log-likelihood. We test if insufficient depth explains why by scaling a VAE to greater stochastic depth than previously explored and evaluating it CIFAR-10, ImageNet, and FFHQ. In comparison to the PixelCNN, these very deep VAEs achieve higher likelihoods, use fewer parameters, generate samples thousands of times faster, and are more easily applied to high-resolution images. Qualitative studies suggest this is because the VAE learns efficient hierarchical visual representations. We release our source code and models at https://github.com/openai/vdvae.

Code Repositories

tcl9876/visual-vae
jax
Mentioned in GitHub
ericl122333/latent-vae
pytorch
Mentioned in GitHub
openai/vdvae
Official
pytorch
Mentioned in GitHub
j-towns/vdvae-jax
pytorch
Mentioned in GitHub
plai-group/ipa
pytorch
Mentioned in GitHub
vvvm23/vdvae
pytorch
Mentioned in GitHub
lupalab/posterior-matching
jax
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-ffhq-1024-x-1024Very Deep VAE
bits/dimension: 2.42
image-generation-on-ffhq-256-x-256Very Deep VAE
bits/dimension: 0.61
image-generation-on-imagenet-32x32Very Deep VAE
bpd: 3.8
image-generation-on-imagenet-64x64Very Deep VAE
Bits per dim: 3.52

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp