Emergence of molecular structures from self-supervised learning on mass spectra

01 December 2023, Version 1
This content is a preprint and has not undergone peer review at the time of posting.

Abstract

Mass spectrometry (MS) is the primary method for characterizing biological and environmental samples at a molecular level. Despite this, the interpretation of mass spectra remains a challenge to overcome. Existing methods heavily rely on limited spectral libraries and human expertise, so we have taken an orthogonal approach. Here, we introduce a foundation transformer-based model pre-trained in a self-supervised way on millions of unlabeled mass spectra from our new GeMS (GNPS Experimental Mass Spectra) dataset. We show that by learning to predict masked spectral peaks and chromatographic retention orders, our model discovers rich molecular representations, which we name DreaMS (Deep Representations Empowering the Annotation of Mass Spectra). Fine-tuning the neural network for predicting spectral similarity, molecular fingerprints, chemical properties, and the presence of fluorine from mass spectra yields state-of-the-art performance across all tasks. This underscores the practical utility of DreaMS across diverse spectrum interpretation tasks and establishes it as a foundation for future advances in the field.

Keywords

mass spectrometry
metabolomics
machine learning
self-supervised learning
large language models

Comments

Comments are not moderated before they are posted, but they can be removed by the site moderators if they are found to be in contravention of our Commenting Policy [opens in a new tab] - please read this policy before you post. Comments should be used for scholarly discussion of the content in question. You can find more information about how to use the commenting feature here [opens in a new tab] .
This site is protected by reCAPTCHA and the Google Privacy Policy [opens in a new tab] and Terms of Service [opens in a new tab] apply.