[Paper Review] Uncertainty Estimation for Molecules: Desiderata and Methods
This paper proposes Localized Neural Kernel (LNK), a Gaussian Process-based uncertainty estimation method for graph neural network (GNN)-based molecular force fields that satisfies six key desiderata—three physics-informed and three application-focused. LNK enables reliable, single-forward-pass uncertainty quantification while maintaining high predictive accuracy, achieving up to 2.5× and 2.1× lower AUC-ROC errors than Monte Carlo dropout and evidential regression in out-of-equilibrium detection.
Graph Neural Networks (GNNs) are promising surrogates for quantum mechanical calculations as they establish unprecedented low errors on collections of molecular dynamics (MD) trajectories. Thanks to their fast inference times they promise to accelerate computational chemistry applications. Unfortunately, despite low in-distribution (ID) errors, such GNNs might be horribly wrong for out-of-distribution (OOD) samples. Uncertainty estimation (UE) may aid in such situations by communicating the model's certainty about its prediction. Here, we take a closer look at the problem and identify six key desiderata for UE in molecular force fields, three 'physics-informed' and three 'application-focused' ones. To overview the field, we survey existing methods from the field of UE and analyze how they fit to the set desiderata. By our analysis, we conclude that none of the previous works satisfies all criteria. To fill this gap, we propose Localized Neural Kernel (LNK) a Gaussian Process (GP)-based extension to existing GNNs satisfying the desiderata. In our extensive experimental evaluation, we test four different UE with three different backbones and two datasets. In out-of-equilibrium detection, we find LNK yielding up to 2.5 and 2.1 times lower errors in terms of AUC-ROC score than dropout or evidential regression-based methods while maintaining high predictive performance.
Motivation & Objective
- Address the critical need for reliable uncertainty estimation in molecular force fields, especially for out-of-distribution (OOD) predictions where standard GNNs fail.
- Identify six key desiderata—three physics-informed (symmetry, energy conservation, locality) and three application-focused (speed, interpretability, OOD detection)—for effective uncertainty estimation in molecular systems.
- Survey existing uncertainty estimation methods in molecular ML and demonstrate that none satisfy all six desiderata.
- Propose LNK, a novel, single-forward-pass uncertainty estimation method that integrates Gaussian Process regression with GNN backbones to fulfill all desiderata.
- Evaluate LNK empirically on two datasets using multiple backbones and uncertainty methods, focusing on OOD detection and predictive performance.
Proposed method
- Define a set of six desiderata for uncertainty estimation in molecular force fields: three physics-informed (invariance to Euclidean and permutation symmetries, energy conservation via curl-free forces) and three application-focused (speed, interpretability, OOD detection capability).
- Propose Localized Neural Kernel (LNK), a differentiable, GP-based extension to GNNs that models uncertainty by learning a localized kernel function over molecular graphs.
- Integrate LNK into existing GNN backbones (e.g., DimeNet++) to enable uncertainty estimation without retraining the backbone, using a single forward pass.
- Use a differentiable kernel mechanism that respects physical symmetries and ensures force fields are conservative by construction.
- Enable uncertainty quantification for both energy (u_E) and forces (u_F) via a variation-based approach, with u_F computed from the kernel’s trace.
- Train the model end-to-end using a probabilistic loss that combines energy/force prediction and uncertainty calibration, ensuring well-calibrated uncertainty estimates.
Experimental results
Research questions
- RQ1What are the essential physical and application-specific requirements for uncertainty estimation in molecular force fields?
- RQ2To what extent do existing uncertainty estimation methods in molecular ML satisfy these desiderata?
- RQ3Can a GP-based method be designed to respect molecular symmetries and conservation laws while enabling fast, single-forward-pass uncertainty estimation?
- RQ4How does the proposed LNK method compare to established uncertainty estimation techniques (e.g., Monte Carlo dropout, evidential regression) in OOD detection and predictive performance?
- RQ5Does the integration of LNK into GNN backbones maintain high predictive accuracy while significantly improving uncertainty calibration?
Key findings
- None of the existing uncertainty estimation methods in molecular ML satisfy all six proposed desiderata, particularly failing on physical consistency or inference speed.
- LNK achieves up to 2.5× and 2.1× lower AUC-ROC error than Monte Carlo dropout and evidential regression in out-of-equilibrium detection on the QM7X dataset.
- LNK maintains high predictive performance, with energy MAE of 0.059 kcal/mol and force MAE of 0.007 kcal/mol at 1% dropout rate, comparable to state-of-the-art models.
- LNK is over 4.6× faster than variance-based methods like MCD and ensembles, with inference time of 59.3±2.68 ms per sample on QM7X, matching the speed of evidential regression.
- MCD-LNK, a variant using dropout at inference, achieves stable performance with increasing dropout rates, outperforming standard MCD in both OOD detection and predictive accuracy.
- Ensembles achieve the highest AUC-ROC (0.996 for forces), but at the cost of five times more training and significantly higher inference time (274±8.25 ms), making them impractical for active learning or real-time applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.