FLARE: Fine-grained Learning for Alignment of spectra-molecule REpresentation Enhances Metabolite Annotation
Abstract
Accurate metabolite annotation via tandem mass spectrometry remains a major bottleneck in untargeted metabolomics. Recent implicit models that avoid molecular generation or spectra simulation have shown competitive performance by aligning spectra and molecular structures in the embedding space. Still, they overlook the detailed relationships between spectral peaks and molecular substructures that govern fragmentation. We introduce FLARE (Fine-grained Learning for Alignment of spectra-molecule REpresentations), a contrastive learning framework that leverages bidirectional peak-node alignment under learned weak supervision. Unlike models that rely solely on global embeddings, FLARE computes similarity via maxima over peak-to-atom and atom-to-peak interactions, capturing chemically meaningful local correspondences and enabling interpretable spectra-molecule matching. It achieves state-of-the-art results on MassSpecGym, with 43.15% rank@1 (mass-based) and 22.66% (formula-based), surpassing previous models by over 63%. FLAREs learned embeddings correspond with molecular classes, match fingerprint similarity, and detect differential metabolites in a breast cancer xenograft study, showcasing its translational potential.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 2
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Learning from All Views: A Multiview Contrastive Framework for Metabolite Annotation
Yan Zhou Chen, Soha Hassoun·Analytical ChemistryPeer-reviewed·Feb 23, 2026
- ChemEmbed: A deep learning framework for metabolite identification using enhanced MS/MS data and multidimensional molecular embeddings
Muhammad Faizan-Khan, Roger Giné, … Óscar Yanes·Briefings in BioinformaticsPeer-reviewed·Jan 1, 2026
- Confronting spurious evaluations of computational methods in small molecule mass spectrometry
Vishu Gupta, Chencheng Xu, … Michael A. Skinnider·bioRxiv·Jul 14, 2026
- Molecular formula discovery via bottom-up MS/MS interrogation
Shipei Xing, Sam Shen, … Tao Huan·bioRxiv·Aug 3, 2022
- Identification of metabolites from tandem mass spectra with a machine learning approach utilizing structural features
Yuanyue Li, Michael Kuhn, … Peer Bork B·BioinformaticsPeer-reviewed·Sep 26, 2019
- Deciphering complex metabolite mixtures by unsupervised and supervised substructure discovery and semi-automated annotation from MS/MS spectra
Simon Rogers, Cher Wei Ong, … Justin J. J. van der Hooft·Faraday DiscussionsPeer-reviewed·Jan 1, 2019