Abstract: We explore the role of long-range interactions in atomistic machine-learning models by analyzing the effects on fitting accuracy, isolated cluster properties, and bulk thermodynamic properties. Such models have become increasingly popular in molecular simulations given their ability to learn highly complex and multi-dimensional interactions within a local environment; however, many of them fundamentally lack a description of explicit long-range interactions. In order to provide a well-defined benchmark system with precisely known pairwise interactions, we chose as the reference model a flexible version of the Extended Simple Point Charge (SPC/E) water model. Our analysis shows that while local representations are sufficient for predictions of the condensed liquid phase, the short-range nature of machine-learning models falls short in representing cluster and vapor phase properties. These findings provide an improved understanding of the role of long-range interactions in machine learning models and the regimes where they are necessary.
Introduction
Machine learning (ML) potentials are revolutionizing molecular dynamics (MD) by offering the accuracy of ab initio quantum mechanical calculations at a fraction of the computational cost. However, most current models—such as DeePMD or Behler-Parrinello networks—are fundamentally "short-sighted." They predict atomic energies and forces based strictly on a local spherical environment defined by a cutoff radius, typically around 6 Å.
This truncation means that explicit long-range interactions, most notably Coulombic electrostatics, are omitted from the model's architecture. While ML models attempt to learn these effects implicitly through local structural correlations, this study investigates whether this missing physics leads to significant errors in specific physical regimes. To provide an unambiguous answer, the authors utilize a classical, flexible water model (SPC/E-FW) as a perfectly known benchmark.
Methodology
The study employs an energy decomposition framework to isolate the impact of long-range electrostatics. Two models were trained and compared:
- DPMD-FR (Finite Range): A standard DeePMD model trained on the total energies and forces of the system within a 6 Å cutoff.
- DPMD-LR (Long Range): A hybrid model where exact long-range Coulombic interactions (calculated via a standard Particle-Particle Particle-Mesh solver) were explicitly subtracted from the training data. The neural network was trained only on the remaining short-range interactions, with the long-range component added back during simulation.
The models were trained on 1,525 configurations of SPC/E-FW water, including bulk liquid states (300–500 K) and isolated clusters, and tested against independent liquid configurations and specific cluster geometries (dimers and trimers).
Key Insights
The Contamination Effect
Forcing a short-range ML model to implicitly learn long-range forces degrades its ability to learn local physics. Long-range forces act as "noise" that contaminates the local representation. By stripping out electrostatics (DPMD-LR), the neural network fits the remaining short-range physics with significantly higher precision, achieving training errors an order of magnitude lower than the standard DPMD-FR model.
Screening in the Liquid Phase
Surprisingly, the short-range DPMD-FR model performs exceptionally well for bulk liquid water. In dense, disordered liquid environments, long-range electrostatic interactions are heavily screened. The local environment contains enough information to accurately predict liquid structure and dynamics, including density and diffusion coefficients.
Failure in the Vapor Phase
The limitations of the short-range approach are exposed in the vapor phase and isolated clusters. In these low-density regimes, molecules are far apart and electrostatic screening is absent. The short-range model completely misses long-tail interactions, leading to poor thermodynamic predictions. DPMD-LR, however, accurately captured potential energy surfaces for isolated dimers and trimers at distances beyond 6 Å and reproduced low-frequency vibrational modes in clusters.
Computational Performance
Integrating explicit long-range electrostatics involves a performance trade-off. In a 64-molecule condensed phase simulation, the DPMD-FR model ran at 9.5 ns/day, while the DPMD-LR model slowed to 5.0 ns/day. This highlights the need to balance physical accuracy with computational throughput depending on the target application.
Future Outlook
The study concludes that while local representations suffice for condensed phases, explicit long-range physics is mandatory for low-density regimes. Future work will extend this framework to ab initio data using environment-dependent charges (e.g., derived from Wannier centers) and investigate systems where long-range effects are even more critical, such as charged electrolyte solutions and solid ice phases.
Summary updated