potentialpaper

GLACIER: Rethinking Mass Spectrum Prediction as an Object Detection Problem

Rui-Xi Wang, Runzhong Wang, Connor W. Coley

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We present GLACIER, a single-stage mass spectra prediction model that achieves 8-fold speed-up and state-of-the-art retrieval accuracy on this molecular machine learning task.

Abstract. Predicting tandem mass spectra (MS/MS) from molecular structures represents a central task in analytical chemistry with direct relevance to clinical metabolomics, systems biology, and adjacent disciplines. In this work, we revisit the problem through the lens of object detection on molecular graphs. Molecular fragmentation, a central step in MS/MS prediction, can be approximated as detecting a set of subgraphs (i.e., fragments) and their associated spectral contributions. Existing fragment-based models follow a two-stage paradigm -- first generating candidate fragments and then scoring them -- analogous to two-stage R-CNNs in computer vision. Towards higher accuracy and faster inference, we introduce GLACIER, a single-stage transformer-based fragment detection neural network for molecular graphs. This unified formulation eliminates the need for candidate enumeration, enabling scalable and globally consistent modeling of molecular fragmentation. GLACIER is faster and more accurate than existing state-of-the-art by a significant margin, achieving 70.0% and 69.7% Top-1 retrieval accuracy with and without contrastive finetuning on the MassSpecGym dataset (from the previous SOTA of 64.0%) and 52.5% and 38.5% respectively on the NIST'20 dataset (from 33.2%). Furthermore, GLACIER provides nearly 8-fold inference speedup over our prior two-stage model. Code is available at https://github.com/coleygroup/ms-pred.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The manuscript addresses an important problem in MS/MS spectrum prediction and proposes a fragmentation-inspired framework to make fragment-level reasoning more learnable. The topic is relevant, and the attempt to connect molecular fragmentation with spectrum prediction is potentially interesting. However, the reviewers raised several substantive concerns that need to be addressed before the work can be further considered for acceptance. First, the motivation for explicitly modeling fragmentation should be strengthened. Since the final task is whole-molecule spectrum prediction rather than fragment identification, the authors need to clearly explain why the proposed fragmentation-based formulation is preferable to a direct molecule-to-spectrum prediction model. The analogy to object detection is currently not fully convincing, and the paper should better justify the scientific and practical necessity of introducing fragment proposals. Second, the methodological contribution should be clarified more carefully. Reviewers noted that the framework appears to borrow substantially from object detection and existing graph encoders, while still relying on heuristic pseudo-labels and gradient truncation. The authors should more explicitly explain where the core innovation lies, how the method differs from traditional two-stage fragmentation pipelines, and to what extent the model is truly learnable or differentiable. Third, the empirical evidence needs to be strengthened. Since MS/MS prediction is the central task, the method should demonstrate clearer advantages over strong existing baselines. The current performance appears comparable to or weaker than some recent methods, and the inference-speed comparison is too limited. More comprehensive comparisons, including both accuracy and efficiency against multiple strong baselines, are needed. Fourth, additional ablations and analyses are necessary to justify the design choices. In particular, the authors should examine the impact of gradient truncation, the role of pseudo-label initialization, the contribution of the graph encoder, and the choice of external fragment descriptors versus learned fragment representations. Hyperparameter robustness should also be better characterized, ideally with recommended default settings or sensitivity analyses. Finally, the scope and limitations should be discussed more explicitly. The current framework does not handle rearrangement reactions involving both bond cleavage and bond formation, and it remains unclear how easily it can be extended to other spectroscopy-related tasks such as NMR or IR prediction. Code availability or more detailed implementation information would also be important for reproducibility. Overall, the paper is interesting in direction but not yet sufficiently convincing in its current form. To be reconsidered for acceptance, the authors would need to further clarify these concerns.

Final justification

This is an interesting work addressing an important problem in MS/MS spectrum prediction, particularly the challenge of incorporating fragmentation-level reasoning into an end-to-end spectrum prediction framework. During the rebuttal and discussion, the authors provided detailed clarifications and substantial additional experimental evidence in response to the reviewers’ concerns. The reviewers also engaged in extensive discussion, particularly regarding the extent of the methodological advance beyond a novel combination of existing techniques, the dependence of the training procedure on heuristic MAGMa-derived supervision and gradient truncation, and whether the experimental evidence sufficiently supports the claimed advantages in both spectral prediction and retrieval performance. Although some differences in opinion remained regarding these aspects, the reviewers ultimately agreed that these concerns do not outweigh the overall significance and merits of the work, and reached a consensus in favor of acceptance. Considering the authors’ responses, the additional evidence provided, and the reviewers’ final assessments, I therefore recommend acceptance.

