Pre-trained Maldi Transformers improve MALDI-TOF MS-based prediction
Gaetan De WaeleiD, Gerben MenschaertiD, Peter A. R. VandammeiD, Willem WaegemaniD
Abstract
For the last decade, matrix-assisted laser desportion/ionization time-of-flight mass spectrometry (MALDI-TOF MS) has been the reference method for species identification in clinical microbiology. Hampered by a historical lack of open data, machine learning research towards models specifically adapted to MALDI-TOF MS remains in its infancy. Given the growing complexity of available datasets (such as large-scale antimicrobial resistance prediction), a need for models that (1) are specifically designed for MALDI-TOF MS data, and (2) have high representational capacity, presents itself. Here, we introduce Maldi Transformer, an adaptation of the state-of-the-art transformer architecture to the MALDI-TOF mass spectral domain. We propose the first self-supervised pre-training technique specifically designed for mass spectra. The technique is based on shuffling peaks across spectra, and pre-training the transformer as a peak discriminator. Extensive benchmarks confirm the efficacy of this novel design. The final result is a model exhibiting state-of-the-art (or competitive) performance on downstream prediction tasks. In addition, we show that Maldi Transformers identification of noisy spectra may be leveraged towards higher predictive performance. All code supporting this study is distributed on PyPI and is packaged under: https://github.com/gdewael/maldi-nn
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 17
- FWCI
- 10.22
- Field percentile
- top 1%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- MSclassifR: an R package for supervised classification of mass spectra with machine learning methods
Alexandre Godmer, Yahia Benzerara, … Quentin Giai Gianetto·Expert Systems with ApplicationsPeer-reviewed·Jun 27, 2025
- Effect of Data Heterogeneity in Clinical MALDI-TOF Mass Spectra Profiles on Direct Antimicrobial Resistance Prediction through Machine Learning
Youngjun Park, Michael Weig, … Anne-Christin Hauschild·bioRxiv·Oct 18, 2024
- A synthetic MALDI-TOF MS atlas for microbial classification across hospitals
Alejandro Guerrero-López, Eline Meijer, … Adrian Egli·bioRxiv·Oct 19, 2026
- MicrobeMS - A MATLAB Toolbox for Microbial Identification Based on Mass Spectrometry
Peter Lasch·bioRxiv·May 12, 2026
- An antimicrobial drug recommender system using MALDI-TOF MS and dual-branch neural networks
Gaetan De Waele, Gerben Menschaert, Willem Waegeman·eLifePeer-reviewed·Nov 14, 2024
- Predicting Pseudomonas aeruginosa drug resistance using artificial intelligence and clinical MALDI-TOF mass spectra
H.-A. Nguyen, A. Y. Peleg, … N. Macesic·bioRxiv·Oct 25, 2023