Uncertainty-aware Machine Learning Interatomic Potentials via Learned Functional Perturbations

Olga Zaghen, Maksim Zhdanov, Dario Coscia, David R. Wessels, Erik J. BekkersarXiv 2026

TL;DR

Machine Learning Interatomic Potentials (MLIPs) are highly accurate but prone to silent failures when encountering out-of-distribution atomic configurations. To address this, the authors introduce P-MLIP, a lightweight plug-in that transforms deterministic MLIPs into probabilistic ones using learned functional perturbations optimized via the Continuous Ranked Probability Score (CRPS). P-MLIP achieves state-of-the-art uncertainty calibration and prediction accuracy with minimal parameter overhead, all while strictly preserving geometric equivariance.

What Problem Does This Paper Address?

MLIPs have revolutionized computational chemistry and materials science by delivering near ab initio (quantum-mechanical) accuracy at a fraction of the computational cost. However, when these models simulate structures far from their training data, they can fail silently—making highly confident but wildly incorrect predictions.

To make MLIPs safe for long molecular dynamics simulations and active learning, we need reliable Uncertainty Quantification (UQ). The current gold standard for UQ is deep ensembling, but training and running multiple copies of massive foundation models is computationally prohibitive. Existing single-model alternatives (like variational Bayesian methods or evidential regression) introduce heavy architectural complexity, require delicate hyperparameter tuning, or fail to provide a full predictive distribution.

Methods

The authors propose P-MLIP (Perturbed-MLIP), an approach inspired by recent breakthroughs in probabilistic weather forecasting. Instead of treating weights as full probability distributions, P-MLIP injects a global noise vector into the network's internal layers to generate a predictive ensemble from a single model.

Key components of the architecture include:

  • Graph-Level Noise: A single noise vector $z$ is sampled and broadcast to all atoms within a molecular graph during a forward pass. This ensures a globally consistent perturbation of the potential energy surface, capturing coherent physical uncertainty rather than independent per-atom noise.
  • Zero-Initialization: The noise projection matrices are initialized to zero. This means the model starts its training journey behaving exactly like its deterministic backbone—a crucial feature that allows stable fine-tuning of large, pretrained foundation models without destroying their learned weights.
  • Equivariance Preservation: By injecting noise exclusively into the invariant scalar MLP blocks (edge and node updates) and leaving position-update networks noise-free, P-MLIP guarantees strict per-sample $E(n)$-equivariance for free.
  • Fair CRPS Objective: The network is trained end-to-end by minimizing an unbiased (fair) estimator of the Continuous Ranked Probability Score (CRPS). CRPS acts as a proper scoring rule that naturally forces the model to balance accuracy (reliability) with an appropriate uncertainty spread (sharpness).

Datasets

The method was validated across two distinct regimes:

  1. Coulombs' N-body Particle Benchmark: A synthetic benchmark simulating interacting charged particles, used to evaluate the model (P-EGNN) when trained completely from scratch across varying dataset sizes ($n \in \{1000, 3000, 10000\}$).
  2. Silica Glass ($SiO_2$) Benchmark: A realistic materials dataset containing 699 atoms per structure. This was used to test how well the method adapts when fine-tuning a massive, pretrained foundation model (Orb-v3) under data-scarce conditions ($n \in \{32, 128, 1024\}$).

Key Insights and Ideas

  • Global vs. Local Noise: Coherent physical systems like molecules don't experience independent, random per-atom uncertainty. Applying a shared global noise vector across the entire graph mirrors the structural variations seen in real physical systems.
  • The Power of Zero-Init: Eliminating the need for complex noise schedules or KL-divergence warm-ups makes UQ accessible for massive foundation models where full Bayesian retraining is impossible.
  • CRPS as an Implicit Regularizer: Even though CRPS does not explicitly optimize for mean squared error (MSE), training with it implicitly regularizes the ensemble mean, leading to accuracy that matches or beats standard deterministic models while providing superior calibration.

Key Results

  • Superior Calibration: On the N-body benchmark, P-EGNN outperformed the state-of-the-art Bayesian method (BLIP) by 19% to 32% in CRPS across all training sizes. It was also the only method to achieve a Spread-to-Skill Ratio (SSR) close to the ideal calibrated value of 1, whereas deep ensembles and BLIP remained severely under-dispersed (overconfident).
Figure 1. N-body test performance vs. training size (mean ± std over 4 seeds, shaded). Left: MSE; Center: CRPS; Right: spread-to- skill ratio SSR. P-EGNN consistently achieves the best CRPS and the SSR closest to 1 at every training size, with the calibration gap widening as n grows.
  • Foundation Model Fine-Tuning: When wrapping the Orb-v3 foundation model for the Silica benchmark, P-Orb significantly outperformed BLIP-Orb. It raised the Spearman rank correlation between predicted uncertainty and actual error from 0.75 to 0.84, ensuring that when the model is uncertain, it is genuinely tracking an actual error.
Figure 2. Silica forces performance vs. training size (mean ± std over 4 seeds, shaded). Left: F-MAE; Center: F-CRPS; Right: Spearman ρ (higher is better). P-Orb outperforms BLIP on all metrics at every training size.
  • Minimal Overhead: P-EGNN achieves these results while adding only ~13% more parameters to a single backbone, avoiding the $3\times$ parameter explosion required by a 3-model deep ensemble.

Limitations and Future Work

  • Training Computational Cost: Although inference cost scales similarly to standard ensembles ($K$ forward passes), training requires computing the fair-CRPS loss over multiple samples ($K_{train}=10$ by default). This makes each gradient step computationally heavier than single-sample deterministic training.
  • Energy Prediction Variance: The authors observed higher seed-to-seed variance in energy predictions on the silica dataset, pointing to a sensitivity in how energy and force CRPS loss terms are balanced during joint training.
  • Linear Noise Constraints: The noise injection mechanism is currently bounded by a single linear projection layer, which may limit the model's capacity to capture highly complex, non-linear uncertainty distributions.

Future work includes deploying P-MLIP directly inside active-learning loops and scaling the functional perturbation framework to even larger, more complex equivariant architectures.

Summary updated

BibTeX
@misc{zaghen2026uncertainty,
  author = {Olga Zaghen and Maksim Zhdanov and Dario Coscia and David R. Wessels and Erik J. Bekkers},
  title = {{Uncertainty-aware Machine Learning Interatomic Potentials via Learned Functional Perturbations}},
  year = {2026},
  eprint = {2605.19939},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.19939},
}
Figure