Area Chair Br1w · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The manuscript addresses an important problem in MS/MS spectrum prediction and proposes a fragmentation-inspired framework to make fragment-level reasoning more learnable. The topic is relevant, and the attempt to connect molecular fragmentation with spectrum prediction is potentially interesting. However, the reviewers raised several substantive concerns that need to be addressed before the work can be further considered for acceptance. First, the motivation for explicitly modeling fragmentation should be strengthened. Since the final task is whole-molecule spectrum prediction rather than fragment identification, the authors need to clearly explain why the proposed fragmentation-based formulation is preferable to a direct molecule-to-spectrum prediction model. The analogy to object detection is currently not fully convincing, and the paper should better justify the scientific and practical necessity of introducing fragment proposals. Second, the methodological contribution should be clarified more carefully. Reviewers noted that the framework appears to borrow substantially from object detection and existing graph encoders, while still relying on heuristic pseudo-labels and gradient truncation. The authors should more explicitly explain where the core innovation lies, how the method differs from traditional two-stage fragmentation pipelines, and to what extent the model is truly learnable or differentiable. Third, the empirical evidence needs to be strengthened. Since MS/MS prediction is the central task, the method should demonstrate clearer advantages over strong existing baselines. The current performance appears comparable to or weaker than some recent methods, and the inference-speed comparison is too limited. More comprehensive comparisons, including both accuracy and efficiency against multiple strong baselines, are needed. Fourth, additional ablations and analyses are necessary to justify the design choices. In particular, the authors should examine the impact of gradient truncation, the role of pseudo-label initialization, the contribution of the graph encoder, and the choice of external fragment descriptors versus learned fragment representations. Hyperparameter robustness should also be better characterized, ideally with recommended default settings or sensitivity analyses. Finally, the scope and limitations should be discussed more explicitly. The current framework does not handle rearrangement reactions involving both bond cleavage and bond formation, and it remains unclear how easily it can be extended to other spectroscopy-related tasks such as NMR or IR prediction. Code availability or more detailed implementation information would also be important for reproducibility. Overall, the paper is interesting in direction but not yet sufficiently convincing in its current form. To be reconsidered for acceptance, the authors would need to further clarify these concerns.

Final justification

This is an interesting work addressing an important problem in MS/MS spectrum prediction, particularly the challenge of incorporating fragmentation-level reasoning into an end-to-end spectrum prediction framework. During the rebuttal and discussion, the authors provided detailed clarifications and substantial additional experimental evidence in response to the reviewers’ concerns. The reviewers also engaged in extensive discussion, particularly regarding the extent of the methodological advance beyond a novel combination of existing techniques, the dependence of the training procedure on heuristic MAGMa-derived supervision and gradient truncation, and whether the experimental evidence sufficiently supports the claimed advantages in both spectral prediction and retrieval performance. Although some differences in opinion remained regarding these aspects, the reviewers ultimately agreed that these concerns do not outweigh the overall significance and merits of the work, and reached a consensus in favor of acceptance. Considering the authors’ responses, the additional evidence provided, and the reviewers’ final assessments, I therefore recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

Response to Area Chairs

We thank the Area Chair for summarizing the reviewers’ concerns and recognizing the relevance of our fragmentation-inspired formulation. Detailed results are provided in the reviewer-response threads; we summarize the main points here.

Why model fragmentation? MS/MS spectra are physically generated by molecular fragmentation and detection of charged fragment ions. GLACIER predicts fragment structures and intensities, preserving chemically meaningful masses rather than directly predicting a spectrum tied to a fixed binning scheme. This improves interpretability and robustness across spectral resolutions. Our new resolution-transfer analysis shows that performance remains stable when training and test bin widths differ, and our fragment visualizations (which will be provided in the next revision) show that GLACIER recovers chemically plausible candidates while the intensity head suppresses irrelevant ones. Related methods such as MAGMa, ICEBERG, FIORA, and FraGNNet also adopt fragmentation frameworks.

Methodological contribution. GLACIER does more than combine an existing graph encoder with an object-detection analogy. It reformulates MS/MS prediction as multi-subgraph detection and introduces:

  • constrained, multi-cardinality breakpoint prediction that hard-enforces fragment connectivity;
  • joint prediction of multiple fragmentation patterns rather than sequential generation;
  • parallel, mask-conditioned pooling of fragment-specific atom representations through a Transformer decoder; and
  • teacher forcing that uses heuristic supervision for stabilization while allowing the spectrum objective to suppress irrelevant fragments.

To our knowledge, GraphDETR is the only closely related subgraph-detection framework and appeared after our submission. Unlike its soft connectivity loss, GLACIER enforces connectivity through constrained breakpoint prediction.

Difference from two-stage pipelines and differentiability. Traditional methods typically generate fragments heuristically or sequentially and then predict intensities. GLACIER jointly learns fragment proposals and intensity prediction within one architecture, although its discrete fragment-construction step truncates gradients. We agree that MAGMa labels are still used for stabilization and will clarify this limitation. In additional experiments, a fully end-to-end GraphDETR-based model trained only with spectral loss failed to converge; adding MAGMa supervision enabled convergence but underperformed GLACIER. Thus, removing gradient truncation or heuristic supervision requires substantial architectural and optimization advances rather than a minor modification.

Empirical evidence and efficiency. We added matched-bin-width comparisons with MolSpecFlow and ICEBERG, additional NIST20 and MassSpecGym evaluations, and improved runtime measurements. GLACIER achieves stronger retrieval and spectral performance under matched settings. Its optimized implementation is approximately 8× faster than ICEBERG. We could not reproduce MolSpecFlow’s runtime because no public implementation is available.

