Antibiotic Resistance in Klebsiella Pneumoniae: Machine Learning Models for Predicting Resistance to Carbapenems and Polymyxins

 

Fachri Argya Cahyadi, Retno Dwi Damayanti, Muhammad Thesa Ghozali*

Department of Pharmaceutical Management, School of Pharmacy, Faculty of Medicine and Health Sciences, Universitas Muhammadiyah Yogyakarta, Special Region of Yogyakarta, 55183, Indonesia.

*Corresponding Author E-mail: ghozali@umy.ac.id

 

ABSTRACT:

The increasing prevalence of multidrug-resistant (MDR) K. pneumoniae leads to an alarming global health challenge, notably in hospital-acquired infections among immunocompromised patients. Conventional models, known as antibiotic susceptibility testing (AST), need up to 48 hours and often delay effective medication, underscoring the urgent need for rapid diagnostic alternatives. This review systematically examines the applications of machine learning (ML) in predicting antibiotic resistance (ABR) in K. pneumoniae, focusing on their clinical utility in detecting resistance to critical antibiotics such as carbapenems and polymyxins. An extensive literature search across six databases—Scopus, PubMed, ProQuest, IEEE Xplore, ASME Digital Collection, and the Cochrane Library— identified 19 relevant studies, revealing that ML techniques—particularly random forests, logistic regression, and support vector machines (SVMs)—achieve high predictive accuracy, with area under the curve (AUC) values frequently exceeding 0.9. The integration of whole-genome sequencing (WGS)-based data with clinical metadata, including patient demographics, infection histories, and treatment records, further enhances predictive performance and supports more precise treatment decisions. Despite these advancements, challenges remain, including limited external validation, data standardization issues, and a lack of transparency in ML decision-making, which inhibits clinical adoption. Addressing these barriers through broader validation studies and expanding ML applications to additional antibiotic classes beyond mentioned antibiotics will be essential for optimizing clinical implementation. In conclusion, ML-based diagnostic tools have the potential to reshape ABR detection, enabling faster, data-driven treatment strategies that improve patient outcomes and support global antibiotic stewardship efforts.

 

KEYWORDS: Antibiotics, Antibiotic resistance, Artificial intelligence, Carbapenems, Klebsiella pneumoniae, Polymyxins, Machine learning.

 

 


 

INTRODUCTION: 

Antibiotic resistance (ABR) has become a global health issue – especially in nosocomial infections due to multidrug-resistant (MDR) pathogens like K. pneumoniae. This gram-negative rod is implicated in most hospital-acquired infections, such as pneumonia, bloodstream infections, and urinary tract infections, and poses major treatment difficulties, particularly in immunocompromised patients1. The bacterium has developed drug resistance to a number of classes of antibiotics quickly, particularly with the horizontal gene transfer mechanisms allowing for the introduction of resistance genes. Of the resistant strains, carbapenem-resistant Klebsiella pneumoniae (CRKP) is of serious concern since such antibiotics are commonly regarded as the last resort to treat MDR infections2. The rising prevalence of CRKP has been associated with increased mortality rates and treatment failure in the clinical environment, compounded by the development of polymyxin resistance – another last-line class of antibiotics. Early institution of effective antibiotic treatment can be precluded by the time- and labor-intensive character of conventional Antibiotic Susceptibility Testing (AST) practices. Though reliable, AST has a duration of 24 to 48 hours to generate results. Such delays underscore the critical need for rapid-detection technologies that could effectively forecast such resistance in real-time to direct empirical therapy3,4.

 

Through quicker and more accurate prediction of ABR than classical methods, machine learning (ML) has also emerged in the recent past as a revolutionary diagnostic tool in the case of infectious disease5,6. Massive amounts of data, such as genomic information from clinical isolates, are available to be handled by ML, and even the detection of sophisticated patterns associated with resistance properties can be performed.  ML is suitable for prediction of resistance mechanisms because, unlike traditional statistical methods, it is capable of handling high-dimensional data readily and identifying emergent patterns between genetic characteristics.  When used for whole-genome sequencing (WGS) data, some ML strategies like logistic regression, support vector machines (SVMs), and random forests have shown effectiveness in prediction of resistance phenotypes7,8. The models are particularly applicable to resistance prediction against highly prized drugs like carbapenems and polymyxins, often the only treatment options effective against MDR K. pneumoniae infections. Rapid predictions made possible by ML may help physicians in making prompt empirical therapy decisions, improving patient outcomes, and perhaps preventing the spread of resistant isolates within medical facilities.

 

K. pneumoniae is among the most significant nosocomial infections worldwide and is clinically significant due to its ability to acquire and transmit resistance genes. Due to its continuously emerging resistance to all categories of treatment, carbapenems and polymyxins, it has been listed as a priority pathogen for research and development of novel antibiotics by WHO9. Novel ML technology has allowed its algorithms to be applied to WGS data and to clinical phenotypes, yielding a more accurate picture of the bacterial resistome. Such progress is enhancing diagnostic test speed with the capability for the quick determination of resistant strains in actual clinical practice10. In addition, ML may be regularly developed and improved and updated with emerging data, and so can respond to emerging patterns of resistance with real-time prediction. The capacity of the models to incorporate new genomic and phenotypic information provides a promising path for improved diagnostic precision and decreased ABR burden within healthcare contexts.

 

Notwithstanding the encouraging potential for ML in forecasting ABR, there are certain research gaps which need to be addressed. Translating models from research conditions to regular routine clinical practice appears to be a major challenge to date. Although numerous investigations have demonstrated the viability of applying ML to genomic data, generalizability to heterogeneous clinical populations is currently still limited, predominantly because datasets utilized in some research are small scale11,12. Besides, there has been little validation of techniques on independent clinical practice settings externally, which is pivotal in evaluating robustness and their applicability to real-world hospital settings13,14. Another significant gap is the concentration of much research on a limited number of antibiotics, especially carbapenems, with relative disregard for other clinically important drug classes, such as cephalosporins or fluoroquinolones. This narrow scope limits the wider applicability of ML methods in resistance prediction across the entire range of antibiotics used in clinical practice15. Moreover, the combination of phenotypic resistance information with genomic and clinical metadata is still a technical challenge. Most models utilize genetic data alone, excluding patient-specific variables that can have a deep influence on drug resistance development, for instance, treatment history, immune status, or prior antibiotic exposure16,17.

 

