Beyond ReinMax: Low-Variance Gradient Estimators for Discrete Latent Variables
DWDaniel Wang
Thang D. Bui DWDaniel Wang

Thang D. Bui
+2
We propose ReinMax-Rao and ReinMax-CV, two gradient estimators for discrete latent variables that reduce the variance of ReinMax by incorporating Rao-Blackwellisation and control variates. Evaluated on training variational autoencoders with discrete latent spaces, these estimators outperform ReinMax, which is viewed from a numerical ODE perspective as using Heun's method to reduce bias at the cost of high variance. Alternative numerical methods for more accurate gradient approximations are also explored.

arXiv ·
· March 9, 2026