When conjugacy is gone
The topic Stochastic variational inference made variational inference fast on large data, but it kept one requirement from the start: every complete conditional must lie in the exponential family, so that each update and each natural gradient has a closed form. Many models we care about break that.
Take Bayesian logistic regression with one weight, as in the topic The Laplace approximation and Bayesian classification. The prior is , the labels are , and with the sigmoid . Choose . The ELBO contains
the expectation of a log-sigmoid under a Gaussian. It has no closed form. Coordinate ascent has no formula to iterate, and SVI has no natural gradient to step along. The classic way out is a model-specific trick: the Laplace approximation, or a hand-made bound on the sigmoid.
This topic asks for something more general. Can we get the gradient of the ELBO for any model, using only the ability to evaluate at a point? This is black-box variational inference (BBVI; Ranganath, Gerrish and Blei, 2014). The idea fits in one line: the ELBO is an expectation under , so its gradient can be written as an expectation too, and expectations can be estimated by Monte Carlo (the topic Monte Carlo and Markov chains).