Fast and robust Bayesian Inference using Gaussian Processes with GPry
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 19 of its 99 references that are in the map. First posted on arXiv 3 Nov 2022.
Builds on
19 of 99 references.
References · 19
- 2019The frontier of simulation-based inferencecited by 490
- 2021Benchmarking Simulation-Based Inferencecited by 160
- 2016Bayesian Optimization with Safety Constraints: Safe and Automatic Parameter Tuning in Roboticscited by 134
- 2015Batch Bayesian Optimization via Local Penalizationcited by 103
- 2018Stagewise Safe Bayesian Optimization with Gaussian Processescited by 79
- 2014Sampling for Inference in Probabilistic Models with Fast Bayesian Quadraturecited by 31
- 2020Variational Bayesian Monte Carlo with Noisy Likelihoodscited by 23
- 2018Variational Bayesian Monte Carlocited by 20
- 2020Lightning-Fast Gravitational Wave Parameter Inference through Neural Amortizationcited by 17
- 2017Dynamic nested sampling: an improved algorithm for parameter estimation and evidence calculationcited by 15
- 2020Towards constraining warm dark matter with stellar streams through neural simulation-based inferencecited by 14
- 2021Geometric variational inferencecited by 12
7 more
- 2022Robust Simulation-Based Inference in Cosmology with Bayesian Neural Networkscited by 11
- 2017Adaptive Gaussian process approximation for Bayesian inference with expensive likelihood functionscited by 9
- 2021Real-Time Likelihood-Free Inference of Roman Binary Microlensing Events with Amortized Neural Posterior Estimationcited by 8
- 2020Simulation-efficient marginal posterior estimation with swyft: stop wasting your precious timecited by 7
- 2020Adaptive quadrature schemes for Bayesian inference via active learningcited by 6
- 2013Recursive Pathways to Marginal Likelihood Estimation with Prior-Sensitivity Analysiscited by 5
- 2020Learning the Evolution of the Universe in N-body Simulationscited by 2
Built on by
Citing papers per year: 2023: 3; 2024: 0; 2025: 2.
5 papers.
- 2023PyVBMC: Efficient Bayesian inference in Pythoncited by 7
- 2023Fast post-process Bayesian inference with Variational Sparse Bayesian Quadraturecited by 3
- 2025Normalizing Flow Regression for Bayesian Inference with Offline Likelihood Evaluationscited by 1
- 2023Parallelized Acquisition for Active Learning using Monte Carlo Samplingcited by 0
- 2025Measuring the right thing: justifying metrics in AI impact assessmentscited by 0
- 2025Normalizing Flow Regression for Bayesian Inference with Offline Likelihood Evaluations15 Apr 2025
- 2025Measuring the right thing: justifying metrics in AI impact assessments7 Apr 2025
- 2023Parallelized Acquisition for Active Learning using Monte Carlo Sampling30 May 2023
- 2023PyVBMC: Efficient Bayesian inference in Python16 Mar 2023
- 2023Fast post-process Bayesian inference with Variational Sparse Bayesian Quadrature9 Mar 2023