Abstract
Machine learning interatomic potentials (IPs) can provide accuracy close to that of first-principles methods, such as density functional theory (DFT), at a fraction of the computational cost. This greatly extends the scope of accurate molecular simulations, providing opportunities for quantitative design of materials and devices on scales hitherto unreachable by DFT methods. However, machine learning IPs have a basic limitation in that they lack a physical model for the phenomena being predicted and therefore have unknown accuracy when extrapolating outside their training set. In this paper, we propose a class of Dropout Uncertainty Neural Network (DUNN) potentials that provide rigorous uncertainty estimates that can be understood from both Bayesian and frequentist statistics perspectives. As an example, we develop a DUNN potential for carbon and show how it can be used to predict uncertainty for static and dynamical properties, including stress and phonon dispersion in graphene. We demonstrate two approaches to propagate uncertainty in the potential energy and atomic forces to predicted properties. In addition, we show that DUNN uncertainty estimates can be used to detect configurations outside the training set, and in some cases, can serve as a predictor for the accuracy of a calculation.
Introduction
In materials science, researchers often face a stark trade-off: the high accuracy of Density Functional Theory (DFT) comes at a massive computational cost, while traditional Interatomic Potentials (IPs) offer speed but lack physical fidelity. Machine Learning IPs (ML-IPs) have emerged as a powerful middle ground, offering DFT-level accuracy for a fraction of the price. However, ML-IPs are often "black boxes" that excel at interpolation but fail silently during extrapolation—predicting properties for configurations far from their training data.
This research introduces Dropout Uncertainty Neural Network (DUNN) potentials to address this "Achilles heel." By repurposing "dropout"—a common deep learning regularization technique—as a tool for Bayesian inference, the authors provide a way to detect when a simulation is entering unreliable territory.
Methodology: The DUNN Potential
The core innovation of the DUNN potential is the utilization of Monte Carlo Dropout. While dropout is typically used during training to prevent overfitting by randomly disabling neurons, the authors keep it active during the prediction phase.
By running the same input through the network multiple times with different random neurons disabled, the model creates an internal "ensemble." The standard deviation of these predictions provides a rigorous measure of uncertainty. This approach is significantly more efficient than traditional "committee" models, which require training multiple independent neural networks.
Uncertainty Propagation
To move from atomic-level uncertainty to macroscopic properties like stress or heat capacity, the paper proposes two methods:
- Direct Sampling: Running multiple independent simulations (accurate but computationally intensive).
- Indirect Propagation: A faster method using linearization and covariance matrices to propagate uncertainty through a single simulation, achieving a ~40x speedup.
Data and Validation
The model was trained on carbon systems, specifically DFT-calculated energies and forces for monolayer graphene, bilayer graphene, and graphite under various strains and temperatures. To test out-of-distribution (OOD) detection, the researchers used diamond configurations. Since the model was not trained on diamond's 3D bonding, it served as a benchmark for whether the model could "know that it doesn't know."
Key Results and Insights
The DUNN potential demonstrated high accuracy in predicting the vibrational properties of graphene. As shown in the phonon dispersion spectrum, the DUNN potential matches DFT results much more closely than traditional empirical models like REBO.
Crucially, the model provides "error bands" (shaded regions) that quantify the prediction's reliability. Other key findings include:
- OOD Detection: Uncertainty spiked significantly when the model encountered diamond, acting as an automated "danger" signal for extrapolation.
- Precision as a Proxy for Accuracy: Empirical results showed that the calculated uncertainty often provides a numerical bound on the actual prediction error.
- Stress Prediction: In molecular dynamics simulations under strain, uncertainty increased as the lattice was stretched further from its equilibrium training state.
Conclusion and Future Directions
While the DUNN potential offers a robust framework for uncertainty quantification, some limitations remain. The fast "indirect propagation" method relies on linearization, which may struggle with highly nonlinear properties. Additionally, in cases of extreme extrapolation, the model might eventually underestimate its own error.
Future work points toward active learning workflows. By automatically identifying high-uncertainty configurations during a simulation, the system could trigger new DFT calculations to "self-improve" the model on the fly, creating a more autonomous and reliable discovery pipeline for new materials.
Summary updated