mlsanityData to 7 Oct 2026

FlowMS: Flow Matching for De Novo Structure Elucidation from Mass Spectra

arXiv 2603.18397 ↗First posted 19 Mar 2026cs.LGcited by 1

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

Mass spectrometry (MS) stands as a cornerstone analytical technique for molecular identification, yet de novo structure elucidation from spectra remains challenging due to the combinatorial complexity of chemical space and the inherent ambiguity of spectral fragmentation patterns. Recent deep learning approaches, including autoregressive sequence models, scaffold-based methods, and graph diffusion models, have made progress. However, diffusion-based generation for this task remains computationally demanding. Meanwhile, discrete flow matching, which has shown strong performance for graph generation, has not yet been explored for spectrum-conditioned structure elucidation. In this work, we introduce FlowMS, the first discrete flow matching framework for spectrum-conditioned de novo molecular generation. FlowMS generates molecular graphs through iterative refinement in probability space, enforcing chemical formula constraints while conditioning on spectral embeddings from a pretrained formula transformer encoder. Notably, it achieves state-of-the-art performance on 5 out of 6 metrics on the NPLIB1 benchmark: 9.15% top-1 accuracy (9.7% relative improvement over DiffMS) and 7.96 top-10 MCES (4.2% improvement over MS-BART). We also visualize the generated molecules, which further demonstrate that FlowMS produces structurally plausible candidates closely resembling ground truth structures. These results establish discrete flow matching as a promising paradigm for mass spectrometry-based structure elucidation in metabolomics and natural product discovery.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 27 of its 55 references that are in the map. First posted on arXiv 19 Mar 2026.

Builds on

27 of 55 references.

Closest ancestors · 8

Same direction, newest first

  1. 2025NExT-Mol: 3D Diffusion Meets 1D Language Modeling for 3D Molecule Generation18 Feb
  2. 2024DeFoG: Discrete Flow Matching for Graph Generation5 Oct
  3. 2024Discrete Flow Matching22 Jul
  4. 2024Graph Diffusion Transformers for Multi-Conditional Molecular Generation24 Jan
  5. 2022Flow Matching for Generative Modeling6 Oct
  6. 2022DiGress: Discrete Denoising diffusion for graph generation29 Sep
  7. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow7 Sep
  8. 2022Equivariant Diffusion for Molecule Generation in 3D31 Mar

Other references · 19

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  3. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  4. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
  5. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
  6. 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
  7. 2020A Generalization of Transformer Networks to Graphscited by 653
  8. 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 647
  9. 2023MultiDiffusion: Fusing Diffusion Paths for Controlled Image Generationcited by 529
  10. 2018MolGAN: An implicit generative model for small molecular graphscited by 392
  11. 2020GraphAF: a Flow-based Autoregressive Model for Molecular Graph Generationcited by 301
  12. 2018Molecular Sets (MOSES): A Benchmarking Platform for Molecular Generation Modelscited by 270
7 more
  1. 2019Symmetry-adapted generation of 3d point sets for the targeted discovery of moleculescited by 171
  2. 2023MolDiff: Addressing the Atom-Bond Inconsistency Problem in 3D Molecule Diffusion Generationcited by 65
  3. 2024MassSpecGym: A benchmark for the discovery and identification of moleculescited by 36
  4. 2023RetroBridge: Modeling Retrosynthesis with Markov Bridgescited by 35
  5. 2025DiffMS: Diffusion Generation of Molecules Conditioned on Mass Spectracited by 28
  6. 2025MADGEN: Mass-Spec attends to De Novo Molecular generationcited by 16
  7. 2025MS-BART: Unified Modeling of Mass Spectra and Molecules for Structure Elucidationcited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026De novo molecular structure elucidation from mass spectra via flow matching
  2. 2024Exploring Discrete Flow Matching for 3D De Novo Molecule Generation
  3. 2025FlowMol3: Flow Matching for 3D De Novo Small-Molecule Generation
  4. 2024Mixed Continuous and Categorical Flow Matching for 3D De Novo Molecule Generation
  5. 2026Explainable Molecular Structure Inference from GC--MS with Diffusion Models and LLM Reranking
  6. 2025DiffNMR: Diffusion Models for Nuclear Magnetic Resonance Spectra Elucidation
  7. 2025DiffSpectra: Molecular Structure Elucidation from Spectra using Diffusion Models
  8. 2025Energy-Based Flow Matching for Generating 3D Molecular Structure