Uncertainty-Gated Escalation for a Solver-in-the-Loop Molecular Surrogate

Yufan Xia, Shuo Yang, Shiqi Zhang, Adrian R Pearce, Giuseppe M. J. BarcaAI4Science @ NeurIPS 2026

TL;DR

When screening molecules with fast machine learning surrogates, you can only afford to double-check a tiny fraction of predictions with expensive quantum-mechanical calculations. This paper shows that knowing which predictions are uncertain (ranking quality) is only half the story: the actual payoff depends just as much on whether a model’s errors are concentrated in a small, catchable tail.

What Problem Does This Paper Address?

In computational chemistry and materials discovery, high-fidelity electronic-structure calculations are accurate but far too slow to run on every candidate molecule. The standard workaround is a hierarchy: let a cheap machine learning surrogate handle most structures, and only escalate the most uncertain ones to the expensive reference method.

Figure 1: Selective escalation. A fixed escalation budget b sets the uncertainty threshold τ. Structures below the threshold are accepted from the surrogate; those above it are recomputed with the reference method. We evaluate the resulting residual error at a fixed budget. The surrogate is either an interatomic potential or the solver-in-the-loop model, and σ is one of four estimators: a feature distance, a parameter covariance, an evidential head or a direct error regressor, all defined in Sec. 3.3.

Traditionally, researchers evaluate uncertainty estimators by how well they rank errors (using metrics like Spearman correlation or AUROC). But in deployment, you don't get infinite reference calculations—you have a fixed escalation budget $b$ (say, 2% of your workload). Two models can have nearly identical uncertainty-ranking scores, yet one might see its average error plummet after a 2% escalation while the other barely budges. The authors ask: how do we separate the quality of an uncertainty score from the underlying opportunity for error removal?

Methods

To untangle these effects, the authors introduce a simple, exact decomposition of the fraction of total error mass removed at budget $b$, denoted $R_b$:

$$R_b = C_b \eta_b$$

  • $C_b$ (Oracle-recoverable error concentration): The fraction of total error sitting in the worst $b$% of structures. This depends only on the surrogate's error distribution, not on the uncertainty estimator.
  • $\eta_b$ (Selection efficiency): How much of that oracle error mass the uncertainty score actually captures.

They test this framework on two surrogates with matched equivariant message-passing backbones:

  1. A solver-in-the-loop model (NN-xTB): Instead of predicting energy directly, it predicts parameter shifts for a semi-empirical tight-binding Hamiltonian and runs a self-consistent electronic-structure solve.
  2. A conventional interatomic potential (MACE): Predicts energy directly from atomic coordinates.

For a fair, like-for-like comparison, both models use the same low-overhead feature-space Mahalanobis distance as their primary uncertainty score. They also evaluate a direct frame-level error regressor, an evidential head, a last-layer Laplace parameter covariance (for NN-xTB), and solver-side diagnostics like the frontier-orbital gap.

Datasets

  • Primary workload (SPICE): Evaluated against $\omega$B97M-D3(BJ)/def2-TZVPPD reference forces, split into 9,968 validation frames for fitting uncertainty estimators, 400 frames (395 molecules) for development, and 8,000 frames (6,609 molecules, 2–110 atoms) for the main deployment test.
  • External & supplementary checks: Tested on 3BPA, rMD17, and a supplementary 800-molecule molecule-disjoint confirmation study.

Key Insights and Ideas

  • Ranking quality $\neq$ verification value: Even large jumps in rank correlation don't guarantee better real-world error removal. For instance, a covariance correction on NN-xTB boosts Spearman $\rho$ from 0.263 to 0.608, yet changes the 2% error mass removed by only 0.03 percentage points.
Figure 3: Ranking quality and decision value. (a) Residual mean force error versus escalation budget. (b) Error mass removed at b = 2% versus Spearman ρ; the dashed line denotes the oracle, and random selection shows its expectation.
  • Error concentration drives the cross-model gap: Under the same 2% budget and feature-distance score, NN-xTB and MACE achieve similar selection efficiencies ($\eta_b = 73.3\%$ vs. $69.4\%$). The reason NN-xTB benefits far more is its heavy-tailed error distribution ($C_b = 37.9\%$ vs. $14.9\%$): just 8 extreme "catastrophe" frames out of 8,000 account for 15.1% of NN-xTB's total force error, and 7 of them are caught by escalating the top 1%–2%.
  • Average error vs. worst-case risk: Because NN-xTB's errors are so concentrated, selective escalation slashes its mean error. However, MACE still retains a lower maximum unverified error (633.9 vs. 961.5 meV/Å), meaning the "better" model depends on whether your deployment cares about average accuracy or worst-case guarantees.

Key Results

On the 8,000-structure SPICE deployment workload at a 2% escalation budget using the shared feature-distance score:

  • Error mass removed ($R_b$): 27.8% for NN-xTB vs. 10.4% for MACE.
  • Residual mean force error: Drops from 13.98 to 10.30 meV/Å (-26.3%) for NN-xTB, and from 15.15 to 13.86 meV/Å (-8.5%) for MACE.
  • Better estimators help further: Replacing feature distance ($\rho = 0.679$) with a direct frame-level error regressor ($\rho = 0.909$) on NN-xTB pushes error mass removed to 33.6% and lowers residual mean error to 9.47 meV/Å.
Figure 2: Effect of a 2% escalation budget. (a) Mean force error before (open) and after (filled) escalation; ticks mark pre-escalation medians. (b) Mean-error reduction with the same feature- distance score and a separate 2% budget within each size bin.

Limitations and Future Work

  • Workload dependence: On external benchmarks like rMD17 and in the molecule-disjoint confirmation study, the fractional error-removal ordering between NN-xTB and MACE can reverse, even when NN-xTB maintains lower absolute force error.
  • Scope & compute accounting: The study is limited to two surrogate families and treats reference verification as exact (ignoring noisy verifiers). Additionally, because NN-xTB runs a self-consistent solve at inference, equal escalation budgets do not mean equal total compute.
  • Exploratory tuning: Development-selected evidential tuning was evaluated on the same 400-frame set used for selection, leaving it exploratory.

Summary updated

BibTeX
@inproceedings{xia2026uncertainty,
  author = {Yufan Xia and Shuo Yang and Shiqi Zhang and Adrian R Pearce and Giuseppe M. J. Barca},
  title = {{Uncertainty-Gated Escalation for a Solver-in-the-Loop Molecular Surrogate}},
  booktitle = {AI4Science @ NeurIPS},
  year = {2026},
  url = {https://openreview.net/forum?id=imX0i5j3nA},
}
Figure