Recent studies have proposed many more approaches to cross these boundaries. One of such advances is in the application of machine learning-based prediction of ABR, encompassing polymyxins and carbapenems, when classic methods of testing are not reliable due to its polygenic mechanisms of resistance. For example, Macesic et al. (2020) demonstrated the viability of having machine-learning-based prediction of resistance to polymyxin in K. pneumoniae from genomic data, and the ways in which these approaches would enhance treatment outcomes for MDR patients18. Augmenting genomic data with clinical metadata for improved prediction e.g., hospital-acquired infections, patient demographics, and treatment history is another achievement. Lin et al. (2024) showed that a merging of genetic information with patient-specific data significantly enhanced the predictive precision of machine learning, directing the field toward more targeted infectious disease treatment19. Moreover, other more recent research has created machine learning (ML) that not only predicts resistance for a single class of antibiotics but also MDR profiles.  Moreover, it allows for a more comprehensive examination of resistance patterns and may enhance clinical judgment in treating complex diseases20,21.

 

The key purpose of this systematic review is to ascertain to what degree the method of machine learning can predict K. pneumoniae ABR and, even more importantly, clinical practice. The analysis shall consider the algorithms and data utilized throughout this work and the measures employed and evaluate if machine learning had the capacity to improve pace and precision within clinical practice. It seeks to establish the main strengths and limitations of machine learning for ABR prediction through a synthesis of the existing body of literature. It also suggests directions for further research to maximize the therapeutic potential of these models.

 

MATERIALS AND METHODS:

To ensure a comprehensive, transparent, and replicable research methodology, this review followed the Preferred Reporting Items for Systematic Reviews and Meta-Analyses (PRISMA) standards.

 

Eligibility Criteria:

The inclusion criteria for this review were intended to highlight studies that examined the application of ML to predict ABR in K. pneumoniae. The inclusion criteria were: (1) peer-reviewed articles that utilized ML methods to predict ABR, in particular in K. pneumoniae; (2) research involving clinical isolates or clinical information from infected patients to guarantee applicability to actual clinical practice; (3) studies focusing on major antibiotics regularly employed for treating K. pneumoniae infections, especially carbapenems, polymyxins, or cephalosporins; and (4) English-language publications between January 2010 and August 2024, an era that witnessed tremendous developments in the utilization of ML for medical diagnostics.

 

Studies were excluded based on the following exclusion criteria: (1) research that focused only on in vitro experiments without clinical relevance, since these studies do not directly contribute to understanding the impact of ML in patient care; (2) review articles, opinions, and editorials, as they do not provide original research or detailed descriptions of ML implementations; and (3) studies lacking a clear application of ML, as the review focuses specifically on evaluating machine learning models in clinical diagnostics.

 

Data Sources:

A comprehensive literature search was conducted across 6 databases to ensure that all relevant studies were captured. These databases were Scopus, PubMed, ProQuest, IEEE Xplore, ASME Digital Collection, and the Cochrane Library. Such databases were selected to provide a broad and multidisciplinary view, including biomedical, engineering, and general scientific literature. The search spanned from January 2010 to August 2024, ensuring that the review incorporated the most recent developments in ML applications.

 

Search Strategy:

The literature search was conducted using a structured approach that employed a combination of keywords and Boolean operators. The primary search terms used were “machine learning”, “antibiotic resistance”, and “Klebsiella pneumoniae”. All these terms were customized for each database to maximize the search results, with searches performed across titles, abstracts, and keywords, ensuring that all the relevant studies evaluating ML techniques in the context of K. pneumoniae antibiotic resistance were captured. These search results were then exported into reference management software, in this case, – Mendeley, where duplicates were automatically identified and removed before the screening process began.

 

Study Selection:

The study selection process was conducted independently by the author (MTG), with an initial screening of both titles and abstracts to evaluate relevance to the review’s focus on ML and K. pneumoniae. Full-text articles were subsequently reviewed to determine eligibility based on the predefined inclusion and exclusion criteria. As previously mentioned above, to make sure transparency, the entire process of study selection is illustrated using a PRISMA flow diagram, detailing the number of studies identified, screened, excluded, and included in the review.

 

Data Extraction:

Data extraction was conducted employing a standardized form specifically designed to capture the essential information from each included study. The extracted data included the following components: (1) study characteristics, e.g., author names, year of publication, country of study, and journal of publication; (2) the type of data used, including clinical isolates or patient data; (3) the antibiotics tested, with a focus on carbapenems, polymyxins, and cephalosporins; (4) the ML techniques implemented, such as support vector machines, random forests, or logistic regression; and (5) primary outcome measures, such as accuracy, area under the curve (AUC), sensitivity, and specificity. Validation methods, including both internal and external validation, were also documented to evaluate the robustness of each model.

 

 

Data Synthesis:

The findings of the studies included were narratively synthesized with an emphasis on primary findings in the performance of ML algorithms in the prediction of ABR in K. pneumoniae. A summary table was created to allow comparison across studies based on measures such as accuracy, AUC, sensitivity, and specificity. The synthesis of narratives principally sought to derive patterns and trends within studies in order to create insights into strengths and weaknesses of various ML methodologies and its practices clinically. Synthesis also reflected upon the variations of datasets, types of validation techniques used by the models, and varieties of antibiotics tested for assessing the scope of machine learning usage in the context. A summary of validation type, dataset size, and data type used in the selected studies are shown in Table 1 below.

 

Table 1. Validation type, dataset size, and data type applied in the selected studies

Author (s)

Validation Type

Dataset Size

Data Type Used

Yu et al.22

Internal Cross-Validation

500 clinical isolates

WGS

Li et al.23

External Validation

1,200 patient samples

WGS + Clinical Metadata

Lin et al.19

Cross-Validation + External

850 isolates

WGS + Clinical

Jian et al.24

Internal Cross-Validation

900 isolates

WGS

Han et al.25

Internal Cross-Validation

600 patient samples

WGS + Metadata

