← Latest papers
🔬 materials science

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

This study demonstrates that common uncertainty aggregation methods for machine learning interatomic potentials exhibit distinct dependencies on system size, revealing that size-unaware thresholds compromise out-of-distribution detection and motivating the need for size-aware calibration in large-scale atomistic simulations.

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

Published 2026-10-30
📖 6 min read🧠 Deep dive

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

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the quest to discover new materials, scientists rely on a powerful tool called machine learning interatomic potentials. These are computer programs trained to predict how atoms will behave and interact, acting as a shortcut to the incredibly complex and slow calculations of quantum physics. Instead of solving the full equations for every single atom in a simulation, these programs learn from a smaller set of high-quality data and then apply that knowledge to vast systems, allowing researchers to simulate millions of atoms over long periods. To keep these simulations safe and accurate, the programs use a built-in alarm system called uncertainty quantification. This system flags when the computer encounters a situation it has never seen before, such as a strange arrangement of atoms or a defect in a crystal, signaling that the prediction might be unreliable and that a more rigorous, slower calculation is needed.

For years, a standard practice has been to treat these alarm signals the same way regardless of the size of the system being studied. If a simulation involves a small cluster of atoms or a massive block of material, researchers would simply average the uncertainty scores of all the individual atoms or look at the single highest score to decide if the whole structure was safe. The assumption was that a high score meant the same thing in a small box as it did in a giant one. However, a new study challenges this long-held belief, revealing that the size of the system itself changes how these alarm signals behave, potentially causing the safety net to fail exactly when it is needed most: in the largest, most complex simulations.

The researchers set out to test whether these uncertainty scores remain comparable as the number of atoms in a simulation grows. They used several different types of machine learning models to simulate various materials, including a metal alloy, liquid water, and ice. In each case, they created two versions of the same material: one that was perfect and familiar to the computer (in-distribution), and one that contained a specific flaw, such as a missing atom or a different phase of matter, which the computer had not been trained to recognize (out-of-distribution). They then ran simulations on these materials, gradually increasing the number of atoms from a few dozen to several hundred, and watched how the uncertainty scores changed.

What they found was a clear and surprising split in behavior depending on how the scores were calculated. When the researchers averaged the uncertainty of all atoms in the system, the score stayed steady for perfect materials but dropped as the system grew larger if it contained a defect. This happened because the few atoms near the defect were diluted by the thousands of perfect atoms surrounding them, making the average look deceptively safe. In contrast, when they looked at the single highest uncertainty score in the system, the behavior was the opposite. For perfect materials, this highest score kept climbing as the system got bigger, simply because a larger system has more chances to stumble upon a rare, slightly unusual local arrangement of atoms. However, for materials with a real defect, this highest score stayed flat and did not rise with size.

This divergence creates a dangerous blind spot. In a small system, a real defect produces a high uncertainty score that stands out clearly against the low scores of a perfect material. But in a large system, the perfect material's highest score rises so high that it begins to look just as uncertain as the defective material. The gap between the two disappears, and the computer can no longer tell the difference between a rare but harmless fluctuation in a perfect crystal and a genuine, dangerous flaw. The study suggests this happens because of a statistical principle: as you draw more samples from a distribution, the most extreme value you find naturally gets larger. A larger system simply reaches further into the tail of its own normal behavior, surfacing rarer local environments that the model finds slightly unfamiliar, even though the material is fundamentally the same.

To understand if these rising scores in large, perfect systems were actually warning of something important, the researchers tracked the specific atoms that triggered the highest uncertainty. They found that these atoms were indeed in unusual local environments and had higher errors than atoms in smaller systems. Logically, a standard learning loop would flag these structures for retraining, feeding the computer new data to fix the errors. However, when the researchers actually did this, retraining the model on these large, flagged structures yielded almost no improvement. The model remained stubbornly inaccurate on these specific atoms.

In a revealing comparison, the researchers then trained the model on small structures that were deliberately designed to be unfamiliar, rather than large structures that were just statistically rare. This approach was far more effective. Retraining on these small, clearly out-of-distribution structures significantly improved the model's performance and closed the gap between perfect and defective materials. The study concludes that the current method of using a single, fixed threshold to judge uncertainty across all system sizes is flawed. It suggests that the way these models are trained, which averages errors over all atoms, allows them to ignore a few bad apples in a large barrel, making the standard alarm system unreliable for massive simulations.

The findings point toward a necessary shift in how these simulations are managed. The researchers propose that future systems need to be "size-aware," meaning they must account for the fact that uncertainty naturally scales with the number of atoms. They tested a preliminary method to adjust the uncertainty scores after the fact to remove this size bias, but found it difficult to do without accidentally masking genuine warnings about real defects. The path forward likely involves either developing new ways to calibrate these scores so they are comparable across different sizes or changing the training process itself to ensure that rare, high-error atoms are not sacrificed for the sake of overall accuracy. Until these adjustments are made, the safety mechanisms in large-scale material simulations may be silently failing, unable to distinguish between the noise of a large system and the signal of a real problem.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →