Lune

Abstract

Gradient estimation -- approximating the gradient of an expectation with respect to the parameters of a distribution -- is central to the solution of many machine learning problems. However, when the distribution is discrete, most common gradient estimators suffer from excessive variance. To improve the quality of gradient estimation, we introduce a variance reduction technique based on Stein operators for discrete distributions. We then use this technique to build flexible control variates for the REINFORCE leave-one-out estimator. Our control variates can be adapted online to minimize variance and do not require extra evaluations of the target function. In benchmark generative modeling tasks such as training binary variational autoencoders, our gradient estimator achieves substantially lower variance than state-of-the-art estimators with the same number of function evaluations.

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.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Discrete Neural Flow Samplers with Locally Equivariant Transformer cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Discrete Neural Flow Samplers with Locally Equivariant Transformer cites Simplified and Generalized Masked Diffusion for Discrete Data
  • VarGrad: A Low-Variance Gradient Estimator for Variational Inference cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
  • Informed Correctors for Discrete Diffusion Models cites Simplified and Generalized Masked Diffusion for Discrete Data
  • Simplified and Generalized Masked Diffusion for Discrete Data cites Informed Correctors for Discrete Diffusion Models
  • Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trick cites VarGrad: A Low-Variance Gradient Estimator for Variational Inference
  • Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trick cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
  • Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trick cites Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions
  • Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Simplified and Generalized Masked Diffusion for Discrete DataJiaxin Shi, Kehang Han, Zhe Wang, Arnaud Doucet et al.NeurIPS 2024 · 693 citations
  2. Informed Correctors for Discrete Diffusion ModelsYixiu Zhao, Jiaxin Shi, Feng Chen, Shaul Druckmann et al.NeurIPS 2025 · 61 citations
  3. Bridging Discrete and Backpropagation: Straight-Through and BeyondLiyuan Liu, Chengyu Dong, Xiaodong Liu, Bin Yu et al.NeurIPS 2023 · 52 citations
  4. Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative TrickLennert De Smet, Emanuele Sansone, Pedro Zuidberg Dos MartiresNeurIPS 2023 · 17 citations
  5. Discrete Neural Flow Samplers with Locally Equivariant TransformerZijing Ou, Ruixiang Zhang, Yingzhen LiNeurIPS 2025 · 14 citations

Builds on8

  1. NVAE: A Deep Hierarchical Variational AutoencoderArash Vahdat, Jan KautzNeurIPS 2020 · 1,141 citations
  2. Implicit MLE: Backpropagating Through Discrete Exponential Family DistributionsMathias Niepert, Pasquale Minervini, Luca FranceschiNeurIPS 2021 · 121 citations
  3. Oops I Took A Gradient: Scalable Sampling for Discrete DistributionsWill Grathwohl, Kevin Swersky, Milad Hashemi, David Duvenaud et al.ICML 2021 · 113 citations
  4. 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
  5. Estimating Gradients for Discrete Random Variables by Sampling without ReplacementWouter Kool, Herke van Hoof, Max WellingICLR 2020 · 59 citations

Related papers

  1. Low-Variance Black-Box Gradient Estimates for the Plackett-Luce DistributionArtyom Gadetsky, Kirill Struminsky, Christopher Robinson, Novi Quadrianto et al.AAAI 2020 · 11 citations
  2. Hindsight Network Credit Assignment: Efficient Credit Assignment in Networks of Discrete Stochastic UnitsKenny YoungAAAI 2022
  3. Multilevel Control FunctionalKaiyu Li, Yiming Yang, Xiaoyuan Cheng, Yi He et al.ICLR 2026 · 1 citation
  4. Training Discrete Deep Generative Models via Gapped Straight-Through EstimatorTing-Han Fan, Ta-Chung Chi, Alexander I. Rudnicky, Peter J. RamadgeICML 2022 · 9 citations
  5. Approximation Based Variance Reduction for Reparameterization GradientsTomas Geffner, Justin DomkeNeurIPS 2020 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines