SpeedForce: Hardware-Aligned Message Passing for Neural Network Interatomic Potentials

Matthew Raffel, Alex Mote, Aaron Goyal, Lizhong ChenarXiv 2026

TL;DR

Molecular dynamics simulations are often bottlenecked not by the math, but by the sheer cost of shuffling giant intermediate tensors back and forth in GPU memory. SpeedForce redesigns neural network interatomic potentials from the hardware up, keeping per-edge message passing entirely inside fast on-chip GPU registers. The result is a 0.94M-parameter model that matches or beats leading baselines in accuracy while running up to 72.7× faster and simulating 8.8× larger atomic systems on a single H100 GPU.

What Problem Does This Paper Address?

To simulate how molecules fold, react, or fracture, researchers run molecular dynamics (MD) over millions of tiny time steps—recalculating the system's potential energy and atomic forces at every single step. Neural network interatomic potentials (NNIPs) have made this feasible by learning to predict these quantities at a cost that scales linearly with the number of atoms.

In practice, however, modern NNIPs hit a wall. They represent atoms as nodes in a spatial graph, where every pair of atoms within a cutoff radius shares a directed edge. If $N$ atoms each have $\bar{n}$ neighbors, there are $E = \bar{n}N$ edges. Standard message-passing layers compute a message for every edge, write those massive intermediate tensors to off-chip GPU global memory, and then read them back to aggregate at each atom. This memory traffic saturates bandwidth, leaves GPU compute units waiting idle, and quickly exhausts VRAM—forcing researchers to shrink their simulations or settle for shorter timescales. Worse, because forces are the negative gradient of energy with respect to atomic positions, both inference and force-matching training require differentiating through these memory-heavy operations.

Methods

SpeedForce tackles this bottleneck by co-designing the neural architecture and its GPU kernels so that edge-level intermediates never touch global memory.

Figure 1. One layer of SpeedForce. The two atomic states run left to right and carry the residual path. SFMP reads both states and the two per-edge quantities, and writes only the directional state. The gated equivariant update reads both and writes both, and is the only route by which the arrangement recorded in ⃗V reaches X.
  • Decoupled Message Passing (SFMP): Each atom maintains an invariant scalar state ($\mathbf{X}$) and an equivariant directional state ($\vec{\mathbf{V}}$). In the SpeedForce Message Passing (SFMP) block, expensive dense linear projections (queries, keys, and values) are computed once per atom rather than per edge. Per-edge work is reduced to lightweight dot products, radial gating, and channelwise scalings.
  • Independent Sigmoid Gating: Instead of using a neighborhood softmax—which forces neighboring atoms to compete for a fixed weight—SpeedForce uses an independent sigmoid per edge, modulated by a smooth radial envelope. This ensures a distant atom entering the cutoff radius doesn't artificially weaken an existing chemical bond.
  • Fused Triton Kernels (Forward, Backward, and Second-Order): The authors implement custom fused GPU kernels in Triton using a Compressed Sparse Row (CSR) neighbor layout. Each destination atom is assigned to a thread block, which streams neighbor features, computes edge messages on the fly in on-chip registers, and immediately accumulates them. During the backward pass (for forces) and second-order backward pass (for force-matching training), intermediates are recomputed on the fly rather than stored, eliminating off-chip edge allocations.
  • Gated Equivariant Update: After SFMP updates the directional state, a standard gated equivariant update block mixes that 3D geometric information back into the scalar state for final energy prediction.

Datasets

SpeedForce is evaluated on three density functional theory (DFT) benchmarks:

  • Zeolite (energy MAE in meV per configuration; force MAE in meV/Å)
  • Formate Decomposition (energy MAE in meV/atom; force MAE in meV/Å)
  • Defective Bilayer Graphene (energy MAE in meV/atom; force MAE in meV/Å)

For scaling and memory benchmarks, the authors periodically replicate a zeolite unit cell to test systems up to 412,776 atoms (and over 1 million atoms with activation checkpointing). They also use synthetic fully connected graphs ($N = 16$ to $1,024$) on an NVIDIA RTX 5090 to isolate the effect of kernel fusion.

Key Insights and Ideas

  • Algorithm-hardware co-design beats raw FLOP reduction: Simply reducing the operation count of message passing doesn't guarantee speedups if kernels still exchange large edge tensors through global memory. Fusing message construction, aggregation, and differentiation into a single pass is what unlocks GPU compute.
  • Recomputation is cheaper than memory traffic: Recomputing lightweight edge intermediates on the fly during backpropagation trades a small amount of extra arithmetic for massive reductions in memory footprint and bandwidth saturation.
  • Simpler equivariance can match heavy machinery: A lean scalar–vector formulation with multi-head radial/chemical gating captures complex atomic environments just as well as—or better than—models relying on expensive spherical harmonics or explicit local coordinate frames.

Key Results

  • Accuracy with Fewer Parameters: Using just 0.94M parameters (fewer than all baselines, including NequIP, MACE, MatterSim, GrACE, and AlphaNet), SpeedForce achieves the lowest energy MAE on Zeolite (15.7 meV) and Defected Graphene (1.1 meV/atom), the lowest force MAE on Formate Decomposition (34.8 meV/Å), and matches the best force MAE on Zeolite (15.9 meV/Å).
  • Speedup & Throughput: On a single 80 GB NVIDIA H100, SpeedForce achieves up to a 72.7× speedup over NequIP (at 16,464 atoms) and an 8.6× speedup over AlphaNet at 47,040 atoms (48 ms vs. 412 ms). Its peak throughput reaches $1.03 \times 10^6$ atoms/s (9.0× AlphaNet).
  • Memory & Scale: SpeedForce evaluates a 412,776-atom zeolite system in ~402 ms—8.8× larger than the largest system any baseline could fit. In the RTX 5090 fusion ablation at 1,024 atoms, kernel fusion cuts forward and backward peak memory by 117.7× and 69.2×, respectively, while boosting throughput by 38.7× and 13.1×.

Limitations and Future Work

  • Activation Memory at Extreme Scales: Even with edge intermediates eliminated, retaining forward activations for energy differentiation still contributes to peak GPU memory at massive system sizes. The authors show that activation checkpointing mitigates this, pushing a single H100 to 1,016,064 atoms at a 5 Å cutoff.
  • Scaling Up Model Capacity: Because SpeedForce enjoys a 9.0× throughput margin over the fastest baseline at just 0.94M parameters, the authors note that exploring larger versions of SpeedForce is a promising direction to push accuracy even further while staying faster than existing models.

Summary updated

BibTeX
@misc{raffel2026speedforce,
  author = {Matthew Raffel and Alex Mote and Aaron Goyal and Lizhong Chen},
  title = {{SpeedForce: Hardware-Aligned Message Passing for Neural Network Interatomic Potentials}},
  year = {2026},
  eprint = {2612.04770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.04770},
}
Figure