Biased sampling confounds machine learning prediction of antimicrobial resistance
Abstract
Antimicrobial resistance (AMR) poses a growing threat to human health. Increasingly, genome sequencing is being applied for the surveillance of bacterial pathogens, producing a wealth of data to train machine learning (ML) applications to predict AMR and identify resistance determinants. However, bacterial populations are highly structured and sampling is biased towards human disease isolates, meaning samples and derived features are not independent. This is rarely considered in applications of ML to AMR. Here, we demonstrate the confounding effects of sample structure by analyzing over 24,000 whole genome sequences and AMR phenotypes from five diverse pathogens, using pathological training data where resistance is confounded with phylogeny. We show resulting ML models perform poorly, and increasing the training sample size fails to rescue performance. A comprehensive analysis of 6,740 models identifies species- and drug-specific effects on model accuracy. We provide concrete recommendations for evaluating future ML approaches to AMR.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 4
- 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
- A systematic analysis of machine learning pipelines for robust antimicrobial resistance prediction
Alex Aselstyne, Enamundram Naga Karthik, … Sarath Chandar·bioRxiv·Jul 8, 2026
- Predicting Antimicrobial Resistance Using Conserved Genes
Marcus Nguyen, Robert Olson, … James J. Davis·PLoS Computational BiologyPeer-reviewed·Oct 19, 2020
- Survey of Public Assay Data: Opportunities and Challenges to Understanding Antimicrobial Resistance
Akshay Agarwal, Gowri Nayar, James H. Kaufman·bioRxiv·Dec 13, 2019
- Assessing computational predictions of antimicrobial resistance phenotypes from microbial genomes
Kaixin Hu, Fernando Meyer, … Alice Carolyn McHardy·Briefings in BioinformaticsPeer-reviewed·Mar 27, 2024
- From sequence to signature: Machine learning uncovers multiscale feature landscapes that predict AMR across ESKAPE pathogens
Abhirupa Ghosh, Evan Pierce Brenner, … Janani Ravi·bioRxiv·Jul 3, 2025
- Evaluation of parameters affecting performance and reliability of machine learning-based antibiotic susceptibility testing from whole genome sequencing data
A. L. Hicks, N. Wheeler, … Y. H. Grad·PLOS Computational BiologyPeer-reviewed·Sep 3, 2019