Conference Talk

Let’s start with something every chemist does without thinking: reading a molecule.

G. Socrates, Infrared and Raman Characteristic Group Frequencies, 3rd ed., Wiley (2001); S. W. Benson, J. H. Buss, J. Chem. Phys. 29, 546 (1958).
Machine learning has a name for this ability. What is it, and do models have it?
Chemists do this every day. For ML it is still an open problem.

B. Lake, M. Baroni, ICML (2018); N. Kim, T. Linzen, EMNLP (2020); J. Johnson et al., CVPR (2017).
Before asking whether ML models do this for molecules: how does a machine learn anything at all?
You already do this: fit a curve to two or three experimental points, then predict other amounts of reactant without running more experiments.

C. M. Bishop, Pattern Recognition and Machine Learning, Springer (2006), ch. 1.
Can we trust that curve everywhere, even far from the points we measured?
A small training error says little about data the model has never seen.

C. M. Bishop, Pattern Recognition and Machine Learning, Springer (2006), §1.1, §3.2.
Let’s see how different our interpretation of a molecule is from a computer’s.
.xyz file holdsThe model never sees a label like “carbonyl”: only elements and distances.

J. Behler, M. Parrinello, Phys. Rev. Lett. 98, 146401 (2007); I. Batatia et al., NeurIPS (2022).
Then does machine learning read molecules the way a chemist does?
If every part of a new molecule is familiar, does the model find the whole familiar?

B. Lake, M. Baroni, ICML (2018).
Where to get these data, and how?
A model is at best as accurate as the method that produced its data.

S. Chmiela et al., Sci. Adv. 3, e1603015 (2017); C. Bannwarth, S. Ehlert, S. Grimme, J. Chem. Theory Comput. 15, 1652 (2019); D. S. Levine et al., arXiv (2025).
If these methods already give us energies and forces, why not just keep using them?
Every step down the ladder makes the same trade: accuracy for time and computer resources.

M. J. S. Dewar, W. Thiel, J. Am. Chem. Soc. 99, 4899 (1977); W. Thiel, WIREs Comput. Mol. Sci. 4, 145 (2014).
Machine learning makes a similar trade, by fitting to data. So what kind of method is it?
Is machine learning a numerical, a semi-empirical, or an empirical method?

J. Behler, Chem. Rev. 121, 10037 (2021).
Whatever it is, it learns from data. If labels are this expensive, why not pay once, at scale, for all of chemistry?
The assumption: they learn chemistry itself. Or do they stay grounded in what they have seen?

I. Batatia et al., arXiv:2401.00096 (2023); D. S. Levine et al., arXiv (2025); A. Mazitov et al., arXiv (2025).
Even with millions of structures, what happens where the data runs out?
High-energy geometries the data does not cover: one kind of out-of-distribution.

J. Behler, Chem. Rev. 121, 10037 (2021); X. Fu et al., Trans. Mach. Learn. Res. (2023).
Now think of a reaction. Which point on the path does MD visit least?
Rare events the data barely covers: a second kind of out-of-distribution.

H. Eyring, J. Chem. Phys. 3, 107 (1935).
Steep walls, rare events… what else counts as out-of-distribution?
Out-of-distribution: anything the training data does not represent, where the model has to go beyond its data rather than fill in between it.

S. Chmiela et al., Sci. Adv. 3, e1603015 (2017); X. Fu et al., Trans. Mach. Learn. Res. (2023).
Which of these do we actually test when we evaluate ML potentials today?
Test frames come from the same MD trajectories as training frames, so they are near-copies of what the model saw
Higher temperature, distorted geometries, rare events, unseen elements
Standard for predicting molecular properties (MoleculeNet), but not used for potentials
A controlled shift in composition: every part seen, only the whole new
The test chemists would care about most, a new molecule built from known groups, is the one we rarely run.
S. Chmiela et al., Sci. Adv. 3, e1603015 (2017); X. Fu et al., TMLR (2023); Z. Wu et al., Chem. Sci. 9, 513 (2018).
Shouldn’t these models handle new combinations anyway? After all, they are built from local parts.
So compositional generalisation should come for free. Does it?

