Lune

ICLR2025Top-tier venue

MADGEN: Mass-Spec attends to De Novo Molecular generation

Yinkai Wang, Xiaohui Chen, Liping Liu, Soha Hassoun

Abstract

The annotation (assigning structural chemical identities) of MS/MS spectra remains a significant challenge due to the enormous molecular diversity in biological samples and the limited scope of reference databases. Currently, the vast majority of spectral measurements remain in the "dark chemical space" without structural annotations. To improve annotation, we propose MADGEN (Mass-spec Attends to De Novo Molecular GENeration), a scaffold-based method for de novo molecular structure generation guided by mass spectrometry data. MADGEN operates in two stages: scaffold retrieval and spectra-conditioned molecular generation starting with the scaffold. In the first stage, given an MS/MS spectrum, we formulate scaffold retrieval as a ranking problem and employ contrastive learning to align mass spectra with candidate molecular scaffolds. In the second stage, starting from the retrieved scaffold, we employ the MS/MS spectrum to guide an attention-based generative model to generate the final molecule. Our approach constrains the molecular generation search space, reducing its complexity and improving generation accuracy. We evaluate MADGEN on three datasets (NIST23, CANOPUS, and MassSpecGym) and evaluate MADGEN's performance with a predictive scaffold retriever and with an oracle retriever. We demonstrate the effectiveness of using attention to integrate spectral information throughout the generation process to achieve strong results with the oracle retriever. Our code is available at https://github.com/HassounLab/MADGEN

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient and Degree-Guided Graph Generation via Discrete Diffusion Modeling cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • Graph Generative Pre-trained Transformer cites Efficient and Degree-Guided Graph Generation via Discrete Diffusion Modeling
  • Graph Generative Pre-trained Transformer cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • Breaking the Modality Barrier: Generative Modeling for Accurate Molecule Retrieval from Mass Spectra cites Learning Transferable Visual Models From Natural Language Supervision
  • X-CLIP: End-to-End Multi-grained Contrastive Learning for Video-Text Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
  • RetroBridge: Modeling Retrosynthesis with Markov Bridges cites Structured Denoising Diffusion Models in Discrete State-Spaces
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Breaking the Modality Barrier: Generative Modeling for Accurate Molecule Retrieval from Mass SpectraYiwen Zhang, Keyan Ding, Yihang Wu, Xiang Zhuang et al.AAAI 2026 · 4 citations
  2. Graph Generative Pre-trained TransformerXiaohui Chen, Yinkai Wang, Jiaxing He, Yuanqi Du et al.ICML 2025
  3. De Novo Molecular Generation from Mass Spectra via Many-Body Enhanced DiffusionXichen Sun, Wentao Wei, Jiahua Rao, Jiancong Xie et al.AAAI 2026
  4. SymSpectra: Symmetric Information Bottleneck Framework for Molecular Structure Recognition under Imbalanced SettingsXiaohan Qin, Wenjie Du, Yang WangICML 2026
  5. MSAnchor: De Novo Molecular Generation from Mass Spectrometry Data with Anchor-Extended Molecular ScaffoldsXiaohan Qin, Chao Wang, Zhengyang Zhou, Linjiang Chen et al.AAAI 2026

Builds on6

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations
  3. X-CLIP: End-to-End Multi-grained Contrastive Learning for Video-Text RetrievalYiwei Ma, Guohai Xu, Xiaoshuai Sun, Ming Yan et al.ACM MM 2022 · 314 citations
  4. Efficient and Degree-Guided Graph Generation via Discrete Diffusion ModelingXiaohui Chen, Jiaxing He, Xu Han, Liping LiuICML 2023 · 85 citations
  5. RetroBridge: Modeling Retrosynthesis with Markov BridgesIlia Igashov, Arne Schneuing, Marwin H. S. Segler, Michael M. Bronstein et al.ICLR 2024 · 34 citations

Related papers

  1. ContraNovo: A Contrastive Learning Approach to Enhance De Novo Peptide SequencingZhi Jin, Sheng Xu, Xiang Zhang, Tianze Ling et al.AAAI 2024 · 31 citations
  2. MS-BART: Unified Modeling of Mass Spectra and Molecules for Structure ElucidationYang Han, Pengyu Wang, Kai Yu, Xin Chen et al.NeurIPS 2025 · 11 citations
  3. FRIGID: Scaling Diffusion-Based Molecular Generation from Mass Spectra at Training and Inference TimeMontgomery Bohde, Hongxuan Liu, Mrunali Manjrekar, Magdalena Lederbauer et al.ICML 2026 · 3 citations
  4. MAGNet: Motif-Agnostic Generation of Molecules from ScaffoldsLeon Hetzel, Johanna Sommer, Bastian Rieck, Fabian J. Theis et al.ICLR 2025
  5. DiffMS: Diffusion Generation of Molecules Conditioned on Mass SpectraMontgomery Bohde, Mrunali Manjrekar, Runzhong Wang, Shuiwang Ji et al.ICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines