On the Convergence of Black-Box Variational Inference
Kyurae Kim, Jisu Oh, Kaiwen Wu, Yi-An Ma, Jacob R. Gardner
TL;DR
This work delivers the first convergence guarantees for full black-box variational inference (BBVI) as used in practice, covering reparameterization gradients with the location-scale variational family on log-smooth posteriors. It reveals that nonlinear scale parameterizations can destroy strong convexity and slow convergence, while proximal SGD reinstates strong guarantees and achieves the fastest known rates for stochastic first-order methods in this setting. The authors provide a detailed theoretical analysis of ELBO smoothness and convexity under nonlinear parameterizations, propose a generalized gradient-variance framework, and prove convergence results for proximal BBVI with 1-Lipschitz diagonally conditioned scales. They validate the theory empirically, showing proximal BBVI outperforms standard BBVI and nonlinear parameterizations on both synthetic and large-scale realistic problems. The findings highlight practical guidance for BBVI design and establish a rigorous foundation for convergence in probabilistic programming contexts.
Abstract
We provide the first convergence guarantee for full black-box variational inference (BBVI), also known as Monte Carlo variational inference. While preliminary investigations worked on simplified versions of BBVI (e.g., bounded domain, bounded support, only optimizing for the scale, and such), our setup does not need any such algorithmic modifications. Our results hold for log-smooth posterior densities with and without strong log-concavity and the location-scale variational family. Also, our analysis reveals that certain algorithm design choices commonly employed in practice, particularly, nonlinear parameterizations of the scale of the variational approximation, can result in suboptimal convergence rates. Fortunately, running BBVI with proximal stochastic gradient descent fixes these limitations, and thus achieves the strongest known convergence rate guarantees. We evaluate this theoretical insight by comparing proximal SGD against other standard implementations of BBVI on large-scale Bayesian inference problems.
