Reliable Molecular Retrieval from Mass Spectra Using Conformal Prediction
accuracy summarize performance only at the data set 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.
Authors
- Morteza Rakhshaninejad (ORCID: https://orcid.org/0000-0001-5250-9165)
- Willem Waegeman (ORCID: https://orcid.org/0000-0002-5950-3003)
- Gaetan De Waele (ORCID: https://orcid.org/0000-0003-0367-9699)
- Mira Jürgens
Institutions
- University of Antwerp (BE)
- Ghent University (BE)
- ZNA Middelheim Hospital (BE)
Publication Details
- Journal
- Journal of Chemical Information and Modeling
- Published
- 2026-05-11
- DOI
- https://doi.org/10.1021/acs.jcim.6c00727
- Primary Topic
- Molecular spectroscopy and chirality
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Vlaamse regering