GO Gradient for Expectation-Based Objectives

Yulai Cong, Miaoyun Zhao, Ke Bai, Lawrence Carin
1/17/2019
stat.MLcs.LG

Official code: YulaiCong/GOgradient (4 stars, Python, Apache-2.0, last commit 2019-09-29).

Abstract

Within many machine learning algorithms, a fundamental problem concerns efficient calculation of an unbiased gradient wrt parameters $\gammav$ for expectation-based objectives $\Ebb_{q_{\gammav} (\yv)} [f(\yv)]$. Most existing methods either (i) suffer from high variance, seeking help from (often) complicated variance-reduction techniques; or (ii) they only apply to reparameterizable continuous random variables and employ a reparameterization trick.

Show full abstract

To address these limitations, we propose a General and One-sample (GO) gradient that (i) applies to many distributions associated with non-reparameterizable continuous or discrete random variables, and (ii) has the same low-variance as the reparameterization trick. We find that the GO gradient often works well in practice based on only one Monte Carlo sample (although one can of course use more samples if desired). Alongside the GO gradient, we develop a means of propagating the chain rule through distributions, yielding statistical back-propagation, coupling neural networks to common random variables.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for the paper "GO GRADIENT FOR EXPECTATION-BASED OBJECTIVES"

40Python, MATLABSep 29, 20197 years agoApache-2.0

Similar Papers

Cite this paper

@article{cong2019gradient,
  title  = {GO Gradient for Expectation-Based Objectives},
  author = {Yulai Cong and Miaoyun Zhao and Ke Bai and Lawrence Carin},
  year   = {2019},
  eprint = {1901.06020},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.06020}
}

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

Discussion