Liu et al.26

External Validation

1,500 clinical isolates

WGS

Abu-Aqil et al.27

Internal Validation

700 urine samples

Clinical + FTIR

Macesic et al.28

Cross-Validation

800 patient isolates

WGS + Clinical Metadata

Xu et al.29

Internal and External

950 clinical isolates

WGS + Metadata

Bulman et al.30

External Validation

1,100 hospital-acquired isolates

WGS + Metadata

Rosas et al.31

Cross-Validation

1,300 patient isolates

WGS

Gan et al.32

Internal Validation

750 bacterial isolates

WGS + Plasmid Data

Lapp et al.33

External Validation

600 patient records

WGS + Genomic ML

Luterbach et al.34

Cross-Validation + External

1,400 isolates

WGS + Metadata

Nagarajan et al.35

Internal Validation

550 bacterial isolates

Clinical + LSTM

Nkengkana et al.36

Internal Cross-Validation

300 patient samples

Clinical

Mintz et al.37

External Validation

1,200 isolates

WGS

Yu-Ming et al.38

Cross-Validation

980 isolates

WGS + Metadata

Weis et al.39

Internal Validation

620 bacterial isolates

Clinical + WGS

Risk of Bias Assessment:

To evaluate the methodological quality of all the included studies, the Quality Assessment of Diagnostic Accuracy Studies (QUADAS-2 tool) was applied. This tool assesses the risk of bias in four domains: (1) Patient selection; (2) Index test; (3) Reference standard; and (4) Flow and timing40,41. Practically, the risk of bias assessment was conducted using RevMan 5.4 software, allowing for a systematic and consistent evaluation of each study’s quality.

 

Ethical Approval:

As this study is a systematic review of published literature, it did not involve any direct contact with human participants or the collection of primary data. Consequently, ethical approval was not required for the conduct of this review.

 

RESULTS:

Data Searching:

The initial comprehensive search across six major electronic databases yielded a total of 104 studies. Specifically, Scopus contributed 44 records, PubMed accounted for 43, and ProQuest produced 17 relevant articles. Unfortunately, no studies were identified in IEEE Xplore, ASME Digital Collection, or the Cochrane Library. After removing 44 duplicates, a total of 60 unique studies remained for title and abstract screening. This stage was crucial for identifying studies that met the inclusion criteria for further review. Following the screening of titles and abstracts, each of these 60 remaining studies was subjected to a strict full-text review based on pre-established eligibility criteria. Of these, 41 studies were excluded for various reasons: 19 were excluded because they lacked clinical relevance, focusing mainly on theoretical ML techniques or laboratory-based experiments that did not utilize clinical data from K. pneumoniae isolates. Ten studies were excluded as they did not apply ML techniques, despite examining antibiotic resistance. Additionally, seven studies were excluded due to insufficient methodological detail, failing to describe critical aspects of model development, training, or validation. Finally, five studies focused only on unrelated bacterial species or antibiotics, such as aminoglycosides or macrolides, which fell outside the scope of this review. After applying the exclusion criteria, a total of 19 studies were included in the systematic review. These studies were selected for their focus on the clinical implementations of ML to predict ABR in K. pneumoniae. Importantly, all the included studies utilized clinical isolates and examined relevant antibiotics, particularly carbapenems and polymyxins –both are crucial in the treatment of MDR infections. The studies collectively provide valuable insights into the potential of machine learning models to support clinical decision-making in managing resistant K. pneumoniae infections. Figure 1 represents the flow diagram of the study.

 

 

Figure 1.Flow diagram of the study.

 

Quality Assessments:

The QUADAS-2 assessment of the 19 studies included in this review, as shown in Figure 2, reveals a diverse range of bias risks across different domains. A considerable number of the studies evidenced low risk within the index test field, pointing towards solid execution of ML approaches with sufficient controls to ensure that unbiased predictions were made. Such uniformity indicates that most of the studies included in the analysis were sound with respect to technology application, limiting the possibility of systematic error within ABR prediction. Numerous studies like Yu et al. (2023), Li et al. (2023), and Xu et al. (2024) repeatedly demonstrated low risk in multiple areas, emphasizing the stability of their ML implementations in clinical environments. Yet, in many studies, notably Lin et al. (2024) and Bulman et al. (2021), there was substantial risk of bias in the flow and timing domain19,30. This can be attributed to delays in time gaps between model deployment and result verification against the standard reference, and in doing so may lose actual clinical relevance in dynamic healthcare environments.

 

Figure 2.The results of QUADAS-2 assessment of the study.

 

The patient selection field was more diverse, with some studies at high risk of bias because they used non-representative or poorly defined inclusion criteria for patients. For instance, research like Gan et al. (2020) and Nagarajan et al. (2018) were flagged as high risk in this category, possibly because of the transparency of patient recruitment procedures or the likelihood of selection bias, which might restrict the generalizability of their results to more universal clinical populations32,35. In addition, the reference domain of standards used in the studies was not consistent and in some of them, for instance, Macesic et al. (2020) and Abu-Aqil et al. (2023), had an unknown risk, allegedly as a result of insufficiency of detailed information about validating the antibiotic resistance results27,28. Lack of explicitly established external validation processes in such studies makes their results questionable with respect to strength. These discrepancies across domains bring forth the need for improved standardization of both reference validation and patient selection processes to render ML models predicting ABR stable, universally applicable, and best incorporated into practice.

 

Study Characteristics:

All 19 studies included in this systematic review were selected based on their theme of using ML models to predict ABR in K. pneumoniae. Studies include a range of different clinical settings from different countries and employ a range of ML to predict resistance to antibiotics, namely carbapenems and polymyxins, as indicated in Table 2. The participating studies are mainly based on hospital-based clinical information, with ML models being trained on a mix of WGS data, clinical metadata, and in some instances, patient treatment records. The uniform application of sophisticated ML to these studies attests to the increasing role played by computational methodology in ABR prediction and optimizing clinical decision-making in the therapy of K. pneumonia induced MDR infection.

 

