Abstract
Machine learning interatomic potentials (MLIPs) enable atomistic simulations with near first-principles accuracy at substantially reduced computational cost, making them powerful tools for large-scale materials modeling. The accuracy of MLIPs is typically validated on a held-out dataset of ab initio energies and atomic forces. However, accuracy on these small-scale properties does not guarantee reliability for emergent, system-level behavior—precisely the regime where atomistic simulations are most needed, but for which direct validation is often computationally prohibitive. As a practical heuristic, predictive precision—quantified as inverse uncertainty—is commonly used as a proxy for accuracy, but its reliability remains poorly understood, particularly for system-level predictions. In this work, we systematically assess the relationship between predictive precision and accuracy in both in-distribution (ID) and out-of-distribution (OOD) regimes, focusing on ensemble-based uncertainty quantification methods for neural network potentials, including bootstrap, dropout, random initialization, and snapshot ensembles. We find that uncertainty estimates can behave counterintuitively in OOD settings, often plateauing or even decreasing as predictive errors grow. These results highlight fundamental limitations of current uncertainty quantification approaches and underscore the need for caution when using predictive precision as a stand-in for accuracy in large-scale, extrapolative applications.
Introduction: The Precision-Accuracy Gap
Machine learning interatomic potentials (MLIPs) map atomic structures to potential energies and forces, speeding up molecular simulations by orders of magnitude compared to first-principles methods like Density Functional Theory (DFT). Typically, MLIPs are trained and validated on small-scale properties, such as the energies and forces of small atomic clusters. However, the true utility of MLIPs lies in simulating large-scale, emergent material properties like thermal conductivity or defect dynamics.
Validating accuracy at these massive scales using DFT is often computationally prohibitive. Consequently, researchers frequently rely on "predictive precision"—quantified via uncertainty estimation—as a proxy for accuracy. The underlying assumption is that if a model is highly certain about its prediction (high precision), it is likely accurate. This study investigates whether this assumption holds, particularly when models encounter out-of-distribution (OOD) atomic configurations.
Methodology
The authors trained Neural Network Interatomic Potentials (NNIPs) using Atom-Centered Symmetry Functions (ACSFs) to represent local atomic environments. To estimate predictive precision, they compared four popular ensemble-based Uncertainty Quantification (UQ) methods:
- Bootstrap: Training multiple models on resampled datasets.
- Monte Carlo Dropout: Randomly deactivating network nodes during training and inference to create an ensemble of sub-networks.
- Random Initialization: Training multiple models with identical architectures but different starting weights.
- Snapshot Ensembles: Saving model checkpoints at different epochs during a single training run to form an ensemble.
These methods were evaluated on a carbon dataset containing 4,788 configurations, including diamond, graphite, and graphene. Performance was assessed on both In-Distribution (ID) data (held-out test sets) and OOD data (large-scale properties like energy cold curves and phonon dispersion relations).
Key Findings: The Extrapolation Anomaly
The study reveals a critical disconnect between precision and accuracy in OOD scenarios. While uncertainty serves as a reasonable proxy for error within the training distribution, it fails dramatically during extrapolation.
The Failure of Uncertainty OOD
The most significant finding is the "extrapolation anomaly": as a model moves further from its training data, uncertainty does not necessarily increase. In many cases, uncertainty was observed to plateau or even decrease while prediction errors skyrocketed. For example, when pushed into extreme lattice compression, models might output wildly inaccurate energies while reporting near-zero uncertainty. This suggests that ensemble methods, which primarily capture epistemic (model) uncertainty, fail to represent uncertainty in regions completely devoid of training data.
Method-Specific Observations
- Bootstrap Overconfidence: The Bootstrap method proved highly overconfident. Because the training data consisted of sequential molecular dynamics snapshots (which are highly correlated), resampling failed to introduce sufficient variability into the ensembles.
- Snapshot Efficiency: In ID performance, Random Initialization and Snapshot ensembles performed similarly. However, the Snapshot method is significantly more computationally efficient, requiring only a single training run.
- Dropout Calibration: Dropout yielded the best-calibrated uncertainty bounds, though its performance is highly sensitive to the chosen dropout ratio.
Conclusion and Future Outlook
The results of this comparative study suggest that UQ estimates in extrapolative scenarios should be treated with extreme skepticism. The counterintuitive decrease in uncertainty during extreme extrapolation remains a challenge; while activation function saturation (e.g., hyperbolic tangent) may play a role, it does not fully explain the phenomenon.
Until a more robust theoretical understanding of neural network generalization is established, the authors recommend focusing on practical strategies to minimize extrapolation. This includes using feature space analysis or active learning to ensure training data adequately covers the intended simulation space, rather than relying on current UQ methods to flag model failure in OOD regimes.
Summary updated