Interpretable multimodal machine learning for diagnosis of drug-resistant tuberculosis.
Joan Jonathan Mnyambo, Amir Aly, Emmanuel Ifeachor, Yinghui Wei, Shang-Ming Zhou, Stephen Mullin
School of Engineering, Computing and Mathematics, University of Plymouth, Plymouth, United Kingdom. · University of Exeter Medical School, Faculty of Health and Life Sciences, University of Exeter, Exeter, United Kingdom.
Key points
From the paper's conclusion- A multimodal XGBoost model achieved a precision-recall area under the curve (PR-AUC) of 0.9258 and receiver operating characteristic area under the curve (ROC-AUC) of 0.8718. CXR-embeddings-only classifiers performed lower (PR-AUC: 0.8334; ROC-AUC: 0.7369), while patient-level XGBoost yielded highest performance. The multimodal model improved interpretability through complementary structural information. SHAP identified CXR embeddings as primary global drivers. Among patient-level variables, daily contacts and employment status were the strongest contributors, reflecting exposure intensity and socioeconomic conditions. Comorbidity showed moderate effects, while education and case definition had smaller contributions. Key radiological factors included non-tuberculosis abnormalities and mediastinal lymph node involvement, whereas medium-density stabalized fibrotic nodules, medium nodules, and small cavities demonstrated minimal association. Interaction analysis revealed higher risk with increasing comorbidity in the presence of morphological alterations; BMI and age exhibited modest influence. Independent review by two clinicians confirmed plausibility and consistency of SHAP explanations.
Abstract
INTRODUCTION: Early detection of drug-resistant tuberculosis (DR-TB) is critical for timely treatment and limiting transmission. Differentiating DR-TB from drug-sensitive TB (DS-TB) remains challenging due to overlapping manifestations and subtle differences in chest X-rays (CXRs). METHODS: We developed an explainable multimodal machine learning framework integrating CXR embeddings from a Data-Efficient Image Transformer (DEiT) with patient-level data, including clinical, interpreted radiological, demographic, socioeconomic, and behavioral variables. Using 6,279 subjects from the TB Portals program, model performance was evaluated across three settings comprising CXR embeddings only, patient-level features only, and multimodal. Interpretability was analyzed using Shapley Additive Explanations (SHAP). RESULTS: A multimodal XGBoost model achieved a precision-recall area under the curve (PR-AUC) of 0.9258 and receiver operating characteristic area under the curve (ROC-AUC) of 0.8718. CXR-embeddings-only classifiers performed lower (PR-AUC: 0.8334; ROC-AUC: 0.7369), while patient-level XGBoost yielded highest performance. The multimodal model improved interpretability through complementary structural information. SHAP identified CXR embeddings as primary global drivers. Among patient-level variables, daily contacts and employment status were the strongest contributors, reflecting exposure intensity and socioeconomic conditions. Comorbidity showed moderate effects, while education and case definition had smaller contributions. Key radiological factors included non-tuberculosis abnormalities and mediastinal lymph node involvement, whereas medium-density stabalized fibrotic nodules, medium nodules, and small cavities demonstrated minimal association. Interaction analysis revealed higher risk with increasing comorbidity in the presence of morphological alterations; BMI and age exhibited modest influence. Independent review by two clinicians confirmed plausibility and consistency of SHAP explanations. DISCUSSION: This interpretable multimodal framework supports early DR-TB detection and targeted interventions in high-burden settings.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Retrospective Analysis of Tuberculosis Treatment Duration and Outcomes Using Explainable Machine Learning on Malaysian Patient Data.Journal of clinical medicine · 2026
- Predicting Drug-Resistant Tuberculosis Treatment Outcomes: A Leakage-Controlled Evaluation of Topological Data Analysis AugmentationmedRxiv · 2026
- Development of an early auxiliary diagnostic model for disseminated tuberculosis in HIV-negative tuberculosis patients.Frontiers in public health · 2026
- Automated machine learning model to predict anti-tuberculosis drug-induced liver injury in patients with tuberculous meningitis.Frontiers in pharmacology · 2026
- Predicting treatment adherence in patients with drug-resistant tuberculosis: insights from socioeconomic, demographic, and clinical factors of patients in the rural Eastern Cape.Frontiers in tuberculosis · 2025
- MtbAIM: AI/ML-guided endpoint-specific prediction of small-molecule activity across drug-susceptible and drug-resistant Mycobacterium tuberculosisbioRxiv · 2026