Prefix-Tree Decoding for Predicting Mass Spectra from Molecules
Samuel Goldman, John Bradshaw, Jiayi Xin, Connor W. Coley
Abstract
Computational predictions of mass spectra from molecules have enabled the discovery of clinically relevant metabolites. However, such predictive tools are still limited as they occupy one of two extremes, either operating (a) by fragmenting molecules combinatorially with overly rigid constraints on potential rearrangements and poor time complexity or (b) by decoding lossy and nonphysical discretized spectra vectors. In this work, we use a new intermediate strategy for predicting mass spectra from molecules by treating mass spectra as sets of molecular formulae, which are themselves multisets of atoms. After first encoding an input molecular graph, we decode a set of molecular subformulae, each of which specify a predicted peak in the mass spectrum, the intensities of which are predicted by a second model. Our key insight is to overcome the combinatorial possibilities for molecular subformulae by decoding the formula set using a prefix tree structure, atom-type by atom-type, representing a general method for ordered multiset decoding. We show promising empirical results on mass spectra prediction tasks.
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.
Cited by top-tier papers4
- 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
- DiffMS: Diffusion Generation of Molecules Conditioned on Mass SpectraMontgomery Bohde, Mrunali Manjrekar, Runzhong Wang, Shuiwang Ji et al.ICML 2025
- MolSpectra: Pre-training 3D Molecular Representation with Multi-modal Energy SpectraLiang Wang, Shaozhen Liu, Yu Rong, Deli Zhao et al.ICLR 2025
- Neural Graph Matching Improves Retrieval Augmented Generation in Molecular Machine LearningRunzhong Wang, Rui-Xi Wang, Mrunali Manjrekar, Connor W. ColeyICML 2025
Builds on4
- Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional DomainsMatthew Tancik, Pratul P. Srinivasan, Ben Mildenhall, Sara Fridovich-Keil et al.NeurIPS 2020 · 4,036 citations
- Object-Centric Learning with Slot AttentionFrancesco Locatello, Dirk Weissenborn, Thomas Unterthiner, Aravindh Mahendran et al.NeurIPS 2020 · 1,275 citations
- De novo mass spectrometry peptide sequencing with a transformer modelMelih Yilmaz, William Fondrie, Wout Bittremieux, Sewoong Oh et al.ICML 2022 · 73 citations
- Efficiently predicting high resolution mass spectra with graph neural networksMichael Murphy, Stefanie Jegelka, Ernest Fraenkel, Tobias Kind et al.ICML 2023 · 24 citations
Related papers
- De Novo Molecular Generation from Mass Spectra via Many-Body Enhanced DiffusionXichen Sun, Wentao Wei, Jiahua Rao, Jiancong Xie et al.AAAI 2026
- 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
- Latent Imputation before Prediction: A New Computational Paradigm for De Novo Peptide SequencingYe Du, Chen Yang, Nanxi Yu, Wanyu Lin et al.ICML 2025
- MAST: Motif-Augmented Diffusion with Search Tree for Spectroscopic Molecular Structure ElucidationChenghao Jia, Mengdi Liu, Hong Chang, Shiguang Shan et al.ICML 2026
- 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
