Skip to main content
QUICK REVIEW

[Paper Review] On the Quality of Uncertainty Estimates from Neural Network Potential Ensembles

Kahle, Leonid, Zipoli, Federico|arXiv (Cornell University)|Aug 12, 2021
Adversarial Robustness in Machine LearningComputer Science40 citations
TL;DR

This study evaluates the reliability of uncertainty estimates from neural network potential (NNP) ensembles in predicting out-of-distribution errors across diverse atomic systems. Using four case studies—dimer, aluminum slab, liquid water, and benzene—it finds that NNP ensembles are systematically overconfident, underestimating uncertainty, and require system- and architecture-specific calibration; Bayesian neural networks via Monte Carlo sampling show more accurate uncertainty quantification.

ABSTRACT

Neural network potentials (NNPs) combine the computational efficiency of classical interatomic potentials with the high accuracy and flexibility of the ab initio methods used to create the training set, but can also result in unphysical predictions when employed outside their training set distribution. Estimating the epistemic uncertainty of an NNP is required in active learning or on-the-fly generation of potentials. Inspired from their use in other machine-learning applications, NNP ensembles have been used for uncertainty prediction in several studies, with the caveat that ensembles do not provide a rigorous Bayesian estimate of the uncertainty. To test whether NNP ensembles provide accurate uncertainty estimates, we train such ensembles in four different case studies, and compare the predicted uncertainty with the errors on out-of-distribution validation sets. Our results indicate that NNP ensembles are often overconfident, underestimating the uncertainty of the model, and require to be calibrated for each system and architecture. We also provide evidence that Bayesian NNPs, obtained by sampling the posterior distribution of the model parameters using Monte-Carlo techniques, can provide better uncertainty estimates.

Motivation & Objective

  • To assess the accuracy of uncertainty estimates from NNP ensembles in out-of-distribution settings.
  • To determine whether ensemble-based uncertainty correlates with actual prediction errors across diverse atomic systems.
  • To evaluate the effectiveness of uncertainty-based active learning versus random sampling in data selection.
  • To compare the performance of NNP ensembles with Bayesian neural network approaches for uncertainty quantification.

Proposed method

  • Trained NNP ensembles on four distinct systems: a dimer, aluminum surface slab, bulk liquid water, and benzene in vacuum.
  • Used multiple architectures: custom-built NN, DeePMD, and NequIP, each with different activation functions and hyperparameters.
  • Generated out-of-distribution validation sets by sampling from energy distributions beyond the training data range.
  • Calculated ensemble uncertainty as the variance of predictions across multiple independently trained models.
  • Compared uncertainty-based sampling with random sampling in active learning workflows using metrics like recall, precision, and F1 score.
  • Evaluated Bayesian uncertainty via Monte Carlo sampling of model parameters, comparing it to ensemble-based estimates.

Experimental results

Research questions

  • RQ1How well do NNP ensembles predict true prediction errors on out-of-distribution configurations?
  • RQ2To what extent are NNP ensemble uncertainties overconfident across different systems and architectures?
  • RQ3Does uncertainty-based sampling outperform random sampling in active learning for NNP training?
  • RQ4Can Bayesian neural networks provide more reliable uncertainty estimates than ensemble methods in NNP applications?
  • RQ5How does the choice of activation function and model architecture affect the reliability of uncertainty estimates?

Key findings

  • NNP ensembles consistently underestimate uncertainty, showing overconfidence across all four test systems, with error distributions shifting significantly outside the predicted uncertainty bounds.
  • The degree of overconfidence varies with model architecture and system, indicating that ensemble uncertainty cannot be used directly without system-specific calibration.
  • Calibration of ensemble uncertainty improves performance in active learning, but the required calibration factors are highly system- and architecture-dependent.
  • Uncertainty-based sampling using ensembles led to higher recall and F1 scores than random sampling in active learning, but only after calibration.
  • Bayesian neural networks obtained via Monte Carlo sampling of the posterior distribution provided more accurate and reliable uncertainty estimates than ensemble methods.
  • The convex hull analysis of atomic descriptors confirmed that configurations outside the training distribution exhibit significantly higher prediction errors, validating the link between distributional out-of-distribution status and increased uncertainty.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.