Machine learning-based lineage prediction from antimicrobial susceptibility testing phenotypes for Escherichia coli sequence type 131 clade C surveillance across infection types

Terry Ross, Anna K. Pöntinen, Einar Holsbø, Dorota Żabicka, Kristin Hegstad, Michael Kampffmeyer, Corander Jukka, Rebecca A. GladstoneMicrobial 2026 · DOI

TL;DR

This study demonstrates that machine learning models trained on readily available antimicrobial susceptibility testing (AST) data can accurately predict the prevalence of the highly resistant Escherichia coli ST131 clade C (ST131-C). This approach allows for large-scale epidemiological surveillance of this critical pathogen without the need for costly whole-genome sequencing, revealing that ST131-C infections in bloodstream infections (BSIs) are significantly influenced by its prevalence in urinary tract infections (UTIs).

What Problem Does This Paper Address?

Antimicrobial resistance (AMR) is a growing global health crisis, with Escherichia coli bloodstream infections (BSIs) being particularly concerning. A dominant driver of this resistance is the ST131 clone, especially its clade C (ST131-C), which is notorious for its fluoroquinolone resistance and extended-spectrum beta-lactamases (ESBLs). While urinary tract infections (UTIs) are known precursors to BSIs, understanding the longitudinal prevalence of ST131-C in UTIs and its link to BSIs has been hampered by the resource-intensive nature of traditional methods like whole-genome sequencing (WGS) for large-scale surveillance. This paper aims to bridge this gap by developing a cost-effective method to track ST131-C prevalence using only AST data, which is routinely collected.

Methods

The researchers employed machine learning (ML) techniques, specifically Random Forest and extreme gradient boosting (XGBoost) classifiers, to predict ST131-C membership. They trained these models using a dataset of E. coli BSI isolates with known sequence types (STs) and antimicrobial susceptibility testing (AST) data for ciprofloxacin, gentamicin, and ceftazidime. The key innovation here is using only phenotypic AST data (disc diffusion zone diameters) to infer genotypic information (ST131-C lineage). After training on a subset of genomic BSI data, these models were then applied to much larger, unsequenced UTI and BSI datasets to predict the yearly prevalence of ST131-C. The models were evaluated using metrics like F1-score, accuracy, sensitivity, and specificity, with a focus on F1-score and precision due to the imbalanced nature of the dataset.

Datasets

  • Genomic BSI Dataset: 2,790 E. coli isolates from bloodstream infections (BSIs) with associated ST and AST data, collected between 2002 and 2017. This dataset was used for training and validating the ML models.
  • UTI AST Dataset: 22,942 E. coli isolates from urinary tract infections (UTIs) with AST data, collected between 2007 and 2021. This dataset was used for prediction.
  • BSI AST Dataset: 24,866 E. coli isolates from BSIs with AST data, collected between 2006 and 2021. This dataset was also used for prediction.
  • UTI Genomic Dataset (Validation): 157 Norwegian E. coli UTI isolates from 2019, with paired genomic and AST data, used for further validation of the models.

Key Insights and Ideas

  • AST as a Proxy for Genomics: The study powerfully demonstrates that routine AST data, often collected at a much larger scale than WGS, can serve as a valuable proxy for inferring clonal lineage, specifically for a well-defined and resistant clone like ST131-C.
  • UTI-BSI Linkage: The research provides strong evidence that the persistence and rise of ST131-C in BSIs are significantly driven by its prevalence in UTIs. This highlights UTIs as a critical reservoir and potential source for invasive ST131-C infections.
  • Cost-Effective Surveillance: By leveraging ML on AST data, the study offers a significantly more cost-effective and scalable approach to AMR surveillance compared to WGS, opening doors for broader epidemiological studies, especially in resource-limited settings.
  • Temporal Trends Matter: The models successfully captured temporal trends, showing a similar increase in ST131-C prevalence in both UTIs and BSIs around 2011, followed by a period of stable prevalence.

