acceptodds
Published as a conference paper at NeurIPS 2026

MSAlign: Aligning Molecular and Mass Spectra Foundation Models for Metabolite Identification

Paul Krzakala, Gabriel Melo, Camille Lançon, Charlotte Laclau, Rémi Flamary, Etienne A Thévenot, Florence d'Alché-Buc

Abstract

Accurately identifying metabolites (small molecules) from mass spectrometry data remains a core challenge in metabolomics, with broad applications in drug discovery, environmental analysis, and clinical research. We address the Molecule Retrieval task, which consists in recovering the chemical structure of a metabolite from its MS/MS spectrum given a set of candidate molecules. While the recent release of benchmark datasets such as MassSpecGym and Spectraverse has considerably accelerated the development of novel machine learning approaches, the complexity of data preprocessing pipelines and the lack of unified implementations make methods and results difficult to reproduce and compare. We make three contributions. First, we propose a unified framework encompassing recent approaches based on representation alignment and contrastive learning. Second, we introduce MSAlign, inspired by multimodal alignment in vision-language models, which learns a shared representation space by aligning two frozen foundation models (DreaMS for mass spectra and ChemBERTa for molecules) through lightweight MLP projections trained with a candidate-based contrastive objective. MSAlign is simple to implement, fast to train and consistently outperforms existing approaches across all benchmarks. Third, we investigate a long-standing evaluation problem: data splitting strategies in molecule retrieval implicitly trade off data leakage against domain shift. We formalize this tension by introducing a quantitative measure of distribution shift, and use it to evaluate splitting strategies in existing benchmarks. All datasets, splits, candidate sets, and a unified implementation of MSAlign and baselines are publicly released to support reproducible research.

Keywords:
Paris, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_qYgrOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
3
Significance
3
Read review
Summary

This paper addresses the task of molecule retrieval from MS/MS spectra, given a pool of candidate molecules. It tackles this task by aligning a frozen MS/MS foundation model (DreaMS) and a frozen molecular language model (ChemBERTa) into a shared space using lightweight MLP adapters trained with a candidate-based InfoNCE loss. The paper additionally analyzes different train/test splitting strategies to mitigate evaluation data leakage. Across three benchmarks (NPLIB1, MassSpecGym, Spectraverse), MSAlign improves R@1 over the strongest formula-free baseline (Emb-Cos) by 5–13 points.

Strengths and weaknesses

Strengths

  • MSAlign consistently outperforms all baselines across all three benchmarks, with R@1 gains of ~5–13 points over the strongest formula-free baseline (Emb-Cos).

  • The paper does extensive ablation studies to show the impact of each design choice, including the training objective (regression vs. in-batch vs. candidate-based InfoNCE) and spectral/molecular encoder.

Weaknesses

  • The novelty of the methodology might be limited. MSAlign's gain over prior work comes almost entirely from using the foundation models’ spectral/molecular encoders, not from the candidate-based contrastive learning framework. Table 1 shows that MSAlign differs from Emb-Cos only in the spectra/molecule encoders, since Emb-Cos already uses the candidate-based InfoNCE. The "binned spectra + fingerprint" row of Table 5 reproduces Emb-Cos's Table 3 results almost exactly.

  • The claimed benefit degrades precisely in the high-shift regime that motivates the task. Using the paper's own Shift metric, MSAlign's advantage over Emb-Cos falls from +12.6 R@1 on the MassSpecGym Formula split (Shift = 1.40) to +3.9 R@1 on the MCES split (Shift = 4.18). This suggests a substantial portion of the foundation-model gain may reflect in-distribution similarity rather than genuine generalization to structurally novel molecules. An analysis of gain-vs-Shift across splits would =appropriately qualify the central claim.

  • The paper reports only aggregate retrieval metrics, with no example qualitative retrievals (successful or failed) and no systematic analysis of the model failure cases (e.g., by compound class, candidate-set difficulty).

Questions
  • Can you provide qualitative examples (successful and failed retrievals) and a systematic failure-case analysis?

  • Beyond Figure 4, can you give further insight into why the foundation-model encoders help? For example, what does DreaMS/ChemBERTa capture that binned spectra and fingerprints miss?

