Reparameterization Gradients Through Acceptance-Rejection Sampling Algorithms

Abstract

Variational inference using the reparameterization trick has enabled large-scale approximate Bayesian inference in complex probabilistic models, leveraging stochastic optimization to sidestep intractable expectations. The reparameterization trick is applicable when we can simulate a random variable by applying a differentiable deterministic function on an auxiliary random variable whose distribution is fixed. For many distributions of interest (such as the gamma or Dirichlet), simulation of random variables relies on acceptance-rejection sampling. The discontinuity introduced by the accept-reject step means that standard reparameterization tricks are not applicable. We propose a new method that lets us leverage reparameterization gradients even when variables are outputs of a acceptance-rejection sampling algorithm. Our approach enables reparameterization on a larger class of variational distributions. In several studies of real and synthetic data, we show that the variance of the estimator of the gradient is significantly lower than other state-of-the-art methods. This leads to faster convergence of stochastic gradient variational inference.

Cite

Text

Naesseth et al. "Reparameterization Gradients Through Acceptance-Rejection Sampling Algorithms." International Conference on Artificial Intelligence and Statistics, 2017.

Markdown

[Naesseth et al. "Reparameterization Gradients Through Acceptance-Rejection Sampling Algorithms." International Conference on Artificial Intelligence and Statistics, 2017.](https://mlanthology.org/aistats/2017/naesseth2017aistats-reparameterization/)

BibTeX

@inproceedings{naesseth2017aistats-reparameterization,
  title     = {{Reparameterization Gradients Through Acceptance-Rejection Sampling Algorithms}},
  author    = {Naesseth, Christian A. and Ruiz, Francisco J. R. and Linderman, Scott W. and Blei, David M.},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year      = {2017},
  pages     = {489-498},
  url       = {https://mlanthology.org/aistats/2017/naesseth2017aistats-reparameterization/}
}