MS2Forge: Bayesian Flow Network for De Novo Molecular Structure Generation from Tandem Mass Spectra
Qiyao Hua, Zheng Lu, Jiazheng Xu, Pan Dou, Liming Xu, Zetong Li, Zhuosong Xie, Hengyu Fan,
Key points
From the paper's conclusion- Here, we present MS2Forge, a four-stage framework that employs Bayesian Flow Network for de novo molecular structure generation and prioritization from tandem mass spectra.
Abstract
Metabolite structure annotation remains a central challenge in untargeted metabolomics, particularly for compounds absent from spectral libraries and candidate databases. Here, we present MS2Forge, a four-stage framework that employs Bayesian Flow Network for de novo molecular structure generation and prioritization from tandem mass spectra. MS2Forge reformulates spectrum-to-structure inference as progressive Bayesian refinement of probabilistic bond-state beliefs over molecular connectivity, allowing ambiguous spectral evidence to be incorporated through iterative structural inference. Molecular-prior pretraining and cross-modal transfer enable structural knowledge learned from molecule-only data to guide spectrum-conditioned generation, while EvidenceRank prioritizes generated candidates using fragmentation and spectrum−structure compatibility evidence. Under matched graph variables, conditioning information, and candidate budgets, the Bayesian flow generator outperformed the corresponding discrete diffusion and flow-matching variants. MS2Forge achieved the best overall performance among the evaluated methods, reaching top-1 exact-match accuracies of 24.1% on MassSpecGym and 31.7% on NPLIB1. On a stringent CASMI 2012−2022 cohort whose targets were absent from all enumerated paired-spectrum training sets and molecular-pretraining sources, three-seed mean top-1 and top-10 exact-match accuracies were 15.5% and 22.8%, respectively. These results demonstrate that progressive Bayesian connectivity refinement can extend MS/MS-based structure elucidation beyond a database lookup toward the generation and prioritization of testable structural hypotheses.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Structure-informed deep generation enables de novo metabolite annotation in untargeted metabolomicsNature Communications · 2026
- DEEPNET-LLM: Highly accurate structure prediction of unknown metabolites from mass spectra via their molecular neighborhoods.bioRxiv : the preprint server for biology · 2026
- MS2Agent: Multi-Agent LLM-Driven Cross-Modal Alignment for Tandem Mass Spectrometry Structural Annotation.Analytical chemistry · 2026
- A Spectrum-to-Structure Diffusion Model for De Novo Small Molecule GenerationAnalytical Chemistry · 2025
- SPHERE-MS: Hybrid Fragment-Vocabulary Modeling for Accurate and Efficient Tandem Mass Spectra Prediction.Analytical chemistry · 2026
- GEMS: Molecular Structure Elucidation as Learned Search over Isomer GraphsarXiv · 2026