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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: De Waele, Gaetan, Wydmuch, Marek, Dembczyński, Krzysztof, Kotłowski, Wojciech, Waegeman, Willem
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917279554338816
author De Waele, Gaetan
Wydmuch, Marek
Dembczyński, Krzysztof
Kotłowski, Wojciech
Waegeman, Willem
author_facet De Waele, Gaetan
Wydmuch, Marek
Dembczyński, Krzysztof
Kotłowski, Wojciech
Waegeman, Willem
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_16507
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Small molecule retrieval from tandem mass spectrometry: what are we optimizing for?
De Waele, Gaetan
Wydmuch, Marek
Dembczyński, Krzysztof
Kotłowski, Wojciech
Waegeman, Willem
Machine Learning
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.
title Small molecule retrieval from tandem mass spectrometry: what are we optimizing for?
topic Machine Learning
url https://arxiv.org/abs/2602.16507