Limitations

yes

Paper formatting concerns

no

Final justification

The relative-gain analysis resolves my concern about the high-shift regime. The added failure-case analysis (per-adduct behavior and the candidate-difficulty stratification) directly addresses my request and is a valuable addition and should be included in the camera-ready version. My major remaining concern is still the novelty of the core method, which substitutes foundation-model encoders into the existing candidate-InfoNCE framework, but I acknowledge the empirical gain and the contribution to this task. Therefore, I have raised my rating to borderline accept (4).

1 comment

Thank you for your review. We are happy to see that the ablations study have been appreciated and that you aknowledge the performances gap with respect to the second best method (EmbCos). Regarding the strenghts of the paper we would like to highlight that the unified framework and the novel shift metric have also been appreciated by the other reviewers as this might influence your final decision.

We will adress your main concerns below.

W1. Novelty is concentrated in using fondation models

MSAlign's gain over prior work comes almost entirely from using the foundation models’ spectral/molecular encoders, not from the candidate-based contrastive learning framework.

We aknowledge that we should discuss our positining and novelty more clearly in the paper. Here are the main points we would like to highlight:

  • Regarding the positioning w.r.t. to EmbCos we would like to highlight that not only the performances of MSAlign are significantly better (5–13 points) but it is also much faster to train as the training time drops from 4h to 30min (Table 7). Also this performance gap is bound to increase as newer fondation models are released. Finally, note that EmbCos is a very recent (2026), unpublished method so any gain is notable.
  • Regarding use of unimodal fondation models to tackle multimodal tasks, we would like to point out that this is a scalable approach for many multimodal problems in life sciences where multimodal data is scarce. While this is a simple idea, already well explored in vision/language domains, we argue that it is a very important one that deserve more attention in life sciences. We will add this to the conclusion of the paper.
  • Regarding the general novelty of the paper, we would like to point at other aspects of the work: 1) the unified framework, 2) the novel shift metric and associated discussion, 3) the interpretation of why candidates InfoNCE outperforms batch InfoNCE (Figure 4).

W2. Performance in the high shift regime

The claimed benefit degrades precisely in the high-shift regime

We think that this refers to the fact that the gain over Emb-Cos is "only" +3.9 R@1 on the MCES split. We agree that this is the hardest split and that the absolute performance is low. However, we would like to stress that the relative gain over Emb-Cos is actually +31.7% on MCES, which is comparable to the relative gain on the Formula split (+30.6%)!

Q1. Why the foundation-model encoders help

Thank you for this question. While it is a central idea of the paper this could be better explained. The major reason why fondation models help is that they are pretrained on very large unimodal datasets, 24M spectra for DreaMS and 110M molecules for ChemBERTa. MSAlign implicitly leverages these datasets by using the pretrained encoders. Another reason is that fondation models incorporate strong domain knowledge (see "Chemical knowledge" answer to reviewer vvVF) which MSAlign inherits for free. There is no doubt that even better fondations models will be released in the future and that MSAlign will benefit from them with a one line change in the code. We will add a discussion on this in the paper.

Q2-W3. Qualitative examples

We agree that the paper is missing qualitative examples. Thank you for raising this point. We will use the additional page to add a figure with qualitative examples in the paper.

We are currently looking to answer the second part of your question (failure cases) and hope we can complete our reply shortly.

Reviewer_vvVFOpenReview ↗
Rating
4
Clarity
3
Confidence
5
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper presents MSAlign, a method for metabolite identification from MS/MS data that combines two pre-trained fundamental models: DreaMS for mass spectra and ChemBERTa for chemical structures. The authors train small projection layers so that the spectrum and its corresponding molecule share similar representations in a single common embedding space, using a contrastive learning approach inspired by CLIP models. This enables the search for structural candidates even when an identical spectrum is not present in the reference library.

The method is compared with several baseline approaches, including classical embedding similarity (Emb-Cos), the SAIL method, and variants that utilize additional molecular formula information. The results show that MSAlign achieves better candidate search performance across several benchmarks, particularly in more challenging scenarios where the model must generalize to new compounds.

