Monte Carlo Gradient Estimation in Machine Learning

Shakir Mohamed, Mihaela Rosca, Michael Figurnov, Andriy Mnih
6/25/2019
571 citations
stat.MLcs.LGmath.OC

Official code: google-deepmind/mc_gradients (175 stars, Jupyter Notebook, Apache-2.0, last commit 2024-07-30).

Abstract

This paper is a broad and accessible survey of the methods we have at our disposal for Monte Carlo gradient estimation in machine learning and across the statistical sciences: the problem of computing the gradient of an expectation of a function with respect to parameters defining the distribution that is integrated; the problem of sensitivity analysis. In machine learning research, this gradient problem lies at the core of many learning problems, in supervised, unsupervised and reinforcement learning.

Show full abstract

We will generally seek to rewrite such gradients in a form that allows for Monte Carlo estimation, allowing them to be easily and efficiently used and analysed. We explore three strategies--the pathwise, score function, and measure-valued gradient estimators--exploring their historical development, derivation, and underlying assumptions. We describe their use in other fields, show how they are related and can be combined, and expand on their possible generalisations. Wherever Monte Carlo gradient estimators have been derived and deployed in the past, important advances have followed. A deeper and more widely-held understanding of this problem will lead to further advances, and it is these advances that we wish to support.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
17536Jupyter Notebook, PythonJul 22, 20192 years agoApache-2.0

Similar Papers

Cite this paper

@article{mohamed2019monte,
  title  = {Monte Carlo Gradient Estimation in Machine Learning},
  author = {Shakir Mohamed and Mihaela Rosca and Michael Figurnov and Andriy Mnih},
  year   = {2019},
  eprint = {1906.10652},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.10652}
}

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

Discussion