Optimal Variance Control of the Score Function Gradient Estimator for Importance Weighted Bounds

Valentin Liévin, Andrea Dittadi, Anders Christensen, Ole Winther
8/5/2020
stat.MLcs.LG

Official code: vlievin/ovis (10 stars, Python, MIT, last commit 2023-02-16).

Abstract

This paper introduces novel results for the score function gradient estimator of the importance weighted variational bound (IWAE). We prove that in the limit of large $K$ (number of importance samples) one can choose the control variate such that the Signal-to-Noise ratio (SNR) of the estimator grows as $\sqrt{K}$.

Show full abstract

This is in contrast to the standard pathwise gradient estimator where the SNR decreases as $1/\sqrt{K}$. Based on our theoretical findings we develop a novel control variate that extends on VIMCO. Empirically, for the training of both continuous and discrete generative models, the proposed method yields superior variance reduction, resulting in an SNR for IWAE that increases with $K$ without relying on the reparameterization trick. The novel estimator is competitive with state-of-the-art reparameterization-free gradient estimators such as Reweighted Wake-Sleep (RWS) and the thermodynamic variational objective (TVO) when training generative models.

View on arXivView PDF

Code Implementations(1)

vlievin/ovisOfficial100%
MIT

Official code for the "Optimal Variance Control of the Score Function Gradient Estimator for Importance Weighted Bounds"

100PythonFeb 28, 20203 years agoMIT
deep-learningmachine-learningoptimizationvaevariational-autoencoder

Similar Papers

Cite this paper

@article{livin2020optimal,
  title  = {Optimal Variance Control of the Score Function Gradient Estimator for Importance Weighted Bounds},
  author = {Valentin Liévin and Andrea Dittadi and Anders Christensen and Ole Winther},
  year   = {2020},
  eprint = {2008.01998},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.01998}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.01998.svg)](https://codeofpaper.com/paper/2008.01998)

Discussion