Abstract
Deep learning models, specifically Graph Convolutional Neural Networks (GCNNs), have become the standard for predicting molecular properties. However, their lack of transparency regarding prediction confidence limits their utility in real-world drug discovery. This paper provides a rigorous benchmark of scalable uncertainty estimation (UQ) methods—Monte Carlo Dropout, Deep Ensembles, and Bootstrapping—within the Directed Message Passing Neural Network (D-MPNN) framework. Evaluating on the QM9 dataset, we find that Deep Ensembles and Bootstrapping consistently outperform MC-Dropout, particularly in out-of-domain scenarios. While UQ improves overall model accuracy, significant challenges remain in calibrating uncertainty for novel chemical structures.
Introduction
In the field of chemistry, predicting properties such as solubility or toxicity is crucial. While GCNNs offer high accuracy, they often function as "black boxes," providing single-point estimates without indicating reliability. This is problematic when models encounter molecules structurally distinct from their training data. Uncertainty Quantification (UQ) addresses this by enabling models to signal when a prediction is likely unreliable. This study focuses on "scalable" UQ methods that can handle large-scale chemical datasets without the prohibitive costs of exact Bayesian inference.
Methodology
The authors evaluate three primary scalable techniques within a unified framework designed to separate Aleatoric uncertainty (inherent data noise) from Epistemic uncertainty (model parameter uncertainty).
Base Architecture: D-MPNN
The study utilizes chemprop, a Directed Message Passing Neural Network (D-MPNN). The architecture consists of a message passing phase to learn atom and bond representations, followed by a readout phase that aggregates these into a global molecular representation.
Uncertainty Estimation Techniques
To quantify uncertainty, the final layer of the network is modified to output both a mean $\mu(x)$ and a variance $\sigma^2(x)$, allowing the model to learn aleatoric noise through the loss function.
The three evaluated methods are:
- Monte Carlo Dropout (MC-Dropout): Employs "Concrete Dropout" to tune dropout rates automatically, sampling from an approximate posterior at test time.
- Deep Ensembles: Trains multiple identical models with different random initializations, averaging their outputs to capture epistemic diversity.
- Bootstrapping: Similar to ensembling, but each model is trained on a unique bootstrap sample of the training data to further enhance diversity.
Experimental Setup
The QM9 dataset, containing approximately 131,000 small organic molecules, served as the benchmark. The target property was formation enthalpy. To simulate real-world drug discovery challenges, two splitting strategies were used:
- Random Splitting: For in-domain evaluation.
- Scaffold Splitting: Uses Murcko scaffolds to ensure the test set contains molecules structurally different from the training set, testing out-of-domain (OOD) performance.
Results and Discussion
Accuracy Gains from UQ
Integrating uncertainty estimation improved overall model accuracy. For instance, the base model's Mean Absolute Error (MAE) of 1.04 kcal/mol dropped to 0.74 kcal/mol with ensembling. This improvement stems from the model's ability to "attenuate" the loss for noisy samples during training.
Performance of Ensembles and Bootstrapping
Deep Ensembles and Bootstrapping consistently outperformed MC-Dropout across metrics like AUCO (Area Under the Confidence-Oracle curve) and ENCE (Expected Normalized Calibration Error). The superiority is attributed to better epistemic diversity; training separate models explores the loss landscape more effectively than dropout masks in a single model.
The Out-of-Domain (OOD) Challenge
While models can rank OOD molecules by confidence, they struggle with calibration. In OOD scenarios, models tend to be overconfident, consistently underestimating their error. Furthermore, aleatoric uncertainty was underestimated across all methods, suggesting that current loss-function-based approaches for learning noise are still insufficient.
Conclusion
The study demonstrates that Deep Ensembles and Bootstrapping are the current state-of-the-art for scalable UQ in molecular property prediction, providing significant reductions in MAE (~29% in-domain, ~31% OOD). However, the persistent issue of OOD miscalibration highlights a critical area for future research. Improving ensemble diversity and developing better models for aleatoric uncertainty remain essential steps toward reliable AI-driven drug discovery.
Summary updated