Another significant contribution of this work is the analysis of the impact of data partitioning on model evaluation. The authors demonstrate that the popular random split leads to information leakage between training and test, while more rigorous splits based on structural similarity (Murcko split, MCES split) can introduce significant domain shift. In response, they propose Formula Split, in which compounds with the same molecular formula are assigned exclusively to training or test, a compromise between data leakage and excessive task complexity. The main value of this work lies not only in the new model but also in a more critical perspective on how machine learning methods are evaluated in metabolomics. Nevertheless, the method still operates primarily as a candidate search system and does not provide the chemist with an interpretation of which spectral fragments are responsible for the final identification.

Strengths and weaknesses

The strengths of this work are as follows:

  1. It leverages existing fundamental models: the authors don't train everything from scratch. They take two large pre-trained models and train only small projection layers. This makes training fast and requires less data.

  2. It's well-suited to a real-world chemical problem: metabolomics suffers from the fact that most spectra lack library equivalents. The idea of ​​searching for molecules by similar representations is sensible and scalable.

  3. The authors address the problem of benchmarking. It is a very valuable element of the work. They demonstrate that the results depend on how the data is split into training and testing and formalize the trade-off between information leakage and domain shift. This is rarely analyzed in such detail.

  4. Public release of data and code: This increases reproducibility and facilitates implementation by other researchers.

Weaknesses of the work from the perspective of chemistry applications (what is the main motivation and goal of the work):

  1. Chemistry is treated as an embedding search problem. The model learns the mathematical similarity between the spectrum and the structure, but it doesn't understand the mechanisms of fragmentation. Chemists often want to know which fragment corresponds to which peak, why a given ion was formed, and what the possible fragmentation pathways are, and MSAlign doesn't provide this.

  2. Lack of interpretability: if the model says, "this is metabolite X", it is not known which signals were the most important, which parts of the structure are responsible for the decision, and how certain the prediction is.

  3. It does not utilize chemical knowledge: the model primarily relies on representations learned from molecular LLMs. It does not explicitly incorporate information such as fragmentation rules, collision energy, ion stability, metabolic pathways, or compound classes. This limits its ability to generalize beyond training data.

  4. It focuses on identifying a single molecule, whereas in metabolomics practice, we often encounter mixtures, adducts, isomers, and degradation products. This means that the method assumes a much simpler scenario than actual laboratory data.

  5. Additionally, I note three technical weaknesses: (i) full error bars/replicates are missing. This means we don't know how robust the differences between methods are. (ii) The choice of Formula Split as "realistic" is debatable. The authors show that random splitting leaks data and MCES/Murcko produces a strong domain shift, but the claim that Formula Split is the best compromise is not sufficiently proven. (iii) MSAlign+Filter uses ground-truth formulas. This is fairly separate from the main comparison, but it's important to remember that the molecular formula is usually unknown.

Questions

The following analyses would significantly improve my opinion of the proposed method:

  1. Evaluating prediction confidence: currently, the model only returns a ranking of candidates, but does not report how confident it is in its answer. I suggest calibrating the results (e.g., temperature scaling) and reporting a probability of correct identification, e.g., 95%, 70%, or 20%. The model's success can be assessed by checking whether candidates marked as "90% confident" are actually correct approximately 90% of the time on the test set. To summarize, draw a reliability diagram and calculate the Expected Calibration Error (ECE).

  2. A step towards explainability: which peaks were decisive for the molecule's identification? For each match, show the 5–10 peaks that most influenced the match and their contribution to the score. For the first 10 candidates, find the largest common substructures (MCSs) and verify that the model consistently selects compounds containing the same chemical motif.

  3. Comparison with classical library search: compare MSAlign with cosine similarity on the same spectra and the same candidates.

  4. Using precursor mass as a filter: Before running MSAlign, filter candidates to a specific error window (e.g. +/- 5–10 ppm) and then rank only within that subspace. Compare the identification metrics before and after filtering and demonstrate how the number of incorrect candidates is reduced while maintaining the number of correct matches.

