techlist.io
OpenAI2016-11-132 min read

Curated summary

On the quantitative analysis of decoder-based generative models

Read original(opens in new tab)

Generative models such as variational autoencoders, GANs, and generative moment matching networks share a decoder network, but their performance is hard to measure because their log-likelihoods are intractable and inspecting samples can be misleading. The post proposes Annealed Importance Sampling (AIS) as a way to estimate log-likelihoods for decoder-based models, and it validates the estimates with bidirectional Monte Carlo. The authors use this technique to assess how well these models perform, how reliable existing estimators are, how much they overfit, and how well they cover the modes of the data distribution.

Decoder-Based Generative Models

  • A decoder is a parametric deep neural network that defines a generative distribution over data.
  • The approach covers several families: variational autoencoders, generative adversarial networks, and generative moment matching networks.
  • The post treats the decoder as the shared component across these otherwise different models, which is what makes a single evaluation method applicable to all of them.

The Evaluation Problem

  • Log-likelihood is the standard quantitative metric for generative models, but it cannot be computed exactly for decoder-based models.
  • Visual inspection of samples is the common fallback, but the post argues it can mislead, since good-looking samples do not show whether the model covers the whole data distribution or merely memorizes parts of it.

Annealed Importance Sampling for Log-Likelihood Estimation

  • AIS is used to estimate the log-likelihood of decoder-based models in place of an intractable exact computation.
  • Its accuracy is checked with bidirectional Monte Carlo, which bounds the estimate from both directions to show how close it is to the true value.
  • The evaluation code is released publicly so others can reproduce the method.

What the Analysis Reveals

  • The approach measures overall performance of decoder-based models across the families above.
  • It tests how effective existing log-likelihood estimators are, not just the models themselves.
  • It quantifies the degree of overfitting to the training data.
  • It indicates how much of the data distribution these models fail to capture, specifically which important modes they miss.

Practical Takeaway

If you are comparing decoder-based generative models, relying on sample quality alone is insufficient. Estimating log-likelihood with AIS, and checking the estimate with bidirectional Monte Carlo, gives a more rigorous basis for comparison, including on overfitting and mode coverage.

Continue with another curated summary.