[Paper Review] Reweighted Wake-Sleep
This paper proposes Reweighted Wake-Sleep (RWS), a novel training procedure for deep directed generative models that improves the wake-sleep algorithm by using multiple importance-sampled latent variables from the inference network to reduce bias in the likelihood gradient estimator. Experiments show RWS achieves significantly better log-likelihoods than standard wake-sleep, especially with deeper architectures and more powerful autoregressive inference networks like NADE.
Training deep directed graphical models with many hidden variables and performing inference remains a major challenge. Helmholtz machines and deep belief networks are such models, and the wake-sleep algorithm has been proposed to train them. The wake-sleep algorithm relies on training not just the directed generative model but also a conditional generative model (the inference network) that runs backward from visible to latent, estimating the posterior distribution of latent given visible. We propose a novel interpretation of the wake-sleep algorithm which suggests that better estimators of the gradient can be obtained by sampling latent variables multiple times from the inference network. This view is based on importance sampling as an estimator of the likelihood, with the approximate inference network as a proposal distribution. This interpretation is confirmed experimentally, showing that better likelihood can be achieved with this reweighted wake-sleep procedure. Based on this interpretation, we propose that a sigmoidal belief network is not sufficiently powerful for the layers of the inference network in order to recover a good estimator of the posterior distribution of latent variables. Our experiments show that using a more powerful layer model, such as NADE, yields substantially better generative models.
Motivation & Objective
- Address the challenge of training deep directed graphical models with many latent variables, where exact likelihood computation is intractable.
- Improve upon the wake-sleep algorithm, which suffers from biased gradient estimation due to single-sample inference.
- Investigate whether more powerful inference network architectures—such as autoregressive models like NADE—can better approximate the true posterior and improve generative performance.
- Demonstrate that reweighting multiple samples from the inference network leads to a lower-variance, less-biased estimator of the log-likelihood gradient.
- Evaluate the effectiveness of RWS on standard benchmarks like MNIST and CalTech 101 Silhouettes, comparing it to state-of-the-art methods.
Proposed method
- Reinterpret the wake-sleep algorithm as a special case of importance sampling with a single sample, framing it as an estimator of the marginal likelihood.
- Propose Reweighted Wake-Sleep (RWS), which uses K i.i.d. samples from the inference network to compute a reweighted estimate of the likelihood gradient.
- Apply importance sampling to approximate the true log-likelihood, using the inference network as a proposal distribution, and derive a reweighted gradient estimator.
- Train the generative model using gradient ascent on the reweighted likelihood estimate, while training the inference network to better approximate the true posterior.
- Use autoregressive models (e.g., NADE) in the inference network to model non-factorial posterior distributions, improving posterior approximation over standard sigmoidal belief networks.
- Decouple training across layers by propagating gradients only within each layer, enabling stable training of deep architectures without layerwise pretraining.
Experimental results
Research questions
- RQ1Can multiple importance-sampled latent variables from the inference network reduce bias in the gradient estimator for deep generative models?
- RQ2Does replacing the standard sigmoidal belief network in the inference network with a more powerful autoregressive model (e.g., NADE) improve posterior approximation and generative performance?
- RQ3How does the number of samples K in the reweighting procedure affect the quality of the likelihood estimate and model performance?
- RQ4Can RWS train deep architectures (e.g., 5+ layers) effectively without layerwise pretraining or careful learning rate tuning?
- RQ5Does the use of autoregressive layers in the generative model itself lead to better performance, and if so, why are shallow models still optimal?
Key findings
- RWS with K=5 samples achieves significantly better test-set log-likelihood than standard wake-sleep (K=1), with 5 or 10 samples sufficient for good performance.
- Using NADE-based inference networks improves performance even when the generative model uses only factorial SBN layers, demonstrating the importance of expressive posterior approximations.
- The deep SBN/SBN 10-100-200-300-400 model trained with RWS achieved a test-set log-likelihood of -116.9 on the CalTech 101 Silhouettes dataset, outperforming previous state-of-the-art results.
- The best-performing model on CalTech 101 Silhouettes was a shallow NADE/NADE-150 network achieving -104.3 log-likelihood, surpassing the prior state of the art of -107.8.
- On MNIST, RWS-trained models consistently outperform classical wake-sleep, especially in deep architectures, and match or exceed results from other advanced models like DARN.
- Despite the improved performance, models with autoregressive layers in the generative network were consistently best when shallow, suggesting potential optimization challenges in deeper autoregressive architectures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.