Skip to content
Back to the collection

NVAE: A Deep Hierarchical Variational Autoencoder

Arash Vahdat, Jan Kautz

2020 · arXiv

Read the paper
HN score
1
Mentions
3
Readers
3
Months
3
What’s in a score?

From the abstract

Normalizing flows, autoregressive models, variational autoencoders (VAEs), and deep energy-based models are among competing likelihood-based frameworks for deep generative learning. Among them, VAEs have the advantage of fast and tractable sampling and easy-to-access encoding networks. However, they are currently outperformed by other models such as normalizing flows and autoregressive models. While the majority of the research in VAEs is focused on the statistical challenges, we explore the orthogonal direction of carefully designing neural architectures for hierarchical VAEs. We propose Nouveau VAE (NVAE), a deep hierarchical VAE built for image generation using depth-wise separable convolutions and batch normalization. NVAE is equipped with a residual parameterization of Normal distributions and its training is stabilized by spectral regularization. We show that NVAE achieves state-of-the-art results among non-autoregressive likelihood-based models on the MNIST, CIFAR-10, CelebA 64, and CelebA HQ datasets and it provides a strong baseline on FFHQ. For example, on CIFAR-10, NVAE pushes the state-of-the-art from 2.98 to 2.91 bits per dimension, and it produces high-quality images on CelebA HQ. To the best of our knowledge, NVAE is the first successful VAE applied to natural images as large as 256$\times$256 pixels. The source code is available at https://github.com/NVlabs/NVAE .

Metadata: arXiv. Abstracts retain their original authors’ rights.

In the conversation

Original HN comments, with labels from simple text rules. A label describes the whole comment and may miss context or irony. Read the discussion to make up your own mind. About the labels

3 selected excerpts · 3 total mentions

gwern
Neutral mention · rule
If you don't have TFRC access, this is out of the question as a hobbyist. It's >32 GPU-months. Sorry. However, you can still transfer learn this particular model with <1 GPU-month, if you have some anime or artwork dataset you want (eg a specific character). The good news is that there's been huge progress in GAN efficiency over the past few years, and we are rapidly approaching the point where ImageNet-scale datasets can be reasonably trained with 1 GPU-month or less. Worth noting in that vein are VQ-GAN https://compvis.github.io/taming-transformers/ and not-so-BigGAN https://arxiv.org/abs/2009.04433 . There's also a resurgence of VAE work which is relatively efficient:…
Read the full comment
VD-VAE https://arxiv.org/abs/2011.10650#openai and NVAE https://arxiv.org/abs/2007.03898#nvidia ; DALL-E https://openai.com/blog/dall-e/ also appears to be surprisingly lightweight on the VAE side. So, if you feel left out, don't worry. In the near future, between the RTX GPUs and optimization and new VAE/GANs, I expect things like Danbooru2020 https://www.gwern.net/Danbooru2020 to be totally doable on hobbyist hardware.

Keep following the thread.

More in Statistics & probability

More from the same topics.