Robust machine learning for Clostridioides difficile typing from mass spectrometry via data augmentation
Alejandro Guerrero-LópeziD, Mario Blázquez‐SáncheziD, Lucía Bravo-Antón, Lucía Schmidt-SantiagoiD, Carlos Sevilla-SalcedoiD, David Rodríguez‐TemporaliD, Belén Rodríguez‐SáncheziD, Vanessa Gómez-VerdejoiD
Abstract
Machine learning (ML) approaches applied to Matrix-Assisted Laser Desorption Ionization-Time of Flight Mass Spectrometry (MALDI-TOF MS) spectra have shown promise for the typing of Clostridioides difficile, yet their deployment in routine clinical settings remains challenging due to strong sensitivity to acquisition variability. Differences in culture media, incubation time, protein extraction protocols, and instrumentation across hospitals often lead to substantial performance degradation when models are evaluated under heterogeneous or previously unseen conditions. In this work, we systematically analyze the impact of methodological and technical variability on ML-based C. difficile typing and investigate whether data augmentation (DA) strategies can mitigate these effects. Using a dedicated dataset of 60 isolates acquired under diverse conditions, we show that DA substantially improves robustness to variability when training on spectra from selective C. difficile agar media. Importantly, models trained with DA achieve performance levels approaching those obtained using enriched Schaedler agar media, while relying exclusively on standard 24-hour incubation. Evaluation on an independent cohort of 28 newly acquired isolates confirms that DA significantly reduces performance degradation under real-world domain shift. To facilitate adoption and reproducibility, we release MAL-DIDA, an open-source Python library for DA of MALDI-TOF MS spectra.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 1
- Organism
- 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
- Automated web-based typing of Clostridioides difficile ribotypes via MALDI-TOF MS
M. Sanchez-Blazquez, A. Guerrero-Lopez, … B. Rodriguez Sanchez·bioRxiv·Jan 24, 2024
- Analysis of high-molecular-weight proteins using MALDI-TOF MS and Machine Learning for the differentiation of clinically relevant Clostridioides difficile ribotypes
Ana Candela, David Rodríguez‐Temporal, … Marina Oviaño·European Journal of Clinical Microbiology & Infectious DiseasesPeer-reviewed·Dec 17, 2024
- Machine Learning applied to MALDI-TOF data in a clinical setting: a systematic review
Lucía Schmidt-Santiago, Alejandro Guerrero-López, … Vanessa Gómez-Verdejo·Briefings in BioinformaticsPeer-reviewed·Apr 17, 2026
- 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
- Improved MALDI-TOF MS based antimicrobial resistance prediction through hierarchical stratification
Caroline Weis, Bastian Rieck, … Karsten Michael Borgwardt·bioRxiv·Apr 13, 2022
- Pre-trained Maldi Transformers improve MALDI-TOF MS-based prediction
Gaetan De Waele, Gerben Menschaert, … Willem Waegeman·Computers in Biology and MedicinePeer-reviewed·Jan 22, 2025