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 (29)
- Canonical sampling through velocity-rescaling
- Gaussian Approximation Potentials: the accuracy of quantum mechanics, without the electrons
- Fast and Accurate Modeling of Molecular Atomization Energies with Machine Learning
- Deep Potential Molecular Dynamics: a scalable model with the accuracy of quantum mechanics
- SchNet - a deep learning architecture for molecules and materials
- Solving the Quantum Many-Body Problem with Artificial Neural Networks
- PhysNet: A Neural Network for Predicting Energies, Forces, Dipole Moments and Partial Charges
- By-passing the Kohn-Sham equations with machine learning
- How to mesh up Ewald sums (I): A theoretical and numerical comparison of various particle mesh routines
- Nearsightedness of Electronic Matter
- Tensor field networks: Rotation- and translation-equivariant neural networks for 3D point clouds
- A Fourth-Generation High-Dimensional Neural Network Potential with Accurate Electrostatics Including Non-local Charge Transfer
- Deep neural network solution of the electronic Schrödinger equation
- SchNet: A continuous-filter convolutional neural network for modeling quantum interactions
- How to mesh up Ewald sums (II): An accurate error estimate for the P3M algorithm
- SpookyNet: Learning Force Fields with Electronic Degrees of Freedom and Nonlocal Effects
- Symmetry-Adapted Machine-Learning for Tensorial Properties of Atomistic Systems
- A deep potential model with long-range electrostatic interactions
- Accurate Interatomic Force Fields via Machine Learning with Covariant Kernels
- Incorporating long-range physics in atomic-scale machine learning
- Accurate molecular polarizabilities with coupled-cluster theory and machine learning
- Self-Consistent Determination of Long-Range Electrostatics in Neural Network Potentials
- MMM2D: A fast and accurate summation method for electrostatic interactions in 2D slab geometries
- Accurate molecular dynamics and nuclear quantum effects at low cost by multiple steps in real and imaginary time: using density functional theory to accelerate wavefunction methods
- "The numerical accuracy of truncated Ewald sums for periodic systems with long-range Coulomb interactions"
- SE(3)-equivariant prediction of molecular wavefunctions and electronic densities
- Accelerating fourth-generation machine learning potentials by quasi-linear scaling particle mesh charge equilibration
- 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