Skip to main content
QUICK REVIEW

[Paper Review] PixelVAE: A Latent Variable Model for Natural Images

Ishaan Gulrajani, Kundan Kumar|arXiv (Cornell University)|Nov 15, 2016
Generative Adversarial Networks and Image SynthesisComputer Science82 citations
TL;DR

PixelVAE proposes a hierarchical variational autoencoder that integrates PixelCNN-based autoregressive decoding into a VAE framework, enabling high-quality image generation with compressed latent codes. It achieves state-of-the-art log-likelihood on binarized MNIST, competitive results on 64×64 ImageNet, and high-fidelity samples on LSUN bedrooms by modeling image structure at multiple scales using autoregressive priors on both pixel-level and latent feature maps.

ABSTRACT

Natural image modeling is a landmark challenge of unsupervised learning. Variational Autoencoders (VAEs) learn a useful latent representation and model global structure well but have difficulty capturing small details. PixelCNN models details very well, but lacks a latent code and is difficult to scale for capturing large structures. We present PixelVAE, a VAE model with an autoregressive decoder based on PixelCNN. Our model requires very few expensive autoregressive layers compared to PixelCNN and learns latent codes that are more compressed than a standard VAE while still capturing most non-trivial structure. Finally, we extend our model to a hierarchy of latent variables at different scales. Our model achieves state-of-the-art performance on binarized MNIST, competitive performance on 64x64 ImageNet, and high-quality samples on the LSUN bedrooms dataset.

Motivation & Objective

  • Address the limitations of standard VAEs in capturing fine details and PixelCNNs in lacking disentangled latent representations.
  • Integrate autoregressive modeling into VAEs to improve sample sharpness while maintaining a compact, meaningful latent code.
  • Develop a hierarchical architecture that applies autoregressive modeling not only to pixels but also to intermediate latent feature maps.
  • Demonstrate improved sample quality and log-likelihood on benchmark datasets like MNIST, ImageNet, and LSUN bedrooms.
  • Investigate the disentanglement of scene properties across multiple latent layers in a hierarchical generative model.

Proposed method

  • Use a VAE framework with a stochastic latent variable at multiple spatial scales (e.g., 1×1 and 8×8 resolution).
  • Replace the standard independent pixel decoder with a PixelCNN-based autoregressive decoder using masked convolutions.
  • Apply autoregressive modeling not only to the output pixels but also to higher-level latent feature maps in a hierarchical structure.
  • Train the model using teacher forcing during reconstruction, with stochastic sampling for generation.
  • Leverage masked convolutions to enforce autoregressive ordering in both pixel and latent space decoders.
  • Use a hierarchical prior structure where each latent layer is modeled autoregressively using a PixelCNN, enabling structured generation at multiple scales.

Experimental results

Research questions

  • RQ1Can combining autoregressive modeling with VAEs improve sample quality while maintaining a compact, disentangled latent representation?
  • RQ2How does the number of autoregressive layers in the decoder affect performance and computational cost compared to full PixelCNNs?
  • RQ3Can hierarchical latent variables in a VAE framework be effectively modeled using autoregressive priors to capture multi-scale image structure?
  • RQ4To what extent do different latent layers in the hierarchy model distinct image properties such as geometry, color, and texture?
  • RQ5Does the proposed model achieve competitive log-likelihood on complex datasets like 64×64 ImageNet while generating high-quality samples?

Key findings

  • PixelVAE achieves state-of-the-art log-likelihood on binarized MNIST, outperforming both standard VAEs and PixelCNNs in terms of likelihood and sample quality.
  • The model achieves competitive log-likelihood on 64×64 ImageNet, with a validation NLL of ≤3.66, slightly below PixelRNN but with significantly more globally coherent samples.
  • Hierarchical PixelVAE generates high-quality, diverse samples on the LSUN bedrooms dataset, demonstrating structured scene modeling across scales.
  • Ablation studies show that replacing the higher-level PixelCNN decoder with a diagonal Gaussian decoder reduces log-likelihood, confirming the effectiveness of autoregressive modeling at multiple levels.
  • Visual inspection of sampled images reveals that top-level latents model room geometry, middle-level latents model color and texture, and pixel-level latents model fine details like shading and alignment.
  • The model learns more compressed latent representations than standard VAEs while still capturing most non-trivial image structure, indicating improved inductive bias for disentangled representation learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.