Combining Physics and Machine Learning: Hybrid Models for Predicting Interatomic Potentials

Kaoutar El Haloui, Nicolas Thome, Nicolas SisouratAtoms 2025 · DOI

TL;DR

This paper explores hybrid models that combine physics-based potentials with neural networks to predict molecular potential energy surfaces (PES). These hybrid approaches significantly outperform purely data-driven neural networks and rigid physics-based models, especially when training data is scarce, by leveraging both physical intuition and data adaptability.

What Problem Does This Paper Address?

Accurately modeling the potential energy surface (PES) of molecules is crucial for simulating their behavior, particularly in quantum dynamics. Traditional methods like ab initio calculations are highly accurate but computationally expensive for large-scale simulations. On the other hand, simple physics-based models (e.g., Morse potential) are computationally cheap but often lack the flexibility to accurately describe complex phenomena like excited states or deviations from ideal behavior. Machine learning (ML) models, specifically neural networks (NNs), offer universal approximation capabilities but typically require vast amounts of training data to achieve high accuracy and can struggle with extrapolation. This paper addresses the challenge of creating accurate and efficient PES models by investigating hybrid approaches that merge the strengths of physics-based models and ML.

Methods

The core idea is to decompose the PES into a physically informed component and a data-driven correction. The authors compare three hybrid models:

  • APHYNITY: This model uses a one-step training approach where a simplified physical model (a Morse potential in this case) and a neural network are trained simultaneously. A penalty term is added to the loss function to encourage the physical model's parameters to remain close to their prior physical knowledge.
  • Sequential Phy-ML: This model employs a two-step training process. First, the parameters of the physical model are optimized independently. Then, a neural network is trained to learn the residual error, i.e., the discrepancies not captured by the optimized physical model.
  • PhysiNet: This model also uses a one-step training approach but with adaptive weighting coefficients for the physical and neural network components, allowing for a more dynamic balance between the two.

All models use a Morse potential as the initial physics-based component, with its parameters (dissociation energy $D_e$, equilibrium bond length $R_e$, and width parameter $a$) being either fixed or learned. The neural network component is a standard feedforward network with ReLU activation functions.

Datasets

The study uses ab initio potential energy curves for the ground and first excited states of the hydrogen molecule (H₂). These curves were generated using full configuration interaction with the GAMESS-US program and an aug-cc-pVDZ basis set. The data was split into training and testing sets, with the models being trained on progressively larger fractions of the dataset (from 5% to 40%) to evaluate performance as a function of data availability.

Key Insights and Ideas

  • Hybrid models excel in low-data regimes: When training data is limited, hybrid models significantly outperform purely neural network approaches. This is because the built-in physical prior guides the learning process, preventing the model from overfitting or making unrealistic predictions.
  • Physics incorporation matters for parameter recovery: Models that explicitly constrain or optimize physical parameters (like APHYNITY and Sequential Phy-ML) are better at recovering accurate physical parameters of the underlying potential, even with limited data. PhysiNet, with its adaptive weighting, struggles more with this.
  • Franck-Condon factors validate physical consistency: Evaluating models using Franck-Condon factors (which measure the overlap between vibrational wavefunctions) provides a deeper insight into the physical realism of the predicted PES. Hybrid models, particularly APHYNITY and Sequential Phy-ML, produce curves that are more physically consistent in this regard.
  • Excited states pose a greater challenge: For the first excited state of H₂, which has a double-well potential, hybrid models require more data to achieve comparable performance to the ground state. This is because the simple Morse potential is a less informative prior for such complex shapes.

Key Results

  • RMSE Reduction: Hybrid models (APHYNITY and Sequential Phy-ML) consistently achieved lower Root Mean Square Errors (RMSE) on the testing set compared to standalone neural networks and the pure Morse potential, especially as the training dataset size increased. For the ground state, they even surpassed the physical model at higher data fractions.
  • Parameter Accuracy: APHYNITY and Sequential Phy-ML demonstrated remarkable accuracy in recovering the physical parameters ($D_e$, $R_e$, $a$) of the Morse potential, with deviations often in the order of $10^{-3}$ to $10^{-4}$ even at low data fractions (5%). PhysiNet showed significantly larger deviations, particularly for the width parameter $a$.
  • Franck-Condon Factor Accuracy: The MSE of Franck-Condon factors (MSEFCf) was generally lower for APHYNITY and Sequential Phy-ML compared to the neural network, indicating more physically realistic transition probabilities.

Limitations and Future Work

  • Informativeness of the Physical Model: The performance of hybrid models is dependent on how well the chosen physical model approximates the true potential. For complex potentials (like the double-well excited state), a simple Morse potential is less informative, requiring more data for the ML component to compensate.
  • Computational Cost: While the training cost is noted as low (seconds to half an hour on a laptop), the paper doesn't extensively compare the computational efficiency of the different hybrid models.
  • Future Directions: The authors suggest adapting these models to larger systems (triatomic molecules), exploring different physics-based potentials beyond the Morse potential, and investigating Physics-Informed Neural Networks (PINNs) for PES reconstruction. They also note that while covalent bonds are well-described by Morse potentials, ionic or Van der Waals interactions might benefit from different physics-based priors, though the data-driven component would still provide accuracy.

Summary updated

Abstract

Constructing accurate Potential Energy Surfaces (PES) is a central task in molecular modeling, as it determines the forces governing nuclear motion and enables reliable quantum dynamics simulations. While ab initio methods can provide accurate PES, they are computationally prohibitive for extensive applications. Alternatively, analytical physics-based models such as the Morse potential offer efficient solutions but are limited by their rigidity and poor generalization to excited states. In recent years, neural networks have emerged as powerful tools for determining PES, due to their universal function approximation capabilities, but they require large training datasets. In this work, we investigate hybrid-residual modeling approaches that combine physics-based potentials with neural network corrections, aiming to leverage both physical priors and data adaptability. Specifically, we compare three hybrid models—APHYNITY, Sequential Phy-ML, and PhysiNet—in their ability to reconstruct the potential energy curve of the ground and first excited states of the hydrogen molecule. Each model integrates a simplified physical representation with a neural component that learns the discrepancies from accurate reference data. Our findings reveal that hybrid models significantly outperform both standalone neural networks and pure physics-based models, especially in low-data regimes. Notably, APHYNITY and Sequential Phy-ML exhibit better generalization and maintain accurate estimation of physical parameters, underscoring the benefits of explicit physics incorporation.
BibTeX
@inproceedings{haloui2025combining,
  author = {Kaoutar El Haloui and Nicolas Thome and Nicolas Sisourat},
  title = {{Combining Physics and Machine Learning: Hybrid Models for Predicting Interatomic Potentials}},
  booktitle = {Atoms},
  year = {2025},
  doi = {10.3390/atoms13110089},
}
Figure