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 $\gtrsim 1$\,s, speeding up MCMC computations by a factor of $10-1000\times$ when tested on problems with up to 64 dimensions.
Accelerated Bayesian parameter estimation and model selection for gravitational waves with normalizing flows
Mullard Space Science Laboratory(穆拉德空间科学实验室);University College London(伦敦大学学院);Utrecht University(乌得勒支大学);Nikhef(荷兰国家亚原子物理研究所);Center for Computational Astrophysics(计算天体物理中心);Flatiron Institute(弗拉蒂伦研究所);Johns Hopkins University(约翰斯·霍普金斯大学);Alan Turing Institute(阿兰·图灵研究所)
GPU-Accelerated Hierarchical Bayesian Inference with Application to Modeling Cosmic Populations: CUDAHM
我们描述了一个计算框架,分层贝叶斯推断与简单的(通常是单板)参数图形模型,使用图形处理单元(GPU),以加速计算,使部署在非常大的数据集。它的C++实现CUDAHM(CUDA for Hierarchical Models)利用了板实例之间的条件独立性,促进了使用GPU的单指令多数据架构对复制参数空间的大规模并行探索。它支持构建Metropolis-within-Gibbs采样器,该采样器在GPU加速的板级参数的鲁棒自适应Metropolis采样(以上层参数为条件)和Metropolis-Hastings采样(以主机处理器上的GPU结果为条件)之间进行切换。CUDAHM的动机是天文学中的人口问题,其中密度估计和线性和非线性回归问题必须解决数千至数百万对象的人口,其特征测量可能具有复杂的不确定性。我们描述了一个细化的潜在点过程框架,用于建模这样的人口统计数据。我们使用单个NVIDIA Tesla K40 c GPU在约1小时内演示了高达300,000个对象的模拟群体的精确GPU加速参数条件密度反卷积。补充材料提供了有关CUDAHM API和演示问题的详细信息。
Montblanc: GPU accelerated Radio Interferometer Measurement Equations in support of Bayesian Inference for Radio Observations
University of Cape Town(开普敦大学);University of the Western Cape(西开普大学);Rhodes University(罗德斯大学);Observatoire de Paris(巴黎天文台);CNRS(法国国家科学研究中心);Université Paris Diderot(巴黎狄德罗大学);SKA South Africa(SKA南非)
pespace: A new tool of GPU-accelerated and auto-differentiable response generation and likelihood evaluation for space-borne gravitational wave detectors
University of Science and Technology of China(中国科学技术大学);Guizhou University(贵州大学)