A Simple and Scalable Kernel Density Approach for Reliable Uncertainty Quantification in Atomistic Machine Learning
Machine learning models are increasingly used to predict material properties and accelerate atomistic simulations, but the reliability of their predictions depends on the representativeness of the training data. We present a scalable, GPU-accelerated uncertainty quantification framework based on <i>k</i>-nearest-neighbor kernel density estimation (KDE) in a PCA-reduced descriptor space. This method efficiently detects sparsely sampled regions in large, high-dimensional data sets and provides a transferable, model-agnostic uncertainty metric without requiring retraining costly model ensembles. The framework is validated across diverse case studies varying in (i) chemistry, (ii) prediction models (including foundational neural network), (iii) descriptors used for KDE estimation, and (iv) properties whose uncertainty is sought. In all cases, the KDE-based score reliably flags extrapolative configurations, correlates well with conventional ensemble-based uncertainties, and highlights regions of reduced prediction trustworthiness. The approach offers a practical route for improving the interpretability, robustness, and deployment readiness of ML models in materials science.
Authors
- Lukáš Grajciar (ORCID: https://orcid.org/0000-0001-9464-7769)
- Daniel Willimetz (ORCID: https://orcid.org/0000-0001-9923-9676)
Institutions
- Charles University (CZ)
- Czech Academy of Sciences, Institute of Macromolecular Chemistry (CZ)
Publication Details
- Journal
- The Journal of Physical Chemistry Letters
- Published
- 2025-10-16
- DOI
- https://doi.org/10.1021/acs.jpclett.5c02595
- Citations
- 1
- Primary Topic
- Machine Learning in Materials Science
- Type
- article
- Field-Weighted Citation Impact
- 0.52