Gradient Estimation Using Stochastic Computation Graphs
John Schulman, Nicolas Heess, Théophane Weber et al. · arXiv (Cornell University) · 2015
In a variety of problems originating in supervised, unsupervised, and reinforcement learning, the loss function is defined by an expectation over a collection of random variables, which might be part of a probabilistic model or the external world. Estimating the gradient of this loss function, using samples, lies at the core of gradient-based learning algorithms for these problems. We introduce the formalism of stochastic computation graphs---directed acyclic graphs that include both deterministic functions and conditional probability distributions---and describe how to easily and automatically derive an unbiased estimator of the loss function's gradient. The resulting algorithm for computing the gradient estimator is a simple modification of the standard backpropagation algorithm. The generic scheme we propose unifies estimators derived in variety of prior work, along with variance-reduction techniques therein. It could assist researchers in developing intricate models involving a combination of stochastic and deterministic operations, enabling, for example, attention, memory, and control actions.
Cited by 166 works. doi:10.48550/arxiv.1506.05254 Open-access PDF
Authors
References
- Gradient-based learning applied to document recognition
- Long Short-Term Memory
- Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference
- Numerical optimization
- A View of the Em Algorithm that Justifies Incremental, Sparse, and other Variants
- Simple statistical gradient-following algorithms for connectionist reinforcement learning
- Deep learning via Hessian-free optimization
- Policy Gradient Methods for Reinforcement Learning with Function Approximation
- Recurrent Models of Visual Attention
- Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation