To Bin or not to Bin: Alternative Representations of Mass Spectra

Niek de Jonge, Justin J. J. van der Hooft, Daniel Probst
2/15/2025
cs.LGphysics.chem-phq-bio.QM

No confident code implementation found for this paper.

Abstract

Mass spectrometry, especially so-called tandem mass spectrometry, is commonly used to assess the chemical diversity of samples. The resulting mass fragmentation spectra are representations of molecules of which the structure may have not been determined. This poses the challenge of experimentally determining or computationally predicting molecular structures from mass spectra. An alternative option is to predict molecular properties or molecular similarity directly from spectra. Various methodologies have been proposed to embed mass spectra for further use in machine learning tasks. However, these methodologies require preprocessing of the spectra, which often includes binning or sub-sampling peaks with the main reasoning of creating uniform vector sizes and removing noise. Here, we investigate two alternatives to the binning of mass spectra before down-stream machine learning tasks, namely, set-based and graph-based representations. Comparing the two proposed representations to train a set transformer and a graph neural network on a regression task, respectively, we show that they both perform substantially better than a multilayer perceptron trained on binned data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jonge2025bin,
  title  = {To Bin or not to Bin: Alternative Representations of Mass Spectra},
  author = {Niek de Jonge and Justin J. J. van der Hooft and Daniel Probst},
  year   = {2025},
  eprint = {2502.10851},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.10851v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.10851.svg)](https://codeofpaper.com/paper/2502.10851)

Discussion