- Rating
- 4
- Clarity
- 3
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies a mismatch between training objectives for molecular fingerprint prediction and downstream molecular retrieval from tandem mass spectra. The main observation is that optimizing a model to produce fingerprints that are close to the ground-truth fingerprint under cosine-like similarity does not necessarily optimize retrieval metrics such as HR@k. The authors formalize this point using a Bayes-risk view.
Strengths and weaknesses
Strength: The paper studies an important relevant problem in biotechnology, the mismatch between the objective used during training and the metric used for downstream evaluation. I appreciate the attempt to connect theory and empirical observations. The categorization of objectives into bitwise, vectorwise, and listwise losses is clear and helpful.
Weakness: (1) I am concerned that some claims are stated too strongly. The paper frames the phenomenon as a “fundamental” or “inherent” trade-off. I would encourage the authors to clarify the exact scope of the empirically observed trade-offs in the tested benchmark. (2) The empirical setting is somewhat narrow. Most conclusions are based on MassSpecGym. Since the paper makes a general statement about molecular retrieval, it would be useful to evaluate on another dataset, or other retrieval setting. (3) The presentation could be improved for a broader NeurIPS readers. The problem setup is domain-specific, and some readers outside computational metabolomics may have difficulty understanding why particular candidate settings, fingerprints are standard.
Questions
Are the conclusions mainly about molecular fingerprints, or should they also apply to learned continuous molecular embeddings.
Limitations
See weekness.
Paper formatting concerns
NA
Final justification
I appreciate the authors’ response and will maintain my positive score. However, I would like to acknowledge the limitations of my expertise in computational biology.
We thank the reviewer for their careful reading of our paper. Below, we address each raised point:
Q1: Regarding overstating claims
We agree we could be more careful in framing our results. In the revised version, we will change the tone of our language to be more specific and grounded in what we actually demonstrate. For example, in Abstract line 6: "these objectives are fundamentally misaligned" and line 14 "these results expose an inherent trade-off", we will shift our language towards something such as: “objectives that are provably misaligned under such uncertainty as empirically observed.”
Q2: Regarding the scope of the experiments
On “other retrieval settings”, we note that the paper already evaluates two retrieval regimes (equal-mass and equal-formula candidates, Table 1). To address this directly, we will expand our empirical settings to include results on Enveda-180 alongside MassSpecGym. This dataset is a recently released MS/MS dataset consisting of ~1.16M spectra spanning ~184k diverse druglike small molecules. As such, the data domain of this dataset should provide an orthogonal validation to the natural-product-like MassSpecGym. We believe it will be possible to share preliminary results using the most important losses to illustrate the trade-off (Contrastive Emb-Cos vs IoU Loss) by the end of the discussion window (Aug 3). Full results will then be included for a camera-ready version, if the paper would be accepted.
Q3: Regarding domain-specificity
This is a fair point: the setup assumes familiarity with why fingerprints and mass- or formula-restricted candidate sets are standard in this field. In the camera-ready revision, we will provide additional framing of the problem in the first paragraph of Section 2.1 Line 64-70. Concretely, we will expand this paragraph so that it clarifies how (1) tandem MS/MS provides the mass of the unknown compound as a prior for pre-selecting candidates from a chemical database, (2) how molecular formulae are routinely obtained through computational tools and provide a similar prior, and (3) briefly acknowledge and reference the field of molecular fingerprints/descriptors and its standard practice.
We believe these changes will benefit reading comprehension from the NeurIPS audience so that our material is broadly accessible to the ML community.
Q4: Regarding theory scope of binary fingerprints vs continuous embeddings
While much of our theoretical analysis is scoped specifically for binary multi-label representations, it is worth clearly stating which parts of our theory do transfer to the continuous domain. Arguably some of the more important theoretical results are Theorems 3.2 and 3.3, which bound the regret of HR@1 when similarity-maximizing decoding and vice-versa (regret of similarity score when HR@1-maximizing decoding). The proofs of these theorems only require that Usim(yi,yi)=1 and that off-diagonal similarities lie in [σmin,σmax]. Nothing in these theorems references that candidates need to be binary.
As such, we believe the similarity-versus-retrieval accuracy trade-off also occurs when using continuous molecular embeddings. There is also some evidence in the literature that the trade-off actually occurs with continuous embeddings in realistic settings: a recent preprint “MSAlign” by Krzkala et al., compares retrieval scores with input ChemBERTa-2 embeddings optimized under either (1) cosine similarity loss, or (2) contrastive loss, and found that cosine similarity optimization results in considerably lower hit rate scores. As such, this paper provides supporting evidence: our theory explains why this happens.