Confidence-based prediction of antibiotic resistance at the patient level
Journal article, 2026

Rapid and accurate diagnostics of bacterial infections are necessary for efficient treatment of antibiotic-resistant pathogens. Cultivation-based methods, such as antibiotic susceptibility testing (AST), are limited by bacterial growth rates and seldom yield results before treatment needs to start, increasing patient risk and contributing to antibiotic overprescription. Here, we present a deep-learning method that leverages patient data and available AST results to predict antibiotic susceptibilities that have not yet been measured. After training on three million AST results from 30 European countries, the method achieved an average accuracy of 93% across bacterial species and antibiotics. It predicted susceptibility with an average major error rate below 5% for quinolones, cephalosporins, and carbapenems, and below 8% and 14% for aminoglycosides and penicillins, respectively. Furthermore, the model predicted resistance with an average very major error rate below 10% for cephalosporins, carbapenems, and aminoglycosides, but with higher very major error rates for penicillins and quinolones. We combined the method with conformal prediction and demonstrated accurate estimation of the predictive uncertainty at the patient level. Our results suggest that artificial intelligence-based decision support may offer new means to meet the growing burden of antibiotic resistance.IMPORTANCEImproved diagnostic tools are vital for maintaining efficient treatment of antibiotic-resistant bacteria and for reducing antibiotic overconsumption. In our research, we introduce a new deep learning-based method capable of predicting untested antibiotic resistance phenotypes. The method uses transformers, a powerful artificial intelligence (AI) technique that efficiently leverages both antibiotic susceptibility tests (AST) and patient data simultaneously. The model produces predictions that can be used as time- and cost-efficient alternatives to results from cultivation-based diagnostic assays. Significantly, our study highlights the potential of AI technologies to address the increasing prevalence of antibiotic-resistant bacterial infections.

antibiotic susceptibility testing

antibiotic resistance

conformal prediction

transformers

diagnostics

Author

Juan Salvador Inda Diaz

Chalmers, Mathematical Sciences, Applied Mathematics and Statistics

Queensland University of Technology (QUT)

University of Gothenburg

Anna Johnning

Fraunhofer-Chalmers Centre

Chalmers, Mathematical Sciences, Applied Mathematics and Statistics

University of Gothenburg

Magnus Hessel

University of Gothenburg

Sahlgrenska University Hospital

Anders Sjöberg

Chalmers, Electrical Engineering, Signal Processing and Biomedical Engineering

Fraunhofer-Chalmers Centre

Anna Lokrantz

Fraunhofer-Chalmers Centre

Lisa Helldal

Sahlgrenska University Hospital

Mats Jirstrand

Chalmers, Electrical Engineering, Systems and control

Fraunhofer-Chalmers Centre

Lennart Svensson

Chalmers, Electrical Engineering, Signal Processing and Biomedical Engineering

Erik Kristiansson

University of Gothenburg

Chalmers, Mathematical Sciences, Applied Mathematics and Statistics

mBio

2161-2129 (ISSN) 2150-7511 (eISSN)

Vol. 17 2 e0343125-

Subject Categories (SSIF 2025)

Infectious Medicine

Microbiology in the Medical Area

DOI

10.1128/mbio.03431-25

PubMed

41575464

More information

Latest update

2/24/2026