MS2Forge: Bayesian Flow Network for De Novo Molecular Structure Generation from Tandem Mass Spectra
Year: 2026
Type: article
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.
Source: JACS Au
Institution: East China Normal University
Language: English
Subfield: Spectroscopy
Field: Chemistry
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $3,500
OpenAlex ID: W7237712954