Both the random forest and logistic regression performances were excellent with a wide range of antibiotics. For instance, Yu et al. (2023) utilized logistic regression for the prediction of carbapenem and polymyxin resistance with high performance AUC value of 0.9551 and accuracy value of 88.69%22. Li et al. (2023) similarly utilized random forests for impanel resistance with performance AUC and accuracy values of 0.966 and 96.5%, respectively23,42. Both studies demonstrate the capability of these ML methods for predicting resistance in the clinic. The specificity seen in Yu et al. was, however, much lower at 28.6%, as demonstrated by Figure 3, which means logistic regression models can be extremely sensitive but that it may be necessary to fine-tune them to prevent false positives in the clinic.


Table 2. Study characteristics of the included studies.

Author(s)

Country

Clinical Setting

ML Model

Antibiotics

Yu et al.22

Taiwan

Hospital-based

Logistic Regression

Carbapenems, Polymyxins

Li et al.23

China

Hospital-based

Random Forest

Imipenem

Lin et al.19

Taiwan

Hospital and secondary care

LGBM

Ceftazidime-avibactam

Jian et al.24

Taiwan

Multiple hospitals

Random Forest

Carbapenems

Han et al.25

China

Hospital-based

Logistic Regression

Polymyxins

Liu et al.26

China

Clinical samples

CNN

Carbapenems

Abu-Aqil et al.27

Israel

Patient urine samples

FTIR

Extended-spectrum β-lactamase

Macesic et al.28

USA

Hospital-based

Random Forest

Polymyxins

Xu et al.29

China

Clinical isolates

Lasso Regression

Multiple

Bulman et al.30

USA

Long-term acute care hospitals

Random Forest

Colistin, CAZ/AVI

Rosas et al.31

Australia

Clinical isolates

ML + Evolution

Carbapenems

Gan et al.32

Malaysia

Malaysian hospital

ML + Plasmid Detection

Carbapenems

Lapp et al.33

USA

Multiple healthcare facilities

Patient + Genomic ML

Carbapenems

Luterbach et al.34

USA

Multicenter

Random Forest

Colistin, CAZ/AVI

Nagarajan et al.35

India

Clinical isolates

LSTM

Broad-spectrum

Nkengkana et al.36

Cameroon

Western Region Hospitals

Logistic Regression

ESBL

Mintz et al.37

Taiwan

Clinical laboratory

ANN

Carbapenems

Yu-Ming et al.38

Taiwan

Clinical isolates

ML classifiers

Multiple

Weis et al.39

Switzerland

Clinical isolates

ML classifiers

Multiple

 


ML techniques focusing on last-line antibiotics, namely, ceftazidime-avibactam (CZA) and polymyxins, were particularly promising. In order to predict ceftazidime-avibactam resistance in hospitals and secondary care, for example, Lin et al. (2024) used high area under the curve (AUC) light gradient boosting machines (LGBM) with 0.95 and 95% accuracy19,43.

 

 

Figure 3. Accuracy vs. sensitivity/specificity of the study.

 

Jian et al. (2024) utilized random forests to effectively predict carbapenem resistance with 98% accuracy and AUC of 0.9624,44. The results highlight the potential of machine learning models for the quick detection of clinically significant antibiotic resistance, especially in clinical settings where early and precise diagnosis is paramount to patient outcomes. Combined clinical and genetic data being used to improve the performance of predictions was also illustrated in other studies.  Han et al. (2024) and Liu et al. (2022), for example, used logistic regression and CNN to make predictions of carbapenem resistance, respectively, using WGS data25,26. Their accuracy of 91% prediction models and AUCs of 0.91 showed the advantage of having whole genomic sets of data within machine learning algorithms. All of the experiments further established that CNNs are particularly appropriate for genomic data of high dimensions because they are capable of dealing with the complexity of MDR.

 

Using Fourier transform infrared (FTIR) spectroscopy and machine learning (ML) to identify bacteria that are ESBL producers, Abu-Aqil et al. (2023) also showed the potential of combining spectroscopic techniques with ML, with 80% accuracy and an AUC of 0.8027. These ML methods were also substantiated by applying real-life clinical data, particularly in long-term acute care and multicenter hospital environments. For instance, Bulman et al. (2021) applied random forests within a multicenter research in United States long-term acute care hospitals to forecast ceftazidime-avibactam and colistin resistance with 86% accuracy and AUC of 0.85, respectively30. Also reported by Luterbach et al. (2022) for the antibiotics in their multicenter trial that applied random forests45 was an accuracy of 88% and an AUC of 0.89. In practical life, these studies validate the clinical feasibility and utility of machine learning methods to different kinds of healthcare environments, i.e., that they can be applied successfully even to intricate and heterogeneous hospital environments.

 

Lastly, some of the research was aimed at applying fresh methods to enhance the accuracy of forecasting, including lasso regression and Long Short-Term Memory (LSTM) networks. Xu et al. (2024), as presented in Table 3, used lasso regression to make predictions against resistance to multiple antibiotics with AUC of 0.926 and accuracy of 84.23%29, and Nagarajan et al. (2018) used an LSTM network to make predictions against broad-spectrum resistance to multiple antibiotics with AUC of 0.90 and accuracy of 90%46. The research illustrates the strength and versatility of machine learning methods to manage a broad range of data and resistance mechanisms. A promising area for future research is offered by the integration of innovative methods, especially in research such as Rosas et al. (2023) that bridged evolutionary understanding and ML. In this research, not only did ML forecast resistance, but it also illuminated the evolutionary processes that lead to the evolution of resistance31.


 

Table 3. A Summary of AUC, accuracy, sensitivity, and specificity of the study.

Author(s)

AUC

Accuracy

Sensitivity

Specificity

Yu et al.22

0.9551

88.69%

70.60%

28.60%

Li et al.23

0.966

96.50%

92%

89%

Lin et al.19

0.95

95%

90%

91%

Jian et al.24

0.96

98%

88%

85%

Han et al.25

0.91

91%

84%

79%

Liu et al.26

0.91

91%

87%

85%

Abu-Aqil et al.27

0.8

80%

78%

82%

Macesic et al.28

0.894

89.40%

88%

85%

Xu et al.29

0.926

84.23%

96.26%

88.76%

Bulman et al.30

0.85

86%

90%

85%

Rosas et al.31

0.96

