Skip to main content
QUICK REVIEW

[Paper Review] On the Quantitative Analysis of Decoder-Based Generative Models

Yuhuai Wu, Yuri Burda|arXiv (Cornell University)|Nov 14, 2016
Generative Adversarial Networks and Image SynthesisComputer Science34 citations
TL;DR

This paper proposes using Annealed Importance Sampling (AIS) to accurately estimate log-likelihoods in decoder-based generative models, validating its accuracy with Bidirectional Monte Carlo (BDMC). AIS reveals that VAEs achieve log-likelihoods over 300 nats higher than GANs and GMMNs—contradicting misleading KDE estimates—while also exposing mode collapse in GANs and overfitting in VAEs.

ABSTRACT

The past several years have seen remarkable progress in generative models which produce convincing samples of images and other modalities. A shared component of many powerful generative models is a decoder network, a parametric deep neural net that defines a generative distribution. Examples include variational autoencoders, generative adversarial networks, and generative moment matching networks. Unfortunately, it can be difficult to quantify the performance of these models because of the intractability of log-likelihood estimation, and inspecting samples can be misleading. We propose to use Annealed Importance Sampling for evaluating log-likelihoods for decoder-based models and validate its accuracy using bidirectional Monte Carlo. The evaluation code is provided at https://github.com/tonywu95/eval_gen. Using this technique, we analyze the performance of decoder-based models, the effectiveness of existing log-likelihood estimators, the degree of overfitting, and the degree to which these models miss important modes of the data distribution.

Motivation & Objective

  • To address the intractability of log-likelihood estimation in decoder-based generative models such as VAEs, GANs, and GMMNs.
  • To validate the accuracy of log-likelihood estimators, especially in high-dimensional data settings.
  • To investigate whether models overfit training data or miss important data distribution modes.
  • To compare the true performance of VAEs, GANs, and GMMNs using accurate log-likelihoods instead of misleading sample-based or KDE-based evaluations.

Proposed method

  • Uses Annealed Importance Sampling (AIS) to estimate log-likelihoods in decoder-based models, enabling accurate evaluation where direct computation is intractable.
  • Validates AIS accuracy using Bidirectional Monte Carlo (BDMC), which provides provable bounds on estimation error and posterior divergence.
  • Leverages the recognition network in VAEs to accelerate AIS by using it as the initial proposal distribution.
  • Employs kernel density estimation (KDE) as a baseline for comparison, acknowledging its known inaccuracy in high dimensions.
  • Visualizes approximate posterior samples via AIS to assess mode coverage and reconstruction quality.
  • Compares training and test log-likelihoods across models to quantify overfitting.

Experimental results

Research questions

  • RQ1How accurate are existing log-likelihood estimators like KDE and importance-weighted bounds for decoder-based models?
  • RQ2Do GANs and GMMNs overfit by memorizing training data, or do they generalize better than VAEs?
  • RQ3Do generative models miss important modes of the data distribution, even when those modes are present in training data?
  • RQ4How do VAEs, GANs, and GMMNs compare in terms of actual log-likelihood performance when estimated accurately?
  • RQ5Can AIS and BDMC detect overfitting and mode collapse that are invisible to sample inspection or KDE?

Key findings

  • AIS estimates log-likelihoods for VAEs, GANs, and GMMNs with two orders of magnitude greater accuracy than KDE, which is notoriously unreliable in high dimensions.
  • VAEs achieve log-likelihoods over 300 nats higher than GANs and GMMNs—a gap that KDE fails to detect, indicating KDE leads to misleading conclusions.
  • GANs and GMMNs do not overfit more than VAEs; in fact, their training and test log-likelihood gaps are smaller, contradicting the hypothesis that they memorize training data.
  • Posterior visualizations via AIS reveal that GANs miss fine-grained data modes, such as variations in digit '2', even when those patterns appear in training data.
  • The IWAE lower bound for VAE-50 declines after 200 epochs while AIS estimates remain stable, indicating recognition network overfitting rather than generative network overfitting.
  • KDE falsely indicates performance saturation in GMMN-50 at 10,000 epochs, while AIS shows continued improvement, highlighting KDE’s failure to detect ongoing 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.