Fast and robust Bayesian Inference using Gaussian Processes with GPry

11/03/2022
by   Jonas El Gammal, et al.
0

We present the GPry algorithm for fast Bayesian inference of general (non-Gaussian) posteriors with a moderate number of parameters. GPry does not need any pre-training, special hardware such as GPUs, and is intended as a drop-in replacement for traditional Monte Carlo methods for Bayesian inference. Our algorithm is based on generating a Gaussian Process surrogate model of the log-posterior, aided by a Support Vector Machine classifier that excludes extreme or non-finite values. An active learning scheme allows us to reduce the number of required posterior evaluations by two orders of magnitude compared to traditional Monte Carlo inference. Our algorithm allows for parallel evaluations of the posterior at optimal locations, further reducing wall-clock times. We significantly improve performance using properties of the posterior in our active learning scheme and for the definition of the GP prior. In particular we account for the expected dynamical range of the posterior in different dimensionalities. We test our model against a number of synthetic and cosmological examples. GPry outperforms traditional Monte Carlo methods when the evaluation time of the likelihood (or the calculation of theoretical observables) is of the order of seconds; for evaluation times of over a minute it can perform inference in days that would take months using traditional methods. GPry is distributed as an open source Python package (pip install gpry) and can also be found at https://github.com/jonaselgammal/GPry.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/09/2023

Fast post-process Bayesian inference with Sparse Variational Bayesian Monte Carlo

We introduce Sparse Variational Bayesian Monte Carlo (SVBMC), a method f...
research
03/16/2023

PyVBMC: Efficient Bayesian inference in Python

PyVBMC is a Python implementation of the Variational Bayesian Monte Carl...
research
05/30/2023

Parallelized Acquisition for Active Learning using Monte Carlo Sampling

Bayesian inference remains one of the most important tool-kits for any s...
research
05/31/2020

Adaptive quadrature schemes for Bayesian inference via active learning

Numerical integration and emulation are fundamental topics across scient...
research
11/03/2014

Sampling for Inference in Probabilistic Models with Fast Bayesian Quadrature

We propose a novel sampling framework for inference in probabilistic mod...
research
06/15/2020

Variational Bayesian Monte Carlo with Noisy Likelihoods

Variational Bayesian Monte Carlo (VBMC) is a recently introduced framewo...
research
06/24/2022

Multi-Modal and Multi-Factor Branching Time Active Inference

Active inference is a state-of-the-art framework for modelling the brain...

Please sign up or login with your details

Forgot password? Click here to reset