arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.05660astro-ph.IMastro-ph.COphysics.comp-ph
收藏

pocoMC:用于天文学和宇宙学中加速贝叶斯推断的Python包

pocoMC: A Python package for accelerated Bayesian inference in astronomy and cosmology

Minas Karamanis, David Nabergoj, Florian Beutler, John A. Peacock, Uros Seljak

摘要:

pocoMC是一个Python包,用于加速天文学和宇宙学中的贝叶斯推断。该代码被设计为从具有非平凡几何形状的后验分布中有效地采样,包括强多模态和非线性。为此,pocoMC依赖于预处理蒙特卡罗算法,该算法利用归一化流来解相关后验参数。它有利于参数估计和模型比较的任务,特别是在计算昂贵的应用程序的重点。它允许在Python中拟合定义为对数似然函数和对数先验概率密度函数的任意模型。与流行的替代方案(如嵌套采样)相比,pocoMC可以加快采样过程的数量级,大大降低计算成本。最后,计算集群的并行化体现了线性缩放。

英文摘要:

pocoMC is a Python package for accelerated Bayesian inference in astronomy and cosmology. The code is designed to sample efficiently from posterior distributions with non-trivial geometry, including strong multimodality and non-linearity. To this end, pocoMC relies on the Preconditioned Monte Carlo algorithm which utilises a Normalising Flow in order to decorrelate the parameters of the posterior. It facilitates both tasks of parameter estimation and model comparison, focusing especially on computationally expensive applications. It allows fitting arbitrary models defined as a log-likelihood function and a log-prior probability density function in Python. Compared to popular alternatives (e.g. nested sampling) pocoMC can speed up the sampling procedure by orders of magnitude, cutting down the computational cost substantially. Finally, parallelisation to computing clusters manifests linear scaling.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