English

SpecBridge: Bridging Mass Spectrometry and Molecular Representations via Cross-Modal Alignment

Machine Learning 2026-03-05 v3 Computational Engineering, Finance, and Science

Abstract

Small-molecule identification from tandem mass spectrometry (MS/MS) remains a bottleneck in untargeted settings where spectral libraries are incomplete. While deep learning offers a solution, current approaches typically fall into two extremes: explicit generative models that construct molecular graphs atom-by-atom, or joint contrastive models that learn cross-modal subspaces from scratch. We introduce SpecBridge, a novel implicit alignment framework that treats structure identification as a geometric alignment problem. SpecBridge fine-tunes a self-supervised spectral encoder (DreaMS) to project directly into the latent space of a frozen molecular foundation model (ChemBERTa), and then performs retrieval by cosine similarity to a fixed bank of precomputed molecular embeddings. Across MassSpecGym, Spectraverse, and MSnLib benchmarks, SpecBridge improves top-1 retrieval accuracy by roughly 20-25% relative to strong neural baselines, while keeping the number of trainable parameters small. These results suggest that aligning to frozen foundation models is a practical, stable alternative to designing new architectures from scratch. The code for SpecBridge is released at https://github.com/HassounLab/SpecBridge.

Keywords

Cite

@article{arxiv.2601.17204,
  title  = {SpecBridge: Bridging Mass Spectrometry and Molecular Representations via Cross-Modal Alignment},
  author = {Yinkai Wang and Yan Zhou Chen and Xiaohui Chen and Li-Ping Liu and Soha Hassoun},
  journal= {arXiv preprint arXiv:2601.17204},
  year   = {2026}
}

Comments

We have found a problem in the preprocessing/evaluation pipeline