Limitations

The authors quite honestly describe the most important methodological limitations, especially in the context of benchmarks and data divisions. They directly discuss the problem of data leakage, domain shift, and the fact that the results strongly depend on the way the training and test sets are constructed. However, practical limitations from the chemist's point of view are less discussed: lack of interpretability of predictions, lack of modeling of fragmentation mechanisms, and uncertainty of operation on real, more complex experimental data.

Paper formatting concerns

does not apply

Final justification

The rebuttal included additional experiments and analyses that provided further insights into the proposed method. I appreciate the substantial effort invested in addressing the reviewers’ feedback, and I believe that the new results and clarifications strengthen the paper. In particular, the additional work focused on calibration and explainability further improves the understanding and evaluation of the proposed approach. The responses also carefully addressed the remaining comments and concerns raised by the other reviewers, providing additional evidence and discussion that improve the overall presentation of the work.

Overall, I find the rebuttal thorough and constructive. The additional analyses and clarifications increased my confidence in the quality of the work, and I am keeping my original score while continuing to support acceptance of the paper. I hope that these additional contributions will also be taken into consideration by the other reviewers during the final decision.

1 comment

Thank you for the thoughtful review, your emphasis on chemistry is very welcome. We appreciate your positive feedback on the proposed model, the effort made on reproducibility and the evaluation of splitting strategies with the shift metric. Additionnaly, we would like to highlight that the unified framework is an additional contribution that has been appreciated by the other reviewers as this might influence your final decision.

Below, we will address some of the points that you raise as weaknesses as we think that most of them can be resolved with proper revisions to the paper.

Due to the limited time available for the initial response, we will address your questions in a second reply.

W1-3). Chemical knowledge

[MSALign] does not utilize chemical knowledge

While it is true that modeling fragmentation pathways is out of scope for MSAlign, we would like to clarify that the method is NOT chemically blind. On the contrary, it heavily relies on chemical knowledge encoded in the DreaMS and ChemBERTa foundation models. ChemBERTa masked modelling loss is complemented by more than 200 molecular properties as additional training signal. Similarly, DreaMS uses attention biased by pairwise m/z differences, including neutral losses (strong inductive bias) and chromatographic retention orders as additional training signal. This is actually a feature of the method, by leveraging foundation models, MSAlign can benefit from the chemical knowledge encoded in these models.

W4) Single-molecule retrieval and practical LC-MS/MS

in metabolomics practice, we often encounter mixtures, adducts, isomers, and degradation products

This deserves some clarification. In a standard LC–MS/MS metabolomics workflow, metabolites are chromatographically separated before acquisition of the MS spectrum, selection and fragmentation of the precursor ion, and obtention of its MS/MS spectrum. There is usually a single selected precursor ion at a time to facilitate the interpretation of the MS/MS spectrum. Nevertheless, thanks to the high-speed of the acquisition in modern instruments, many MS/MS spectra from distinct precursors can be obtained successively within the same run: strategies such as Data-Dependent Analysis (DDA) aim at optimizing the number of distinct precursors to be fragmented. Therefore, it is reasonable and practically relevant to assume that the precursor isolation window contains a single molecule. All benchmark targeted by MSAlign are based on this assumption. We will make this point explicit in the final version.

W5) - (i) Missing error bars [Also Q1 from AC]

full error bars/replicates are missing.

Same as Q1 from AC. We now provide the error bars. See answer A) to vTHm above. Our conclusions are unchanged: MSAlign consistently outperforms the baselines.

W5) - (ii) Formula Split vs InChIKey split [Also Q2 from AC]

the claim that Formula Split is the best compromise is not sufficiently proven.

Same as Q2 from AC, we adressed this in answer B) to vTHm above. MSAlign consistently outperforms the baselines on both splits and we also highlight that the Formula split is stricly harder than the InChIKey split, which is why we chose it as the default protocol. This will be made explicit in the final version.

W5) - (iii) Ground-truth formula

