Gradient Estimation with Discrete Stein Operators
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Log-likelihood estimation | MNIST dynamically binarized (test) | Log-Likelihood-98.72 | 48 | |
| Generative Modeling | MNIST (train) | -- | 42 | |
| Generative Modeling | Fashion-MNIST (train) | -- | 30 | |
| Generative Modeling | Omniglot (train) | -- | 30 | |
| Binary Latent VAE Training | MNIST (train) | Avg ELBO692.4 | 14 | |
| Binary Latent VAE Training | Fashion-MNIST (train) | Average ELBO196.6 | 14 | |
| Binary Latent VAE Training | Omniglot (train) | Average ELBO461.9 | 14 | |
| Generative Modeling | Dynamically binarized MNIST (test) | NELBO-97.43 | 13 | |
| Generative Modeling | MNIST dynamically binarized (train) | Training ELBO-97.21 | 9 | |
| Generative Modeling | Fashion-MNIST dynamically binarized (train) | ELBO (Train)-234.1 | 9 |