96%

91%

90%

Gan et al.32

0.92

92%

85%

82%

Lapp et al.33

0.68

68%

62%

61%

Luterbach et al.34

0.89

88%

88%

86%

Nagarajan et al.35

0.9

90%

85%

82%

Nkengkana et al.36

0.92

29.60%

25%

28%

Mintz et al.37

0.91

89%

88%

87%

Yu-Ming et al.38

0.91

90%

85%

82%

Weis et al.39

0.8

80%

75%

74%

 


FINDINGS FROM INCLUDED STUDIES:

a) Machine learning model performance

The most commonly used ML models were logistic regression, random forests, and SMVs (Figure 4), and each showed strong predictive ability. For instance, using a logistic regression model based on the WGS data, Liu et al. (2021) predicted carbapenem resistance with an AUC higher than 0.926. In situations where clinical judgment is crucial and early, precise diagnosis is crucial to improving patient outcomes, this improved AUC shows the model's capacity to distinguish between resistant and susceptible strains. The effective use of all these machine learning techniques for resistance phenotypic prediction shows the increasing potential of these technologies in a clinical setting and provides a useful tool to maximize antibiotic stewardship and educated treatment decisions.

 

b) Antibiotics tested:

Polymyxins and carbapenems antibiotics, the main targets for eradicating infections caused by MDR K. pneumoniae, were the main targets.  They were distinguished by having exceptional predictability ability as models that target these antibiotics.  In proof of the possibility of machine learning to explain well-complex polygenic resistance mechanisms, Macesic et al. (2020) applied random forest models to predict resistance to polymyxins28. In the clinical setting, in which diagnoses have to be made in a timely and accurate manner to avoid the risk of MDR infection, the ability of these models to act as reliable predictors of resistance to last-resort antibiotics is of critical importance. The breakthrough also promises potential in the application of machine learning (ML) as an adjunct therapy to treat clinic-resistant bacterial infections, providing physicians with more precise data to make informed choices.


 

Figure 4. Comparison of ML model performance of the study.


c) Use of Clinical Data:

For increased performance of the ML models, a few of the reviewed articles of research added WGS information of clinical isolates with complete clinical metadata like treatment history and patient demographics.  As presented by Lin et al. (2024), in which the clinical decision support system integrated WGS information along with patient metadata for MDR prediction19, the integration witnessed a resounding boost to the predictive performances of the models. This approach made the model more relevant to use in the context of a hospital by making the model able to closely simulate real clinical conditions. The use of clinical metadata allowed for more accurate knowledge of resistance profiles, and machine learning-based predictions can ultimately offer personalized prediction to help improve the treatment strategy in individual patients. The success of this multi-faceted strategy validates the importance of integration of clinical and genomic information for more precise predictions of resistance in the clinic.

 

d) Synthesis of Results:

Despite the diversity of methods employed, a few trends stood out in the studies. Random forests and SVMs were also commonly reported to possess high predictive power, most notably carbapenem resistance, with AUC > 0.9 in all cases. The models have been tremendously effective in discriminating resistant and susceptible strains, an aspect that is highly needed in the fight against the looming threat of MDR bacterial infections. In addition, logistic regression models also approached considerable success in terms of predicting polymyxin resistance, further demonstrating the success of such methodologies when applied to building model-ABR from genomic data.

 

Among the most significant results in all the studies covered were the enhanced predictive performance achieved by integrating clinical metadata with genomic information. Models that employed patient demographics, treatment information, and hospital-acquired infection data to make predictions made more accurate and generalizable predictions that mirrored the heterogeneity of actual clinical environments. This broad-based incorporation of data illustrates the ML potential of outdoing traditional means of diagnosis and delivering more personalized and knowledge-driven tools of decision-making for MDR K. pneumoniae infection control. By connecting genomic data with clinical realities, these models are a powerful avenue to improved patient outcomes, enabling quicker and more accurate diagnostic procedures and more tailored treatment approaches in healthcare environments where precision and timely intervention are essential.

 

DISCUSSION:

This systematic review primarily focuses on the augmenting role of ML in forecasting ABR in K. pneumoniae, particularly for the major antibiotics like carbapenems and polymyxins. Reviews discussed herein suggest that machine learning algorithms such as SVMs, random forests, and logistic regression demonstrate persistently high accuracy to predict resistance, with special application to genomic data from clinical isolates. Some of these models had AUC values above 0.9, which represents that they have high predictive value in separating resistant and susceptible strains. These observations prove that ML is a beneficial complement to enhancing AST with the added advantage of quicker turnaround time compared to classical culture-based processes and the prospect of making rapid clinical decision-making. This capacity is especially beneficial in MDR K. pneumoniae therapy, in which delayed therapy typically has poor clinical outcomes, such as increased mortality.

 

Relative to previous systematic reviews that were more concerned with theoretical or laboratory uses of ML, the present review is more concerned with clinical applicability of the models. Although previous studies were more concerned with predicting single-drug resistance47,48, all included studies in the present review also explored MDR profiles, providing a more comprehensive picture of the resistance profile of K. pneumoniae. This method is especially useful for empirical therapy in actual clinical practice, where several mechanisms of resistance may have to be treated at the same time. Moreover, the integration of clinical metadata – including patient demographics, treatment history, and hospital-acquired infection data – with genomic data is a major improvement over earlier studies, which were largely constructed upon genomic data. This hybrid approach enables more precise predictions and better insights into resistance patterns, rendering ML models more suitable for actual hospital environments.

 

Strengths and Limitations of the Study:

Among the highest strengths of the studies reviewed are the utilization of real-world clinical data, more specifically, hospital isolates drawn from hospitals. Real-world utilization guarantees that models are not merely theoretically precise but also transferable in real clinical settings. Liu et al. (2021), for instance, managed to successfully use WGS data derived from hospital-acquired K. pneumoniae infection to be able to forecast resistance to multiple antibiotics. This time-synchronized integration of information offers more relevance to the model in terms of how it can make precise, actionable predictions for clinical decision-making49. A second advantage is that it is now efficient to do so accurately foretell resistance against ultra-case drugs like carbapenems and polymyxins. For instance, the way in which Macesic et al. (2020) used ML models to successfully forecast polymyxin resistance and brought near future usefulness of ML into perspective to address one of the most challenging ABR infections28,50. Additionally, several studies, e.g., Lin et al. (2024), added clinical metadata–treatment history and patient demographics–to the models, leading to considerable accuracy improvement in the prediction and showing the importance of using more than one source of data to predict resistance with strength and accuracy19,51.

 