You highlight that MSAlign+Filter uses ground-truth formulas, which is a strong assumption. We fully agree with this point which is why we clearly separated the results of MSAlign+Filter and other formula-dependent methods from the other results. Our goal was precisely to highlight to the community that assuming the molecular formula is known is a strong assumption that can lead to over-optimistic performance estimates, as highlighted by the very high performances when using the filtering trick.

Again, we are still working on the additional analyses you requested and will post them as soon as they are ready during the discussion period.

Reviewer_vTHmOpenReview ↗
Rating
3
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
2
Read review
Summary

molecule retrieval from tandem mass spectra: match a measured spectrum to the correct structure inside a mass-filtered candidate pool. the paper does three things. it casts the recent literature as one energy-based recipe, every method is some pick of {frozen spectrum encoder, learned head, frozen molecule encoder, learned head, loss}, and tabulates six prior approaches that way. it then proposes MSAlign: keep DreaMS and ChemBERTa frozen, train only two small MLP heads (~4M params total) with candidate-based InfoNCE, and precompute all embeddings so the otherwise costly candidate loss becomes cheap dot products. finally it offers a normalized Wasserstein ratio to score how much distribution shift each train/test splitting strategy induces.

Strengths and weaknesses

the core idea is clean and the empirical work is careful. three benchmarks, baselines re-implemented in one shared codebase, and a decent spread of ablations (loss, encoders, batch scaling, metadata, per-adduct experts). figure 4 is the nicest bit, candidate similarity goes from 0.63 in chemberta space to −0.06 in the learned space, which is a real mechanistic check on why the thing separates candidates rather than just an accuracy number. the unified framework in table 1 is genuinely useful and people will cite it to orient themselves. it's also fast and reproducible, and they're releasing code, splits, and checkpoints, which matters for this subfield where preprocessing is the usual reproducibility killer.

going deeper on what's actually driving the result: figure 3 is the tell. they pit msalign (candidate loss) against sail (in-batch loss) and sail plateaus around 30 r@1 while msalign climbs to ~54. those two are the same architecture differing mainly in objective, so the headline is really "hard negatives sampled from the candidate set are the dominant lever." the foundation-model swap helps too (table 5: dreams is the bigger of the two encoder gains) but it's the secondary effect. i'd want the abstract to say this plainly instead of leading with "inspired by multimodal alignment," which oversells the modeling novelty. the modeling itself is explicitly the sail / vision-language recipe, sail is literally a baseline, so the new parts are the candidate loss + precompute trick and the benchmarking, not a new mechanism.

now the things that actually give me pause. (1) no variance on the main table. table 3 is single numbers; error bars show up only on the batch-scaling curve. for a paper whose whole claim is "consistently outperforms everywhere," the close margins, spectraverse against emb-cos especially, which uses the same candidate loss, need a few seeds to be believed. (2) the hard split gets quietly sidelined and that's exactly where it gets interesting: on massspecgym mces, flare beats msalign on r@1 (27.2 vs 16.2 without formula filtering), and only msalign+filter pulls ahead. that's sitting right there in table 3 and never discussed in prose, while the paper picks the easier formula split for all main analysis on the grounds mces is "unrealistically" shifted. plausible, but convenient, the method's worst relative showing is on the split they argue we should mostly ignore. (3) the formula-vs-2d-inchikey choice is decided on a hair (shift 1.40 vs 1.29) with no tie-break argued, and that choice propagates to every downstream table.

one conceptual snag worth a rebuttal: the shift metric embeds pairs with dreams+chemberta, the exact space msalign lives in. so "low-shift split" partly means "the split these two encoders already place close together," which is precisely when a frozen-encoder method looks strong, and they then select their main split using that metric. the metric and the model aren't independent. doesn't invalidate anything but it's a loop worth closing with an encoder-agnostic version. smaller stuff: metadata gains are anticlimactic (+0.7% from collision energy, which physically governs fragmentation, suggests the concatenation fusion is too weak or it's already in dreams, they shrug rather than probe), the expert-model appendix lands on a useful negative result that deserves a line in the main text, and there are scattered typos (fondation, enforce enforces, wit rdkit, lightspeed).

