Sign in
Systems BiologybioRxiv
Preprint

FLARE: Fine-grained Learning for Alignment of spectra-molecule REpresentation Enhances Metabolite Annotation

Yan Zhou Chen, Blake R. RushingiD, Soha HassouniD

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.

PDFDOI

02 /Specification & Classification

Click any tag to browse matching papers

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.