Journal of Chemical Information and ModelingBioinformaticsPeer-reviewed journal article
Reliable Molecular Retrieval from Mass Spectra using Conformal Prediction
Morteza RakhshaninejadiD, Gaetan De WaeleiD, Mira JürgensiD, Willem WaegemaniD
Abstract
A key task in the computational analysis of liquid chromatography-tandem mass spectrometry (LC- MS/MS) data is identifying the molecular structure underlying a measured spectrum. A common approach ranks candidate molecules retrieved from chemical databases using predicted fingerprint similarities, yet standard metrics such as top-k accuracy summarize performance only at the dataset level and provide no spectrum-specific reliability statement. In this work, we apply conformal prediction to candidate-based molecular retrieval to construct spectrum-specific prediction sets that contain the true molecule with a user-specified probability. We evaluate marginal and conditional conformal prediction across three experimental scenarios representing in-distribution, partially shifted, and fully out-of-distribution settings on the MassSpecGym benchmark. When calibration and test data are aligned, conformal prediction attains the target coverage with small candidate sets for most spectra. Under distribution shift, prediction sets become larger as rankings grow more ambiguous, although candidates can still be reduced when calibration remains representative. Conditional conformal prediction improves subgroup reliability across spectra of different difficulty, with the best gains obtained using confidence-based grouping. Overall, conformal prediction turns candidate rankings into reliable, spectrum-specific candidate sets with an explicit reliability-efficiency trade-off.
- Citations
- 1
- FWCI
- 2.05
- Field percentile
- top 14%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- 3DMolMS: Prediction of Tandem Mass Spectra from Three Dimensional Molecular Conformations
Yuhui Hong, Sujun Li, … Haixu Tang·BioinformaticsPeer-reviewed·May 30, 2023
- Probabilistic Framework for Integration of Mass Spectrum and Retention Time Information in Small Molecule Identification
Eric Bach, Simon Rogers, … Juho Rousu·BioinformaticsPeer-reviewed·Nov 17, 2020
- Joint structural annotation of small molecules using liquid chromatography retention order and tandem mass spectrometry data
Eric Bach, Emma Schymanski, Juho Rousu·Nature Machine IntelligencePeer-reviewed·Dec 19, 2022
- MS2DeepScore - a novel deep learning similarity measure for mass fragmentation spectrum comparisons
Florian Huber, Sven van der Burg, … Lars Ridder·bioRxiv·Apr 18, 2021
- Retention time prediction to facilitate molecularstructure identification with tandem mass spectrometry
Patrik Friedlos, Lilian Gasser, Eliza Harris·bioRxiv·Oct 19, 2022
- Identification of metabolites from tandem mass spectra with a machine learning approach utilizing structural features
Yuanyue Li, Michael Kuhn, … Peer Bork B·BioinformaticsPeer-reviewed·Sep 26, 2019