bioRxiv · 10.64898/2026.01.27.702086
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Zhou Chen, Y., Rushing, B. R., Hassoun, S.. 2026-01-28. FLARE: Fine-grained Learning for Alignment of spectra-molecule REpresentation Enhances Metabolite Annotation. https://doi.org/10.64898/2026.01.27.702086
Cite the original work for its findings. Save a collection to share your selection of sources.