Ablations and robustness. We added ablations for fragment-query initialization, external descriptors, graph encoders, gradient truncation, and MAGMa supervision. Fragment masks guide a Transformer decoder that pools encoder-derived atom embeddings; external descriptors and the graph token only initialize fragment queries. Removing descriptors does not degrade performance, while Graphormer outperforms the tested GNN and NeuralWalker encoders. We also evaluated one shared hyperparameter configuration across NIST20 and MassSpecGym and provide recommended defaults in the response to Reviewer xqxu.

Scope and reproducibility. The current model assumes each fragment is a connected subgraph and therefore does not directly handle rearrangements involving bond formation. Supporting them would require grouping disconnected components or a representation that models both bond deletion and formation. GLACIER is also specific to tandem-MS fragmentation physics; NMR and IR require different intermediate representations and prediction mechanisms. We will state these limitations clearly.

Finally, we provided the Area Chair with an anonymized implementation containing the latest model, configurations, and ablations, and we remain committed to public release upon acceptance.

Reviewer 1YNrOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes an MS/MS prediction algorithm aiming to model the fragmentation of molecules by machine learning, where a given molecular graph yields a set of fragment ions with associated intensities.

Previous methods were two-stage; inspired by this progression in CV, the authors propose a one-stage MSMS prediction algorithm that jointly proposes plausible subgraphs and predicts their intensities in the mass spectrum.

Strengths and weaknesses

Strengths:

  • paradigm innovation: It successfully adapted the single-stage paradigm from c CV which treats object detection as a set prediction problem (DETR) to discrete graph-structured data and the task of chemical molecule fragmentation. This shift in perspective is highly ingenious.
  • Highly efficient inference: due to its single-stage design and efficient subgraph pooling strategy,which avoids redundant message passing operations on overlapping fragments,proposed model achieves inference speeds nearly three times faster than representative two-stage models

Weaknesses:

  • novelty is limited:As the authors state, the method is adapted from object detection in the field of computer vision. The backbone employed (Graphormer) is also an existing one.

  • Performance is quite average. Since the model was specifically proposed for MS2 prediction, this task is central to the work. However, the proposed model does not appear to achieve SOTA performance on this task (underperforming MolSpecFlow and performing similarly to ICEBERG). Furthermore, the "Inference Speed" experiment compares only a single model, which is insufficient.

  • Code is not available

Questions

I raise some quesions:

  • As far as i known, Although GLACIER is marketed as a single-stage model, its fragment generation step still truncates gradients, and during training, it relies heavily on pseudo-labels provided by the MAGMa heuristic for supervised initialization. This indicates that the model has not yet fully shed its reliance on domain-specific rules. I am not sure; please verify this with me.

  • Where does the model's methodological innovation lie? After all, judging by the original paper, the motivation and framework are derived from computer vision and graph learning, respectively.

Limitations

yes

Final justification

Overall, this paper is borderline.

I accept that GLACIER is single-stage at inference and that originality may arise from a novel combination of existing techniques. However, the rebuttal still does not sufficiently establish why this particular combination constitutes a non trivial methodological advance. Moreover, the training procedure remains materially dependent on MAGMa-derived supervision, and it remains unclear how the spectral objective refines the breakpoint predictor after heuristic supervision is removed, given the acknowledged gradient truncation. Finally, while the reported spectral similarity may be competitive, the retrieval gains from contrastive finetuning are accompanied by a decrease in spectral similarity, and the claim that the latter is saturated remains unsupported.

The paper should be improved in novelty and experiment.

Formatting concerns

no

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for recognizing our model’s inference speedup. We believe that there are some misunderstandings, and we try our best to clarify them as follows.

Where does the model's methodological innovation lie? The main innovations are:

  • Object-detection-style formulation: GLACIER reformulates MS/MS prediction as an object-detection problem, as also recognized by Reviewers N53X and xqxu. The formulation itself should be considered an innovation, as it proposes a new way to parameterize and define mass spectroscopy prediction as an object detection problem that bridges these two seemingly unrelated fields.

  • Subgraph detection: To our knowledge, GraphDETR is the only closely related work on end-to-end subgraph detection and was released as a preprint after our submission deadline, underscoring that this formulation is non-trivial. We developed our framework independently and enforce fragment connectivity through constrained breakpoint prediction. In contrast, GraphDETR promotes connectivity through a soft auxiliary loss.

  • Single-stage, multi-cardinality breakpoint prediction: GLACIER jointly predicts multiple fragmentation patterns using LinSATNet as a differentiable constraint layer, unlike FIORA and ICEBERG, which rely on single-breakpoint or sequential prediction.

  • Parallel, mask-conditioned subgraph pooling: Multiple candidate fragments are pooled simultaneously through a Transformer decoder without repetitive subgraph message passing (which is adopted in ICEBERG), enhancing the computation efficiency and prediction power.

  • Teacher-forcing strategy: The training scheme stabilizes optimization and gradually suppresses signals from irrelevant fragments, allowing the model to learn how to drop irrelevant fragments. Its effectiveness is demonstrated by the ablation study, where it outperforms variants trained with either full MAGMa supervision or no MAGMa supervision.

Code is not available

We deeply believe in the value of open science, and we promised in the original submission, “the code will be made publicly available upon acceptance”. Though authors are not meant to post any links in the rebuttal, to address your concern, we uploaded an anonymized version of the latest implementation of GLACIER in the AC confidential comment channel. Please kindly coordinate with the AC if you need to verify the code repository, and let us know if there are any issues.

However, the proposed model does not appear to achieve SOTA performance on this task (underperforming MolSpecFlow and performing similarly to ICEBERG). Furthermore, the "Inference Speed" experiment compares only a single model, which is insufficient.

Thank you for the advice. After submission, we identified a minor implementation mistake: on MassSpecGym, both the original GLACIER paper and MolSpecFlow are evaluated on bin-width=0.1, not MassSpecGym’s default bin-width setting, 0.01. We fixed this issue by evaluating GLACIER on bin-width=0.01 and implemented a version specially designed to provide head-to-head evaluation to MolSpecFlow (and incomparable with other baselines). In this rebuttal, the robustness of GLACIER is also improved by an updated intensity prediction module. Please find the updated benchmarking results on MassSpecGym Mass Challenge with bin width set to 0.1 (which mirrors the condition in MolSpecFlow):

Model Cos sim. Top 1 acc. Top 5 acc. Top 20 acc.
GLACIER 0.64 71.38 88.44 94.46
MolSpecFlow 0.63 55.32 79.98 89.54

Implementation details are included in the anonymized code repository shared with the Area Chair. We also evaluated our model with bin-width set to 0.01 with ICEBERG. GLACIER outperforms ICEBERG in all metrics by a significant margin, suggesting its ability to adapt to different bin-width. Note again that MolSpecFlow does not have an available implementation and did not report results for bin-width 0.01.

MassSpecGym (evaluated on bin-width = 0.01)

Model Cos sim Top 1 acc Top 5 acc Top 20 acc
GLACIER 0.57 69.8 86.4 93.6
ICEBERG 0.47 63.95 83.83 92.6

In addition to the updated evidence where GLAICER shows better spectral performance compared to baselines, as we discussed in the original submission, we still believe that top-k retrieval accuracy is a more relevant metric because it directly correlates to downstream applications. Spectral similarity metrics are also close to saturation because even repeated experiments with the same molecule will result in slightly different spectra due to noise, instrumental configurations, and different ways of data preprocessing. Finally, the imperfect top-1 retrieval accuracy for current state-of-the-art models also suggests ample room for future improvement. Therefore, we believe the retrieval accuracy metric should be the main focus for future method development in the field.

For runtime, we compare only with ICEBERG because MolSpecFlow has no public implementation and could not be reproduced reliably. We also want to highlight that after pipeline optimization that improves the CPU utilization rate, GLACIER is less limited by CPU processing speed and achieves an approximately 8× speedup, compared to the original 3x speedup:

model ms/spec spec/s/GPU
ICEBERG 10.8 46.4
GLACIER (submission) 3.7 133.9
GLACIER (new) 1.3 368.7

This indicates that the model has not yet fully shed its reliance on domain-specific rules. I am not sure; please verify this with me.

We agree that the current model still depends partly on MAGMa-derived supervision for training stabilization. In an additional experiment using our reproduction of GraphDETR, training with only the end-to-end spectral objective failed to converge. Combining end-to-end and MAGMa supervision enabled convergence but produced worse performance than the current GLACIER design. These results suggest that removing MAGMa supervision would require substantial architectural and optimization changes, which are beyond the scope of this work. We will clarify this limitation in the revision.

model test_loss
GLACIER 0.418
GLACIER-GraphDETR 0.477
GLACIER-end-to-end not_converge
Reviewer 1YNr · CommentOpenReview ↗

Reply

I appreciate the author's follow-up responses and additional experiments.

This submission paper focus on the key challenge of improving the accuracy and efficiency of MS/MS prediction through a single-stage fragment-detection framework. However, I remain unconvinced that the methodological novelty is sufficiently strong. The object-detection perspective is interesting, but the implementation mainly combines established components, including Graphormer, DETR-style queries and Hungarian matching, LinSATNet constraints, shared subgraph pooling, teacher forcing, and ICEBERG-style contrastive finetuning. The rebuttal clarifies how these components are assembled, but it does not clearly identify a fundamentally new technical mechanism beyond adapting and integrating existing methods for this domain.

I also remain concerned that GLACIER has not genuinely removed its dependence on domain-specific heuristics. Although the paper emphasizes unified single-stage prediction and reduced reliance on hand-crafted intermediate procedures, training still relies substantially on MAGMa-derived fragment labels and teacher forcing. The additional result that purely end-to-end training fails to converge further indicates that the current framework depends on heuristic supervision rather than merely using it as an optional stabilization technique. GLACIER eliminates candidate enumeration during inference, but it is neither heuristic-free nor fully end-to-end. The manuscript itself acknowledges that fragment construction truncates gradients and that MAGMa supervision remains necessary.

Finally, I do not think retrieval accuracy alone is sufficient to establish superior spectrum prediction. The paper’s own ablation shows that contrastive finetuning substantially improves retrieval accuracy while slightly reducing spectral similarity, suggesting that some gains may arise from retrieval-specific discriminative optimization rather than more faithful spectrum generation. The rebuttal argues that spectral similarity is close to saturation, but provides no empirical noise ceiling, replicate-spectrum analysis, or quantitative evidence supporting this claim. Therefore, both retrieval performance and spectral fidelity should remain central to the evaluation.

This paper is promising and practically relevant, but these unresolved concerns regarding methodological novelty, heuristic dependence, and the interpretation of retrieval improvements justify maintaining my Borderline Reject score.

Authors · CommentOpenReview ↗

Thank you for your follow-up questions. We believe several misunderstandings remain and would like to clarify them below.

Q1: The object-detection perspective is interesting, but the implementation mainly combines established components, including Graphormer, DETR-style queries and Hungarian matching, LinSATNet constraints, shared subgraph pooling, teacher forcing, and ICEBERG-style contrastive finetuning. The rebuttal clarifies how these components are assembled, but it does not clearly identify a fundamentally new technical mechanism beyond adapting and integrating existing methods for this domain.

We respectfully disagree that originality in this context requires a fundamentally new technical mechanism in every individual component. The NeurIPS 2026 reviewer guidelines explicitly ask whether a work offers a novel combination of existing techniques and whether the rationale for that combination is well articulated, while noting that “originality does not necessarily require introducing an entirely new method.” We believe GLACIER satisfies this standard. As the reviewer notes, GLACIER brings together seven distinct components—including Graphormer, DETR-style queries with Hungarian matching, LinSATNet constraints, shared-subgraph pooling, teacher forcing, and ICEBERG-style contrastive fine-tuning—within a unified object-detection formulation for spectrum-to-structure modeling. The contribution is not the mere juxtaposition of these components, but their task-specific adaptation and integration into a coherent architecture. We have clarified this design rationale in the rebuttal. Moreover, the resulting system achieves strong performance in spectral similarity, retrieval accuracy, and end-to-end throughput. These gains indicate that the proposed combination is technically substantive and non-trivial, rather than a straightforward assembly of established methods. We therefore believe GLACIER represents an original and effective synthesis of existing techniques for this domain, consistent with the originality criterion articulated in the NeurIPS reviewer guidelines.

Q2: Although the paper emphasizes unified single-stage prediction and reduced reliance on hand-crafted intermediate procedures, training still relies substantially on MAGMa-derived fragment labels and teacher forcing.

You are correct, but we never claim the elimination of heuristic supervision as our contribution. Rather, MAGMa provides a useful initialization that helps the breakpoint predictor learn chemically plausible fragmentation patterns before being refined by the spectral objective. The methodological contribution is therefore not the complete removal of heuristic labels, but a training framework that progressively reduces and ultimately eliminates their direct influence on optimization.

In practice, as stated in both the Introduction and experimental sections, GLACIER uses MAGMa-derived supervision to initialize the breakpoint prediction module. However, the weight of this supervision is gradually decayed to zero, after which the model is optimized solely toward the final spectral prediction objective. This design demonstrates that GLACIER transitions from heuristic initialization to end-task-driven learning, reducing, not eliminating, the reliance on MAGMa supervision.

As stated in the abstract, our formulation eliminates the need for candidate enumeration. To prevent future misunderstandings, we will clarify in the abstract that this elimination applies specifically to the inference stage.

Q3: The paper’s own ablation shows that contrastive finetuning substantially improves retrieval accuracy while slightly reducing spectral similarity, suggesting that some gains may arise from retrieval-specific discriminative optimization rather than more faithful spectrum generation. Therefore, both retrieval performance and spectral fidelity should remain central to the evaluation.

We agree that both retrieval performance and spectral fidelity are important. As already demonstrated in our previous rebuttal, GLACIER outperforms all peer methods in spectral similarity, directly addressing your concern about spectrum quality.

Reviewer xqxuOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The work revisits molecular fragment prediction in mass spectrometry by replacing candidate-fragment enumeration with a direct graph-based prediction framework. GLACIER combines breakpoint prediction, fragment generation, and intensity modeling within a unified architecture and employs a staged training procedure that gradually transitions away from heuristic supervision. Experimental results on NIST'20 indicate improvements in both retrieval performance and inference efficiency relative to existing approaches.

Strengths and weaknesses

Strengths

Novel problem formulation. The paper reformulates molecular fragmentation prediction as a single-stage prediction task, providing a practical alternative to conventional two-stage enumeration frameworks. This perspective is interesting and appears well aligned with the characteristics of the underlying problem. Strong empirical performance. Experimental results demonstrate substantial improvements over previous methods. Both retrieval accuracy and inference speed are significantly enhanced on standard benchmarks, suggesting that the proposed formulation offers meaningful practical benefits. Effective integration of multiple components. The differentiable cardinality mechanism allows prediction of multiple cleavage events, while the shared Graphormer backbone promotes computational efficiency. The progressive training strategy provides a reasonable solution to the limited availability of fragment-level supervision. Clear discussion of limitations. The paper explicitly discusses several remaining challenges and does not overstate the current capabilities of the method.

Weaknesses

Incomplete end-to-end optimization. The fragment generation stage is not fully differentiable, requiring gradient truncation during training. As a result, optimization signals cannot propagate through the entire prediction pipeline. Dependence on heuristic supervision. Early-stage training relies on fragment labels generated by MAGMa. Although the progressive training scheme mitigates this dependency, the method still inherits potential biases from heuristic annotations. Limited handling of rearrangement reactions. The framework focuses on bond cleavage events and does not model chemical rearrangements involving simultaneous bond breaking and bond formation. Such processes can contribute substantially to observed spectra in practice. Model complexity and tuning requirements. The overall architecture combines graph transformers, differentiable optimization components, and multiple training objectives. Several hyperparameters, including loss weights, scheduling parameters, and contrastive-learning thresholds, may require careful tuning for optimal performance.

Questions

Impact of gradient truncation Can the authors provide additional analysis of how gradient truncation influences final performance? Even an approximate comparison with a more fully differentiable variant could help clarify this design choice.

Extension to rearrangement reactions What architectural modifications would be necessary to model rearrangement mechanisms involving both bond cleavage and bond formation?

Broader applicability Do the authors envision extending the proposed framework to other spectroscopy-related prediction tasks, such as NMR or IR spectrum prediction?

Hyperparameter robustness Could the authors provide a set of recommended default hyperparameters that performs reasonably well across datasets? Alternatively, have adaptive weighting or automated tuning strategies been considered to reduce sensitivity to manual parameter selection?

Limitations

The current framework still relies on several simplifying assumptions. Fragment generation is only partially differentiable, early training stages depend on heuristic labels, and rearrangement reactions are outside the scope of the model. The number of interacting components and training objectives may also increase tuning effort for practitioners attempting to reproduce the reported results.

Formatting concerns

No.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We truly appreciate the reviewer for recognizing the novelty of our problem formulation, strong experimental performance, and efficient integration of multiple components. We address your remaining concerns and questions below

Impact of gradient truncation

Thank you for your suggestion. While it remains an open question whether a fully end-to-end architecture could help, our preliminary ablation shows that gradient truncation is necessary within the design space of GLACIER. We adopted a relevant end-to-end architecture designed for graphs, named GraphDETR, and we implemented a fully end-to-end model and trained it using only the spectral prediction loss. The model failed to converge. We also tested a hybrid variant combining end-to-end GraphDETR training with MAGMa supervision; this configuration converges but leads to suboptimal performance compared with the current GLACIER pipeline.

These results suggest that removing gradient truncation is not a straightforward modification. We believe exploring the design space of a fully end-to-end formulation would require substantial effort on architectural redesign and optimization, which is beyond the scope of this work.

model test_loss
GLACIER 0.418
GLACIER-GraphDETR 0.477
GLACIER-end-to-end not_converge

Extension to rearrangement reactions What architectural modifications would be necessary to model rearrangement mechanisms involving both bond cleavage and bond formation?

We agree with the reviewer on the importance of handling rearrangements. Based on our current architecture, modeling rearrangements would require an additional grouping layer to aggregate multiple fragments, since the current model assumes each fragment is a connected subgraph of the input molecule. Another promising direction is an end-to-end model that can detect disconnected subgraphs and jointly represent bond cleavage and formation. We view this as an important extension for future versions of GLACIER.

Do the authors envision extending the proposed framework to other spectroscopy-related prediction tasks, such as NMR or IR spectrum prediction?

We believe IR or NMR are different modalities less well suited to this formulation. GLACIER is built around molecular breakpoint prediction, which reflects the fragmentation process specific to mass spectrometry. In contrast, IR is vibration-based, and NMR relies on nuclear spin and magnetic fields; features of their spectra can be explained and/or predicted without a fragmentation-like process. Extending it to IR or NMR would therefore require a different structural representation and prediction mechanism tailored to the underlying physical processes of those modalities.

Could the authors provide a set of recommended default hyperparameters that performs reasonably well across datasets?

Thank you for raising this point. We developed a robust hyperparameter configuration for GLACIER by aligning the NIST20 random- and scaffold-split hyperparameters with those used for MassSpecGym, setting the number of decoys to 3, the contrastive threshold to 0.5, and the number of intensity decoders to 3. All other hyperparameters are consistent with the hyperparameters provided in the submitted manuscript. Under this configuration, GLACIER still outperforms all competing methods by a substantial margin across all reported metrics.

NIST20 (Random Split, evaluated on bin-width = 0.1)

Model Top 1 acc Top 5 acc Top 10 acc Cos sim Coverage
GLACIER 49.8 84.5 92.9 0.820 86.2
ICEBERG 33.5 77.7 88.9 0.773 83.4

NIST20 (Scaffold Split, evaluated on bin-width = 0.1)

Model Top 1 acc Top 5 acc Top 10 acc Cos sim Coverage
GLACIER 44.8 83.6 92.3 0.778 85.2
ICEBERG 31.6 77.5 89.9 0.733 83.7

MassSpecGym (evaluated on bin-width = 0.01)

Model Top 1 acc Top 5 acc Top 20 acc Cos sim
GLACIER 69.8 86.4 93.6 0.57
ICEBERG 63.95 83.83 92.6 0.47
Reviewer xqxu · CommentOpenReview ↗

Thank you to the authors for their responses, which will help improve the quality of the manuscript. I will maintain my original "weak accept" recommendation. At the same time, I suggest that the authors make every effort to address Reviewer 1YNr's concerns, as his/her evaluation will be more critical in determining whether this paper can be accepted.

Reviewer N53XOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies MS/MS spectrum prediction from the perspective of object detection on molecular graphs. The authors formulate molecular fragmentation as the task of identifying a set of molecular subgraphs (fragments) and predicting their contributions to the final spectrum. Existing fragment-based methods typically follow a two-stage pipeline, where fragment candidates are first generated and subsequently scored.

The main contribution is a single-stage alternative that integrates fragment proposal and fragment-based prediction into a unified pipeline. Compared to conventional two-stage approaches, the method reduces the reliance on explicit candidate enumeration and moves most of the computation to the GPU, resulting in a simpler pipeline and faster inference. The proposed approach also achieves improved predictive performance over the evaluated baselines.

Conceptually, the work extends the idea of replacing multi-stage pipelines with end-to-end trainable architectures to the problem of molecular fragmentation for MS/MS prediction. Although this design philosophy is well established in deep learning, relatively few previous methods in this domain have adopted a fully differentiable single-stage formulation.

Strengths and weaknesses

Strengths:

  1. The proposed method achieves both higher predictive accuracy and lower inference latency compared to the considered baselines, demonstrating that the architectural simplification does not come at the cost of predictive performance.

  2. A key technical contribution is the successful integration of the fragment proposal stage into a fully differentiable architecture. This enables end-to-end optimization of the entire pipeline, avoiding the need for separately designed or trained fragmentation procedures and potentially reducing error propagation between stages.

  3. The model predicts fragment boundaries only at the atom level, rather than explicitly masking and processing entire fragments. This design choice is conceptually analogous to using bounding boxes instead of pixel-wise segmentation in computer vision pipelines. By reducing the granularity of the intermediate prediction task, the method simplifies the learning problem while still retaining sufficient structural information for downstream spectrum prediction.

Weaknesses:

  1. The motivation for explicitly modeling a fragmentation process remains unclear. The ultimate objective is whole-molecule spectrum prediction rather than fragment identification itself. Consequently, it is not obvious why a differentiable approximation of a traditional two-stage fragmentation-based pipeline should be preferred over a direct molecule-to-spectrum model. The paper motivates the approach through analogies to object detection in computer vision; however, the analogy appears imperfect. In object detection, localization is an intrinsic component of the target task, whereas fragment proposal in this setting functions primarily as an auxiliary mechanism intended to improve predictive performance rather than as an end objective.

  2. The role of the graph encoder is somewhat ambiguous. Although the encoder appears to learn representations that are subsequently used for graph fragmentation, the resulting fragments are then featurized using an external procedure rather than leveraging the learned fragment representations directly. This raises the question of whether valuable information encoded by the learned representations is being discarded. A stronger justification for this design choice, or an ablation comparing external fragment descriptors with encoder-derived representations, would help clarify its necessity.

Questions
  1. The authors should supplement their work with an experiment demonstrating the interpretability of the proposed pipeline and showing whether the proposed fragments are chemically sound. If this aspect is not supported, and the sole motivation for implementing a single-step pipeline is to improve prediction quality, then a more natural point of reference would be an architecture that directly models the molecule -> spectrum relationship, without explicit intermediate steps.

  2. It is worth analyzing whether the breakpoints learned by the model at the end of training significantly differ from those derived from the MAGMa-based initialization. If so, the authors should characterize the nature of these changes and provide representative examples showing how the model modifies the initial fragmentation.

  3. The choice of encoder seems to be a key element of the proposed method, as the pipeline's efficiency should strongly depend on the semantic information contained in the embeddings of the vertices and edges of the molecular graph. The work should include an ablation of the encoder used, including alternative molecular representation architectures, such as Uni-Mol.

  4. Ablation regarding the featurization of fragments is also needed. A variant without external featurization, in which prediction relies solely on embeddings returned by the encoder, would be particularly important. Such an experiment would allow us to assess whether additional fragment descriptors actually provide information complementary to the end-to-end learned representations.

Limitations

The authors discuss the main limitations of the proposed approach and provide experimental evidence supporting their claims. However, the empirical evaluation is not fully comprehensive, as several important ablation studies are missing. Furthermore, the experimental setup is not described in sufficient detail; in particular, it is unclear whether the molecular encoder is fine-tuned during training or kept frozen.

Final justification

The authors’ rebuttal and additional experiments provided further insights into the proposed approach and addressed several of the concerns raised in my original review. I appreciate the substantial effort put into the additional analyses, including the ablation studies, calibration evaluation, and explainability analysis. In particular, I found the experiment investigating the interpretability of the proposed pipeline especially valuable, as it aims to verify whether the identified fragments are chemically meaningful and correct, providing a better understanding of the model’s behavior.

