arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.03676physics.comp-phcond-mat.dis-nncond-mat.softcond-mat.stat-mech
收藏

GPU加速群体退火算法

GPU accelerated population annealing algorithm

Lev Yu. Barash, Martin Weigel, Michal Borovský, Wolfhard Janke, Lev N. Shchur

摘要:

布居退火是统计物理学中蒙特卡罗模拟的一种新方法,特别适用于模拟具有复杂自由能景观的系统。它是一种混合方法,通过马尔可夫链的重要性抽样与人口控制形式的序贯蒙特卡罗元素相结合。虽然它似乎提供了类似于并行回火等更成熟方法的算法能力,但它本质上更适合于大规模并行计算。在这里,我们利用这种结构优势,并提出了一个高度优化的实现的人口退火算法的GPU,承诺的速度提高了几个数量级相比,在CPU上的串行实现。虽然示例代码用于模拟2D铁磁伊辛模型,但它应该很容易适用于模拟其他自旋模型,包括无序系统。我们的代码包括一些最近才提出的高级算法功能的实现,即温度步长的自动适应和不同温度下数据的多直方图分析。

英文摘要:

Population annealing is a promising recent approach for Monte Carlo simulations in statistical physics, in particular for the simulation of systems with complex free-energy landscapes. It is a hybrid method, combining importance sampling through Markov chains with elements of sequential Monte Carlo in the form of population control. While it appears to provide algorithmic capabilities for the simulation of such systems that are roughly comparable to those of more established approaches such as parallel tempering, it is intrinsically much more suitable for massively parallel computing. Here, we tap into this structural advantage and present a highly optimized implementation of the population annealing algorithm on GPUs that promises speed-ups of several orders of magnitude as compared to a serial implementation on CPUs. While the sample code is for simulations of the 2D ferromagnetic Ising model, it should be easily adapted for simulations of other spin models, including disordered systems. Our code includes implementations of some advanced algorithmic features that have only recently been suggested, namely the automatic adaptation of temperature steps and a multi-histogram analysis of the data at different temperatures.

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

↑