Skip to main content
QUICK REVIEW

[Paper Review] Reweighted Expectation Maximization

Adji Bousso Dieng, John Paisley|arXiv (Cornell University)|Jun 13, 2019
Generative Adversarial Networks and Image SynthesisComputer Science46 references12 citations
TL;DR

This paper proposes Reweighted Expectation Maximization (REM), an EM-based method for training deep generative models that improves upon Variational Autoencoders (VAEs) and Importance Weighted Autoencoders (IWAEs) by decoupling the learning dynamics of the generative model and recognition network using a moment-matched proposal. REM achieves significantly better log-likelihood performance on density estimation benchmarks by directly maximizing the marginal likelihood, avoiding posterior collapse and amortization errors.

ABSTRACT

Training deep generative models with maximum likelihood remains a challenge. The typical workaround is to use variational inference (VI) and maximize a lower bound to the log marginal likelihood of the data. Variational auto-encoders (VAEs) adopt this approach. They further amortize the cost of inference by using a recognition network to parameterize the variational family. Amortized VI scales approximate posterior inference in deep generative models to large datasets. However it introduces an amortization gap and leads to approximate posteriors of reduced expressivity due to the problem known as posterior collapse. In this paper, we consider expectation maximization (EM) as a paradigm for fitting deep generative models. Unlike VI, EM directly maximizes the log marginal likelihood of the data. We rediscover the importance weighted auto-encoder (IWAE) as an instance of EM and propose a new EM-based algorithm for fitting deep generative models called reweighted expectation maximization (REM). REM learns better generative models than the IWAE by decoupling the learning dynamics of the generative model and the recognition network using a separate expressive proposal found by moment matching. We compared REM to the VAE and the IWAE on several density estimation benchmarks and found it leads to significantly better performance as measured by log-likelihood.

Motivation & Objective

  • To address the limitations of variational inference in deep generative models, particularly posterior collapse and amortization error.
  • To reframe deep generative model training as an expectation maximization (EM) problem to directly optimize log-likelihood.
  • To improve upon the Importance Weighted Autoencoder (IWAE) by decoupling the learning dynamics of the generative model and recognition network.
  • To demonstrate that EM-based training leads to better generative models and more expressive posterior approximations.
  • To show that recognition networks can serve as effective proposals when decoupled from the generative model's learning dynamics.

Proposed method

  • Reframes deep generative model training as an EM algorithm, where the E-step computes a proposal distribution and the M-step optimizes the model parameters to maximize the marginal likelihood.
  • Rediscovers IWAE as an instance of EM, showing that importance weighting corresponds to a specific form of EM with multiple particles.
  • Introduces a moment-matching procedure to learn a rich, expressive proposal distribution $ s(\mathbf{z}) $ that is independent of the recognition network $ r_{\eta}(\mathbf{z}|\mathbf{x}) $.
  • Decouples the recognition network from the generative model’s training by using the moment-matched proposal $ s(\mathbf{z}) $ in the E-step, preventing co-adaptation.
  • Uses a separate, expressive proposal $ s(\mathbf{z}) $ found via moment matching to improve posterior approximation without relying on the recognition network for EM updates.
  • Employs a reweighted likelihood objective in the M-step that uses multiple particles to approximate the true marginal likelihood more accurately.

Experimental results

Research questions

  • RQ1Can expectation maximization (EM) be effectively applied to train deep generative models, and does it outperform variational inference?
  • RQ2Is the Importance Weighted Autoencoder (IWAE) a special case of EM, and can this insight lead to improved training algorithms?
  • RQ3Does decoupling the recognition network from the generative model’s learning dynamics reduce posterior collapse and improve model quality?
  • RQ4Can a moment-matched proposal distribution $ s(\mathbf{z}) $ serve as a better posterior approximation than the recognition network in EM-based training?
  • RQ5Does REM achieve better log-likelihood performance than VAE and IWAE on standard density estimation benchmarks?

Key findings

  • REM significantly outperforms both the VAE and IWAE in terms of log-likelihood on all tested datasets, including MNIST, Stochastic MNIST, and Omniglot.
  • On the Omniglot dataset, REM (v2) achieved a test log-likelihood of 114.73, surpassing the IWAE’s 113.94 and the VAE’s 109.84.
  • The recognition network $ r_{\eta}(\mathbf{z}|\mathbf{x}) $ was found to be an effective proposal for EM updates, outperforming the moment-matched proposal $ s(\mathbf{z}) $ in some cases.
  • The quality of the IWAE’s posterior deteriorated with increasing number of particles $ K $, as shown by rising KL divergence to the prior, indicating instability in its posterior approximation.
  • REM learned a better proposal than both the VAE and IWAE, as evidenced by lower KL divergence to the prior, suggesting reduced posterior collapse.
  • The use of a moment-matched proposal $ s(\mathbf{z}) $ in REM successfully decoupled the recognition network from the generative model, preventing co-adaptation and improving model expressivity.

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.