Towards Edge Artificial Intelligence for Predicting Antimicrobial Resistance in Mycobacterium tuberculosis
Organizations: Department of Computer Science and Engineering, University of Chittagong, Bangladesh · Department of Computer Engineering and Mathematics, Universitat Rovira i Virgili, Spain · NVISION Systems and Technologies SL (INTERA Group), Barcelona, Spain
Abstract
Antimicrobial resistance (AMR) in Mycobacterium tuberculosis (MTB) poses a major challenge to global tuberculosis control, as multidrug-resistant strains limit available treatment options. Rapid and accurate prediction of drug resistance from genomic data could support timely treatment decisions and public health interventions. However, many existing computational approaches for genomic AMR prediction rely on computationally intensive pipelines, limiting their suitability for deployment on resource-constrained edge devices. This limitation is particularly relevant in hospital settings in low- and middle-income countries, where computing infrastructure and access to high-performance computational resources may be limited. To address this challenge, we present a lightweight, novel machine learning (ML) approach suitable for running on edge devices that combines 4-mer frequency features derived from whole-genome sequences with a Random Forest classifier to predict antibiotic resistance in MTB. The proposed ML approach achieved an average area under the receiver operating characteristic curve of 0.82 across 20 antibiotics on an independent test set.
Figures & tables
| Genome | 1 | 2 | 3 | 255 | 256 | |
| 1 | 0.042 | 0.038 | 0.041 | 0.042 | 0.038 | |
| 2 | 0.039 | 0.040 | 0.038 | 0.040 | 0.039 | |
| 598 | 0.039 | 0.041 | 0.040 | 0.040 | 0.039 | |
| 599 | 0.042 | 0.040 | 0.039 | 0.038 | 0.041 | |
| 600 | 0.038 | 0.041 | 0.042 | 0.041 | 0.040 |
| Antibiotic | R | S | R:S Ratio |
| Amikacin | 101 | 654 | 1:6.48 |
| Capreomycin | 137 | 618 | 1:4.51 |
| Ciprofloxacin | 128 | 592 | 1:4.63 |
| Clofazimine | 81 | 639 | 1:7.89 |
| Cycloserine | 82 | 638 | 1:7.78 |
| Delamanid | 448 | 272 | 1.65:1 |
| Drug | Pr | Sn | Sp | F1 | MCC | AUC |
| Isoniazid | 78.45 2.72 | 75.16 2.95 | 79.46 3.78 | 76.70 1.71 | 54.78 3.43 | 85.34 1.75 |
| Rifampin | 88.22 2.99 | 81.94 3.74 | 84.45 4.98 | 84.84 1.06 | 65.97 1.90 | 91.36 2.19 |
| Cycloserine | 80.88 6.73 | 88.36 7.12 | 97.95 0.92 | 84.20 5.24 | 82.87 5.73 | 98.55 0.60 |
| Prothionamide | 84.33 3.94 | 83.15 6.03 | 75.89 7.44 | 83.55 3.12 | 59.36 7.11 | 89.60 3.84 |
| Streptomycin | 75.38 2.90 | 69.77 4.11 | 78.30 3.99 | 72.34 1.96 | 48.43 3.56 | 84.04 2.56 |
| Pyrazinamide | 76.20 2.52 | 67.37 5.01 | 85.67 0.91 | 71.48 3.95 | 54.29 5.48 | 85.60 3.32 |
| Drug | Pr | Sn | Sp | F1 | MCC | AUROC |
| Isoniazid | 89.19 | 90.00 | 73.33 | 89.59 | 63.76 | 89.36 |
| Rifampin | 90.35 | 84.43 | 66.67 | 87.29 | 47.42 | 87.85 |
| Cycloserine | 89.29 | 80.65 | 97.03 | 84.75 | 80.54 | 95.23 |
| Prothionamide | 83.91 | 82.02 | 67.44 | 82.95 | 48.91 | 84.11 |
| Streptomycin | 87.50 | 77.06 | 73.91 | 81.95 | 47.96 | 84.30 |
| Pyrazinamide | 90.28 | 70.65 | 82.50 | 79.27 | 49.06 | 84.58 |
Edge ML
Edge machine learning runs and adapts models on nearby devices to reduce latency, bandwidth use, and exposure of sensitive data.
See all 143 papers