Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Reweighted Wake-Sleep

Tuan Anh Lê, Adam R. Kosiorek|arXiv (Cornell University)|Sep 27, 2018
Generative Adversarial Networks and Image SynthesisComputer Science22 references10 citations
TL;DR

This paper revisits the reweighted wake-sleep (RWS) algorithm for training discrete latent-variable models, demonstrating that it avoids high-variance gradient estimation by eliminating the need for control variates and pathwise derivatives. RWS outperforms state-of-the-art methods, learns better models with more particles, and generalizes effectively to continuous models as well.

ABSTRACT

Discrete latent-variable models, while applicable in a variety of settings, can often be difficult to learn. Sampling discrete latent variables can result in high-variance gradient estimators for two primary reasons: 1. branching on the samples within the model, and 2. the lack of a pathwise derivative for the samples. While current state-of-the-art methods employ control-variate schemes for the former and continuous-relaxation methods for the latter, their utility is limited by the complexities of implementing and training effective control-variate schemes and the necessity of evaluating (potentially exponentially) many branch paths in the model. Here, we revisit the reweighted wake-sleep (RWS) (Bornschein and Bengio, 2015) algorithm, and through extensive evaluations, show that it circumvents both these issues, outperforming current state-of-the-art methods in learning discrete latent-variable models. Moreover, we observe that, unlike the importance weighted autoencoder, RWS learns better models and inference networks with increasing numbers of particles, and that its benefits extend to continuous latent-variable models as well. Our results suggest that RWS is a competitive, often preferable, alternative for learning deep generative models.

Motivation & Objective

  • To address the high-variance gradient estimation problem in training discrete latent-variable models.
  • To overcome limitations of control-variate schemes and continuous relaxation methods in handling discrete latent variables.
  • To evaluate whether RWS can achieve better model and inference network learning compared to existing methods.
  • To investigate whether RWS's benefits scale with increasing numbers of particles in the model.
  • To explore the applicability of RWS beyond discrete models to continuous latent-variable settings.

Proposed method

  • Revisits the reweighted wake-sleep (RWS) algorithm originally proposed by Bornschlein and Bengio (2015) for training deep generative models with discrete latent variables.
  • Utilizes a reweighting scheme over multiple particles to estimate gradients without relying on pathwise derivatives or control variates.
  • Employs a wake-sleep update rule where the generative model is updated using the inference model’s posterior, and vice versa, with particle-based reweighting.
  • Leverages importance weighting across multiple samples to reduce variance in gradient estimation without requiring differentiable sampling.
  • Applies the RWS framework to both discrete and continuous latent-variable models to assess generalization and scalability.
  • Employs extensive empirical evaluations across multiple benchmark datasets to compare RWS against state-of-the-art baselines.

Experimental results

Research questions

  • RQ1Can RWS effectively mitigate high-variance gradient estimation in discrete latent-variable models without relying on control variates or continuous relaxations?
  • RQ2Does increasing the number of particles in RWS lead to improved model and inference network learning?
  • RQ3How does RWS compare to the importance weighted autoencoder and other SOTA methods in terms of model quality and training stability?
  • RQ4Can RWS be successfully extended to continuous latent-variable models, and does it maintain its advantages in such settings?
  • RQ5What is the impact of particle count on the performance of RWS in both discrete and continuous settings?

Key findings

  • RWS outperforms current state-of-the-art methods in learning discrete latent-variable models by avoiding the need for complex control-variate schemes and continuous relaxations.
  • RWS achieves better model and inference network quality as the number of particles increases, indicating consistent scalability and improvement.
  • Unlike the importance weighted autoencoder, RWS does not suffer from diminishing returns with more particles and maintains strong performance gains.
  • The benefits of RWS extend beyond discrete models, showing competitive performance in continuous latent-variable models as well.
  • RWS demonstrates robustness and effectiveness in reducing gradient variance without requiring differentiable sampling or auxiliary training components.

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.