MTP-GPU: Accelerating moment tensor potential evaluation and training on graphics processors

Universal machine-learning potentials can describe almost any chemistry, but their cost restricts them to modest system sizes and time scales. For large-scale molecular dynamics (MD), compact system-specific potentials such as moment tensor potentials (MTPs) remain the practical choice, but their speed advantage shrinks at high model levels. We present MTP-GPU, a CUDA implementation of MTP evaluation in LAMMPS and potential fitting in MLIP-3, which reaches 0.55 $μ$s/day for a 1000-atom system with a level-12 potential on a single H200 and 0.26 $μ$s/day on a lower-cost RTX 4500 Ada. The speedup comes from avoiding storage of the moment Jacobian, evaluating independent contractions in parallel at each dependency level and choosing shared- or global-memory storage at run time, so that large models are not limited by shared memory. Loss gradients and least-squares assembly for fitting also run on the GPU, and an optional single-precision mode is available for MD. We benchmarked MD against MTP-Kokkos for metals, silicon, silica and a Ta--V--Cr--W alloy. MTP-GPU is 2--3 times faster for level-16 metal potentials on A100 and H200 GPUs and leads in all tested comparisons at levels 16 and above, whereas MTP-Kokkos is faster for the level-8 alloy model. Single precision gives a further 1.5-fold speedup on data-centre GPUs and a 7-fold speedup on an RTX 4500 Ada, and for a level-24 model GPU least-squares assembly almost halves the total fitting time. The same algorithm also yields a faster CPU evaluator: on AMD EPYC Zen 4 processors it runs level-16 metal potentials 3.4--6.2 times faster than MLIP-2 and 2.1--3.6 times faster than the CPU version of MTP-Kokkos. Finally, for the multicomponent alloy we relate accuracy to MD cost from level 4 to 28, giving a practical basis for choosing the model level.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
DOI
https://doi.org/10.48550/arxiv.2612.03837
Primary Topic
Parallel Computing and Optimization Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

MTP-GPU: Accelerating moment tensor potential evaluation and training on graphics processors

Orekhov Nikita, Alexander Shapeev, Pavel Maslov, Mikhail Logunov
arXiv
Parallel Computing and Optimization Techniques
preprint

MTP-GPU: Accelerating moment tensor potential evaluation and training on graphics processors

Orekhov Nikita, Alexander Shapeev, Pavel Maslov, Mikhail Logunov
preprint en

Abstract

Universal machine-learning potentials can describe almost any chemistry, but their cost restricts them to modest system sizes and time scales. For large-scale molecular dynamics (MD), compact system-specific potentials such as moment tensor potentials (MTPs) remain the practical choice, but their speed advantage shrinks at high model levels. We present MTP-GPU, a CUDA implementation of MTP evaluation in LAMMPS and potential fitting in MLIP-3, which reaches 0.55 $μ$s/day for a 1000-atom system with a level-12 potential on a single H200 and 0.26 $μ$s/day on a lower-cost RTX 4500 Ada. The speedup comes from avoiding storage of the moment Jacobian, evaluating independent contractions in parallel at each dependency level and choosing shared- or global-memory storage at run time, so that large models are not limited by shared memory. Loss gradients and least-squares assembly for fitting also run on the GPU, and an optional single-precision mode is available for MD. We benchmarked MD against MTP-Kokkos for metals, silicon, silica and a Ta--V--Cr--W alloy. MTP-GPU is 2--3 times faster for level-16 metal potentials on A100 and H200 GPUs and leads in all tested comparisons at levels 16 and above, whereas MTP-Kokkos is faster for the level-8 alloy model. Single precision gives a further 1.5-fold speedup on data-centre GPUs and a 7-fold speedup on an RTX 4500 Ada, and for a level-24 model GPU least-squares assembly almost halves the total fitting time. The same algorithm also yields a faster CPU evaluator: on AMD EPYC Zen 4 processors it runs level-16 metal potentials 3.4--6.2 times faster than MLIP-2 and 2.1--3.6 times faster than the CPU version of MTP-Kokkos. Finally, for the multicomponent alloy we relate accuracy to MD cost from level 4 to 28, giving a practical basis for choosing the model level.

arXiv
P.N. Lebedev Physical Institute of the Russian Academy of Sciences (RU), Skolkovo Institute of Science and Technology (RU), Centre of Advanced Studies (RU)
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon