arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.23582physics.comp-phcs.NAmath.NA
收藏

随机批次高斯求和方法用于NPT等容等压系中粒子系统的分子动力学模拟

Random batch sum-of-Gaussians method for molecular dynamics simulation of particle systems in the NPT ensemble

School of Mathematical Sciences, Shanghai Jiao Tong University(上海交通大学数学科学学院);Center for Computational Mathematics, Flatiron Institute, Simons Foundation(西蒙斯基金会平顿研究所计算数学中心)

Zhen Jiang, Jiuyang Liang, Qi Zhou

AI总结:

RBSOG方法通过随机批次重要性采样和度量重校准策略,有效减少NPT模拟中的压力伪影并提升计算效率

摘要:

在本工作中,我们开发了一种随机批次高斯求和(RBSOG)方法,用于等温等压(NPT)系中带电系统的分子动力学模拟。我们引入了压力相关1/r³核的高斯求和分解,从而获得瞬时压力评估的平滑短程/长程分解。长程部分通过随机批次重要性采样在傅里叶空间中处理。由于径向和非径向压力成分倾向于不同的提案,直接采样会增加结构因子评估和通信,或导致显著方差膨胀。为了解决这一权衡,我们引入了一种度量-重校准策略,该策略重用从径向提案中抽取的傅里叶模式,并将其校正为非径向目标,从而产生无偏压力估计器,具有显著减少的方差和可忽略的额外成本。所得到的方法减轻了传统埃瓦尔德方法中因截断不连续性引起的压力伪影,同时保持了接近最优的O(N)复杂度。我们提供了关于压力分解误差、随机近似一致性的理论证据,以及RBSOG基于MD的收敛性。对水、LiTFSI离子液体和DPPC膜的数值实验表明,RBSOG在小批次大小(P≈100)下准确再现了关键的结构和动力学可观测变量。在高达10^7个原子、2048个CPU核心的大型基准测试中,RBSOG在NPT模拟的静电计算中相对于粒子-粒子粒子-网格方法实现了约一个数量级的速度提升,同时相对于随机批次埃瓦尔德方法在方差减少方面保持一致,并且具有出色的弱标量性和强标量性。总体而言,RBSOG为减少大规模NPT模拟的时间到解决方案和通信成本提供了实用且可扩展的途径。

英文摘要:

In this work, we develop a random batch sum-of-Gaussians (RBSOG) method for molecular dynamics simulations of charged systems in the isothermal-isobaric (NPT) ensemble. We introduce an SOG splitting of the pressure-related $1/r^3$ kernel, yielding a smooth short-/long-range decomposition for instantaneous pressure evaluation. The long-range part is treated in Fourier space by random-batch importance sampling. Because the radial and non-radial pressure components favor different proposals, direct sampling either increases structure-factor evaluations and communication or leads to substantial variance inflation. To address this tradeoff, we introduce a measure-recalibration strategy that reuses Fourier modes drawn from the radial proposal and corrects them for the non-radial target, producing an unbiased pressure estimator with significantly reduced variance and negligible extra cost. The resulting method mitigates pressure artifacts caused by cutoff discontinuities in traditional Ewald-based treatments while preserving near-optimal $O(N)$ complexity. We provide theoretical evidence on pressure decomposition error, consistency of stochastic approximation, and convergence of RBSOG-based MD. Numerical experiments on bulk water, LiTFSI ionic liquids, and DPPC membranes show that RBSOG accurately reproduces key structural and dynamical observables with small batch sizes ($P\sim 100$). In large-scale benchmarks up to $10^7$ atoms on $2048$ CPU cores, RBSOG achieves about an order-of-magnitude speedup over particle-particle particle-mesh in electrostatic calculations for NPT simulations, together with a consistent $4\times$ variance reduction relative to random batch Ewald and excellent weak/strong scalability. Overall, RBSOG provides a practical and scalable route to reduce time-to-solution and communication cost in large-scale NPT simulations.

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

↑