arXiv:2610.40126cs.LGOct 2026

Manuscript Offprint

arXiv:2610.40126

Does System Size Matter in Uncertainty Quantification for Machine Learning Interatomic Potentials?

Chayaphol Lortaraprasert, Nontawat Charoenphakdee, Wenwen Li, Yong-Bin Zhuang, Yuta Tsuboi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Chayaphol Lortaraprasert ∗^{*}

Massachusetts Institute of Technology

Wenwen Li

Preferred Networks

wenwenli@preferred.jp

Nontawat Charoenphakdee

Preferred Networks

nontawat@preferred.jp

Yong-Bin Zhuang

Preferred Networks

ybzhuang@preferred.jp

Yuta Tsuboi

Preferred Networks

tsuboi@preferred.jp

Abstract

Machine-learning interatomic potentials (MLIPs) commonly use uncertainty estimates to flag out-of-distribution (OOD) configurations and select structures for active learning. A key question is whether the resulting structure-level uncertainty scores remain comparable across different system sizes. A common practice is to aggregate per-atom uncertainties by their mean or maximum and compare the resulting score against a fixed threshold, implicitly assuming such comparability. We test this assumption across several in-distribution (ID)/OOD pairs by characterizing both aggregations as a function of atom count. The two aggregations exhibit distinct size dependencies. Mean aggregation remains size-independent for homogeneous systems but loses sensitivity to defects in large cells. In contrast, maximum aggregation grows with system size for ID systems while remaining approximately flat for defect-containing systems, narrowing the ID–OOD gap in a manner consistent with extreme-value statistics. Although highly uncertain atoms in large structures may indicate novel local environments, retraining on these structures yields little improvement, in contrast to retraining on OOD structures constructed to lie outside the training distribution. Our results reveal a practical limitation of size-unaware uncertainty criteria and motivate size-aware calibration for more reliable OOD detection in large-scale atomistic simulations.

1 Introduction

Machine learning interatomic potentials (MLIPs) accelerate atomistic simulations for materials discovery by fitting the potential energy surface from first-principles reference data and evaluating it orders of magnitude faster than density functional theory (DFT), giving near-DFT accuracy at a cost that scales linearly with the number of atoms [1–3]. Successive architectures, e.g., descriptor-based neural networks [1, 4], kernel models [2], graph neural networks [5], and equivariant message-passing models [6, 7] have steadily improved accuracy and data efficiency. More recently, universal or foundation potentials trained on large DFT databases [8–13] have made it routine to run atomistic simulations across the periodic table without system-specific fitting, and MLIP-driven molecular dynamics now reaches system sizes and time scales far beyond what DFT allows [14, 15].

MLIPs accuracy typically degrades on local atomic environments absent from the training set, and this degradation is silent without an uncertainty estimate [3, 16]. Uncertainty quantification (UQ) can be useful to flag unreliable predictions during simulation [17–19]. Moreover, it can drive active learning loops that select structures for DFT labeling and iterative retraining [19–24]. Common UQ metrics

*Work done during an internship at Preferred Networks. Now at the National University of Singapore: chayaphol.1@u.nus.edu

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: AI4Mat.

include ensemble disagreement [17, 25, 26], Gaussian process [19], distance or committee-free measures based on descriptor-space novelty [27, 28].

Growing compute has pushed MLIP-driven simulations towards ever larger systems of up to millions of atoms in production MD [14, 15], and active learning datasets become increasingly mixed-size. Structure-level uncertainty scores, however, are built without size consideration. Per-atom uncertainties, including force uncertainties [17, 19, 22, 29] and descriptor-space extrapolation grades [20, 30, 31], are reduced to a single score by the maximum [19, 20, 22, 29, 30, 32, 33], or mean of the atom-wise score over all atoms [17, 24, 34], a choice presented as convention rather than justified; other workflows threshold a global energy disagreement directly [21, 23]. The score is then compared against a fixed threshold calibrated on small reference cells [19, 30, 32, 33]. Both conventions thus assume that a structure-level score is comparable across system sizes, which could affect UQ scores. However, previous studies on system size effects are only limited to total energy uncertainty [21, 35]. Whether the maximum or mean UQ stays comparable as the system size grows is still an open question.

In this work, we investigate how mean and maximum per-atom force uncertainty scale with system size for multiple different in-distribution (ID)/OOD pairs using MACE [7] and ORB [13] ensembles and a single-model Force-Delta uncertainty estimate. We find that mean uncertainty is size-independent for homogeneous systems and converges to pristine for defective ones, while maximum uncertainty increases with system size for ID systems and stays flat for a defect, eliminating the ID/OOD gap at large sizes and hence could fail OOD detection based on size-unaware UQ score. We attribute this to extreme-value statistics and verify that the atoms with max uncertainty in large structures have unfamiliar local environment and high error, yet find that retraining on these structures UQ flags as OOD yields little model improvement, whereas retraining on small OOD-by-design structures is cheaper and improves the model significantly. This shows a limitation of current UQ methods that do not take size into account for OOD detection. In Appendix C.5, we explore a trainable post-hoc, size-aware uncertainty calibrator and find that removing size bias consistently across systems is nontrivial. Overall, system size biases UQ in MLIPs and can cause OOD detection to fail. These results pave the way for size-aware post-hoc calibration, or training losses that account for outlier atoms, toward more reliable OOD detection in large-scale MLIP-accelerated materials simulations and discovery.

References (45)