arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.13593physics.comp-phcond-mat.softcond-mat.stat-mechcs.LGstat.CO
收藏

自适应哈密顿蒙特卡罗算法用于加速采样

Self-Tuning Hamiltonian Monte Carlo for Accelerated Sampling

NEC Laboratories Europe GmbH(NEC欧洲实验室)

Henrik Christiansen, Federico Errica, Francesco Alesiani

AI总结:

本文提出了一种自适应哈密顿蒙特卡罗算法,通过自适应调整积分步长和步数,显著提高了模拟参数优化效率。

摘要:

哈密顿蒙特卡罗模拟的性能关键取决于积分时间步长和积分步数。我们提出了一种自适应通用框架,用于自动调节这些参数,基于一个局部损失函数,以促进相空间的快速探索。我们展示了损失与自相关时间之间可以建立良好的对应关系,允许使用完全可微的设置进行基于梯度的优化。该损失函数的构建方式也允许通过梯度驱动学习积分步数的分布。我们的方法在一维谐振子和天冬酰胺二肽上进行了演示,后者是一种常用于模拟方法测试的较小蛋白质。通过应用于谐振子,我们强调了不使用固定时间步长的重要性,以避免具有许多局部极小值的损失表面,否则会困住优化。在天冬酰胺二肽的情况下,通过调节我们损失定义中的唯一自由参数,我们发现它与自相关时间之间有良好的对应关系,从而在模拟参数优化方面比网格搜索快了超过100倍。对于该系统,我们还扩展了积分器,以允许原子依赖的时间步长,从而进一步将自相关时间减少了25%。

英文摘要:

The performance of Hamiltonian Monte Carlo simulations crucially depends on both the integration timestep and the number of integration steps. We present an adaptive general-purpose framework to automatically tune such parameters, based on a local loss function which promotes the fast exploration of phase-space. We show that a good correspondence between loss and autocorrelation time can be established, allowing for gradient-based optimization using a fully-differentiable set-up. The loss is constructed in such a way that it also allows for gradient-driven learning of a distribution over the number of integration steps. Our approach is demonstrated for the one-dimensional harmonic oscillator and alanine dipeptide, a small protein common as a test case for simulation methods. Through the application to the harmonic oscillator, we highlight the importance of not using a fixed timestep to avoid a rugged loss surface with many local minima, otherwise trapping the optimization. In the case of alanine dipeptide, by tuning the only free parameter of our loss definition, we find a good correspondence between it and the autocorrelation times, resulting in a $>100$ fold speed up in optimization of simulation parameters compared to a grid-search. For this system, we also extend the integrator to allow for atom-dependent timesteps, providing a further reduction of $25\%$ in autocorrelation times.

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

↑