Fast and flexible long-range models for atomistic machine learning
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, and particle–particle/particle–mesh 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 that disregard the immediate neighborhood of each atom and are more suitable for general long-range 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, train ML potentials, and evaluate long-range equivariant descriptors of atomic structures.
Article Details
Journal Info
The Journal of Chemical Physics
American Institute of Physics
Authors (8)
Philip Loche
Laboratory of Computational Science and Modeling, Institute of Materials, École Polytechnique Fédérale de Lausanne , 1015 Lausanne,
Kevin K. Huguenin-Dumittan
Laboratory of Computational Science and Modeling, IMX, École Polytechnique Fédérale de Lausanne 1 , 1015 Lausanne,
Melika Honarmand
Laboratory of Computational Science and Modeling, IMX, École Polytechnique Fédérale de Lausanne 1 , 1015 Lausanne,
Qianjun Xu
Laboratory of Computational Science and Modeling, IMX, École Polytechnique Fédérale de Lausanne 1 , 1015 Lausanne,
Egor Rumiantsev
Laboratory of Computational Science and Modeling, IMX, École Polytechnique Fédérale de Lausanne 1 , 1015 Lausanne,
Wei Bin How
Laboratory of Computational Science and Modeling, IMX, École Polytechnique Fédérale de Lausanne 1 , 1015 Lausanne,
Marcel F. Langer
Laboratory of Computational Science and Modeling, Institute of Materials, École Polytechnique Fédérale de Lausanne , 1015 Lausanne,
Michele Ceriotti
Laboratory of Computational Science and Modeling, Institute of Materials, École Polytechnique Fédérale de Lausanne 1 , 1015 Lausanne,