Fast and flexible long-range models for atomistic machine learning
arXiv:2412.03281 · doi:10.1063/5.0251713
Abstract
Most atomistic machine learning (ML) models rely on a locality ansatz, and decompose the energy into a sum of short-ranged, atom-centered contributions. This leads to clear limitations when trying to describe problems that are dominated by long-range physical effects - most notably electrostatics. Many approaches have been proposed to overcome these limitations, but efforts to make them efficient and widely available are hampered by the need to incorporate an ad hoc implementation of methods to treat long-range interactions. We develop a framework aiming to bring some of the established algorithms to evaluate non-bonded interactions - including Ewald summation, classical particle-mesh Ewald (PME), and particle-particle/particle-mesh (P3M) Ewald - into atomistic ML. We provide a reference implementation for pyTorch as well as an experimental one for JAX. Beyond Coulomb and more general long-range potentials, we introduce purified descriptors which disregard the immediate neighborhood of each atom, and are more suitable for general long-ranged ML applications. Our implementations are fast, feature-rich, and modular: They provide an accurate evaluation of physical long-range forces that can be used in the construction of (semi)empirical baseline potentials; they exploit the availability of automatic differentiation to seamlessly combine long-range models with conventional, local ML schemes; and they are sufficiently flexible to implement more complex architectures that use physical interactions as building blocks. We benchmark and demonstrate our torch-pme and jax-pme libraries to perform molecular dynamics simulations, to train ML potentials, and to evaluate long-range equivariant descriptors of atomic structures.
References in corpus (8)
- Canonical sampling through velocity-rescaling
- Nearsightedness of Electronic Matter
- SchNet: A continuous-filter convolutional neural network for modeling quantum interactions
- Symmetry-Adapted Machine-Learning for Tensorial Properties of Atomistic Systems
- A deep potential model with long-range electrostatic interactions
- SE(3)-equivariant prediction of molecular wavefunctions and electronic densities
- Particle-Particle, Particle-Scaling function (P3S) algorithm for electrostatic problems in free boundary conditions
- Prediction rigidities for data-driven chemistry
Cited by in corpus (4)
- Metatensor and metatomic: foundational libraries for interoperable atomistic machine learning
- Machine learning many-body potentials for charged colloids in primitive 1:1 electrolytes
- A unified machine-learning framework for ab initio multiscale modeling of liquids
- Reproducible Orchestration of Best Practices for Reaction Path Optimization with the Nudged Elastic Band