LLMs Depend on Specialist Tools for Out-of-Distribution Generalization in MS/MS Structural Elucidation
Gabriel Asher, Cailum M. K. Stienstra, Tomo Oga, Devesh Shah Antonio H. de O. Fonseca, Niall O'Connor, Michael Widrich
Key points
From the paper's conclusion- These results suggest that LLMs are not effective at de novo MS/MS structural elucidation on their own, and that further gains depend on the specialist tools available to the agent rather than on the LLM itself.
Abstract
A frontier language model was recently reported to solve 1D NMR structural elucidation without tools. We ask whether this capability transfers to tandem mass spectrometry (MS/MS) in the de novo setting, where the model must propose a structure directly from the spectrum without a candidate list or reference library. To separate reasoning from recall, we build a 100-analyte benchmark from MassSpecGym, split by each analyte's textual footprint into in-distribution (well documented in literature) and out-of-distribution (essentially undocumented) arms. We hold the model, harness, and output format fixed and vary only the LLM's access to domain-specific tools. Without tools, a frontier LLM reaches 52% Top-1 accuracy in-distribution but only 2% out-of-distribution. Only access to de novo structure generators improves out-of-distribution accuracy, raising it to as much as 38% Top-1, and the resulting agent outperforms the standalone de novo models both in and out of distribution. These results suggest that LLMs are not effective at de novo MS/MS structural elucidation on their own, and that further gains depend on the specialist tools available to the agent rather than on the LLM itself.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- How well can off-the-shelf LLMs elucidate molecular structures from mass spectra using chain-of-thought reasoning?Journal of Cheminformatics · 2026
- MS2Agent: Multi-Agent LLM-Driven Cross-Modal Alignment for Tandem Mass Spectrometry Structural Annotation.Analytical chemistry · 2026
- Small molecule structure elucidation from NMR spectra with generative and reasoning models.bioRxiv : the preprint server for biology · 2026
- MS2Forge: Bayesian Flow Network for De Novo Molecular Structure Generation from Tandem Mass SpectraJACS Au · 2026
- Explainable Molecular Structure Inference from GC--MS with Diffusion Models and LLM RerankingarXiv · 2026
- DEEPNET-LLM: Highly accurate structure prediction of unknown metabolites from mass spectra via their molecular neighborhoods.bioRxiv : the preprint server for biology · 2026