Skip to main content
QUICK REVIEW

[Paper Review] Deep Variational Inference Without Pixel-Wise Reconstruction

Siddharth Agrawal, Ambedkar Dukkipati|arXiv (Cornell University)|Nov 16, 2016
Generative Adversarial Networks and Image SynthesisComputer Science19 references7 citations
TL;DR

This paper proposes VAPNEV, a variational autoencoder that replaces traditional pixel-wise reconstruction with exact likelihood modeling using real-valued non-volume preserving (real NVP) flows. By leveraging conditional coupling layers that condition on the VAE’s latent space, the model achieves competitive performance on image generation tasks—matching or outperforming complex models like convolutional DRAW and real NVP—while enabling efficient sampling and exact likelihood computation without blurriness.

ABSTRACT

Variational autoencoders (VAEs), that are built upon deep neural networks have emerged as popular generative models in computer vision. Most of the work towards improving variational autoencoders has focused mainly on making the approximations to the posterior flexible and accurate, leading to tremendous progress. However, there have been limited efforts to replace pixel-wise reconstruction, which have known shortcomings. In this work, we use real-valued non-volume preserving transformations (real NVP) to exactly compute the conditional likelihood of the data given the latent distribution. We show that a simple VAE with this form of reconstruction is competitive with complicated VAE structures, on image modeling tasks. As part of our model, we develop powerful conditional coupling layers that enable real NVP to learn with fewer intermediate layers.

Motivation & Objective

  • To address the known shortcomings of pixel-wise reconstruction in VAEs, such as blurry generations caused by mean-squared error loss.
  • To enable exact computation of the conditional likelihood term in VAEs using invertible normalizing flows.
  • To develop a more expressive and efficient flow architecture by conditioning coupling layers on the VAE’s latent representation.
  • To demonstrate that a simple VAE with exact likelihood modeling can outperform or match complex VAEs with multiple stochastic layers and recurrent connections.
  • To provide a generative model that supports efficient training, sampling, and downstream use in semi-supervised or conditional learning.

Proposed method

  • Uses real NVP transformations to model the conditional likelihood $ p(x|z) $, enabling exact likelihood computation via the change-of-variable formula.
  • Introduces conditional coupling layers that incorporate multiplicative interactions between the latent code $ z $ and the input, enhancing expressivity with fewer layers.
  • Employs a multi-scale architecture with checkerboard and channel-wise masking in coupling layers, inspired by real NVP, to improve flow modeling.
  • Applies squeeze operations and residual blocks in the flow networks $ l_z(x) $ and $ m_z(x) $, with shared architecture between $ l $ and $ m $ for efficiency.
  • Trains the model end-to-end by maximizing the variational lower bound, where the reconstruction term is computed exactly via the flow's Jacobian determinant.
  • Uses data augmentation via horizontal flips and multi-scale flow design to improve generalization and modeling capacity.

Experimental results

Research questions

  • RQ1Can replacing pixel-wise reconstruction with exact likelihood modeling via normalizing flows improve VAE performance on image generation tasks?
  • RQ2How does conditioning the flow on the VAE’s latent code affect model expressivity and sample quality?
  • RQ3Can a simple VAE with a compact flow architecture match or exceed the performance of complex VAEs like convolutional DRAW?
  • RQ4Does using a VAE to provide a global semantic representation improve the performance of normalizing flows compared to standard NVP?
  • RQ5Can the proposed method achieve competitive bits-per-dimension scores while maintaining efficient sampling and training?

Key findings

  • VAPNEV achieves a bits-per-dimension score of less than 3.55 on CIFAR-10, outperforming convolutional DRAW and matching state-of-the-art models.
  • On CelebA, VAPNEV achieves less than 2.8 bits/dim, significantly outperforming real NVP despite using a smaller architecture with only two scales.
  • The model produces sharper, more semantically coherent reconstructions than standard VAEs, capturing high-level features like object pose, background color, and facial expressions.
  • The conditional coupling layer design allows the model to learn complex transformations with fewer layers, improving sample quality and likelihood estimation.
  • The model enables exact likelihood computation and efficient sampling, unlike GAN-augmented VAEs, allowing objective comparison with other VAEs.
  • The results demonstrate that using a VAE’s latent space as a global context for normalizing flows enhances flow modeling, especially in high-dimensional image generation.

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.