DiffMS: Diffusion Generation of Molecules Conditioned on Mass Spectra
Montgomery Bohde, Mrunali Manjrekar, Runzhong Wang, Shuiwang Ji, Connor W. Coley
Abstract
Mass spectrometry plays a fundamental role in elucidating the structures of unknown molecules and subsequent scientific discoveries. One formulation of the structure elucidation task is the conditional de novo generation of molecular structure given a mass spectrum. Toward a more accurate and efficient scientific discovery pipeline for small molecules, we present DiffMS, a formularestricted encoder-decoder generative network that achieves state-of-the-art performance on this task. The encoder utilizes a transformer architecture and models mass spectra domain knowledge such as peak formulae and neutral losses, and the decoder is a discrete graph diffusion model restricted by the heavy-atom composition of a known chemical formula. To develop a robust decoder that bridges latent embeddings and molecular structures, we pretrain the diffusion decoder with fingerprint-structure pairs, which are available in virtually infinite quantities, compared to structure-spectrum pairs that number in the tens of thousands. Extensive experiments on established benchmarks show that DiffMS outperforms existing models on de novo molecule generation. We provide several ablations to demonstrate the effectiveness of our diffusion and pretraining approaches and show consistent performance scaling with increasing pretraining dataset size. DiffMS code is publicly available at https: //github.com/coleygroup/DiffMS .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4001e05f-d8f8-4976-a960-de319fbb35ddCited by top-tier papers9
- 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
- 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
- SpectraLLM: Uncovering the Ability of LLMs for Molecule Structure Elucidation from Multi-SpectraYunyue Su, Jiahui Chen, Zao Jiang, Zhenyi Zhong et al.ICLR 2026 · 1 citation
- MAST: Motif-Augmented Diffusion with Search Tree for Spectroscopic Molecular Structure ElucidationChenghao Jia, Mengdi Liu, Hong Chang, Shiguang Shan et al.ICML 2026
- De Novo Molecular Generation from Mass Spectra via Many-Body Enhanced DiffusionXichen Sun, Wentao Wei, Jiahua Rao, Jiancong Xie et al.AAAI 2026
Builds on18
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 citations
- Elucidating the Design Space of Diffusion-Based Generative ModelsTero Karras, Miika Aittala, Timo Aila, Samuli LaineNeurIPS 2022 · 3,959 citations
- Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations
Related papers
- 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
- Geometric-Facilitated Denoising Diffusion Model for 3D Molecule GenerationCan Xu, Haosen Wang, Weigang Wang, Pengfei Zheng et al.AAAI 2024 · 20 citations
- Regressor-guided Diffusion Model for De Novo Peptide Sequencing with Explicit Mass ControlShaorong Chen, Jingbo Zhou, Jun XiaAAAI 2026
- Atomic Diffusion Models for Small Molecule Structure Elucidation from NMR SpectraZiyu Xiong, Yichi Zhang, Foyez Alauddin, Chu Xin Cheng et al.NeurIPS 2025 · 7 citations
- Text-Guided Molecule Generation with Diffusion Language ModelHaisong Gong, Qiang Liu, Shu Wu, Liang WangAAAI 2024 · 45 citations
