bioRxiv · 10.64898/2026.05.03.722532
Confronting spurious evaluations of computational methods in small molecule mass spectrometry
Abstract
Mass spectrometry-based metabolomics detects thousands of small molecule-associated signals in biological samples, but the vast majority cannot be structurally identified. Mounting interest in this metabolomic "dark matter" has spurred the development of dozens of machine-learning models for structural annotation of small molecules from their MS/MS spectra. Here, we expose a fundamental flaw in the longstanding paradigm by which these models have been evaluated. We show that a trivial machine-learning model can achieve strong performance on existing benchmarks despite entirely discarding the information contained within MS/MS spectra themselves, and without using any other auxiliary information. This performance arises because compounds with reference MS/MS spectra are structurally distinct from those found in generic chemical databases, and machine-learning models can exploit this dissimilarity by learning to predict whether a compound is likely to have been measured by MS/MS. However, we show that this confound can be overcome by using a generative model to sample decoy structures that are chemically indistinguishable from compounds in reference MS/MS libraries. The resulting benchmark cannot be solved without learning from MS/MS spectra themselves. We leverage this benchmark to compare 17 published machine-learning models for MS/MS annotation, and find that many of these models fail to outperform simple baselines and may learn little about MS/MS itself. In contrast, a subset of models show convincing evidence of generalization. Our work provides a sound foundation for developing and evaluating computational methods for small molecule MS/MS.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Gupta, V., Skinnider, M. A.. 2026-05-06. Confronting spurious evaluations of computational methods in small molecule mass spectrometry. https://doi.org/10.64898/2026.05.03.722532
Cite the original work for its findings. Save a collection to share your selection of sources.