Small molecule retrieval from tandem mass spectrometry: what are we optimizing for?
Not on the map. Why?
Abstract (arXiv)
One of the central challenges in the computational analysis of liquid chromatography-tandem mass spectrometry (LC-MS/MS) data is to identify the compounds underlying the output spectra. In recent years, this problem is increasingly tackled using deep learning methods. A common strategy involves predicting a molecular fingerprint vector from an input mass spectrum, which is then used to search for matches in a chemical compound database. While various loss functions are employed in training these predictive models, their impact on model performance remains poorly understood. In this study, we investigate commonly used loss functions, deriving novel regret bounds that characterize when Bayes-optimal decisions for these objectives must diverge. Our results reveal a fundamental trade-off between the two objectives of (1) fingerprint similarity and (2) molecular retrieval. Optimizing for more accurate fingerprint predictions typically worsens retrieval results, and vice versa. Our theoretical analysis shows this trade-off depends on the similarity structure of candidate sets, providing guidance for loss function and fingerprint selection.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 12 of its 48 references that are in the map. First posted on arXiv 18 Feb 2026.
Builds on
12 of 48 references.
References · 12
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2016Layer Normalizationcited by 5,579
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 903
- 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
- 2024MassSpecGym: A benchmark for the discovery and identification of moleculescited by 36
- 2019On the Consistency of Top-k Surrogate Lossescited by 35
- 2025DiffMS: Diffusion Generation of Molecules Conditioned on Mass Spectracited by 28
- 2013On the Bayes-optimality of F-measure maximizerscited by 15
- 2023Jaccard Metric Losses: Optimizing the Jaccard Index with Soft Labelscited by 12
- 2024JESTR: Joint Embedding Space Technique for Ranking Candidate Molecules for the Annotation of Untargeted Metabolomics Datacited by 7
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Conformal Graph Prediction with Z-Gromov-Wasserstein Distancescited by 2
- 2026MSAlign: Aligning Molecule and Mass Spectra representations for Metabolite Identificationcited by 1
- 2026MassSpecGym in the Wild: Uncovering and Correcting Evaluation Pitfalls in AI-Driven Molecule Discoverycited by 1
- 2026When should we trust the annotation? Selective prediction for molecular structure retrieval from mass spectracited by 0
- 2026MassSpecGym in the Wild: Uncovering and Correcting Evaluation Pitfalls in AI-Driven Molecule Discovery17 Jun 2026
- 2026MSAlign: Aligning Molecule and Mass Spectra representations for Metabolite Identification19 May 2026
- 2026When should we trust the annotation? Selective prediction for molecular structure retrieval from mass spectra11 Mar 2026
- 2026Conformal Graph Prediction with Z-Gromov-Wasserstein Distances2 Mar 2026