Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Categorical Reparameterization with Gumbel-Softmax

About

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.

Eric Jang, Shixiang Gu, Ben Poole• 2016

Related benchmarks

TaskDatasetResultRank
Image GenerationCelebA-HQ
FID5.47
92
ClassificationMNIST
Accuracy98.21
89
ClassificationAdult
Accuracy85.01
86
Image GenerationFFHQ (test)
FID7.97
77
Image GenerationLSUN Bedroom v1 (test)
FID23
56
Image GenerationAFHQ v1 (test)
FID14.4
56
Image GenerationLSUN Church v1 (test)
FID13.7
55
Variational InferenceMNIST (test)
Negative ELBO101.4
52
Generative ModelingMNIST (train)
ELBO127.6
51
Image ClassificationSVHN
Accuracy66.12
47
Showing 10 of 35 rows

Other info

Follow for update