Coupled Gradient Estimators for Discrete Latent Variables
Zhe Dong, Andriy Mnih, George Tucker
Abstract
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) . Code and additional information: https://sites.google.com/view/disarm-estimator .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- ARMS: Antithetic-REINFORCE-Multi-Sample Gradient for Binary Variables cites DisARM: An Antithetic Gradient Estimator for Binary Latent Variables
- Training Discrete Deep Generative Models via Gapped Straight-Through Estimator cites DisARM: An Antithetic Gradient Estimator for Binary Latent Variables
- Training Discrete Deep Generative Models via Gapped Straight-Through Estimator cites Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient Estimator
- CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator cites ARMS: Antithetic-REINFORCE-Multi-Sample Gradient for Binary Variables
- CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator cites DisARM: An Antithetic Gradient Estimator for Binary Latent Variables
- CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator cites VarGrad: A Low-Variance Gradient Estimator for Variational Inference
- CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
- CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator cites Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient Estimator
- Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces cites VarGrad: A Low-Variance Gradient Estimator for Variational Inference
- Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces cites Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient Estimator
- VarGrad: A Low-Variance Gradient Estimator for Variational Inference cites DisARM: An Antithetic Gradient Estimator for Binary Latent Variables
- VarGrad: A Low-Variance Gradient Estimator for Variational Inference cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
- Bridging Discrete and Backpropagation: Straight-Through and Beyond cites Training Discrete Deep Generative Models via Gapped Straight-Through Estimator
- Bridging Discrete and Backpropagation: Straight-Through and Beyond cites DisARM: An Antithetic Gradient Estimator for Binary Latent Variables
- Bridging Discrete and Backpropagation: Straight-Through and Beyond cites Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient Estimator
- Bridging Discrete and Backpropagation: Straight-Through and Beyond cites Gradient Estimation with Discrete Stein Operators
- Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient Estimator cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
- Gradient Estimation with Discrete Stein Operators cites ARMS: Antithetic-REINFORCE-Multi-Sample Gradient for Binary Variables
- Gradient Estimation with Discrete Stein Operators cites DisARM: An Antithetic Gradient Estimator for Binary Latent Variables
- Gradient Estimation with Discrete Stein Operators cites VarGrad: A Low-Variance Gradient Estimator for Variational Inference
- Gradient Estimation with Discrete Stein Operators cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
Cited by top-tier papers7
- Bridging Discrete and Backpropagation: Straight-Through and BeyondLiyuan Liu, Chengyu Dong, Xiaodong Liu, Bin Yu et al.NeurIPS 2023 · 52 citations
- Gradient Estimation with Discrete Stein OperatorsJiaxin Shi, Yuhao Zhou, Jessica Hwang, Michalis K. Titsias et al.NeurIPS 2022 · 27 citations
- Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial SpacesKirill Struminsky, Artyom Gadetsky, Denis Rakitin, Danil Karpushkin et al.NeurIPS 2021 · 11 citations
- CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient EstimatorAlek Dimitriev, Mingyuan ZhouNeurIPS 2021 · 10 citations
- Training Discrete Deep Generative Models via Gapped Straight-Through EstimatorTing-Han Fan, Ta-Chung Chi, Alexander I. Rudnicky, Peter J. RamadgeICML 2022 · 9 citations
Builds on5
- VarGrad: A Low-Variance Gradient Estimator for Variational InferenceLorenz Richter, Ayman Boustati, Nikolas Nüsken, Francisco J. R. Ruiz et al.NeurIPS 2020 · 90 citations
- Estimating Gradients for Discrete Random Variables by Sampling without ReplacementWouter Kool, Herke van Hoof, Max WellingICLR 2020 · 59 citations
- Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient EstimatorMax B. Paulus, Chris J. Maddison, Andreas KrauseICLR 2021 · 48 citations
- DisARM: An Antithetic Gradient Estimator for Binary Latent VariablesZhe Dong, Andriy Mnih, George TuckerNeurIPS 2020 · 43 citations
- ARMS: Antithetic-REINFORCE-Multi-Sample Gradient for Binary VariablesAleksandar Dimitriev, Mingyuan ZhouICML 2021 · 12 citations
Related papers
- Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative TrickLennert De Smet, Emanuele Sansone, Pedro Zuidberg Dos MartiresNeurIPS 2023 · 17 citations
- Categorical Reparameterization with Denoising Diffusion ModelsSamson Gourevitch, Alain Oliviero Durmus, Eric Moulines, Jimmy Olsson et al.ICML 2026 · 1 citation
- Gradient Estimation for Binary Latent Variables via Gradient Variance ClippingRussell Z. Kunes, Mingzhang Yin, Max Land, Doron Haviv et al.AAAI 2023 · 5 citations
- Rao-Blackwellised Reparameterisation GradientsKevin H. Lam, Thang Bui, George Deligiannidis, Yee Whye TehNeurIPS 2025 · 1 citation
- Beyond Softmax: A Natural Parameterization for Categorical Random VariablesAlessandro Manenti, Cesare AlippiICML 2026
