The Concrete Distribution: A Continuous Relaxation of Discrete Random Variables

Chris J. Maddison, Andriy Mnih, Yee Whye Teh
11/2/2016
3,113 citations
cs.LGstat.ML

No official code found. Best implementation: Jasonlee1995/Gumbel_Softmax (11 stars).

Abstract

The reparameterization trick enables optimizing large scale stochastic computation graphs via gradient descent. The essence of the trick is to refactor each stochastic node into a differentiable function of its parameters and a random variable with fixed distribution.

Show full abstract

After refactoring, the gradients of the loss propagated by the chain rule through the graph are low variance unbiased estimators of the gradients of the expected loss. While many continuous random variables have such reparameterizations, discrete random variables lack useful reparameterizations due to the discontinuous nature of discrete states. In this work we introduce Concrete random variables---continuous relaxations of discrete random variables. The Concrete distribution is a new family of distributions with closed form densities and a simple reparameterization. Whenever a discrete stochastic node of a computation graph can be refactored into a one-hot bit representation that is treated continuously, Concrete stochastic nodes can be used with automatic differentiation to produce low-variance biased gradients of objectives (including objectives that depend on the log-probability of latent stochastic nodes) on the corresponding discrete graph. We demonstrate the effectiveness of Concrete relaxations on density estimation and structured prediction tasks using neural networks.

View on arXivView PDF

Code Implementations(1)

Unofficial Pytorch implementation of the paper 'Categorical Reparameterization with Gumbel-Softmax' and 'The Concrete Distribution: A Continuous Relaxation of Discrete Random Variables'

111

Similar Papers

Cite this paper

@article{maddison2016concrete,
  title  = {The Concrete Distribution: A Continuous Relaxation of Discrete Random Variables},
  author = {Chris J. Maddison and Andriy Mnih and Yee Whye Teh},
  year   = {2016},
  eprint = {1611.00712},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1611.00712}
}

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

Discussion