arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.04346cs.DCastro-ph.IM
收藏

一种用于高效可扩展马尔可夫链蒙特卡洛计算的无服务器架构

A Serverless Architecture for Efficient and Scalable Monte Carlo Markov Chain Computation

Fabio Castagna, Alberto Trombetta, Marco Landoni, Stefano Andreon

AI总结:

针对科学数据分析中MCMC计算算力需求大的问题,提出基于云的无服务器并行MCMC架构,可大幅缩短计算时间、开销随进程数对数增长且无需维护基础设施,并通过天文分析实例验证了优势。

摘要:

在科学数据分析中,计算能力的需求持续增长,尤其是涉及马尔可夫链蒙特卡洛(MCMC)方法时,例如用于估计积分函数或贝叶斯后验概率。本文阐述了采用基于云的无服务器架构并行计算MCMC的优势:首先,计算任务可分散到数千个进程中执行,从而大幅缩短用户等待计算完成的时间。其次,并行运行多个进程所需的开销时间极少,且随进程数量呈对数增长。第三,当游走子(walker)数量增加时,或需要调整代码以最优利用基础设施时,无服务器方案无需在维护和更新计算基础设施上耗费大量精力。研究通过一项真实天文分析的后验概率分布计算,验证了上述优势。

英文摘要:

Computer power is a constantly increasing demand in scientific data analyses, in particular when Markov Chain Monte Carlo (MCMC) methods are involved, for example for estimating integral functions or Bayesian posterior probabilities. In this paper, we describe the benefits of a parallel computation of MCMC using a cloud-based, serverless architecture: first, the computation time can be spread over thousands of processes, hence greatly reducing the time the user should wait to have its computation completed. Second, the overhead time required for running in parallel several processes is minor and grows logarithmically with respect to the number of processes. Third, the serverless approach does not require time-consuming efforts for maintaining and updating the computing infrastructure when/if the number of walkers increases or for adapting the code to optimally use the infrastructure. The benefits are illustrated with the computation of the posterior probability distribution of a real astronomical analysis.

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

↑