mlsanityData to 7 Oct 2026

Small molecule retrieval from tandem mass spectrometry: what are we optimizing for?

arXiv 2602.16507 ↗First posted 18 Feb 2026cs.LGcited by 4

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

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  2. 2016Layer Normalizationcited by 5,579
  3. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  5. 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 903
  6. 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
  7. 2024MassSpecGym: A benchmark for the discovery and identification of moleculescited by 36
  8. 2019On the Consistency of Top-k Surrogate Lossescited by 35
  9. 2025DiffMS: Diffusion Generation of Molecules Conditioned on Mass Spectracited by 28
  10. 2013On the Bayes-optimality of F-measure maximizerscited by 15
  11. 2023Jaccard Metric Losses: Optimizing the Jaccard Index with Soft Labelscited by 12
  12. 2024JESTR: Joint Embedding Space Technique for Ranking Candidate Molecules for the Annotation of Untargeted Metabolomics Datacited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.