ALABI: Active Learning for Accelerated Bayesian Inference
Abstract
We present Active Learning for Accelerated Bayesian Inference (alabi): an open-source Python package for performing Bayesian inference with computationally expensive models. Given a forward model and observational data to construct a likelihood and priors, alabi\ uses a Gaussian Process (GP) surrogate model trained to predict posterior probability as a function of input parameters, and employs active learning to iteratively improve GP predictive performance in high-likelihood regions where the GP is most uncertain. alabi\ provides a uniform interface for using Markov chain Monte Carlo (MCMC) with different packages, including the affine-invariant sampler emcee, and nested samplers dynesty, multinest, and ultranest. This approach facilitates accurate estimation of the desired posterior distribution, while reducing the number of computationally expensive model evaluations required by factors of thousands. We demonstrate the performance of alabi\ on a variety of test cases, including where inference is challenging due to complex posterior structure or high dimensionality. We show that alabi\ offers a substantial improvement for likelihood functions with evaluation times 1\,s, speeding up MCMC computations by a factor of 10-1000× when tested on problems with up to 64 dimensions.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.