Anytime Monte Carlo

IF 2.4 Q3 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE DataCentric Engineering Pub Date : 2016-12-10 DOI:10.1017/dce.2021.6
Lawrence M. Murray, Sumeetpal S. Singh, Anthony Lee
{"title":"Anytime Monte Carlo","authors":"Lawrence M. Murray, Sumeetpal S. Singh, Anthony Lee","doi":"10.1017/dce.2021.6","DOIUrl":null,"url":null,"abstract":"Abstract Monte Carlo algorithms simulates some prescribed number of samples, taking some random real time to complete the computations necessary. This work considers the converse: to impose a real-time budget on the computation, which results in the number of samples simulated being random. To complicate matters, the real time taken for each simulation may depend on the sample produced, so that the samples themselves are not independent of their number, and a length bias with respect to compute time is apparent. This is especially problematic when a Markov chain Monte Carlo (MCMC) algorithm is used and the final state of the Markov chain—rather than an average over all states—is required, which is the case in parallel tempering implementations of MCMC. The length bias does not diminish with the compute budget in this case. It also occurs in sequential Monte Carlo (SMC) algorithms, which is the focus of this paper. We propose an anytime framework to address the concern, using a continuous-time Markov jump process to study the progress of the computation in real time. We first show that for any MCMC algorithm, the length bias of the final state’s distribution due to the imposed real-time computing budget can be eliminated by using a multiple chain construction. The utility of this construction is then demonstrated on a large-scale SMC$ {}^2 $ implementation, using four billion particles distributed across a cluster of 128 graphics processing units on the Amazon EC2 service. The anytime framework imposes a real-time budget on the MCMC move steps within the SMC$ {}^2 $ algorithm, ensuring that all processors are simultaneously ready for the resampling step, demonstrably reducing idleness to due waiting times and providing substantial control over the total compute budget.","PeriodicalId":34169,"journal":{"name":"DataCentric Engineering","volume":null,"pages":null},"PeriodicalIF":2.4000,"publicationDate":"2016-12-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1017/dce.2021.6","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"DataCentric Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1017/dce.2021.6","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 4

Abstract

Abstract Monte Carlo algorithms simulates some prescribed number of samples, taking some random real time to complete the computations necessary. This work considers the converse: to impose a real-time budget on the computation, which results in the number of samples simulated being random. To complicate matters, the real time taken for each simulation may depend on the sample produced, so that the samples themselves are not independent of their number, and a length bias with respect to compute time is apparent. This is especially problematic when a Markov chain Monte Carlo (MCMC) algorithm is used and the final state of the Markov chain—rather than an average over all states—is required, which is the case in parallel tempering implementations of MCMC. The length bias does not diminish with the compute budget in this case. It also occurs in sequential Monte Carlo (SMC) algorithms, which is the focus of this paper. We propose an anytime framework to address the concern, using a continuous-time Markov jump process to study the progress of the computation in real time. We first show that for any MCMC algorithm, the length bias of the final state’s distribution due to the imposed real-time computing budget can be eliminated by using a multiple chain construction. The utility of this construction is then demonstrated on a large-scale SMC$ {}^2 $ implementation, using four billion particles distributed across a cluster of 128 graphics processing units on the Amazon EC2 service. The anytime framework imposes a real-time budget on the MCMC move steps within the SMC$ {}^2 $ algorithm, ensuring that all processors are simultaneously ready for the resampling step, demonstrably reducing idleness to due waiting times and providing substantial control over the total compute budget.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
随时蒙特卡洛
摘要蒙特卡罗算法模拟一些规定数量的样本,取一些随机的实时时间来完成必要的计算。这项工作考虑了相反的情况:在计算中施加实时预算,这导致模拟样本的数量是随机的。更复杂的是,每次模拟所需的实时时间可能取决于产生的样本,因此样本本身并不独立于它们的数量,并且相对于计算时间的长度偏差是明显的。当使用马尔可夫链蒙特卡罗(MCMC)算法并且需要马尔可夫链的最终状态(而不是所有状态的平均值)时,这尤其成问题,这就是MCMC并行回火实现的情况。在这种情况下,长度偏差不会随着计算预算的增加而减少。在序列蒙特卡罗(SMC)算法中也会出现这种情况,这是本文研究的重点。为了解决这个问题,我们提出了一个随时框架,使用连续时间马尔可夫跳跃过程来实时研究计算过程。我们首先证明,对于任何MCMC算法,由于强加的实时计算预算,最终状态分布的长度偏差可以通过使用多链结构来消除。然后在大规模SMC${}^2 $实现上演示了这种结构的效用,该实现使用分布在亚马逊EC2服务上的128个图形处理单元集群上的40亿个粒子。anytime框架在SMC${}^2 $算法中对MCMC移动步骤施加实时预算,确保所有处理器同时为重采样步骤做好准备,明显地减少了空闲到适当的等待时间,并提供了对总计算预算的实质性控制。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
DataCentric Engineering
DataCentric Engineering Engineering-General Engineering
CiteScore
5.60
自引率
0.00%
发文量
26
审稿时长
12 weeks
期刊最新文献
Semantic 3D city interfaces—Intelligent interactions on dynamic geospatial knowledge graphs Optical network physical layer parameter optimization for digital backpropagation using Gaussian processes Finite element model updating with quantified uncertainties using point cloud data Evaluating probabilistic forecasts for maritime engineering operations Bottom-up forecasting: Applications and limitations in load forecasting using smart-meter data
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1