Uncertainty quantification for neural network potential foundation models
Source abstract
Abstract
Abstract For neural network potentials (NNPs) to gain widespread use, researchers must be able to trust model outputs. However, the blackbox nature of neural networks and their inherent stochasticity are often deterrents, especially for foundation models trained over broad swaths of chemical space. Uncertainty information provided at the time of prediction can help reduce aversion to NNPs. In this work, we detail two uncertainty quantification (UQ) methods. Readout ensembling, by finetuning the readout layers of an ensemble of foundation models, provides information about model uncertainty, while quantile regression, by replacing point predictions with distributional predictions, provides information about uncertainty within the underlying training data. We demonstrate our approach with the MACE-MP-0 model, applying UQ to the foundation model and a series of finetuned models. The uncertainties produced by the readout ensemble and quantile methods are demonstrated to be distinct measures by which the quality of the NNP output can be judged.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Machine Learning in Materials Science · Computational Drug Discovery Methods · Fuel Cells and Related Materials
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (50)
Show source-provided references
1. Gokcan, H. & Isayev, O. Learning molecular potentials with neural networks. Wiley Interdiscip. Rev.: Computational Mol. Sci. 12, e1564 (2022).
2. Kocer, E., Ko, T. W. & Behler, J. Neural network potentials: A concise overview of methods. Annu. Rev. Phys. Chem. 73, 163–186 (2022).10.1146/annurev-physchem-082720-034254 ↗
3. Duval, A. et al. A hitchhiker’s guide to geometric gnns for 3d atomic systems. arXiv preprint arXiv:2312.07511 (2023).
4. Käser, S., Vazquez-Salazar, L. I., Meuwly, M. & Töpfer, K. Neural network potentials for chemistry: concepts, applications and prospects. Digital Discov. 2, 28–58 (2023).10.1039/D2DD00102K ↗
5. Behler, J. & Csányi, G. Machine learning potentials for extended systems: a perspective. Eur. Phys. J.B 94, 1–11 (2021).10.1140/epjb/s10051-021-00156-1 ↗
6. Smith, J. S., Nebgen, B., Lubbers, N., Isayev, O. & Roitberg, A. E. Less is more: Sampling chemical space with active learning. J. Chem. Phys. 148, 241733 (2018).10.1063/1.5023802 ↗
7. Jeong, W., Yoo, D., Lee, K., Jung, J. & Han, S. Efficient atomic-resolution uncertainty estimation for neural network potentials using a replica ensemble. J. Phys. Chem. Lett. 11, 6090–6096 (2020).10.1021/acs.jpclett.0c01614 ↗
8. Schran, C., Brezina, K. & Marsalek, O. Committee neural network potentials control generalization errors and enable active learning. J. Chem. Phys 153, 104105 (2020).10.1063/5.0016004 ↗
9. Kulichenko, M. et al. Uncertainty-driven dynamics for active learning of interatomic potentials. Nat. Compu. Sci. 3, 230–239 (2023).10.1038/s43588-023-00406-5 ↗
10. Wen, M. & Tadmor, E. B. Uncertainty quantification in molecular simulations with dropout neural network potentials. npj Comput. Mater. 6, 124 (2020).10.1038/s41524-020-00390-8 ↗
11. Zhu, A., Batzner, S., Musaelian, A. & Kozinsky, B. Fast uncertainty estimates in deep learning interatomic potentials. J Chem. Phys. 158, 164111 (2023).10.1063/5.0136574 ↗
12. Thaler, S., Doehner, G. & Zavadlav, J. Scalable Bayesian uncertainty quantification for neural network potentials: promise and pitfalls. J. Chem. Theory Comput. 19, 4520–4532 (2023).10.1021/acs.jctc.2c01267 ↗
13. Soleimany, A. P. et al. Evidential deep learning for guided molecular property prediction and discovery. ACS Cent. Sci. 7, 1356–1367 (2021).10.1021/acscentsci.1c00546 ↗
14. Wollschläger, T., Gao, N., Charpentier, B., Ketata, M. A. & Günnemann, S. Uncertainty estimation for molecules: Desiderata and methods. In International conference on machine learning, 37133–37156 (PMLR, 2023).
15. Tan, A. R., Urata, S., Goldman, S., Dietschreit, J. C. & Gómez-Bombarelli, R. Single-model uncertainty quantification in neural network potentials does not consistently outperform model ensembles. npj Computational Mater. 9, 225 (2023).10.1038/s41524-023-01180-8 ↗
16. Xu, H. et al. Evidential deep learning for interatomic potentials. arXiv preprint arXiv:2407.13994 (2024).
17. Busk, J., Schmidt, M. N., Winther, O., Vegge, T. & Jørgensen, P. B. Graph neural network interatomic potential ensembles with calibrated aleatoric and epistemic uncertainty on energy and forces. Phys. Chem. Chem. Phys. 25, 25828–25837 (2023).10.1039/D3CP02143B ↗
18. Carrete, J., Montes-Campos, H., Wanzenböck, R., Heid, E. & Madsen, G. K. Deep ensembles vs committees for uncertainty estimation in neural-network force fields: Comparison and application to active learning. J. Chem. Phys. 158, 204801 (2023).10.1063/5.0146905 ↗
19. Gawlikowski, J. et al. A survey of uncertainty in deep neural networks. Artif. Intell. Rev. 56, 1513–1589 (2023).10.1007/s10462-023-10562-9 ↗
20. Kahle, L. & Zipoli, F. Quality of uncertainty estimates from neural network potential ensembles. Phys. Rev. E 105, 015311 (2022).10.1103/PhysRevE.105.015311 ↗
21. Thomas-Mitchell, A., Hawe, G. & Popelier, P. L. Calibration of uncertainty in the active learning of machine learning force fields. Mach. Learn.: Sci. Technol. 4, 045034 (2023).
22. Dai, J., Adhikari, S. & Wen, M. Uncertainty quantification and propagation in atomistic machine learning. Rev. Chem. Eng. https://doi.org/10.1515/revce-2024-0028 (2024).10.1515/revce-2024-0028 ↗
23. Wan, S., Sinclair, R. C. & Coveney, P. V. Uncertainty quantification in classical molecular dynamics. Philos. Trans. R. Soc. A 379, 20200082 (2021).10.1098/rsta.2020.0082 ↗
24. Vassaux, M., Wan, S., Edeling, W. & Coveney, P. V. Ensembles are required to handle aleatoric and parametric uncertainty in molecular dynamics simulation. J. Chem. Theory Comput. 17, 5187–5197 (2021).10.1021/acs.jctc.1c00526 ↗
25. Henkel, P. & Mollenhauer, D. Uncertainty of exchange-correlation functionals in density functional theory calculations for lithium-based solid electrolytes on the case study of lithium phosphorus oxynitride. J. Computational Chem. 42, 1283–1295 (2021).10.1002/jcc.26546 ↗
26. Goswami, S., Käser, S., Bemish, R. J. & Meuwly, M. Effects of aleatoric and epistemic errors in reference data on the learnability and quality of nn-based potential energy surfaces. Artif. Intell. Chem. 2, 100033 (2024).10.1016/j.aichem.2023.100033 ↗
27. Smith, J. S., Isayev, O. & Roitberg, A. E. Ani-1: an extensible neural network potential with dft accuracy at force field computational cost. Chem. Sci. 8, 3192–3203 (2017).10.1039/C6SC05720A ↗
28. Gao, X., Ramezanghorbani, F., Isayev, O., Smith, J. S. & Roitberg, A. E. Torchani: a free and open source pytorch-based deep learning implementation of the ani neural network potentials. J. Chem. Inf. modeling 60, 3408–3415 (2020).10.1021/acs.jcim.0c00451 ↗
29. Zhang, S. et al. Exploring the frontiers of condensed-phase chemistry with a general reactive machine learning potential. Nat. Chem. 16, 727–734 (2024).10.1038/s41557-023-01427-3 ↗
30. Allen, A. E. et al. Learning together: Towards foundation models for machine learning interatomic potentials with meta-learning. npj Computational Mater. 10, 154 (2024).10.1038/s41524-024-01339-x ↗
31. Deng, B. et al. Chgnet: Pretrained universal neural network potential for charge-informed atomistic modeling (2023). 2302.14231.
32. Batatia, I. et al. A foundation model for atomistic materials chemistry (2023). 2401.00096.
33. Chen, C. & Ong, S. P. A universal graph deep learning interatomic potential for the periodic table. Nat. Computational Sci. 2, 718–728 (2022).10.1038/s43588-022-00349-3 ↗
34. Chanussot, L. et al. Open catalyst 2020 (oc20) dataset and community challenges. Acs Catal. 11, 6059–6072 (2021).10.1021/acscatal.0c04525 ↗
35. Kolluru, A. et al. Open challenges in developing generalizable large-scale machine-learning models for catalyst discovery. ACS Catal. 12, 8572–8581 (2022).10.1021/acscatal.2c02291 ↗
36. Tran, R. et al. The open catalyst 2022 (oc22) dataset and challenges for oxide electrocatalysts. ACS Catal. 13, 3066–3084 (2023).10.1021/acscatal.2c05426 ↗
37. Focassio, B., M. Freitas, L. P. & Schleder, G. R. Performance assessment of universal machine learning interatomic potentials: challenges and directions for materials’ surfaces. ACS Appl. Mater. Interfaces 17, 13111–13121 (2024).10.1021/acsami.4c03815 ↗
38. Yu, H., Giantomassi, M., Materzanini, G., Wang, J. & Rignanese, G.-M. Systematic assessment of various universal machine-learning interatomic potentials. Mater. Genome Eng. Adv. 2, e58 (2024).10.1002/mgea.58 ↗
39. Deng, B. et al. Overcoming systematic softening in universal machine learning interatomic potentials by fine-tuning. arXiv preprint arXiv:2405.07105 (2024).
40. Niblett, S. P., Kourtis, P., Magdău, I.-B., Grey, C. P. & Csányi, G. Transferability of datasets between machine-learning interaction potentials. arXiv preprint arXiv:2409.05590 (2024).
41. Clausen, C. M., Rossmeisl, J. & Ulissi, Z. W. Adapting oc20-trained equiformerv2 models for high-entropy materials. J. Phys. Chem. C. 128, 11190–11195 (2024).10.1021/acs.jpcc.4c01704 ↗
42. Abdar, M. et al. A review of uncertainty quantification in deep learning: Techniques, applications and challenges. Inf. fusion 76, 243–297 (2021).10.1016/j.inffus.2021.05.008 ↗
43. Lopanitsyna, N., Fraux, G., Springer, M. A., De, S. & Ceriotti, M. Modeling high-entropy transition metal alloys with alchemical compression. Phys. Rev. Mater. 7, 045802 (2023).10.1103/PhysRevMaterials.7.045802 ↗
44. Koenker, R. & Hallock, K. F. Quantile regression. J. Econ. Perspect. 15, 143–156 (2001).10.1257/jep.15.4.143 ↗
45. Koenker, R. Fundamentals of Quantile Regression, 26–67. Econometric Society Monographs (Cambridge University Press, 2005).10.1017/CBO9780511754098.003 ↗
46. Falcon, W. & The PyTorch Lightning team. PyTorch Lightning (Version 1.4) [Computer software]. (2019).
47. Koenker, R. Quantile regression. Cambridge Univ Pr (2005).10.1017/CBO9780511754098 ↗
48. Takeuchi, I., Le, Q. V., Sears, T. D., Smola, A. J. & Williams, C. Nonparametric quantile estimation. J. Machine Learn. Res. 7, 1231–1264 (2006).
49. Zheng, S. Gradient descent algorithms for quantile regression with smooth approximation. Int. J. Mach. Learn. Cybern. 2, 191–207 (2011).10.1007/s13042-011-0031-2 ↗
50. Hatalis, K., Lamadrid, A. J., Scheinberg, K. & Kishore, S. Smooth pinball neural network for probabilistic forecasting of wind power. arXiv preprint arXiv:1710.01720 (2017).