[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
saved by
related reading
- [2502.01131] Simple Linear Neuron Boostingarxiv.org
- Fabian Fuchsfabianfuchsml.github.io
- [1706.04599] On Calibration of Modern Neural Networksarxiv.org
- [2605.01172] A Theory of Generalization in Deep Learningarxiv.org
- Understanding deep learning requires rethinking generalizationarxiv.org
- [2111.00396] Efficiently Modeling Long Sequences with Structured State Spacesarxiv.org
- [1809.09087] Implicit Maximum Likelihood Estimationarxiv.org
- [2006.11239] Denoising Diffusion Probabilistic Modelsarxiv.org
- [1911.08731] Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationarxiv.org
- [2010.02502] Denoising Diffusion Implicit Modelsarxiv.org
- [2205.13147] Matryoshka Representation Learningarxiv.org
- [2101.12176] On the Origin of Implicit Regularization in Stochastic Gradient Descentarxiv.org