Key Results

  • The XGBoost classifier achieved an F1-score of over 70% on a highly unbalanced dataset (ST131-C represented only 4.3% of the genomic BSI isolates).
  • The models predicted a similar annual trend for ST131-C prevalence in UTIs and BSIs, with a stable infection burden for approximately 8 years after an initial rapid expansion.
  • A higher prevalence of ST131-C was observed in BSIs (~7%) compared to UTIs (~4%), suggesting an enrichment of this clade as it progresses to a more invasive infection.
  • The Pearson correlation coefficient between predicted and true yearly prevalence for ST131-C in BSIs was 0.7461 (Random Forest) and 0.6716 (XGBoost), indicating a positive correlation.
  • The models achieved high accuracy and specificity (>96%), though the F1-score and precision were prioritized due to data imbalance.

Limitations and Future Work

  • Specificity of Models: The models are highly specific to predicting ST131-C and may not generalize to other clones or broader AMR prediction tasks without retraining.
  • Data Imbalance: The significant imbalance in the dataset (low prevalence of ST131-C) makes accuracy and specificity less informative, necessitating a focus on F1-score and precision.
  • Antibiotic Selection: The predictive power is dependent on the selection of informative antibiotics. While three were used here, incorporating more relevant antimicrobials could further improve model performance.
  • Laboratory Practice Shifts: Changes in laboratory testing methodologies (e.g., in 2011) can influence AST data distributions and require careful consideration during model training and interpretation.
  • Future Work: The authors suggest that similar studies could be conducted in other regions to understand geographical differences in bacterial population structure and AMR. They also propose that these ML models could guide targeted sequencing efforts for in-depth follow-up, making genomic studies more resource-efficient. Further genomic studies are recommended to fully understand the relationships between UTI and BSI E. coli clones.

Summary updated

Abstract

Rising antimicrobial resistance (AMR) in <i>Escherichia coli</i> bloodstream infections (BSIs) in high-income settings has typically been dominated by one clone, the sequence type (ST)131. More specifically, ST131 clade C (ST131-C) is associated with fluoroquinolone resistance and extended-spectrum <i>β</i>-lactamases (ESBLs). Even though urinary tract infections (UTIs) are a known common precursor to BSIs, there is currently limited knowledge on the longitudinal prevalence of ST131-C in UTIs and, therefore, the temporal link between the two infection types. Leveraging available genomic and antimicrobial susceptibility test (AST) data for ciprofloxacin, gentamicin and ceftazidime in 2,790 <i>E. coli</i> BSI isolates, we trained Random Forest and extreme gradient boosting (XGBoost) classifiers to predict if an <i>E. coli</i> isolate belongs to ST131-C using only AST data. These models were used to predict the yearly prevalence of ST131-C in 22942 UTI and 24866 BSI isolates from Norway. The XGBoost classifier achieved a prediction F1-score of over 70% on a highly unbalanced dataset where only 4.3% of the genomic BSI isolates belonged to ST131-C. The predicted prevalence of ST131-C in UTIs exhibited a similar annual trend to that of BSIs, with a stable infection burden for 8 years after its rapid expansion, confirming that the persistence of ST131-C in BSIs is largely driven by ST131-C UTIs. However, a higher prevalence of ST131-C in BSIs (~7 %) compared to UTIs (~4 %) suggests a subsequent enrichment of ST131-C. Our study highlights how existing epidemiological knowledge can be supplemented by utilizing extensive data from AMR surveillance efforts without genomic markers.
BibTeX
@inproceedings{ross2026machine,
  author = {Terry Ross and Anna K. Pöntinen and Einar Holsbø and Dorota Żabicka and Kristin Hegstad and Michael Kampffmeyer and Corander Jukka and Rebecca A. Gladstone},
  title = {{Machine learning-based lineage prediction from antimicrobial susceptibility testing phenotypes for Escherichia coli sequence type 131 clade C surveillance across infection types}},
  booktitle = {Microbial},
  year = {2026},
  doi = {10.1099/mgen.0.001608},
}
Figure