Gradient Estimation with Discrete Stein Operators

Jiaxin Shi, Yuhao Zhou, Jessica Hwang, Michalis K. Titsias, Lester Mackey
2/19/2022
stat.MLcs.LG

Official code: thjashin/rodeo (18 stars, Python, MIT, last commit 2023-11-14).

Abstract

Gradient estimation -- approximating the gradient of an expectation with respect to the parameters of a distribution -- is central to the solution of many machine learning problems. However, when the distribution is discrete, most common gradient estimators suffer from excessive variance.

Show full abstract

To improve the quality of gradient estimation, we introduce a variance reduction technique based on Stein operators for discrete distributions. We then use this technique to build flexible control variates for the REINFORCE leave-one-out estimator. Our control variates can be adapted online to minimize variance and do not require extra evaluations of the target function. In benchmark generative modeling tasks such as training binary variational autoencoders, our gradient estimator achieves substantially lower variance than state-of-the-art estimators with the same number of function evaluations.

View on arXivView PDF

Code Implementations(1)

thjashin/rodeoOfficial100%
MIT

Gradient Estimation with Discrete Stein Operators (NeurIPS 2022)

180PythonFeb 22, 20223 years agoMIT

Similar Papers

Cite this paper

@article{shi2022gradient,
  title  = {Gradient Estimation with Discrete Stein Operators},
  author = {Jiaxin Shi and Yuhao Zhou and Jessica Hwang and Michalis K. Titsias and Lester Mackey},
  year   = {2022},
  eprint = {2202.09497},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.09497}
}

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/2202.09497.svg)](https://codeofpaper.com/paper/2202.09497)

Discussion