physics.chem-phNov 17, 2026

Auditing two-stage MS/MS molecular retrieval on MassSpecGym v1.5: Reranking gains, candidate priors and spectrum dependence

Authors: Jiaqi Xue, Yutong Wu, Qiang Zhang

Organizations: 1Independent Researcher. · Department of Chemistry, Zhejiang University, Hangzhou, Zhejiang 310058, China. · 3*ZJU-UIUC Institute, Zhejiang University, Haining, Zhejiang 314400, China.

Abstract

Two-stage retrieval of molecular structures from tandem mass spectra (MS/MS) can benefit from candidate reranking, but benchmark gains may also reflect candidate priors, replicate spectra, precursor mass, and training-set coverage. We audit a two-stage retrieval system on the official MassSpecGym v1.5 split (17,556 test spectra). A data-safe DreaMS encoder and composite molecular fingerprints provide an initial shortlist; a support-gated reranker combines pair scores, candidate-relative peak coverage, and mass-feasibility features. The final system achieves 31.05% Recall@1, a 10.05-point gain over its Stage 1 ensemble, while preserving its 72.62% Recall@20. Replacing the query spectrum with one from a different molecule matched on adduct and precursor mass reduces Recall@1 by 9.0 points (15.3 points under molecule-balanced weighting); nevertheless, a training-mean spectrum retains 13.75% Recall@1, indicating substantial spectrum-independent signal. Mass-feasibility features improve Recall@1 beyond score and coverage controls, while learned peak-fragment similarities do not outperform constant coverage. Errors cluster by molecule, and removing close training neighbours causes a large decline in Stage 1 shortlist recall among initially well-covered molecules. We conclude that candidate-relative mass-feasibility evidence improves front-rank retrieval and spectrum dependence, but does not establish learned structural discrimination or eliminate candidate priors. Evaluation should separately assess shortlist reachability, spectrum dependence, and molecule-level generalization.

Figures & tables

Appendix figures & tables30 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. When should we trust the annotation? Selective prediction for molecular structure retrieval from mass spectra

    Mar 11, 2026Mira Jürgens, Gaetan De Waele, Morteza Rakhshaninejad +1Selective PredictionMass Spectrometry

  2. Separability Is Not Alignability: Representations for Spectrum-to-Molecule Retrieval

    Oct 27, 2026Karol Musielinski, Fanurs C. E. Teh, Takahiko Koyama +1Molecular Representation LearningMass Spectrometry

  3. MSAlign: Aligning Molecule and Mass Spectra Representations for Metabolite Identification

    May 19, 2026Paul Krzakala, Gabriel Melo, Camille Lançon +4Distribution ShiftCross-Modal Alignment