net: solid, useful, reproducible, will get used. novelty is concentrated in engineering and consolidation rather than method, and two evaluation-rigor gaps plus the metric coupling keep me at borderline-accept rather than clear-accept.

Questions

can you add error bars (≥3 seeds) to table 3 for at least msalign and the two closest baselines? this is the single thing most likely to move my score up. justify formula over 2d-inchikey (1.40 vs 1.29), and please confront the mces result where flare beats you on r@1 directly in the main text. do your conclusions hold under both low-shift splits? the shift metric uses your own encoders, does it rank splits the same way under a held-out embedding? an encoder-agnostic check would address the coupling. collision energy governs fragmentation but adds only +0.7%, can you tell apart "already captured by dreams" from "fusion too weak," e.g. by probing dreams embeddings for collision energy?

Limitations

yes, adequately addressed, they're honest about foundation-model dependence, weak metadata handling, and no de novo capability. i'd add one line in the main text on the relative weakness on ood (mces) splits, since it's currently underplayed.

Paper formatting concerns

none

1 comment

Thank you for your positive review. We are glad that you strongly appreciated the unified framework ("table 1 is genuinely useful and people will cite it") and found the method to be "solid, useful, reproducible".

We believe your remaining questions are well-founded, and we are confident that our responses and proposed revisions fully address them. We hope it will justify raising the score to better reflect your positive assessment.

Note that many of your questions align with the AC's main questions. We will answer those first and then adress your additional remarks and interogations.

Q1. Statistical reliability [Also Q1 FROM AC]

Can you add error bars (≥3 seeds) to table 3 ?

This point was raised by multiple reviewers. We agree that Table 3 should report uncertainty estimates. We propose two ways to do this: standard deviation w.r.t. to the split and standard deviation with fixed split but random run. Due to time and space constraints, we report only the R@1 mean/std over 3 seeds for MSAlign and direct competitors accross the most important benchmarks. The full Table 3 will be updated in the final version with 5 seeds.

Results for fixed splits (seed on dataloader, initial weights...):

DatasetJESTREmb-CosSAILMSAlign
MassSpecGym (MCES)12.1 ± 0.212.4 ± 0.209.8 ± 1.215.6 ± 0.4
MassSpecGym (Formula)19.9 ± 1.141.8 ± 1.429.5 ± 0.850.4 ± 1.5
Spectraverse (Formula)11.8 ± 0.527.7 ± 0.614.6 ± 0.531.0 ± 0.9

Results for varying splits (seed on splits):

DatasetJESTREmb-CosSAILMSAlign
MassSpecGym (Formula)19.7 ± 2.142.5 ± 4.428.7 ± 3.149.7 ± 3.9
Spectraverse (Formula)12.1 ± 1.127.1 ± 1.414.3 ± 1.832.4 ± 2.0

These next results strenghten our claims that MSAlign consistently outperforms the baselines. We also observe higher standard deviation on all method when different splits are used. This confirms the importance of careful splitting when benchmarking these methods.

Q2. Formula split versus 2D InChIKey split [Also Q2 FROM AC]

Justify formula over 2d-inchikey... do your conclusions hold under both low-shift splits?

Again this point was raised by multiple reviewers. There are several aspects to this discussion.

  • First of all, we agree that the 2D InChIKey split is a valid alternative to the Formula split. We will report it in the final version. Again we report the main results below and we observe that the conclusions are unchanged: MSAlign outperforms the baselines on both splits.
DatasetJESTREmb-CosSAILMSAlign
MassSpecGym (InChI)20.0 ± 0.539.7 ± 0.329.4 ± 0.245.1 ± 0.3
Spectraverse (InChI)11.5 ± 0.326.9 ± 0.715.1 ± 1.229.6 ± 0.8
  • Secondly, there is a rationnal for choosing the Formula split over InchiKey split as the default protocol: the Formula split is strictly harder (the restriction on which molecules can be in the test set are stronger). Indeed, we have that

InchiKey(mol1)=InchiKey(mol2)  ⟹  Formula(mol1)=Formula(mol2)InchiKey(mol_1) = InchiKey(mol_2) \implies Formula(mol_1) = Formula(mol_2)