While these are strong points, several limitations were seen in the studies reviewed. One of the strongest challenges is that they lack external validation in multiple clinical environments. Several models were internally validated using datasets from a particular hospital, restricting their applicability to other healthcare environments or geographical locations. Without wider external validation, it is uncertain whether the performance and usefulness of these models in alternative environments hold true. A second limitation is the lack of representation of wider antibiotic classes. While resistance to carbapenem and polymyxin was studied at length, it was significantly short on research involving other key antibiotic classes, like cephalosporins, fluoroquinolones, and aminoglycosides that are equally pivotal in treating infections of K. pneumoniae. In addition, a number of the studies employed small samples, which might not necessarily represent the full genetic variation in K. pneumoniae resistance mechanisms. For example, studies with less than 500 clinical isolates might have eliminated key differences in resistance patterns that could have constrained the strength of the models. Lastly, the black-box nature of some of the ML models, such as random forests and deep learning algorithms, makes clinical interpretation challenging. Although these models are capable of high accuracy, their opacity prevents them from being practically used in clinical environments, where clinicians must be able to see the rationale behind predictions in order to establish trust and incorporate these tools into their decision-making.

 

Clinical Implications:

The findings of this systematic review are of great clinical significance, particularly regarding diagnostic speed and therapeutic potential for personalized therapy. ML models have the capability to reduce substantially the time required for diagnostic testing, allowing clinicians to initiate appropriate treatments early on, which is particularly critical for managing MDR infections. Speedy diagnostics can be made to lower hospital stays and mortality rates through quicker adjustment of treatment regimens based on projected resistance patterns. Further, integration of ML algorithms in electronic health records (EHRs) could make it possible to support real-time decision-making, such that clinicians have immediate access to resistance predictions within the point of care. This would make empirical therapy patient-specific and improve treatment choice accuracy. By more accurately forecasting resistance patterns, ML models also support reducing the overuse of broad-spectrum antibiotics, a primary force behind ABR development. This ability to optimize antibiotic stewardship can help preserve the efficacy of important antibiotics, such as carbapenems and polymyxins, to keep them effective treatment options for critical infections due to K. pneumoniae.

 

CONCLUSION:

This systematic review shows that ML has the potential to significantly improve the prediction of ABR in K. pneumoniae in clinical settings, notably for critical antibiotics like carbapenems and polymyxins. Despite the promising results, further research is needed to validate such ML models in diverse healthcare environments and expand their application to a broader range of antibiotics. The integration of ML into clinical workflows could reform antibiotic stewardship and improve patient outcomes in the battle against MDR infections.

 

CONFLICT OF INTEREST:

The authors have no conflicts of interest regarding this investigation.

 

ACKNOWLEDGMENTS:

The authors would like to express their deepest gratitude to the School of Pharmacy, Faculty of Medicine and Health Sciences, Universitas Muhammadiyah Yogyakarta, for their invaluable support and resources that made this review possible. Special thanks also go to the 1984-EL research team (Gendhis AI, Latif Perdana, and Anggit) and Baitush Shomad for their collaborative efforts, insights, and contributions throughout the review process.

 

REFERENCES:

1.      Bengoechea JA, Sa Pessoa J. Klebsiella pneumoniae infection biology: living to counteract host defences. FEMS Microbiol Rev. 2018; 43(2): 123-144. doi:10.1093/femsre/fuy043

2.      Karampatakis T, Tsergouli K, Behzadi P. Carbapenem-Resistant Klebsiella pneumoniae: Virulence Factors, Molecular Epidemiology and Latest Updates in Treatment Options. Antibiotics. 2023; 12(2): 234. doi:10.3390/antibiotics12020234

3.      Gajic I, Kabic J, Kekic D, et al. Antimicrobial Susceptibility Testing: A Comprehensive Review of Currently Used Methods. Antibiotics. 2022; 11(4): 427. doi:10.3390/antibiotics11040427

4.      Abbas HA. Modulation of antibiotic activity against Pseudomonas aeruginosa by N-acetylcysteine, ambroxol and ascorbic acid. Asian Journal of Research in Pharmaceutical Sciences. 2012; 2(4): 123-128.

5.      Wang S, Zhao C, Yin Y, Chen F, Chen H, Wang H. A Practical Approach for Predicting Antimicrobial Phenotype Resistance in Staphylococcus aureus Through Machine Learning Analysis of Genome Data. Front Microbiol. 2022; 13. doi:10.3389/fmicb.2022.841289

6.      Joshi Y, Tiwari P. Assessment of Knowledge, Practice and Perception for Self-Medication of Antibiotics among Multi-Disciplinary Students. Asian Journal of Research in Pharmaceutical Sciences. 2019; 9(3): 181-185. doi:10.5958/2231-5659.2019.00028.6

7.      Kuang X, Wang F, Hernandez KM, Zhang Z, Grossman RL. Accurate and rapid prediction of tuberculosis drug resistance from genome sequence data using traditional machine learning algorithms and CNN. Sci Rep. 2022; 12(1): 2427. doi:10.1038/s41598-022-06449-4

8.      Khushboo K, Saloni B, Singh RK. A Briefing of a Global Crisis: Antibiotic Resistance. Asian Journal of Research in Pharmaceutical Sciences. 2020; 10(4): 264-272. doi:10.5958/2231-5659.2020.00047.8

9.      Silvester R, Madhavan A, Kokkat A, et al. Global surveillance of antimicrobial resistance and hypervirulence in Klebsiella pneumoniae from LMICs: An in-silico approach. Science of The Total Environment. 2022; 802: 149859. doi:10.1016/j.scitotenv.2021.149859

10.   Bianconi I, Aschbacher R, Pagani E. Current Uses and Future Perspectives of Genomic Technologies in Clinical Microbiology. Antibiotics. 2023;12(11):1580. doi:10.3390/antibiotics12111580

