Double Control Variates for Gradient Estimation in Discrete Latent Variable Models
About
Stochastic gradient-based optimisation for discrete latent variable models is challenging due to the high variance of gradients. We introduce a variance reduction technique for score function estimators that makes use of double control variates. These control variates act on top of a main control variate, and try to further reduce the variance of the overall estimator. We develop a double control variate for the REINFORCE leave-one-out estimator using Taylor expansions. For training discrete latent variable models, such as variational autoencoders with binary latent variables, our approach adds no extra computational cost compared to standard training with the REINFORCE leave-one-out estimator. We apply our method to challenging high-dimensional toy examples and training variational autoencoders with binary latent variables. We show that our estimator can have lower variance compared to other state-of-the-art estimators.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Log-likelihood estimation | MNIST dynamically binarized (test) | Log-Likelihood-99.16 | 48 | |
| Binary Latent VAE Training | MNIST (train) | Avg ELBO686.5 | 14 | |
| Binary Latent VAE Training | Fashion-MNIST (train) | Average ELBO193.9 | 14 | |
| Binary Latent VAE Training | Omniglot (train) | Average ELBO457.4 | 14 | |
| Generative Modeling | Dynamically binarized MNIST (test) | NELBO-97.62 | 13 | |
| Generative Modeling | MNIST dynamically binarized (train) | Training ELBO-97.59 | 9 | |
| Generative Modeling | Fashion-MNIST dynamically binarized (train) | ELBO (Train)-234.3 | 9 | |
| Generative Modeling | Fashion-MNIST dynamically binarized (test) | Test Log-Likelihood Bound-234.3 | 9 | |
| Generative Modeling | Omniglot dynamically binarized (train) | Training ELBO-108.7 | 9 | |
| Generative Modeling | OMNIGLOT dynamically binarized (test) | Log-Likelihood Bound (100-point)-107.5 | 9 |