Given that the choice between the two splits was largely arbitrary, we chose the harder one as the default. We will make this choice explicit in the final version.

Q3. The shift metric is coupled to MSAlign's encoders [Also Q3 FROM AC]

The shift metric uses your own encoders, does it rank splits the same way under a held-out embedding ?

We would like to thanks the reviewers and AC for raising this point. We agree that the shift metric is coupled to MSAlign's encoders. We propose to fully addess this issue by recomputing the shift metric using binned spectra (width 0.1) and molecular fingerprints (Morgan 4096) instead of DreaMS and ChemBERTa. This yields a metrics that is fully independent of MSAlign's encoders. The results are reported below. We observe that the absolute values change, but the ranking is stable and our conclusions are unchanged. Note that following the discussion on statistical relability we report the standard deviation over 5 differents splits.

SplitRandomInChIFormulaMurckoMCES
Shift1.00 ± 0.063.49 ± 0.223.92 ± 0.386.43 ± 0.776.39 ± 0.30

Q4. Positioning w.r.t. FLARE

please confront the mces result where flare beats you on r@1 directly in the main text.

As explained in the paper, FLARE assumes that the molecular formula is known and uses formula-derived peak annotations, which is a strong assumption. Despite this MSAlign outperforms FLARE in most scenarios. If, like in FLARE, we assume that the molecular formula is known, then filtering the candidates by formula (MSAlign+Filter) yields a strong performance gain over FLARE across all benchmarks. We will make this point more explicit in the final version.

W1. Absolute gain on MCES split

the method's worst relative showing is on the split they argue we should mostly ignore.

We think that this refers to the fact that the gain over Emb-Cos is "only" +3.9 R@1 on the MCES split. We agree that this is the hardest split and that the absolute performance is low. However, we would like to stress that the relative gain over Emb-Cos is actually +31.7% on MCES, which is comparable to the relative gain on the Formula split (+30.6%)!

Comments on the paper

1 comment
Meta-review
  • Summary

The paper studies candidate-based molecular retrieval from MS/MS spectra. MSAlign freezes DreaMS and ChemBERTa, learns lightweight projection MLPs with candidate-based InfoNCE, and precomputes embeddings for efficient hard-negative training. It also proposes a normalized sliced-Wasserstein measure for the leakage–distribution-shift trade-off in benchmark splits. Results on three datasets are strong in the formula-free setting, although the advantage narrows on the high-shift MCES split.

  • Main strengths

The approach is simple, efficient, and supported by useful objective and encoder ablations. The unified implementation, standardized splits, and benchmark analysis are valuable for reproducibility. The candidate-separability analysis also provides some mechanistic evidence beyond aggregate retrieval scores.

  • Main weaknesses

The strongest empirical claims currently lack sufficient uncertainty estimates. The default Formula Split is not clearly favored over 2D InChIKey, and the shift metric uses the same frozen encoders as MSAlign, creating possible method-dependent coupling. Contribution attribution also needs sharpening: candidate negatives distinguish MSAlign from SAIL, whereas pretrained encoders distinguish it from Emb-Cos. Finally, the smaller MCES gain and limited failure analysis leave out-of-distribution behavior under-characterized.

  • Prioritized questions for the author response
  1. Please establish whether the main improvements are statistically reliable.

  2. Please justify Formula Split as the default protocol. Formula and 2D InChIKey have similar shift values and performance, yet all subsequent analyses use Formula Split. Explain the leakage or deployment criterion that favors it, and indicate whether the main conclusions and component ablations remain valid under InChIKey.

  3. Please test the shift metric’s sensitivity to its representation. Because it concatenates DreaMS and ChemBERTa embeddings—the backbones used by MSAlign—the split ranking may partly reflect the proposed method’s inductive biases.

  4. Please clarify contribution attribution and the generalization claim. Explain why candidate-based negatives explain the gain over SAIL, while foundation-model encoders explain the gain over Emb-Cos; state precisely what is new. Also directly discuss why the advantage over Emb-Cos contracts on MCES.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.