SpeedForce: Hardware-Aligned Message Passing for Neural Network Interatomic Potentials
We introduce SpeedForce, a highly efficient neural network interatomic potential (NNIP) for molecular dynamics that is up to $72.7\times$ faster at calculating energies and atomic forces than leading NNIPs, with comparable or better accuracy. Molecular dynamics is widely used in chemistry, materials science, and biophysics. Its repeated evaluation of energies and forces makes per-evaluation cost critical. In NNIPs, this cost is dominated by message passing, which often generates large intermediate per-edge tensors. Writing and rereading these tensors in global memory for aggregation can create a major memory bottleneck. SpeedForce addresses this bottleneck by reducing global memory traffic during message passing and differentiation. Its message-passing block performs dense feature projections once per atom, requiring only simple pairwise operations per message. Messages can then be accumulated directly in on-chip registers, avoiding intermediate message storage in global memory. On a single NVIDIA H100 GPU, SpeedForce achieves up to two orders of magnitude speedup and is able to handle a 412,776-atom system, $8.8\times$ the largest system supported by any baseline. With only…
- arXiv
- 2612.04770
- Authors
- Matthew Raffel, Alex Mote, Aaron Goyal, Lizhong Chen
- Categories
- cs.LG