S. W. Benson, J. H. Buss, J. Chem. Phys. 29, 546 (1958); J. Behler, M. Parrinello, Phys. Rev. Lett. 98, 146401 (2007).
How would we test that cleanly?
Every group is in training; only the molecule is new.

A. M. Nourollah et al., NeurIPS (2026); arXiv:2605.08988.
To run this test properly, we need a dataset built for it. That is GMD.
Models are usually tested on new shapes of known molecules. GMD tests them on new molecules.

A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
“New molecule” can mean many things. Which kinds of novelty do we test?
Systematicity, productivity, substitutivity, localism, overgeneralisation
The two that transfer cleanly to atoms
Handle longer structures than in training: one task, chain extension
Recombine known parts in new ways: four tasks, fusion, duplication, combination, fission
Each GMD task is one compositional operation, chosen from a framework the ML community already uses.
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
So what do these five operations look like?


A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
But if a model fails, is it because it never saw enough, or because it cannot compose?
The model never saw long chains, or never saw a group in a given setting
Fix: add the missing coverage to training
The model saw every piece, but never learned how pieces combine
Fix: show it a worked example of combining pieces
The augmented variants close the first gap and leave the second, so we can tell the two apart.
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
What do the augmented variants look like?

Chain extension gets the missing coverage; fusion gets a worked example of composition.
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
Which models do we put through all of this?
SchNet, DimeNet++, GemNet, PaiNN, NequIP, MACE, eSCN, EquiFormerV2: from the oldest to the newest designs, 2017 to 2024
MACE-MP-0 Small, Medium and Large and UMA-Small, fine-tuned per task; MACE-MP-0 Medium zero-shot
Mean absolute error of energies and forces against DFT
On known molecules (in-distribution) and new ones (out-of-distribution); headline: the OOD/ID ratio
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
So what happens on new molecules?

A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
Where inside the molecule does the error appear?
Known: –OH and C=O. Not composed: –COOH.

A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
Combining parts fails badly. How does the simplest task, a longer chain, compare?
Repeating a known part costs some accuracy. Combining parts in a new way costs far more.

A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
So is the problem coverage, or composition? The augmented variants answer that.
Much easier for every model except SchNet: OOD/ID close to ×1, and DimeNet++ recovers
Coverage was the missing piece
The amide example does not help: errors on carboxylic acids stay as large as before
Composition is the missing piece
Consistent with models treating each group as a standalone token, not learning how groups combine.
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
And if we run fusion backwards, can a model split a group it only saw whole?
Consistent with –COOH being learned as one unit, not built up from its parts.

A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
Could bigger models, pre-training or a different level of theory close the gap?
Foundation models pre-trained on millions of structures do not consistently beat MACE trained from scratch
Larger MACE-MP-0 helps on some tasks; the gap remains
GFN2-xTB labels instead of DFT give the same pattern
Helps chain extension, not fusion (previous slides)
Fine-tuning fixes the molecules the model was shown, not the ones it was not.
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
So what does all this mean, for chemists and for machine learning?
Before trusting a model on a new molecule, ask: has it seen this combination, or only these parts?
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
How far do these conclusions reach, and where should we look next?
Small H/C/N/O molecules in vacuum, one DFT level (PBE/def2-TZVP+D3BJ)
Every part of each test molecule is in training: failure under this minimal shift is a strong result
Aromatic, charged, inorganic or transition-metal chemistry; condensed phases
Richer fragment vocabularies: peptides for proteins, monomers for polymers
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
So what do we take home, and can we teach a model to see molecules as we do?
Goal: a model that understands a new molecule from its parts.
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
Amir Masoud Nourollah
Paper: arXiv:2605.08988 (NeurIPS 2026)
Data: huggingface.co/datasets/AmirMasoud/GMD
Code: github.com/Nourollah/GMD-26
Questions?

Image: local-environment coverage
[If available: nearest-training-neighbour distance of each OOD atomic environment, per task.]
env_coverage.png
A. M. Nourollah, I. Khalid, S. Leoni, S. Schockaert, NeurIPS (2026), Evaluations & Datasets Track; arXiv:2605.08988.
The goal is accuracy on data the model has never seen: generalisation.

C. M. Bishop, Pattern Recognition and Machine Learning, Springer (2006), §1.1, §4.1.
What about points that land outside everything the model has seen, or outside what our data covers?