The additional results and clarifications strengthened my confidence in the empirical evaluation and helped clarify the motivation and effectiveness of the proposed approach. The authors also addressed the remaining comments from the other reviewers carefully.

Overall, I find the paper interesting and well executed. While the rebuttal improved my understanding of the work and addressed several of my concerns, it did not change my overall assessment sufficiently to warrant a change in score. Therefore, I am maintaining my original score.

Formatting concerns

does not apply

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for recognizing the single-stage architectural design, our main contribution, and the strong empirical performance. We also agree with the reviewer that predicting fragment boundaries only at the atom level is analogous to bounding box prediction in computer vision. We’d like to clarify some of your questions and concerns below.

The motivation for explicitly modeling a fragmentation process remains unclear. The authors should supplement their work with an experiment demonstrating the interpretability of the proposed pipeline and showing whether the proposed fragments are chemically sound.

The reason for explicitly modeling fragment generation, not only in this work but also in other related work including ICEBERG, FraGNNet, MAGMa, and FIORA, is that it simulates the actual physical process inside the mass spectrometer. The mass spectroscopy instrument generates molecular fragments by breaking chemical bonds and detects charged fragment ions to form the mass spectra. By modeling the fragmentation process directly, we can capture the underlying physics of the instrument and generate spectrum predictions that have accurate mass values, which improves the model robustness to different spectral similarity metrics and benefits the retrieval accuracy. To support this claim, we conduct an ablation study around the test and train bin-width resolution on the MassSpecGym mass challenge. This is not possible with a simple end-to-end model (for example, NEIMS) that directly predicts a binned spectrum and does not model the fragmentation explicitly.

Train bin width Test bin width Top 1 acc.
0.1 0.1 66.4
0.1 0.01 68.5
0.01 0.1 65.2
0.01 0.01 69.7

To address the question of interpretability, we also visualized predicted breakpoint patterns for molecules from NIST20. The model recovers most chemically plausible fragments while also proposing some low-probability candidates. These candidates are subsequently suppressed by the intensity prediction head, analogous to confidence scoring in object detection. We cannot provide an updated figure due to rebuttal rules; we will include these fragment visualizations in the next revision.

an ablation comparing external fragment descriptors with encoder-derived representations, would help clarify its necessity

GLACIER uses external fragment descriptors together with the encoder-derived graph-level representation to encode chemistry prior of fragments, while a Transformer decoder pools fragment-specific information from encoder-derived atom representations. We added ablations using two alternatives: (1) Transformer-decoder pooling without descriptors and (2)Transformer-decoder pooling without graph tokens. The results show that removing external descriptors does not negatively affect performance. This demonstrates GLACIER’s ability to learn effective atom-level and graph-level representation without relying on external descriptors.

Frag token initialization test_loss
graph_token 0.411
graph_token+descriptor 0.418
descriptor 0.421

It is worth analyzing whether the breakpoints learned by the model at the end of training significantly differ from those derived from the MAGMa-based initialization.

We would like to clarify that MAGMA is used as a heuristic label to facilitate the training process rather than an objective we are tackling. We believe that the most important metric for measuring GLACIER’s capability of recognizing the correct fragmentation pattern would be peak coverage, i.e., what portion of experimental peaks is covered by m/z values predicted by the model. In order to support the claim, we conduct peak coverage analysis on the NIST’20 dataset on both random split and scaffold split with model hyperparameters described in the response to reviewer xqxu. GLACIER outperforms all peer methods in terms of the ability to recover peaks in NIST’20. We do not include MolSpecFlow because it does not include coverage statistics and has no public implementation.

Random Split

Model Coverage
GrAFF-MS 0.710
MassFormer 0.782
ICEBERG 0.834
GLACIER 0.862

Scaffold Split

Model Coverage
GrAFF-MS 0.701
MassFormer 0.740
ICEBERG 0.842
GLACIER 0.852

The work should include an ablation of the encoder used, including alternative molecular representation architectures, such as Uni-Mol.

Thank you for this suggestion. In the original GLACIER model, the Graphormer encoder is trained jointly with the full architecture from scratch. We evaluated NeuralWalker, the encoder used in GraphDETR, and a GNN encoder, and Graphormer demonstrates the lowest test loss.

encoder type test loss
GNN 0.433
NeuralWalker 0.423
Graphormer 0.418

GLAICER is built with 2D molecular graphs, and adapting a 3D molecular encoder like Unimol requires significant changes to the model. We believe exploring 3D molecular encoders and encoders pretrained through self-supervised learning would be a potential future direction for follow-up work.

Reviewer N53X · CommentOpenReview ↗

Thank you for your detailed rebuttal and for taking the time to conduct the additional experiments, especially the proposed ablation studies. I also appreciate the thorough and thoughtful responses to the weaknesses and questions I raised in my original review. The additional evidence and clarifications have helped me better understand the proposed approach and its empirical behavior.

Overall, I find the paper interesting and well executed. That said, while the rebuttal has addressed many of my concerns, it has not changed my overall assessment sufficiently to warrant a different evaluation. Therefore, I am maintaining my original score.

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

Missing a submission?

Loading the discussion…