[1611.01144] Categorical Reparameterization with Gumbel-Softmax
Abstract:Categorical variables are a natural choice for representing discrete structure in the world. However, stochastic neural networks rarely use categorical latent variables due to the inability to backpropagate through samples. In this work, we present an efficient gradient estimator that replaces the non-differentiable sample from a categorical distribution with a differentiable sample from a novel Gumbel-Softmax distribution. This distribution has the essential property that it can be smoothly annealed into a categorical distribution. We show that our Gumbel-Softmax estimator outperforms state-of-the-art gradient estimators on structured output prediction and unsupervised generative modeling tasks with categorical latent variables, and enables large speedups on semi-supervised classification.
Categorical Reparameterization with Gumbel-Softmax Categorical variables are a natural choice for representing discrete structure in the world. However, stochastic neural networks rarely use categorical latent variables due to the inability to backpropagate through samples. In this work, we present an efficient gradient estimator that replaces the non-differentiable sample from a categorical distribution with a differentiable sample from a novel Gumbel-Softmax distribution. This distribution has the essential property that it can be smoothly annealed into a categorical distribution. We show t
Explore this link on the map →saved by
related reading
- [2510.13651] What is the objective of reasoning with reinforcement learning?arxiv.org
- Fabian Fuchsfabianfuchsml.github.io
- Aman's AI Journal • Primers • Ilya Sutskever's Top 30aman.ai
- 2409.02908arxiv.org
- Categorical distribution - Wikipediaen.wikipedia.org
- What are Diffusion Models? | Lil'Loglilianweng.github.io
- The Unreasonable Effectiveness of Recurrent Neural Networkskarpathy.github.io
- David Duvenaudcs.toronto.edu
- Yang Songyang-song.net
- Categories for AIcats.for.ai
- Bayesian Neural Networkscs.toronto.edu
- Bryon Aragam // University of Chicagobryonaragam.com