De Novo Molecular Structure Elucidation from Mass Spectra via Flow Matching
1 MSFlow achieves a remarkable 45% accuracy in translating mass spectra to molecular structures, representing up to a 14-fold improvement over existing state-of-the-art methods.
2 The two-stage architecture combines a formula-restricted transformer encoder with a discrete flow matching decoder, enabling efficient non-autoregressive generation of molecular structures.
3 Unlike diffusion-based approaches that rely on lossy binary fingerprints, MSFlow uses continuous molecular descriptors (CDDD) that preserve substantially more chemical information during spectrum encoding.
4 The flow matching decoder leverages bidirectional attention and adaptive layer normalization conditioned on spectrum embeddings, allowing parallel token generation rather than slow autoregressive sampling.
5 On the challenging out-of-distribution MassSpecGym benchmark, MSFlow reaches 32% top-1 accuracy compared to just 2.3% for the previous best method, demonstrating strong generalization to novel chemical structures.
6 Oracle experiments with ground-truth descriptors reveal 86.55% accuracy is achievable, indicating the spectrum-to-embedding encoding stage remains the primary bottleneck for further improvement.
7 The model maintains robust performance across molecular sizes and flexibilities, successfully handling both rigid and highly flexible molecules with up to 60 atoms.
8 Functional group prediction achieves 85.4% F1-score, showing the model accurately captures key chemical motifs without hallucinating non-existent groups.
💻Code: github.com/ghaith-mq/MSFlow
📜Paper: arxiv.org/abs/2602.19912#MassSpectrometry#Metabolomics#DeNovoGeneration#FlowMatching#Cheminformatics#MachineLearning#ComputationalChemistry#MolecularStructure#AIforScience
Seriously FlowStudio.app is one of the best tools for fixing dumb flows that break connections. I love this app and if John Lui has a twitter please need to connect #msflow#PowerAutomate It allows me to do things I shouldn't do and I love it
Check out this Thursday's video: #MSFlow
CAT2 - Automate 5 Filter Tips for Trigger & Query
In this video I'll show 5 tips to assist you in creating Trigger Conditions and Filter Queries. Our data source will be a SharePoint list.
youtu.be/-sO9cdnEGeA
Check out this Thursday's video: #SharePoint & #MSFlow
CAT2 - SharePoint List Archive With Append Comments: how to handle archiving list item to another list when multi line text column append is on using Automate.
youtu.be/bdqpj4kWodo
Special shout out to @dchristian19
Check out this Thursday's video: #PowerApps, #SharePoint & #MSFlow
CAT2 - Power App Duplicate Item With Automate.
In this video I'll show how to handle duplicating an item in your Power App using a button and Automate combination.
youtu.be/aNjw8zkc2gE