arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2611.06122cs.DCcs.AIphysics.bio-ph
收藏

超越截断的从头算精度:数千万原子尺度的分布式消息传递等变注意力机制

Ab Initio Accuracy Beyond the Cutoff: Distributed Message-Passing Equivariant Attention at Tens-of-Millions-of-Atom Scale

IQuest Research(IQuest 研究院)

Allex Kan, Ji Zhang, Hao Yin, Hao Li, Owen Fu, Xunxing Chen, Lin Huang, Zion Wang, Lucas Li, Jiajun Cheng, Arthur Jiang, Junping Zhao, Jia Zhang

AI总结:

本研究提出分布式运行时Tessera,解决等变消息传递Transformer在数千万原子尺度模拟中的通信与缩放问题,实现高效分子动力学模拟,在大规模GPU集群上维持高缩放效率与稳定模拟结果。

摘要:

分子动力学从原子力和轨迹积分预测分子运动。密度泛函理论(DFT)提供从头算力,但其O(N³)的计算成本将模拟限制在数千个原子;经验力场可扩展至数百万个原子,但无法捕捉键断裂和电荷转移。等变消息传递Transformer以线性成本学习从头算势能,堆叠层将信息传播超出单个截断范围,使四层的感受野可达23Å。在这一前沿,规模受通信限制:层间跨设备交换边界特征,力反向传播重复该交换,移动原子会改变邻域图和张量形状。我们提出Tessera,一种分布式运行时,可在重建之间固定工作负载形状。它沿空间填充曲线将原子排序为等数分片,确保每个秩的原子数和张量形状相同。对等集规模为K^0.5,而非K。保守邻域皮肤在更新间保留拓扑,使每次重建间隔可作为一个CUDA Graph重放。融合内核、三级邻域搜索和重叠的All-to-All操作完善了该设计。在512个GPU上,Tessera维持3070万个原子,弱缩放效率达89.7%(每GPU三种负载下为77%-90%);随着机器和问题规模扩大16倍,每步时间增长1.11-1.29倍。图复用将全步时间缩短1.87倍。在设备数量增加8倍时,邻域搜索成本增长1.7倍,而Morton顺序的该成本增长3.0倍。在1024万原子的盐溶液模拟中,NVE能量漂移为0.42μeV/原子/ps(持续10ps),结构与串行参考一致。1006万原子的诺如病毒衣壳在256个A100 GPU上以约8ps/天的速度维持100ps的NVT模拟,超过20万步,无键断裂或异常近邻对,使用三种编译变体,无图中断或急切回退。

英文摘要:

Molecular dynamics predicts molecular motion from atomic forces and trajectory integration. Density functional theory (DFT) provides first-principles forces, but its $O(N^3)$ cost limits simulations to thousands of atoms; empirical force fields scale to millions but miss bond breaking and charge transfer. Equivariant message-passing Transformers learn the ab initio potential at linear cost. Stacked layers propagate information beyond a single cutoff, giving four layers a receptive field up to 23Å. At this frontier, scale is limited by communication: layers exchange boundary features across devices, force backpropagation repeats the exchange, and moving atoms change neighbor graphs and tensor shapes. We present Tessera, a distributed runtime that fixes workload shapes between rebuilds. It sorts atoms along a space-filling curve into equal-count shards, ensuring identical atom counts and tensor shapes per rank. Peer sets scale as $K^{0.5}$, not $K$. A conservative neighbor skin preserves topology across updates, enabling each rebuild interval to replay as one CUDA Graph. Fused kernels, three-level neighbor search, and overlapped All-to-All complete it. On 512 GPUs, Tessera sustains 30.7M atoms at 89.7% weak-scaling efficiency (77--90% across three per-GPU loads); per-step time rises 1.11--1.29x as machine and problem grow 16x. Graph reuse cuts full-step time $1.87\times$. Across an $8\times$ device increase, neighbor-search cost grows $1.7\times$, versus $3.0\times$ for Morton order. In a live $10.24$M-atom salt solution, NVE energy drift is $0.42\,μ$eV/atom/ps over $10$ ps, and structure matches a serial reference. A 10.06M-atom Norovirus capsid sustains 100 ps of NVT at $\approx 8$ ps/day on 256 A100 GPUs. Over 200,000 steps, it has no broken bonds or anomalously close pairs and uses three compiled variants, with no graph breaks or eager fallbacks.

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

↑