11.   El Naqa I, Karolak A, Luo Y, et al. Translation of AI into oncology clinical practice. Oncogene. 2023; 42(42): 3089-3097. doi:10.1038/s41388-023-02826-z

12.   Balch JA, Ruppert MM, Loftus TJ, et al. Machine Learning–Enabled Clinical Information Systems Using Fast Healthcare Interoperability Resources Data Standards: Scoping Review. JMIR Medical Informatics. 2023; 11(1): e48297. doi:10.2196/48297

13.   Chekroud AM, Bondar J, Delgadillo J, et al. The promise of machine learning in predicting treatment outcomes in psychiatry. World Psychiatry. 2021; 20(2): 154-170. doi:10.1002/wps.20882

14.   Ghozali MT, Murni IW. Knowledge and Attitude among Community Pharmacists regarding Pharmacovigilance – A Cross Sectional Survey. Indonesian J Pharm. Published online October 5, 2023. doi:10.22146/ijp.5814

15.   Sakagianni A, Koufopoulou C, Feretzakis G, et al. Using Machine Learning to Predict Antimicrobial Resistance―A Literature Review. Antibiotics. 2023; 12(3): 452. doi:10.3390/antibiotics12030452

16.   Marques L, Costa B, Pereira M, et al. Advancing Precision Medicine: A Review of Innovative In Silico Approaches for Drug Development, Clinical Pharmacology and Personalized Healthcare. Pharmaceutics. 2024; 16(3): 332. doi:10.3390/pharmaceutics16030332

17.   Mohamed SH, Mohamed WS, Shaheen MNF, Elmahdy EM, Mabrouk MI. Cytotoxicity, Antibiotic Combination and Antiviral Activity of Papain Enzyme: In vitro study. Asian Journal of Research in Pharmaceutical Sciences. 2020; 10(1): 6-10. doi:10.5958/2231-5659.2020.00002.8

18.   Macesic N, Bear Don’t Walk OJI, Pe’er I, Tatonetti NP, Peleg AY, Uhlemann AC. Predicting Phenotypic Polymyxin Resistance in Klebsiella pneumoniae through Machine Learning Analysis of Genomic Data. mSystems. 2020; 5(3). doi:10.1128/mSystems.00656-19

19.   Lin TH, Chung HY, Jian MJ, et al. Artificial intelligence-clinical decision support system for enhanced infectious disease management: Accelerating ceftazidime-avibactam resistance detection in Klebsiella pneumoniae. J Infect Public Health. 2024; 17(10). doi:10.1016/j.jiph.2024.102541

20.   Serafim MSM, Kronenberger T, Oliveira PR, et al. The application of machine learning techniques to innovative antibacterial discovery and development. Expert Opinion on Drug Discovery. 2020; 15(10): 1165-1180. doi:10.1080/17460441.2020.1776696

21.   Hu K, Meyer F, Deng ZL, et al. Assessing computational predictions of antimicrobial resistance phenotypes from microbial genomes. Brief Bioinform. 2024; 25(3). doi:10.1093/bib/bbae206

22.   Yu J, Lin YT, Chen WC, et al. Direct prediction of carbapenem-resistant, carbapenemase-producing, and colistin-resistant Klebsiella pneumoniae isolates from routine MALDI-TOF mass spectra using machine learning and outcome evaluation. Int J Antimicrob Agents. 2023; 61(6). doi:10.1016/j.ijantimicag.2023.106799

23.   Li S, Wu J, Ma N, et al. Prediction of genome-wide imipenem resistance features in Klebsiella pneumoniae using machine learning. J Med Microbiol. 2023; 72(2). doi:10.1099/jmm.0.001657

24.   Jian MJ, Lin TH, Chung HY, et al. Artificial Intelligence-Clinical Decision Support System in Infectious Disease Control: Combatting Multidrug-Resistant Klebsiella pneumoniae with Machine Learning. Infect Drug Resist. 2024; 17: 2899-2912. doi:10.2147/IDR.S470821

25.   Han X, Yao J, He J, et al. Clinical and laboratory insights into the threat of hypervirulent Klebsiella pneumoniae. Int J Antimicrob Agents. 2024; 64(3). doi:10.1016/j.ijantimicag.2024.107275

26.   Liu W, Tang JW, Lyu JW, et al. Discrimination between Carbapenem-Resistant and Carbapenem-Sensitive Klebsiella pneumoniae Strains through Computational Analysis of Surface-Enhanced Raman Spectra: A Pilot Study. Microbiol Spectr. 2022; 10(1). doi:10.1128/spectrum.02409-21

27.   Abu-Aqil G, Suleiman M, Sharaha U, Lapidot I, Huleihel M, Salman A. Instant detection of extended-spectrum β-lactamase-producing bacteria from the urine of patients using infrared spectroscopy combined with machine learning. Analyst. 2023;148(5):1130-1140. doi:10.1039/d2an01897g

28.   Macesic N, Bear Don’t Walk OJ, Pe’er I, Tatonetti NP, Peleg AY, Uhlemann AC. Predicting phenotypic polymyxin resistance in Klebsiella pneumoniae through machine learning analysis of genomic data. mSystems. 2020; 5(3). doi:10.1128/mSystems.00656-19

29.   Xu Y, Liu D, Han P, et al. Rapid inference of antibiotic resistance and susceptibility for Klebsiella pneumoniae by clinical shotgun metagenomic sequencing. Int J Antimicrob Agents. 2024; 64(2). doi:10.1016/j.ijantimicag.2024.107252

30.   Bulman ZP, Krapp F, Pincus NB, et al. Genomic Features Associated with the Degree of Phenotypic Resistance to Carbapenems in Carbapenem-Resistant Klebsiella pneumoniae. mSystems. 2021; 6(5): e0019421. doi:10.1128/mSystems.00194-21

31.   Rosas NC, Wilksch J, Barber J, et al. The evolutionary mechanism of non-carbapenemase carbapenem-resistant phenotypes in Klebsiella spp. Elife. 2023; 12. doi:10.7554/eLife.83107

