bioRxivPreprintOpen accessbioinformatics

Deciphering the Biological Function of Tandem Mass Spectra Using a Dual-Modal Metabolite Language Model

F. Zhang, Y. Wang, Y. Liu, J. Kinchagawat, C. Wang, W. Wang, Y. Fu, Q. Kong,

Computational

Key points

From the paper's conclusion
  • Here, we introduce Spec2Function, a function-centric framework that infers biological functions from tandem mass spectrometry (MS2) spectra.

Abstract

Liquid chromatography-tandem mass spectrometry untargeted metabolomics captures thousands of metabolic peaks from biological samples. Conventional identification-dependent metabolomics workflows require confident structural annotation before identified features can enter downstream pathway or functional analysis. However, only a small fraction of detected metabolic features can be assigned confident structural annotations, leaving a large fraction difficult to incorporate into downstream biological interpretation, a form of "functional dark matter". Here, we introduce Spec2Function, a function-centric framework that infers biological functions from tandem mass spectrometry (MS2) spectra. Spec2Function is trained using characterized spectrum-text pairs but does not require prior structural identification of the query spectra at inference time. At its core is Spec2Biotext, a dual-encoder contrastive model that embeds MS2 spectra and curated multi-aspect natural language functional texts into a unified functional space. Combined with a retrieval-augmented generation framework grounded in curated databases and biomedical literature, Spec2Function retrieves evidence-grounded biological knowledge and produces coherent functional summaries for individual spectra or groups of spectra. Across metabolite- and pathway-level benchmarks, Spec2Function achieved higher similarity to reference functional descriptions than the evaluated comparators and expanded the fraction of the metabolome accessible to functional interpretation. Application to a human liver cirrhosis cohort recapitulated known metabolic alterations and identified additional literature-supported functional modules. Applying Spec2Function to a 30-organ macaque aging atlas revealed organ-specific metabolic functions and previously unreported functional modules that were supported by independent human and mouse datasets. Together, these results position Spec2Function as a function-centric framework for scalable biological interpretation of structurally unannotated MS2 spectra.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Deciphering the Biological Function of Tandem Mass Spectra Using a Dual-Modal Metabolite Language Model — Science Skim