Skip to main content
QUICK REVIEW

[Paper Review] Fixing a Broken ELBO

Alexander A. Alemi, Ben Poole|arXiv (Cornell University)|Nov 1, 2017
Generative Adversarial Networks and Image SynthesisComputer Science41 references44 citations
TL;DR

This paper identifies a critical flaw in the Evidence Lower Bound (ELBO) used in Variational Autoencoders (VAEs): maximizing ELBO does not ensure meaningful latent representations, as powerful decoders can ignore the latent code. The authors propose a rate-distortion framework using tractable bounds on mutual information between input and latent variables, enabling control over the trade-off between compression and reconstruction, and demonstrate that targeting specific points on the rate-distortion curve prevents latent code forgetting in VAEs with strong decoders.

ABSTRACT

Recent work in unsupervised representation learning has focused on learning deep directed latent-variable models. Fitting these models by maximizing the marginal likelihood or evidence is typically intractable, thus a common approximation is to maximize the evidence lower bound (ELBO) instead. However, maximum likelihood training (whether exact or approximate) does not necessarily result in a good latent representation, as we demonstrate both theoretically and empirically. In particular, we derive variational lower and upper bounds on the mutual information between the input and the latent variable, and use these bounds to derive a rate-distortion curve that characterizes the tradeoff between compression and reconstruction accuracy. Using this framework, we demonstrate that there is a family of models with identical ELBO, but different quantitative and qualitative characteristics. Our framework also suggests a simple new method to ensure that latent variable models with powerful stochastic decoders do not ignore their latent code.

Motivation & Objective

  • To address the fundamental issue that maximizing the ELBO does not guarantee useful or disentangled latent representations in VAEs.
  • To show that models with identical ELBO values can have vastly different qualitative and quantitative properties due to varying mutual information between input and latent variables.
  • To develop a tractable information-theoretic framework based on variational bounds on mutual information to guide representation learning.
  • To demonstrate that targeting specific points on the rate-distortion curve enables training VAEs with powerful autoregressive decoders to effectively use their latent codes.
  • To recover the true generative process of a synthetic dataset using only the true mutual information value and the proposed framework, without prior architectural bias.

Proposed method

  • Derive tractable variational lower and upper bounds on the mutual information $ I(X;Z) $, which is otherwise intractable to compute.
  • Formulate a rate-distortion (RD) curve framework that characterizes the trade-off between compression (rate) and reconstruction accuracy (distortion), parameterized by mutual information.
  • Use the RD framework to reframe VAE training as a constrained optimization problem, where the mutual information is explicitly targeted rather than implicitly optimized via ELBO.
  • Introduce a modified training objective that encourages the model to achieve a desired level of mutual information, preventing the latent code from being ignored by powerful decoders.
  • Apply the framework to train VAEs with both simple and complex encoders, decoders, and priors, using the $\beta$-VAE objective at various $\beta$ values to explore the RD curve.
  • Use a stochastic approximation of the true data distribution $ \hat{p}(x) $ and leverage variational inference to estimate mutual information bounds without requiring access to the true data density.

Experimental results

Research questions

  • RQ1Why does maximizing the ELBO fail to produce meaningful latent representations, even when the marginal likelihood is high?
  • RQ2Can we quantify the trade-off between compression (rate) and reconstruction fidelity (distortion) in latent variable models using information-theoretic principles?
  • RQ3How can we prevent powerful stochastic decoders in VAEs from ignoring the latent code, despite achieving high ELBO values?
  • RQ4Can we recover the true generative process of a synthetic dataset using only the true mutual information value and the proposed RD framework?
  • RQ5What are the qualitative and quantitative differences between VAE models that share the same ELBO but differ in mutual information and representation quality?

Key findings

  • Models with identical ELBO values can exhibit drastically different behaviors: some use the latent code effectively, while others ignore it entirely, due to differences in mutual information $ I(X;Z) $.
  • The proposed rate-distortion framework enables training VAEs with powerful autoregressive decoders (e.g., PixelCNN-style) to avoid latent code forgetting by targeting specific points on the RD curve.
  • On a synthetic dataset with known ground-truth generative process, the method successfully recovers the true generative model up to reparameterization, using only the true mutual information value.
  • The framework generalizes and improves upon prior approaches such as KL annealing and $\beta$-VAE by providing a principled, information-theoretic alternative to regularize representation learning.
  • Empirical results on Binary MNIST and Omniglot show that controlling mutual information via the RD curve leads to better disentanglement and more meaningful latent representations compared to standard ELBO maximization.
  • The use of variational bounds on mutual information allows for effective and computationally tractable optimization, even when the true mutual information is intractable to compute.

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.