English

ALABI: Active Learning for Accelerated Bayesian Inference

Instrumentation and Methods for Astrophysics 2026-03-20 v1 Data Analysis, Statistics and Probability

Abstract

We present Active Learning for Accelerated Bayesian Inference (\texttt{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, \texttt{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. \texttt{alabi}\ provides a uniform interface for using Markov chain Monte Carlo (MCMC) with different packages, including the affine-invariant sampler \texttt{emcee}, and nested samplers \texttt{dynesty}, \texttt{multinest}, and \texttt{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 \texttt{alabi}\ on a variety of test cases, including where inference is challenging due to complex posterior structure or high dimensionality. We show that \texttt{alabi}\ offers a substantial improvement for likelihood functions with evaluation times 1\gtrsim 1\,s, speeding up MCMC computations by a factor of 101000×10-1000\times when tested on problems with up to 64 dimensions.

Cite

@article{arxiv.2603.18259,
  title  = {ALABI: Active Learning for Accelerated Bayesian Inference},
  author = {Jessica Birky and Rory K. Barnes},
  journal= {arXiv preprint arXiv:2603.18259},
  year   = {2026}
}

Comments

Submitted to PASP, comments welcome

R2 v1 2026-07-01T11:27:04.856Z