Machine-learned interatomic potentials are neural networks that predict the energy of an arrangement of atoms in milliseconds instead of the hours a quantum calculation takes. They are trained almost entirely on clean, idealized crystal surfaces. Working catalysts are not clean. Under reaction conditions they restructure, and the sites that actually do the chemistry are often rare, oddly coordinated atoms: a nickel atom bound to exactly three sulfurs inside a 2 nm amorphous skin, or an isolated ruthenium atom on an oxide support. Industrial-scale synthesis adds more of these irregular environments through vacancies, partial clustering, and disorder. We propose to treat these rare environments the way the fairness and robustness literature treats minority groups. They are "bias-conflicting" samples: cases where an easy statistical cue, here the bulk composition of the material, points to the wrong answer. Our hypothesis is that current potentials partly learn the cue, and so make their largest errors on the configurations that matter most for understanding mechanisms.
The proposal does two things. First, it builds a diagnostic. A deliberately "shortcut-only" regressor sees only bulk composition and adsorbate identity, and its residuals define which training structures conflict with the composition cue. We then test whether a full graph neural network's error on those structures is worse than its overall accuracy would predict. Second, if the diagnostic finds a shortcut, we adapt a cheap repair from classification: retrain only the network's output head on a set enriched in shortcut-conflicting structures. We judge the repair on two counts. It must cut error on rare and restructured environments, and it must not pay the usual in-distribution accuracy penalty. One evaluation set comes from a mechanism study: amorphous nickel sulfide sites, where a published coordination descriptor gives a physical ground truth for whether the model ranks sites correctly.
Core Claim
The claim has two parts, and the first can fail. Part one: on the Open Catalyst data, a potential's energy error on structures whose energy deviates strongly from a composition-only prediction is disproportionately high. It sits above the line relating aggregate in-distribution error to out-of-distribution error. Part two: refitting only the readout layers on a disagreement-mined subset reduces that worst-group error by more than oversampling the same structures during full training. It also keeps in-distribution mean absolute error within noise of the original model. If part one fails, and worst-group error tracks aggregate error the way "accuracy on the line" predicts, the right conclusion is that scale and better architectures are the fix and debiasing is unnecessary. That would be a useful negative result.
Where this sits relative to prior work
The motivating evidence comes from the catalysis side. OC20 released 1.28M relaxations with in-domain and out-of-domain splits and reported a best energy error near 0.4 eV. OC22 extended this to oxides and showed GemNet-OC degrading from 0.374 eV in-domain to 0.829 eV out-of-domain. Kolluru et al. found that models transfer well across intermetallics but fail on non-metals and multidentate adsorbates. All three treat out-of-distribution failure as a property of a held-out split. None asks which easy cue the model latched onto. We add that question, and a test for it.
On the chemistry side, Yan et al. showed that the active ORR sites on Ni₃S₂ are three-sulfur-coordinated Ni in an amorphous NiS overlayer. They also fit $\Delta G_{OH^*} = 0.29(CN_S + 0.08\,CN_{Ni})$, where $CN_S$ and $CN_{Ni}$ are the numbers of sulfur and nickel neighbors of the active Ni. Yang et al. showed α-Li₂IrO₃ transforming into hydrated birnessite during OER. These papers supply our mechanistic test: a model that has learned local coordination rather than bulk identity should reproduce the descriptor's slope on disordered Ni–S sites.
The method comes from the debiasing literature, and several papers there also constrain what we can do. Clark et al. train a bias-only expert and fit the main model against it. Our composition-only regressor plays the role of their hypothesis-only model. Their paper also documents the in-domain accuracy loss we must avoid. LfF mines conflicting samples from a deliberately biased model. Lee et al. show that when conflicting samples are under about 1%, upweighting them leads to memorization rather than a changed decision boundary. That result is the main reason we refit only the head instead of reweighting whole-network training.
LaBonte et al. supply the repair. They show that the learned features already carry the core signal, that shortcuts live mostly in the last layer, and that retraining the head on a disagreement-mined set (SELF) recovers worst-group accuracy. Their work is limited to classification and needs a group-labeled validation set. Two papers constrain the design. Wang et al. warn that biased auxiliary models fail when the bias is sparse, which is why we use an explicit, low-capacity composition model rather than an early-stopped copy of the network. TableShift found that out-of-distribution accuracy tracks in-distribution accuracy (ρ = 0.81) and that robust methods rarely beat tuned trees. This forces us to report results relative to the accuracy line, not in absolute terms.
MAP handles the in-distribution versus out-of-distribution tension with adapters trained by bilevel optimization. It is the most direct competitor for preserving in-distribution accuracy, but it has only been run on image classification.
Research Program
Diagnostic. The diagnostic runs on OC-2M (GemNet-OC) and on OC22. We fit a gradient-boosted regressor on bulk-composition and adsorbate-identity features only, with no geometry. For each structure $i$, its residual $r_i = E_i - \hat{E}^{comp}_i$ measures how far the true DFT energy departs from what composition alone predicts. Structures in the top tail of $|r_i|$ are the shortcut-conflicting group.
As a second, physically interpretable grouping, we bin structures by how far the binding site's local coordination departs from the bulk-terminated value. We then train GemNet-OC and a smaller baseline at several sizes and training durations. For each, we plot worst-group energy error against aggregate error. Part one of the claim holds only if the conflicting groups sit consistently above the line traced by the remaining groups.
Repair. The repair freezes the message-passing layers and refits the energy readout on a balanced set. Because the energy is a sum of per-atom contributions, the readout is the natural "last layer." The balanced set draws half from structures where a converged model and an early-stopped model disagree most, following SELF's group-free mining, and half at random. Group labels from the composition residuals are used only for analysis, never for selection. This keeps the validation-leakage problem that LaBonte et al. acknowledge out of our main result.
Direct force heads are left untouched in the main condition. This avoids reopening the trade-off between direct and conservative force prediction that Kolluru et al. describe. A secondary condition also refits the force head.
Scale-up-shift test set. We take about 500 OC22 and OC20 slabs and apply the kinds of imperfections that volumetric synthesis introduces: surface vacancies, dopant clustering in place of isolated substitution, and local amorphization by random displacement followed by a short relaxation. Single-atom Ru-on-oxide and Mo₃S₄-in-cage motifs motivate the clustering perturbations; Zhang et al. and Liu et al. document that aggregation is the failure mode in these systems. We compute about 2,000 DFT single points with the OC22 settings.
We also build a family of amorphous Ni–S slabs spanning $CN_S$ from 1 to 5. We compute $\Delta G_{OH^*}$ for these with DFT and with each model. The question is whether the model recovers a slope near the DFT value and places the optimum at three-sulfur coordination.
Baselines
The naive reference point is GemNet-OC trained by ordinary loss minimization on OC-2M, and separately on OC22. It is evaluated on the standard splits, the conflicting groups, and the new perturbed and Ni–S sets. For the strongest published result, OC22 reports GemNet-OC S2EF-Total energy MAE of 0.374 eV in-domain and 0.829 eV out-of-domain. We will reproduce these numbers before any comparison. For OC20, the only aggregate figure in our sources is the roughly 0.4 eV best energy MAE from OC20. We found no reported result on Lacuna for worst-group or coordination-stratified error on either dataset, so those numbers will be ours.
The strongest existing remedy is the joint OC20+OC22 training and OC20-pretraining-then-OC22-finetuning recipe from the OC22 paper. It reports about 19% better OC20 total energies with joint training and about 36% better OC22 in-domain energies with fine-tuning. It is strong because it simply adds diverse data. We run it with the same backbone and report it with and without our head refit on top.
The strongest debiasing competitor is group-reweighted full training. In one version it oversamples the mined set; in an oracle version it uses group-DRO-style weights on the composition-residual groups. We also run a MAP-style adapter variant: adapters trained on the in-distribution loss in the outer loop, a worst-group loss in the inner loop.
All methods get the same backbone checkpoint, data, and number of hyperparameter trials, here 20 per method. Selection uses aggregate validation MAE only.
Two ablations isolate the key ingredient. One refits the head on a random subset of equal size, which tests whether the mining matters. The other applies the same mined set with full-network fine-tuning, which tests whether restricting changes to the head matters.
Beating the field means two things on held-out conflicting groups and the perturbed set. First, a worst-group energy MAE reduction of at least 15% relative to the plain model, outside seed variance across three seeds. Second, in-distribution MAE no more than 0.005 eV worse. On the Ni–S family, the model must place the optimum at $CN_S = 3$ when the baseline does not.
Why not just…?
Why not just oversample the rare structures during normal training? This is the cheapest alternative and a real threat. Lee et al. show that oversampling memorizes rare examples in classification. Regression on smooth physical energies may behave differently, because nearby rare environments genuinely share structure. The reweighting baseline and the full-fine-tune ablation settle this directly. If oversampling matches head refitting on worst-group error without hurting in-distribution error, we report that and drop the method claim. The diagnostic contribution would stand.
Why not just add more diverse DFT data, as OC22 did? Joint training clearly helps on the aggregate splits (OC22). But it is not known whether the gains reach rare coordination environments, or simply lift the whole accuracy line. Our diagnostic answers this by comparing joint-trained models' group errors against the line. Head refitting also costs no new DFT, while targeted data generation for every restructured phase does. If joint training alone removes the off-line excess, more data is the answer, and we will say so.
Why not just use a bigger, better model? TableShift suggests that out-of-distribution gains mostly follow in-distribution gains. That is exactly the null hypothesis of part one of our claim. The model-size sweep tests it. If worst-group error falls on the line as models improve, scaling suffices.
Why not just hand the model explicit coordination-number features? This would hard-code the answer for the Ni–S family. It would not address shortcuts that do not reduce to coordination, such as oxidation state or dopant clustering. We include it as a feature-augmented baseline on the Ni–S and perturbed sets only, where its gain is the ceiling an informed chemist could reach by hand.
Decisive Checks
The project turns on three results. The first is whether composition-conflicting groups sit above the accuracy line across at least five model configurations; if not, we stop at the diagnostic. The second is whether head refitting beats both oversampling and the random-subset refit on the perturbed scale-up set at matched in-distribution error. The third is whether the refit model recovers the published Ni–S coordination optimum where the plain model misplaces it. That last check is the one a catalysis reader will care about, since it tests whether better worst-group numbers translate into correct mechanistic conclusions.
References
- The Open Catalyst 2020 (OC20) Dataset and Community Challenges
- The Open Catalyst 2022 (OC22) Dataset and Challenges for Oxide Electrocatalysts
- Open Challenges in Developing Generalizable Large Scale Machine Learning Models for Catalyst Discovery
- Surface Restructuring of Nickel Sulfide Generates Optimally Coordinated Active Sites for Oxygen Reduction Catalysis
- Cation insertion to break the activity/stability relationship for highly active oxygen evolution reaction catalyst
- Don't Take the Easy Way Out: Ensemble Based Methods for Avoiding Known Dataset Biases
- Learning from Failure: De-biasing Classifier from Biased Classifier
- Learning Debiased Representation via Disentangled Feature Augmentation
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations
- Towards Real World Debiasing: A Fine-grained Analysis On Spurious Correlation
- Benchmarking Distribution Shift in Tabular Data with TableShift
- MAP: Towards Balanced Generalization of IID and OOD through Model-Agnostic Adapters
- GemNet-OC: Developing Graph Neural Networks for Large and Diverse Molecular Simulation Datasets
- Mixed Plastics Wastes Upcycling with High-Stability Single-Atom Ru Catalyst
- COx hydrogenation to methanol and other hydrocarbons under mild conditions with Mo3S4@ZSM-5