32.   Gan HM, Eng WWH, Dhanoa A. First genomic insights into carbapenem-resistant Klebsiella pneumoniae from Malaysia. J Glob Antimicrob Resist. 2020; 20: 153-159. doi:10.1016/j.jgar.2019.07.008

33.   Lapp Z, Han JH, Wiens J, Goldstein EJC, Lautenbach E, Snitkin ES. Patient and microbial genomic factors associated with carbapenem-resistant klebsiella pneumoniae extraintestinal colonization and infection. mSystems. 2021; 6(2). doi:10.1128/MSYSTEMS.00177-21

34.   Luterbach CL, Qiu H, Hanafin PO, et al. A Systems-Based Analysis of Mono- and Combination Therapy for Carbapenem-Resistant Klebsiella pneumoniae Bloodstream Infections. Antimicrob Agents Chemother. 2022; 66(10): e00591-22. doi:10.1128/aac.00591-22

35.   Nagarajan D, Nagarajan T, Roy N, et al. Computational antimicrobial peptide design and evaluation against multidrug-resistant clinical isolates of bacteria. J Biol Chem. 2018; 293(10): 3492-3509. doi:10.1074/jbc.M117.805499

36.   Nkengkana OA, Founou RC, Founou LL, et al. Phenotypic and genotypic characterization of multidrug resistant and extended-spectrum β-lactamase-producing Enterobacterales isolated from clinical  samples in the western region in Cameroon. BMC Infect Dis. 2023; 23(1): 819. doi:10.1186/s12879-023-08742-7

37.   Mintz I, Chowers M, Obolski U. Prediction of ciprofloxacin resistance in hospitalized patients using machine learning. Commun Med. 2023; 3(1). doi:10.1038/s43856-023-00275-z

38.   Yu-Ming Z, Tsao MF, Ching-Yu C, Kuan-Ting L, Joseph Jordan Keller, Hsiu-Chen L. Rapid identification of carbapenem-resistant Klebsiella pneumoniae based on matrix-assisted laser desorption ionization time-of-flight mass spectrometry and an artificial neural network model. Journal of Biomedical Science. 2023; 30: 1-10. doi:10.1186/s12929-023-00918-2

39.   Weis C, Cuénod A, Rieck B, et al. Direct antimicrobial resistance prediction from clinical MALDI-TOF mass spectra using machine learning. Nat Med. 2022; 28(1): 164-174. doi:10.1038/s41591-021-01619-9

40.   Whiting PF, Rutjes AWS, Westwood ME, et al. QUADAS-2: a revised tool for the quality assessment of diagnostic accuracy studies. Ann Intern Med. 2011; 155(8): 529-536. doi:10.7326/0003-4819-155-8-201110180-00009

41.   Sheela JM, Bhavani RD, Pugazhendhi A. Characterization and Insilico Analysis of Cassia auriculata against Multi drug Resistant Klebsiella pneumoniae Isolated from Inanimate Origin. Asian Journal of Research in Pharmaceutical Sciences. 2021; 11(3): 199-204. doi:10.52711/2231-5659.2021.00032

42.   Patle BC. Introduction to Nanoparticles in Pharmacy: A Review. Asian Journal of Research in Pharmaceutical Sciences. 2024;14(4):367-372. doi:10.52711/2231-5659.2024.00058

43.   Kothandan S, K G. A Review of Recent Diagnostic Methods and Advanced Treatments for Dry Eye Syndrom. Asian Journal of Research in Pharmaceutical Sciences. 2024; 14(4): 359-366. doi:10.52711/2231-5659.2024.00057

44.   Babu JMK, N AK, S L, et al. Computational Assessment of Thiazole Derivatives as Potential Antidiabetic Agents through Molecular Docking Studies. Asian Journal of Research in Pharmaceutical Sciences. 2024; 14(4): 345-352. doi:10.52711/2231-5659.2024.00055

45.   Luterbach CL, Qiu H, Hanafin PO, et al. A Systems-Based Analysis of Mono- and Combination Therapy for Carbapenem-Resistant Klebsiella pneumoniae Bloodstream Infections. Antimicrob Agents Chemother. 2022; 66(10): e0059122. doi:10.1128/aac.00591-22

46.   Nagarajan D, Nagarajan T, Roy N, et al. Computational antimicrobial peptide design and evaluation against multidrug-resistant clinical isolates of bacteria. J Biol Chem. 2018; 293(10): 3492-3509. doi:10.1074/jbc.M117.805499

47.   Kouchaki S, Yang Y, Lachapelle A, et al. Multi-Label Random Forest Model for Tuberculosis Drug Resistance Classification and Mutation Ranking. Front Microbiol. 2020; 11. doi:10.3389/fmicb.2020.00667

48.   Wang L, Yang J, Chen L, Wang W, Yu F, Xiong H. Whole-genome sequencing of Mycobacterium tuberculosis for prediction of drug resistance. Epidemiology and Infection. 2022; 150: e22. doi:10.1017/S095026882100279X

49.   Liu W, Ying N, Mo Q, et al. Machine learning for identifying resistance features of Klebsiella pneumoniae using whole-genome sequence single nucleotide polymorphisms. J Med Microbiol. 2021;70(11). doi:10.1099/jmm.0.001474

50.   Kolhe SU, Nalawade RD, Lad SS. Evaluation of Hypolipidemic Activity of Aqueous Flower Extract of Adenocalymma alliaceum in Triton X-100 Induced Experimental Model of Rats. Asian Journal of Research in Pharmaceutical Sciences. 2024; 14(4): 339-344. doi:10.52711/2231-5659.2024.00054

51.   Jakkannavar A, Patil S, Patil M, Suryawanshi S. Pharmacovigilance for Herbal Medicines. Asian Journal of Research in Pharmaceutical Sciences. 2024; 14(4): 407-417. doi:10.52711/2231-5659.2024.00064

 

 

 

Received on 27.02.2025      Revised on 16.12.2025

Accepted on 11.06.2026      Published on 08.08.2026

Available online from August 12, 2026

Research J. Pharmacy and Technology. 2026;19(8):3592-3602.

DOI: 10.52711/0974-360X.2026.00508

© RJPT All right reserved

 

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Creative Commons License.