GPU加速的Python阴影分子动力学电荷平衡方法
GPU-Accelerated Charge-Equilibration for Shadow Molecular Dynamics in Python
AI总结:
本文提出一种基于电荷平衡模型的GPU加速Python阴影分子动力学实现,避免迭代收敛问题,保持长期能量稳定,支持数十万原子系统的快速电荷平衡。
摘要:
随着机器学习在原子间势能领域的近期进展,Python已成为探索新思想的首选编程语言。虽然机器学习势能通常基于Python框架开发,但现有的分子动力学软件主要使用低级语言编写。这种差异使得将机器学习势能集成到这些分子动力学库中变得复杂。此外,机器学习势能通常关注局部特征,由于计算复杂性,往往忽略长程静电相互作用。这是一个关键限制,因为应用可能需要长程静电甚至柔性电荷以达到所需精度。近期的电荷平衡模型可以解决这些问题,但它们需要迭代求解器来为原子分配松弛的柔性电荷。传统实现还要求非常严格的收敛以实现长期稳定性,这进一步增加了计算成本。在本工作中,我们提出了一种可扩展的Python实现,基于电荷平衡模型的近期提出的阴影分子动力学方案,该方案避免了收敛问题,同时保持了长期能量稳定性和可观测量属性的准确性。为了提供功能完善且用户友好的Python库,我们实现了高效的邻居列表算法、Particle Mesh Ewald和传统Ewald求和技术,利用Triton和PyTorch的GPU加速能力。我们将这些方法与基于Python的阴影分子动力学方案集成,使得涉及数十万原子系统的可扩展机器学习势能能够实现快速电荷平衡。
英文摘要:
With recent advancements in machine learning for interatomic potentials, Python has become the go-to programming language for exploring new ideas. While machine-learning potentials are often developed in Python-based frameworks, existing molecular dynamics software is predominantly written in lower-level languages. This disparity complicates the integration of machine learning potentials into these molecular dynamics libraries. Additionally, machine learning potentials typically focus on local features, often neglecting long-range electrostatics due to computational complexities. This is a key limitation as applications can require long-range electrostatics and even flexible charges to achieve the desired accuracy. Recent charge equilibration models can address these issues, but they require iterative solvers to assign relaxed flexible charges to the atoms. Conventional implementations also demand very tight convergence to achieve long-term stability, further increasing computational cost. In this work, we present a scalable Python implementation of a recently proposed shadow molecular dynamics scheme based on a charge equilibration model, which avoids the convergence problem while maintaining long-term energy stability and accuracy of observable properties. To deliver a functional and user-friendly Python-based library, we implemented an efficient neighbor list algorithm, Particle Mesh Ewald, and traditional Ewald summation techniques, leveraging the GPU-accelerated power of Triton and PyTorch. We integrated these approaches with the Python-based shadow molecular dynamics scheme, enabling fast charge equilibration for scalable machine learning potentials involving systems with hundreds of thousands of atoms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。