PyVBMC: Efficient Bayesian inference in Python
Bobby Huggins, Chengkun Li, Marlon Tobaben, Mikko J. Aarnos, Luigi, Acerbi

TL;DR
PyVBMC is a Python package that implements an efficient Bayesian inference algorithm for complex models with expensive or noisy evaluations, providing accurate posterior estimates and model evidence with significant speed improvements.
Contribution
This paper introduces PyVBMC, a Python implementation of VBMC, enabling fast, sample-efficient Bayesian inference for models with up to 15 parameters, especially when evaluations are costly or noisy.
Findings
Outperforms traditional methods in speed and accuracy.
Effective for models with evaluation times over one second.
Applicable to both exact and simulator-based models.
Abstract
PyVBMC is a Python implementation of the Variational Bayesian Monte Carlo (VBMC) algorithm for posterior and model inference for black-box computational models (Acerbi, 2018, 2020). VBMC is an approximate inference method designed for efficient parameter estimation and model assessment when model evaluations are mildly-to-very expensive (e.g., a second or more) and/or noisy. Specifically, VBMC computes: - a flexible (non-Gaussian) approximate posterior distribution of the model parameters, from which statistics and posterior samples can be easily extracted; - an approximation of the model evidence or marginal likelihood, a metric used for Bayesian model selection. PyVBMC can be applied to any computational or statistical model with up to roughly 10-15 continuous parameters, with the only requirement that the user can provide a Python function that computes the target log…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGaussian Processes and Bayesian Inference · Bayesian Methods and Mixture Models · Markov Chains and Monte Carlo Methods
MethodsTest
