Coupled Gradient Estimators for Discrete Latent Variables
Not on the map. Why?
Abstract (arXiv)
Training models with discrete latent variables is challenging due to the high variance of unbiased gradient estimators. While low-variance reparameterization gradients of a continuous relaxation can provide an effective solution, a continuous relaxation is not always available or tractable. Dong et al. (2020) and Yin et al. (2020) introduced a performant estimator that does not rely on continuous relaxations; however, it is limited to binary random variables. We introduce a novel derivation of their estimator based on importance sampling and statistical couplings, which we extend to the categorical setting. Motivated by the construction of a stick-breaking coupling, we introduce gradient estimators based on reparameterizing categorical variables as sequences of binary variables and Rao-Blackwellization. In systematic experiments, we show that our proposed categorical gradient estimators provide state-of-the-art performance, whereas even with additional Rao-Blackwellization, previous estimators (Yin et al., 2019) underperform a simpler REINFORCE with a leave-one-out-baseline estimator (Kool et al., 2019).
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 23 of its 40 references that are in the map. First posted on arXiv 15 Jun 2021.
Builds on
23 of 40 references.
References · 23
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2021Carbon Emissions and Large Neural Network Trainingcited by 561
- 2015Empirical Evaluation of Rectified Activations in Convolutional Networkcited by 515
- 2013Black Box Variational Inferencecited by 317
- 2014Neural Variational Inference and Learning in Belief Networkscited by 116
- 2017Backpropagation through the Void: Optimizing control variates for black-box gradient estimationcited by 104
- 2017REBAR: Low-variance, unbiased gradient estimates for discrete latent variable modelscited by 78
- 2020VarGrad: A Low-Variance Gradient Estimator for Variational Inferencecited by 73
- 2014Reweighted Wake-Sleepcited by 66
11 more
- 2016Stick-Breaking Variational Autoencoderscited by 44
- 2020Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient Estimatorcited by 37
- 2015MuProp: Unbiased Backpropagation for Stochastic Neural Networkscited by 36
- 2020Estimating Gradients for Discrete Random Variables by Sampling without Replacementcited by 29
- 2020DisARM: An Antithetic Gradient Estimator for Binary Latent Variablescited by 27
- 2018Rao-Blackwellized Stochastic Gradients for Discrete Distributionscited by 23
- 2020Probabilistic Best Subset Selection via Gradient-Based Optimizationcited by 17
- 2019ARSM: Augment-REINFORCE-Swap-Merge Estimator for Gradient Backpropagation Through Categorical Variablescited by 10
- 2020Joint Stochastic Approximation and Its Application to Learning Discrete Latent Variable Modelscited by 10
- 2016Overdispersed Black-Box Variational Inferencecited by 8
- 2021ARMS: Antithetic-REINFORCE-Multi-Sample Gradient for Binary Variablescited by 8
Built on by
Citing papers per year: 2021: 3; 2022: 3; 2023: 3.
9 papers.
- 2023Soft Merging of Experts with Adaptive Routingcited by 88
- 2023Bridging Discrete and Backpropagation: Straight-Through and Beyondcited by 31
- 2022Gradient Estimation with Discrete Stein Operatorscited by 22
- 2023Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trickcited by 13
- 2021Double Control Variates for Gradient Estimation in Discrete Latent Variable Modelscited by 8
- 2022Training Discrete Deep Generative Models via Gapped Straight-Through Estimatorcited by 8
- 2021Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spacescited by 7
- 2022Gradient Estimation for Binary Latent Variables via Gradient Variance Clippingcited by 7
- 2021CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimatorcited by 4
- 2023Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trick21 Nov 2023
- 2023Soft Merging of Experts with Adaptive Routing6 Jun 2023
- 2023Bridging Discrete and Backpropagation: Straight-Through and Beyond17 Apr 2023
- 2022Gradient Estimation for Binary Latent Variables via Gradient Variance Clipping12 Aug 2022
- 2022Training Discrete Deep Generative Models via Gapped Straight-Through Estimator15 Jun 2022
- 2022Gradient Estimation with Discrete Stein Operators19 Feb 2022
- 2021Double Control Variates for Gradient Estimation in Discrete Latent Variable Models9 Nov 2021
- 2021Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces28 Oct 2021
- 2021CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator26 Oct 2021