Generalizable machine learning models for rapid antimicrobial resistance prediction in unseen health care settings
Top Cited Papers
Open Access
- 19 January 2026
- journal article
- Published by Oxford University Press (OUP) in GigaScience
- Vol. 15
Abstract
Background: The deployment of machine learning in clinical settings is often hindered by the limited generalizability of the models. Models that perform well during development tend to underperform in new environments, limiting their clinical utility. This issue affects models designed for the rapid identification of antimicrobial resistance, which is essential to guide treatment decisions. Traditional susceptibility tests can take up to 3 days, whereas integrating matrix-assisted laser desorption/ionization time-of-flight (MALDI-TOF) mass spectrometry with machine learning has the potential to reduce this to 1 day. However, model performance declines drastically in hospitals or time frames outside the training data. Results: To improve robustness, we develop advanced feature representations using masked autoencoders (MAEs) for MALDI-TOF spectra and chemical language models and SELF-referencing embedded strings (SELFIES) for antimicrobials. Cross-validated on data from 4 medical institutions, our models demonstrate improved performance and stability. The MAE and SELFIES encodings increase the area under the precision–recall curve by 4% when evaluated on unseen time periods, while the MAE and Molformer language model encodings improve it by 10% when applied across different hospitals. Conclusions: These results underscore the value of combining deep learning with chemical and spectral information to build generalizable, high-impact clinical artificial intelligence.Keywords
Funding Information
- ETH
This publication has 31 references indexed in Scilit:
- Global burden of bacterial antimicrobial resistance 1990–2021: a systematic analysis with forecasts to 2050The Lancet, 2024
- Large-scale chemical language representations capture molecular structure and propertiesNature Machine Intelligence, 2022
- SELFIES and the future of molecular string representationsPatterns, 2022
- Concepts and applications of chemical fingerprint for hit and lead screeningDrug Discovery Today, 2022
- Global burden of bacterial antimicrobial resistance in 2019: a systematic analysisThe Lancet, 2022
- Direct antimicrobial resistance prediction from clinical MALDI-TOF mass spectra using machine learningNature Medicine, 2022
- A Brief Review of Domain Adaptation2021
- Extended-Connectivity FingerprintsJournal of Chemical Information and Modeling, 2010
- Reoptimization of MDL Keys for Use in Drug DiscoveryJournal of Chemical Information and Computer Sciences, 2002
- The Generation of a Unique Machine Description for Chemical Structures-A Technique Developed at Chemical Abstracts Service.Journal of Chemical Documentation, 1965