Validated Variational Inference via Practical Posterior Error Bounds

Jonathan H. Huggins, Mikołaj Kasprzak, Trevor Campbell, Tamara Broderick
10/9/2019
stat.MLcs.LGmath.ST
bayesian

Official code: jhuggins/viabel (47 stars, Python, MIT, last commit 2025-10-17).

Abstract

Variational inference has become an increasingly attractive fast alternative to Markov chain Monte Carlo methods for approximate Bayesian inference. However, a major obstacle to the widespread use of variational methods is the lack of post-hoc accuracy measures that are both theoretically justified and computationally efficient.

Show full abstract

In this paper, we provide rigorous bounds on the error of posterior mean and uncertainty estimates that arise from full-distribution approximations, as in variational inference. Our bounds are widely applicable, as they require only that the approximating and exact posteriors have polynomial moments. Our bounds are also computationally efficient for variational inference because they require only standard values from variational objectives, straightforward analytic calculations, and simple Monte Carlo estimates. We show that our analysis naturally leads to a new and improved workflow for validated variational inference. Finally, we demonstrate the utility of our proposed workflow and error bounds on a robust regression problem and on a real-data example with a widely used multilevel hierarchical model.

View on arXivView PDF

Code Implementations(1)

jhuggins/viabelOfficial100%
MIT

Efficient, lightweight variational inference and approximation bounds

4715Python, StanOct 16, 20191 years agoMIT
bayesian-inferencevariational-inference

Similar Papers

Cite this paper

@article{huggins2019validated,
  title  = {Validated Variational Inference via Practical Posterior Error Bounds},
  author = {Jonathan H. Huggins and Mikołaj Kasprzak and Trevor Campbell and Tamara Broderick},
  year   = {2019},
  eprint = {1910.04102},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.04102}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.04102.svg)](https://codeofpaper.com/paper/1910.04102)

Discussion