Gradient Estimation for Binary Latent Variables via Gradient Variance Clipping
Not on the map. Why?
Abstract (arXiv)
Gradient estimation is often necessary for fitting generative models with discrete latent variables, in contexts such as reinforcement learning and variational autoencoder (VAE) training. The DisARM estimator (Yin et al. 2020; Dong, Mnih, and Tucker 2020) achieves state of the art gradient variance for Bernoulli latent variable models in many contexts. However, DisARM and other estimators have potentially exploding variance near the boundary of the parameter space, where solutions tend to lie. To ameliorate this issue, we propose a new gradient estimator textitbitflip-1 that has lower variance at the boundaries of the parameter space. As bitflip-1 has complementary properties to existing estimators, we introduce an aggregated estimator, textitunbiased gradient variance clipping (UGC) that uses either a bitflip-1 or a DisARM gradient update for each coordinate. We theoretically prove that UGC has uniformly lower variance than DisARM. Empirically, we observe that UGC achieves the optimal value of the optimization objectives in toy experiments, discrete VAE training, and in a best subset selection problem.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 23 of its 32 references that are in the map. First posted on arXiv 12 Aug 2022.
Builds on
23 of 32 references.
References · 23
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2016Variational Inference: A Review for Statisticianscited by 1,466
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2017Deep Reinforcement Learning: An Overviewcited by 327
- 2013Black Box Variational Inferencecited by 317
- 2019Monte Carlo Gradient Estimation in Machine Learningcited by 281
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
- 2019Conditioning by adaptive sampling for robust designcited by 110
- 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
11 more
- 2019Discrete Flows: Invertible Generative Models of Discrete Datacited by 68
- 2020Gradient Estimation with Stochastic Softmax Trickscited by 66
- 2015MuProp: Unbiased Backpropagation for Stochastic Neural Networkscited by 36
- 2020DisARM: An Antithetic Gradient Estimator for Binary Latent Variablescited by 27
- 2016Reparameterization Gradients through Acceptance-Rejection Sampling Algorithmscited by 22
- 2022Gradient Estimation with Discrete Stein Operatorscited by 22
- 2020Probabilistic Best Subset Selection via Gradient-Based Optimizationcited by 17
- 2019ARSM: Augment-REINFORCE-Swap-Merge Estimator for Gradient Backpropagation Through Categorical Variablescited by 10
- 2021Coupled Gradient Estimators for Discrete Latent Variablescited by 9
- 2021ARMS: Antithetic-REINFORCE-Multi-Sample Gradient for Binary Variablescited by 8
- 2021Double Control Variates for Gradient Estimation in Discrete Latent Variable Modelscited by 8
Built on by
Citing papers per year: 2023: 2; 2024: 0; 2025: 4; 2026: 1.
7 papers.
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimatorcited by 4
- 2023BiPFT: Binary Pre-trained Foundation Transformer with Low-rank Estimation of Binarization Residual Polynomialscited by 3
- 2025Efficient compression of neural networks and datasetscited by 1
- 2025Beyond Discreteness: Sample Complexity Analysis of Straight-Through Estimator for 1-bit Quantizationcited by 1
- 2023Nonparametric Discrete Choice Experiments with Machine Learning Guided Adaptive Designcited by 0
- 2025Probabilistic and nonlinear compressive sensingcited by 0
- 2026GradInf: Gradient Estimation as Probabilistic Inferencecited by 0
- 2026GradInf: Gradient Estimation as Probabilistic Inference8 Jul 2026
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimator12 Oct 2025
- 2025Probabilistic and nonlinear compressive sensing18 Sep 2025
- 2025Beyond Discreteness: Sample Complexity Analysis of Straight-Through Estimator for 1-bit Quantization23 May 2025
- 2025Efficient compression of neural networks and datasets23 May 2025
- 2023BiPFT: Binary Pre-trained Foundation Transformer with Low-rank Estimation of Binarization Residual Polynomials14 Dec 2023
- 2023Nonparametric Discrete Choice Experiments with Machine Learning Guided Adaptive Design18 Oct 2023