English

Bias-Variance Tradeoffs in Single-Sample Binary Gradient Estimators

Machine Learning 2021-10-18 v2 Neural and Evolutionary Computing

Abstract

Discrete and especially binary random variables occur in many machine learning models, notably in variational autoencoders with binary latent states and in stochastic binary networks. When learning such models, a key tool is an estimator of the gradient of the expected loss with respect to the probabilities of binary variables. The straight-through (ST) estimator gained popularity due to its simplicity and efficiency, in particular in deep networks where unbiased estimators are impractical. Several techniques were proposed to improve over ST while keeping the same low computational complexity: Gumbel-Softmax, ST-Gumbel-Softmax, BayesBiNN, FouST. We conduct a theoretical analysis of bias and variance of these methods in order to understand tradeoffs and verify the originally claimed properties. The presented theoretical results allow for better understanding of these methods and in some cases reveal serious issues.

Keywords

Cite

@article{arxiv.2110.03549,
  title  = {Bias-Variance Tradeoffs in Single-Sample Binary Gradient Estimators},
  author = {Alexander Shekhovtsov},
  journal= {arXiv preprint arXiv:2110.03549},
  year   = {2021}
}

Comments

22 pages, GCPR 2021

R2 v1 2026-06-24T06:42:40.366Z