MS2DeepScore: a novel deep learning similarity measure to compare tandem mass spectra
Open accessThe DOI matches its Crossref record; 47 of the 47 references it cites were found in a registry or an index.
Abstract
Mass spectrometry data is one of the key sources of information in many workflows in medicine and across the life sciences. Mass fragmentation spectra are generally considered to be characteristic signatures of the chemical compound they originate from, yet the chemical structure itself usually cannot be easily deduced from the spectrum. Often, spectral similarity measures are used as a proxy for structural similarity but this approach is strongly limited by a generally poor correlation between both metrics. Here, we propose MS2DeepScore: a novel Siamese neural network to predict the structural similarity between two chemical structures solely based on their MS/MS fragmentation spectra. Using a cleaned dataset of > 100,000 mass spectra of about 15,000 unique known compounds, we trained MS2DeepScore to predict structural similarity scores for spectrum pairs with high accuracy. In addition, sampling different model varieties through Monte-Carlo Dropout is used to further improve the predictions and assess the model’s prediction uncertainty. On 3600 spectra of 500 unseen compounds, MS2DeepScore is able to identify highly-reliable structural matches and to predict Tanimoto scores for pairs of molecules based on their fragment spectra with a root mean squared error of about 0.15. Furthermore, the prediction uncertainty estimate can be used to select a subset of predictions with a root mean squared error of about 0.1. Furthermore, we demonstrate that MS2DeepScore outperforms classical spectral similarity measures in retrieving chemically related compound pairs from large mass spectral datasets, thereby illustrating its potential for spectral library matching. Finally, MS2DeepScore can also be used to create chemically meaningful mass spectral embeddings that could be used to cluster large numbers of spectra. Added to the recently introduced unsupervised Spec2Vec metric, we believe that machine learning-supported mass spectral similarity measures have great potential for a range of metabolomics data processing pipelines.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Adam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946
Scikit-learn: Machine Learning in Python
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Müller, A., Nothman, J., Louppe, G., et al. (2012) · arXiv · doi:10.48550/arxiv.1201.0490 · Cited by 71,016 · cited 2×
“To illustrate possible future use-cases, we ran t-SNE [28] as implemented in scikit-learn [29] on the 200-dimensional embeddings of the test set (3601 spectra).”
Method(2008) · Journal of Machine Learning Research · Cited by 33,051
(2016) · Cited by 11,679
Weininger, D. (1988) · Journal of Chemical Information and Computer Sciences · doi:10.1021/ci00057a005 · Cited by 7,436 · cited 6×
“The full cleaned dataset (210,407 spectra, 184,698 annotated with InChIKey and SMILES and/or InChI) can be found on zenodo: https:// zenodo. org/ record/ 46993 00.”
MethodInfluentialDropout as a bayesian approximation: Representing model uncertainty in deep learning
Gal, Y., & Ghahramani, Z. (2015) · arXiv · doi:10.48550/arxiv.1506.02142 · Cited by 6,471
Wang, M., Carver, J. J., Phelan, V. V., Sanchez, L. M., Garg, N., Peng, Y., Nguyen, D. D., Watrous, J., Kapono, C. A., Luzzatto-Knaan, T., et al. (2016) · Nature Biotechnology · doi:10.1038/nbt.3597 · Cited by 4,629
PubChem 2019 update: improved access to chemical data
Kim, S., Chen, J., Cheng, T., Gindulyte, A., He, J., He, S., Li, Q., Shoemaker, B. A., Thiessen, P. A., Yu, B., et al. (2019) · Nucleic Acids Research · doi:10.1093/nar/gky1033 · Cited by 3,249 · cited 1×
“We then ran an automated search against PubChem [42] using pubchempy [43] for spectra which still missed InChI or SMILES annotations.”
MethodJupyter Notebooks – a publishing format for reproducible computational workflows
Thomas, K., Benjamin, R.-K., Fernando, P., Brian, G., Matthias, B., Jonathan, F., Kyle, K., Jessica, H., Jason, G., Sylvain, C., et al. (2016) · Positioning and Power in Academic Publishing: Players, Agents and Agendas · doi:10.3233/978-1-61499-649-1-87 · Cited by 3,063 · cited 1×
“figures can be found on GitHub as Juptyer notebooks [46]: https:// github.”
BackgroundSIRIUS 4: a rapid tool for turning tandem mass spectra into metabolite structure information
Dührkop, K., Fleischauer, M., Ludwig, M., Aksenov, A. A., Melnik, A. V., Meusel, M., Dorrestein, P. C., Rousu, J., & Böcker, S. (2019) · Nature Methods · doi:10.1038/s41592-019-0344-8 · Cited by 2,060 · cited 1×
“Reliable identification of exact compound matches hence requires additional algorithms, such as the successful use of machine learning in combination with computational fragmentation trees as well as with library data [36].”
Method
Cited by
Artificial intelligence for natural product drug discovery
Mullowney, M. W., Duncan, K. R., Elsayed, S. S., Garg, N., van der Hooft, J. J. J., Martin, N. I., Meijer, D., Terlouw, B. R., Biermann, F., Blin, K., et al. (2023) · Nature Reviews Drug Discovery · doi:10.1038/s41573-023-00774-7 · Cited by 460
Self-citationThe changing metabolic landscape of bile acids – keys to metabolism and immune regulation
Mohanty, I., Allaband, C., Mannochio-Russo, H., El Abiead, Y., Hagey, L. R., Knight, R., & Dorrestein, P. C. (2024) · Nature Reviews Gastroenterology & Hepatology · doi:10.1038/s41575-024-00914-3 · Cited by 218
“We expect that a combination of new methodologies, including new metabolomics repository scale analysis tools such as repository scale molecular networking 138 , ReDU metadata tracking 139 , MASST 128 , microbeMASST 140 , MassQL 141 , reverse metabolomics, total metabolomics strategies 60,142–146 , and other creative…”
Annotating metabolite mass spectra with domain-inspired chemical formula transformers
Goldman, S., Wohlwend, J., Stražar, M., Haroush, G., Xavier, R. J., & Coley, C. W. (2023) · Nature Machine Intelligence · doi:10.1038/s42256-023-00708-3 · Cited by 87
Predicting glycan structure from tandem mass spectrometry via deep learning
Urban, J., Jin, C., Thomsson, K. A., Karlsson, N. G., Ives, C. M., Fadda, E., & Bojar, D. (2024) · Nature Methods · doi:10.1038/s41592-024-02314-6 · Cited by 79
“…random (1) low-intensity peak removal, (2) peak intensity jitter and (3) new peak addition for the binned spectrum, as proposed previously for MS 52 , as well as adduct formation of the precursor ion (acetate/sodium adducts) and random noise of the precursor m/z (±0.5 Da) and retention time…”
InfluentialPredicting glycan structure from tandem mass spectrometry via deep learning
Urban, J., Jin, C., Thomsson, K. A., Karlsson, N. G., Ives, C. M., Fadda, E., & Bojar, D. (2023) · doi:10.1101/2023.06.13.544793 · Cited by 79
Metadata
- Authors
- Huber, F., van der Burg, S., van der Hooft, J. J. J., & Ridder, L.
- Venue
- Journal of Cheminformatics
- Published
- 2021-10-29
- Volume
- 13
- Issue
- 1
- Pages
- 84-84
- ISSN
- 1758-2946 (ISSN-L)
- OpenAlex
- W3209680996
- Cited by
- 195
- References
- 47
- FWCI
- 8.38
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: MS2DeepScore: a novel deep learning similarity measure to compare tandem mass spectra. https://app.cochat.ai/papers/10.1186/s13321-021-00558-4
- The paper
- Huber, F., van der Burg, S., van der Hooft, J. J. J., & Ridder, L. (2021). MS2DeepScore: a novel deep learning similarity measure to compare tandem mass spectra. Journal of Cheminformatics. https://doi.org/10.1186/s13321-021-00558-4
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.