Back to Journals » Infection and Drug Resistance » Volume 19

Application of Clinical-Radiomics Fusion Model in Predicting Drug Resistance of Cavitary Pulmonary Tuberculosis

Authors Zhao CY, Song C, Huang ZT, Lin XS, Huang XW ORCID logo, Song SL, Qiang HB, Zhu QD, Xie ZH

Received 3 November 2025

Accepted for publication 27 January 2026

Published 2 February 2026 Volume 2026:19 578781

DOI https://doi.org/10.2147/IDR.S578781

Checked for plagiarism Yes

Review by Single anonymous peer review

Peer reviewer comments 3

Editor who approved publication: Dr Hazrat Bilal



Chun-Yan Zhao,1,2,* Chang Song,1,2,* Zhen-Tao Huang,2,* Xiao-Shi Lin,2 Xue-Wen Huang,1,2 Shu-Lin Song,3 Hang-Biao Qiang,2 Qing-Dong Zhu,1 Zhou-Hua Xie1

1Department of Tuberculosis, The Fourth People’s Hospital of Nanning, Nanning, Guangxi, 530023, People’s Republic of China; 2Clinical Medical School, Guangxi Medical University, Nanning, Guangxi, 530021, People’s Republic of China; 3Department of Radiology, The Fourth People’s Hospital of Nanning, Nanning, Guangxi, 530023, People’s Republic of China

*These authors contributed equally to this work

Correspondence: Qing-Dong Zhu, Department of Tuberculosis, The Fourth People’s Hospital of Nanning, Nanning, Guangxi, 530023, People’s Republic of China, Email [email protected] Zhou-Hua Xie, Department of Tuberculosis, The Fourth People’s Hospital of Nanning, Nanning, Guangxi, 530023, People’s Republic of China, Email [email protected]

Purpose: This study aims to develop and validate a clinical-radiomics fusion model that integrates clinical characteristics with CT-derived radiomic features for the rapid and accurate prediction of drug resistance in patients with cavitary pulmonary tuberculosis (TB).
Patients and Methods: A total of 231 patients with microbiologically confirmed cavitary pulmonary TB were retrospectively enrolled and divided into a drug-resistant TB group (n=89) and a drug-sensitive TB group (n=142) based on drug susceptibility testing. Radiomics features were extracted from CT images, and a radiomic signature was constructed following stability assessment, dimensionality reduction, and least absolute shrinkage and LASSO regression. Clinical predictors with significant statistical differences were identified. Independent clinical, radiomic, and combined clinical-radiomics fusion models (nomogram) were developed using eight machine learning algorithms, and their performances were compared. Models’ performance was evaluated using the area under the receiver operating characteristic curve (AUC), calibration curves, and decision curve analysis.
Results: Four clinical variables (C-reactive protein, diabetes history, alanine aminotransferase, and blood calcium levels) and a radiomics signature comprising 14 key features were selected as final predictors. The fusion model achieved AUCs of 0.861 in the training set and 0.884 in the test set, outperforming both the standalone clinical and radiomic models. Decision curve analysis demonstrated that the fusion model provided higher clinical net benefit across a wide range of threshold probabilities.
Conclusion: The proposed clinical-radiomics fusion model enables accurate prediction of drug resistance in cavitary pulmonary TB, supporting the optimization of initial treatment strategies and promoting the implementation of precision medicine in TB management.

Keywords: radiomics, cavitary pulmonary tuberculosis, drug resistance, machine learning, predictive model

Introduction

Tuberculosis (TB) remains one of the deadliest infectious diseases worldwide, with more than 25% of the global population infected. In 2023, an estimated 10.8 million new cases and 1.25 million deaths were reported, making TB the leading cause of death from a single infectious agent.1 Among the major challenges to TB control is drug-resistant TB (DR-TB), particularly multidrug-resistant TB (MDR-TB), defined as resistance to at least isoniazid and rifampin, the two key first-line anti-TB agents.2 MDR-TB is characterized by prolonged treatment duration, significant adverse effects, high treatment costs, and lower cure rates than drug-sensitive TB (DS-TB), thereby impeding global efforts to end the TB epidemic.3,4 The Global Burden of Disease Study has shown a continuous global rise in MDR-TB cases and related indicators from 1990 to 2021, with projections suggesting further escalation by 2050.5 Among the various clinical manifestations of TB, cavitary pulmonary TB holds a particularly critical position. The formation of lung cavities, often associated with high Mycobacterial tuberculosis (MTB) burden and enhanced transmissibility, indicates severe disease progression.6,7 Cavities hinder the adequate penetration of anti-TB drugs, reducing treatment efficacy. Consequently, even with standard therapy, complete bacterial eradication may not be achieved, increasing the risk of drug resistance. Additionally, cavities disrupt local immune responses, bacterial clearance and predisposing patients to infection with drug-resistant strains or progression to MDR-TB.8 Therefore, early, rapid, and accurate prediction of drug resistance in cavitary pulmonary TB is crucial for optimizing treatment strategies, interrupting transmission, and improving clinical outcomes. Currently, the diagnosis of TB drug resistance relies on microbiological methods, including traditional phenotypic drug susceptibility testing (DST) and molecular biology-based techniques. Although phenotypic DST remains the “gold standard”, it is time-consuming, often requiring weeks or months, thereby delaying appropriate therapy and increasing the risk of treatment failure and acquired resistance.9 The Xpert MTB/RIF assay, a commercial nucleic acid amplification test, offers rapid TB diagnosis and simultaneous detection of rifampin resistance through real-time PCR.10 However, its detection scope is limited to a few drugs (mainly rifampin), and its performance depends on bacterial load, which can lead to false-negative or incomplete drug resistance.11

Although chest X-ray (CXR) is the most commonly used and convenient first-line imaging examination for the initial screening and follow-up of pulmonary tuberculosis, its two-dimensional imaging characteristics and relatively low spatial resolution limit its ability to accurately depict the subtle structures of lung cavities, the characteristics of the cavity walls, and the heterogeneity within the lesions. In contrast, chest computed tomography (CT) with its extremely high spatial and density resolution can clearly present these key morphological details. Experienced radiologists can identify certain imaging features empirically associated with drug resistance, such as extensive multiple cavities, lung nodules, multilobar involvement, significant bronchial dissemination, and rapid disease progression.12–15 However, visual assessment is inherently subjective, highly dependent on individual expertise, and difficult to standardize. Moreover, subtle and complex texture patterns, are challenging to discern, leading to variable and non-reproducible assessments, limiting its use as a reliable predictive tool in clinical practice. To address these limitations, there is an urgent need for an objective, quantitative, and efficient diagnostic approach that can complement microbiological testing and reduce reliance on subjective imaging interpretation. In recent years, the integration of artificial intelligence into medical imaging has led to the emergence of radiomics, an interdisciplinary technique that extracts quantitative biological information from standard medical images.16 Through high-throughput computational analysis, hundreds to thousands of features can be derived, including first-order statistical features (describing pixel value distributions), texture features (depicting pixel spatial relationships and heterogeneity), shape features, and higher-order filter features.17 These features transform visual patterns into structured data suitable for advanced modeling. Nonetheless, radiomic features may be influenced by scanning equipment, parameters, and reconstruction algorithms,18 and they primarily capture static structural information while lacking clinical context. Li et al previously developed a clinical-radiomics fusion model for predicting MDR in cavitary pulmonary TB, but it incorporated only basic clinical information such as gender and age.19 More detailed clinical data, including comorbidities, laboratory parameters, and immunological status were not considered.

Based on the current status and limitations of existing research, this study aimed to construct and validate a clinical-radiomics fusion prediction model specifically designed for cavitary pulmonary tuberculosis. By integrating more comprehensive clinical features—encompassing comorbidities, laboratory, and immunological indicators—than previous studies, along with quantitative radiomic information, and systematically comparing multiple machine learning algorithms, we sought to develop a tool that possesses high predictive performance, robust generalizability, and clinical utility. The resultant visualized nomogram emphasizes interpretability and ease of use, particularly in resource-limited settings. This model not only provides a novel approach for the early identification of drug resistance but also serves as a basis for individualized treatment decision-making, thereby advancing the practice of precision medicine in the prevention and control of tuberculosis. Furthermore, our study focuses on overall drug resistance, rather than being limited exclusively to MDR-TB. This broader scope allows for a more comprehensive assessment of resistance patterns and ensures that the findings are applicable to a wider spectrum of clinical challenges beyond MDR-TB.

Material and Methods

Patient Enrollment and Data Collection

This retrospective cohort in this study systematically collected complete clinical and CT imaging data from patients with cavitary pulmonary TB admitted to the Fourth People’s Hospital of Nanning between January 2016 and September 2025. The inclusion criteria were as follows: (1) microbiologically confirmed TB, with positive cultures from sputum, bronchoalveolar lavage fluid (BALF), or tissue biopsy and completed phenotypic DST; (2) availability of complete clinical baseline information and willingness to participate in the study; (3) no history anti-TB treatment; (4) high-quality chest CT images available; and (5) at least one well-visualized pulmonary cavity ≥1 cm on pre-treatment chest CT scans. This standard was established because the tiny cavities appearing in the images are easily confused with the cross-sections of blood vessels or small nodules, and the measurement errors associated with them are relatively large. Exclusion criteria included: (1) co-existing cavitary lung diseases (eg, cavitary lung cancer, cavitary pulmonary cryptococcosis, or pulmonary aspergillosis); (2) severe psychiatric disorders (eg, schizophrenia or major depressive disorder) or cognitive impairment, rendering patients unable to cooperate with medical history collection; (3) incomplete clinical data or CT images with severe artifacts affecting accurate delineation of cavity lesions; and (4) any prior anti-TB treatment before enrollment.

The study was approved by the Ethics Committee of the Fourth People’s Hospital of Nanning (approval number: [2025] 52) and conducted in accordance with the Helsinki Declaration. As only anonymized medical records were accessed, informed consent was waived. A total of 231 patients met the inclusion criteria. All participants were confirmed by mycobacterial culture and divided into drug-resistant TB (DR-TB, n=89) and drug-sensitive TB (DS-TB, n=142) based on DST results. DR-TB was defined as resistance to one or more anti-TB drugs, while DS-TB cases indicated full sensitivity to all first-line agents (isoniazid, rifampin, ethambutol, and pyrazinamide).

For DST, sputum and BALF samples were pretreated with N-acetyl-L-cysteine (NALC)-NaOH, vortexed, and adjusted to a final concentration of 2%. Subsequently, 100 μL of the processed suspension was incubated on agar slants and incubated for up to 8 weeks. After heat fixation, slides were stained by the Ziehl-Neelsen acid-fast method and semi-quantitatively graded (negative, +, ++, +++). Positive isolates were tested by the agar proportion method in accordance with Clinical and Laboratory Standards Institute (CLSI) guidelines. Drug susceptibility was defined as complete inhibition of bacterial growth at a given critical concentration. Patients were randomly divided into a training set (n=161) and a test set (n=70) in a 7:3 ratio. Specifically, the training set comprised 67 cases of DR-TB and 94 cases of DS-TB, while the testing set consisted of 22 cases of DR-TB and 48 cases of DS-TB. Two researchers, blinded to DST results, extracted demographic data, clinical symptoms and medical history, comorbidities, and laboratory parameters from electronic medical records.

CT Image Acquisition and Preprocessing

All CT examinations were performed using a standardized protocol using a 64-slice spiral computed tomography scanner (GE LightSpeed VCT 64, GE Healthcare, USA). Equipment calibration was conducted before each session to ensure compliance with quality control standards. Participants were positioned supine, instructed to maintain even breathing, and asked to hold their breath during scanning to minimize image artifacts.

Non-contrast chest CT was performed with the following parameters: slice thickness 5 mm, tube voltage 120 kV, and automatic tube current modulation. Images were reconstructed using both standard and high-resolution algorithms; the latter was used for radiomics analysis. All qualified images were archived in DICOM format. Before feature extraction, images were resampled to isotropic voxels (1 mm × 1 mm × 1 mm) to standardize spatial resolution. A consistent window width and level of 40 and 400, respectively, were applied to reduce noise and enhance texture feature stability.

Region of Interest (ROI) Delineation

Two radiologists (each with > 5 years of experience in chest imaging), blinded to all clinical and DST information, independently delineated the volumes of interest (VOIs) using ITK-SNAP software. Under lung window settings, cavity boundaries were manually traced slice by slice. The target lesion selection criteria were as follows: the largest or most representative cavity was chosen; if multiple cavities were present, up to the three were delineated and merged into a single VOI to capture lesion heterogeneity. Each VOI included the cavity lumen, inner wall, and adjacent consolidation or ground-glass opacity.

Radiomics Feature Extraction

Radiomic feature extraction was performed using the open-source Python package PyRadiomics. Seven categories of features were extracted: (1) first-order statistics: voxel intensity metrics, such as energy, entropy, kurtosis, and skewness; (2) shape features describing the three-dimensional morphological descriptors, such as volume, surface area, and sphericity; (3) gray-level co-occurrence matrix (GLCM) texture features describing spatial relationships between voxel pairs, quantifying image contrast, correlation, homogeneity, and energy; (4) gray-level run-length matrix (GLRLM) texture features quantifying the length of consecutive gray-level values, reflecting image roughness; (5) gray-level size zone matrix (GLSZM) texture features describing the size of connected regions in 2D images, reflecting regional uniformity; (6) neighborhood gray-tone difference matrix (NGTDM) features capturing local texture; and (7) gray-level dependence matrix (GLDM) features describing gray-level dependencies. Additionally, higher-order features were derived using Laplacian of Gaussian and wavelet filters. In total, 1,834 features were initially extracted per VOI. To assess feature reproducibility, one radiologist repeated VOI delineation for 30 randomly selected patients 4 weeks after the initial session. Intraclass correlation coefficients (ICCs) were calculated for intra- and inter-observer consistency. Features with ICC > 0.8 were retained for subsequent analysis.

Feature Selection and Radiomics Signature Construction

Features with ICC ≤ 0.8 were excluded. For the remaining features, pairwise Spearman correlation coefficients were computed, and among highly correlated pairs (|r| ≥ 0.9), the feature less correlated with the outcome variable was removed. Feature selection was then performed using least absolute shrinkage and selection operator (LASSO) regression, which applies an L1 penalty to regression coefficients to zero. The optimal penalty parameter (λ) was determined via 10-fold cross-validation based on the minimum model error. Selected features were linearly combined using their LASSO regression coefficients to compute a radiomics score (Rad-score) for each patient, representing the individual probability of drug resistance.

Predictive Model Construction and Comparison

Three predictive models were constructed and compared: (1) a clinical model using features with significant intergroup differences (P<0.05); (2) a radiomics model using only the constructed radiomics signature; and (3) a clinical-radiomics fusion model combining selected clinical predictors and the radiomics signature. Eight machine learning algorithms were compared, including logistic regression (LR), support vector machine (SVM), random forest (RF), XGBoost, and K-nearest neighbors (KNN). Hyperparameters were optimized via cross-validation and grid search to ensure model generalization and predictive performance. Model performance was quantified using the area under the receiver operating characteristic curve (AUC), sensitivity, specificity, and accuracy. DeLong’s test was used to compare AUCs between models. Calibration curves and the Hosmer-Lemeshow (H-L) goodness-of-fit test (P > 0.05 indicated good calibration) assessed agreement between predicted and observed outcomes. Decision curve analysis (DCA) was quantified clinical net benefit across threshold probabilities. The best-performing fusion model was visualized as a nomogram w for individualized risk prediction. Statistical analyses were performed using SPSS 23.0, R and Python.

Statistical Analysis

All statistical analyses were performed using R (version 4.4.1; R Foundation for Statistical Computing, Vienna, Austria) and Python (version 3.11.5; Python Software Foundation, Wilmington, Delaware, USA). Continuous variables were expressed as mean ± standard deviation (mean ± SD), and compared using independent-samples t-tests when normally distributed. Categorical variable was compared using Pearson’s chi-square test. Radiomic features evaluated using the Mann–Whitney U-test, and features with P < 0.05 for statistically significant.

Results

Radiomics Feature Extraction

A total of 231 patients were included and classified into the drug-resistant TB (DR-TB, n=89) and drug-sensitive TB (DS-TB, n=142) groups based on DST results. Patients were randomly divided into a training set (n=161) and a test set (n=70) in a 7:3 ratio. A total of 1,834 handcrafted features with intraclass correlation coefficient (ICC) > 0.8 were retained, ensuring good consistency (Supplementary Figure 1 A and B). All features were extracted using the PyRadiomics package (http://pyradiomics.readthedocs.io).

As shown in Supplementary Table 1, the extracted features comprised seven categories, including GLCM (440, 24.0% of the total), first-order features (360, 19.6%). GLRLM (320; 17.4%) and GLSZM (320; 17.4%), GLDM (280; 15.3%), NGTDM (100; 5.5%), and shape features (14, 0.8%). After dimensionality reduction via 10-fold cross-validation and LASSO regression, 14 optimal radiomics features were identified for subsequent modeling (Supplementary Figure 1 C and D).

Radiomics Model Construction

The predictive performance of radiomics models is summarized in Table 1. Most models achieved high discriminative ability in the training sets, with the XGBoost model achieving an AUC of 0.99. However, its performance significantly declined in the test set, suggesting potential overfitting. In contrast, the LR model maintained relatively stable and high AUC values in both sets, demonstrating better generalization. Figure 1 shows the AUC comparison for each algorithm. Based on this robustness, the LR model was selected for further fusion model development.

Table 1 Radiomics Feature Models

Figure 1 The AUC of the radiomics models. (A). Train cohort; (B). Test cohort.

Clinical Feature Selection

Baseline characteristics of patients in the training and test sets are presented in Supplementary Table 2. No significant differences were observed in age, height, weight, BMI, or immune indicators (CD3, CD4, CD8) between DS-TB and DR-TB groups (P > 0.05). However, C-reactive protein (CRP) levels were significantly higher in DR-TB patients than in DS-TB patients (training set P < 0.001, test set P = 0.003), suggesting a stronger inflammatory response. The prevalence of diabetes mellitus was also significantly higher among DR-TB patients (training set P = 0.001, test set P = 0.034), indicating a potential association between diabetes and TB drug resistance. Additionally, significant intergroup differences were observed in alanine aminotransferase (ALT) and serum calcium (Ca2+) levels in the training set (P < 0.05). These four clinical variables (CRP, diabetes history, ALT, and Ca2⁺) were therefore included in subsequent model construction. Supplementary Figure 2 shows the correlations between each clinical features, it indicates that Long Diameter, Short Diameter and Diameter have maximum correlation coefficient.

Clinical Model Construction

The performance of clinical models using different machine learning models is shown in Table 2. In the training set, the ExtraTrees and RandomForest models achieved high classification performance (AUCs of 1.000 (95% CI: 1.0000–1.0000) and 0.998 (95% CI: 0.9958–1.0000), respectively, with corresponding sensitivity, specificity, and F1 scores approaching 1.0. However, their performance decreased markedly in the test set, indicating overfitting. By contrast, the LR model exhibited more balanced performance, achieving AUCs of 0.735 (training) and 0.725 (test), demonstrating better generalization. Given its stability and interpretability, the LR model was selected as the base algorithm for constructing the clinical–radiomics fusion model.

Table 2 Clinical Feature Models

Construction of the Clinical-Radiomics Fusion Model

Table 3 compares the performance of different fusion models. The nomogram-based clinical-radiomics fusion model achieved the overall results, with AUCs of 0.861 in the training set and 0.884 in the test set, superior to both the Clinic Signature and Rad Signature models (Figure 2). In the test set, the Clinic Signature model had lower positive predictive value (PPV) and F1 scores (0.471 and 0.582 respectively), while the Rad Signature model achieved an AUC of 0.872, comparable to the nomogram, but with lower PPV and F1 scores. The Nomogram model exhibited high stability and strong classification performance, making it the optimal predictive model for clinical application.

Table 3 Comparison of Diagnostic Efficacy in Smear-Negative Cases

Figure 2 ROC comparison of clinical, radiomics, and fusion models. (A). Train cohort; (B). Test cohort.

Model Performance Evaluation

Model evaluation results using the H-L test and DeLong test are summarized in Supplementary Tables 3 and 4. The H-L test showed that the nomogram significantly outperformed the Clinic Signature (p = 0.004) and Rad Signature (p = 0.011) models in the training set, and remained superior to the Clinic Signature in the test set (p = 0.038). The DeLong test further validated the nomogram’s AUC was significantly higher in the test set (p = 0.035). DCA revealed that the nomogram model achieved the highest net clinical benefit across a wide range of threshold probabilities in both the training and test sets (Figure 3). Supplementary Figure 3 presents the calibration curves of the training group and the test group. This result further validates the effectiveness of the fusion model in avoiding overfitting and enhancing generalization ability by integrating multiple source features, providing a more reliable basis for clinical decision-making. The final nomogram integrates both clinical and radiomics features, allowing intuitive visualization of an individual patients’s probability of drug resistance by summing the scores of each variable along the total score axis (Figure 4). This provides clinicians with a practical tool for personalized risk assessment and treatment optimization.

Figure 3 DCA comparison of clinical, radiomics, and fusion models. (A). Train cohort; (B). Test cohort.

Figure 4 Nomogram for clinical use.

Discussion

With the deep integration of artificial intelligence into medical imaging, radiomics, an emerging interdisciplinary field, has provided a novel paradigm for precision diagnosis and treatment. In oncology, radiomics has achieved notable success in tumor classification, prognosis prediction, and treatment response assessment.20–22 Translating this concept to TB, the abnormal immune response and the tissue destruction and repair processes triggered by drug-resistant MTB create distinct pathological changes within lung cavities and surrounding tissues. These pathological features are reflected on CT images as specific, quantifiable radiomic feature patterns. Therefore, radiomics holds great potential for identifying hidden “imaging biomarkers”, and enabling non-invasive and early prediction of drug resistance in cavitary pulmonary TB.

The radiomics model constructed in this study demonstrated certain predictive ability for distinguishing DR-TB from DS-TB. In-depth analysis of feature types provided a reliable biological and pathological perspective for interpreting the model’s decision-making mechanism. Texture features, including GLCM, GLRLM, GLSZM, GLDM, and NGTDM, collectively constituted the majority of selected features, strongly suggesting a fundamental link between TB drug resistance and intralesional heterogeneity. GLCM features, which accounted for the largest proportion (24.0%), capture the complex histopathological alterations caused by drug-resistant bacterial infections, such as the irregular interweaving of necrosis, liquefaction, and fibrosis. These microstructural disturbances manifest as complex spatial textures variations on CT imaging. Fundamental differences exist between DR-TB and DS-TB regarding host-pathogen interactions, local immune responses, and tissue repair processes, which are ultimately mapped onto the textural and structural features of CT imaging. DR-TB is frequently characterized by a delayed therapeutic response, resulting in recurrent inflammatory exudation, granulation tissue hyperplasia, and necrosis within the cavity walls, thereby leading to thicker walls and more irregular inner linings.23 These pathologic changes manifest as specific patterns of shape and high-order filtered features on imaging; concurrently, they are reflected by increased complexity in texture metrics, such as GLCM and GLRLM parameters, specifically evidenced by elevated contrast, reduced homogeneity, and enhanced run-length non-uniformity. In contrast, shape features, which accounted for only 0.8% of all features, contributed minimally, implying that the key information for identifying drug resistance lies in the internal texture of lesions rather than their gross morphology. A comparison of eight mainstream machine learning algorithms revealed that the LR model, although not achieving the highest performance in the training set (AUC = 0.832), demonstrated superior generalization in the test set (AUC = 0.872). In contrast, complex ensemble algorithms such as XGBoost exhibited nearly perfect discrimination in the training set (AUC = 0.99) but showed substantial overfitting in the test set (AUC = 0.836). This finding suggests that for medical prediction tasks with limited sample sizes, relatively simple models (eg, LR) may outperform complex machine learning algorithms. LR offers computational efficiency, interpretability, and robust performance with small datasets, characteristics well suited to clinical applications.24 Additionally, its output probabilities can be directly interpreted as odds ratios, facilitating clinical interpretation and adoption.25

Regarding clinical variables, four indicators, including CRP, diabetes, ALT, and blood Ca2+ level, were significantly associated with TB drug resistance. These easily accessible indicators provide valuable tools for early risk assessment and offer insights into the pathophysiological mechanisms of DR-TB. Elevated CRP levels in DR-TB patients, consistent with previous findings,26 reflect sustained systemic inflammation. This persistent inflammatory state may not only indicate ineffective immune system is struggling to effectively control drug-resistant bacterial infections, but may also directly contribute to tissue damage and disease progression. Moreover, this persistent inflammatory can exacerbate drug resistance by altering the pharmacokinetics of anti-TB drugs and reducing their local concentrations within lesions. Mechanistically, MTB activates the NLRP3 inflammasome in immune cells, leading the increased secretion of IL-1β and IL-18. Previous studies have shown that serum levels of these cytokines are significantly higher in patients with pulmonary TB than in healthy controls, and their concentrations are positively correlated with CRP levels.27 Similar findings were also observed in our previous work.28 The association between diabetes and TB drug resistance identified in this study is consistent with extensive global evidence.29,30 Diabetes-induced immune dysregulation increases susceptibility to TB and worsens clinical outcomes. TB patients with diabetes tend to exhibit faster disease progression and higher bacterial loads.31 Additionally, hyperglycemia-induced intestinal barrier dysfunction and microbial dysbiosis promote systemic pathogen dissemination.32 Diabetes increases the risk of MDR-TB through multiple mechanisms, including impaired phagocytic activity, chemotactic responses, oxidative substance production, microbial proliferation, altered drug disposition, and treatment non-adherence.33,34 These findings emphasize the need for heightened vigilance in managing TB patients with diabetes, particularly in assessing their risk of drug resistance. The observed association between elevated ALT levels and TB drug resistance may reflect hepatocellular injury resulting from prior irregular treatment or exposure to second-line anti-TB drugs.24,35 Hepatic dysfunction can further alter drug metabolism and efficacy, potentially creating a vicious cycle that perpetuates drug resistance. In addition, abnormal serum calcium levels may indicate endocrine or metabolic disturbances associated with TB infection, although their specific mechanisms warrant further investigation.

Both single diagnostic models exhibited varying degrees of overfitting, revealing that the patterns learned from the training data did not fully generalize to new data, thereby limiting their clinical applicability. In clinical practice, diagnostic decision-making is inherently multifactorial, requiring integration of laboratory data, clinical manifestations, and imaging features. Based on this, we developed and validated a fusion model integrating clinical features and radiomic features for predicting drug resistance in cavitary pulmonary TB. Compared with the individual clinical or radiomic models, the fusion model exhibited superior predictive performance and clinical utility in distinguishing DR-TB from DS-TB. This confirms the advantages of multimodal data integration and provides a novel non-invasive approach for early identification of drug resistance. The clinical-radiomics fusion model (nomogram) maintained stable and excellent predictive performance in both the training and test sets (AUC = 0.861 and 0.884, respectively). Notably, its slightly higher performance in the test set suggests good generalization without significant overfitting. In contrast, the single clinical model and radiomics achieved an AUC of 0.725 and 0.872, respectively. These results clearly demonstrate a synergistic effect, where combining clinical and imaging features yields greater predictive power than either modality alone. From a translational perspective, decision curve analysis showed that the fusion model provided the highest net clinical benefit across a range of threshold probabilities. Furthermore, visualization of the model as a nomogram enhances its clinical applicability, enabling rapid, individualized estimation of drug resistance risk to support personalized treatment decisions. The clinical-radiomics fusion model constructed in this study differs in design philosophy from a recent study that utilized large-scale samples and deep learning architectures for the precise diagnosis and typing of drug-resistant tuberculosis.36 Supported by sufficient data, that deep learning study achieved excellent predictive accuracy, representing a “high-precision” paradigm tailored for large-scale medical centers. In contrast, the core advantages of the present study lie in the parsimony, interpretability, and strong adaptability to small-to-medium-sized samples of its model. This linear model, based on clinical and radiomic features, significantly reduces reliance on large-scale annotated data and high-performance computing power; furthermore, its output (eg, nomograms) is more easily understood and trusted by clinicians. Therefore, rather than aiming to outperform complex deep learning models in terms of performance, this model seeks to provide a practical and easily deployable decision support tool for primary healthcare institutions, which are often characterized by limited computational resources and small sample sizes, thereby filling a gap in current research regarding “accessibility” and “practicality.”

Although the fusion model constructed in this study demonstrates promising predictive performance and clinical utility, several limitations remain. First, this study was designed as a single-center retrospective analysis; therefore, its generalizability requires further validation through multi-center, prospective external data. Second, this study is essentially a radiological association analysis. The established model lacks direct correlation with histopathology, precluding a definitive elucidation of the causal mechanisms linking radiomic features to specific pathological changes in DR-TB (eg, granuloma structure, necrosis patterns). Although the logistic regression-based parsimonious model enhances applicability in primary healthcare settings, its capacity to handle complex non-linear relationships may be inferior to that of deep learning models, which inherently restricts its performance ceiling in ultra-large-scale and highly heterogeneous datasets. Furthermore, the inability to achieve precise subtyping of drug resistance profiles limits the direct clinical value of this study in guiding individualized precision treatment. Future research should focus on conducting multi-center external validation and integrating histopathological specimens or molecular imaging techniques to deeply elucidate the biological basis of imaging features. Concurrently, it is necessary to explore strategies to optimize model complexity and generalizability using large-scale data and to develop multi-class models for precise resistance subtyping, thereby enhancing the clinical value of radiomic features in guiding individualized precision therapy. It must be emphasized that the clinical-radiomics fusion model developed in this study is intended to serve as an auxiliary support tool for clinical decision-making to facilitate early risk stratification, and should not be considered a complete replacement for conventional standard drug susceptibility testing.

Conclusion

In summary, this study successfully developed and validated a clinical-radiomics fusion model that demonstrated excellent performance and clinical utility in predicting drug resistance in cavitary pulmonary TB. The results highlight the advantages of multimodal data fusion in medical prediction modeling and establish a novel, non-invasive methodological framework for early drug resistance assessment. By transforming complex computational algorithms into an intuitive, user-friendly nomogram, this study effectively bridged the gap between artificial intelligence and clinical decision-making. The proposed model provides a powerful tool to support individualized treatment planning and precision medicine in TB management. Future research should focus on external validation, across diverse populations, continuous algorithm optimization, and integration into clinical workflows to ensure robust, real-world applicability and maximize patient benefit.

Data Sharing Statement

The datasets analyzed during the current study are available from the corresponding author on reasonable request (Qing-Dong Zhu: [email protected]; Zhou-Hua Xie: [email protected]).

Ethical Statement

The study protocol was approved by the Ethics Committee of The Fourth People’s Hospital of Nanning (Ethical Approval Number: [2025] 52). The requirement for informed consent to study inclusion and the need for consent to participate were waived by the Ethics Committee of The Fourth People’s Hospital of Nanning because of the lack of study intervention in patient diagnosis and treatment and the retrospective nature of the study. This study is in accordance with the Declaration of Helsinki.

Author Contributions

All authors made a significant contribution to the work reported, whether that is in the conception, study design, execution, acquisition of data, analysis and interpretation, or in all these areas; took part in drafting, revising or critically reviewing the article; gave final approval of the version to be published; have agreed on the journal to which the article has been submitted; and agree to be accountable for all aspects of the work.

Funding

This work was supported by the Guangxi Key Research and Development Program (No. GuiKe-AB25069097), Guangxi Health Commission Self-Funded Research Project (Z-A20231211), Guangxi Health Commission Self-Funded Research Project (Z-A20231215) and Guangxi Disease Prevention and Control Science and Technology Project (GXJKKJ2025ZC051).

Disclosure

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

1. Global tuberculosis report 2024. Geneva: World Health Organization; 2024. Licence: CC BY-NC-SA 3.0IGO.

2. Osipov NN, Spelnikov D, Belyaeva E, et al. Drug resistance and comorbidities in the treatment of pulmonary tuberculosis: a multicenter retrospective cohort study. Antibiotics. 2025;14(10). doi:10.3390/antibiotics14100986

3. Günther G, Ruswa N, Keller PM. Drug-resistant tuberculosis: advances in diagnosis and management. Curr Opin Pulm Med. 2022;28(3):211–13. doi:10.1097/mcp.0000000000000866

4. Seung KJ, Keshavjee S, Rich ML. Multidrug-resistant tuberculosis and extensively drug-resistant tuberculosis. Cold Spring Harb Perspect Med. 2015;5(9):a017863. doi:10.1101/cshperspect.a017863

5. Wang X, Shang A, Chen H, et al. Global, regional, and national disease burden of multidrug-resistant tuberculosis without extensive drug resistance, 1990-2021: findings from the Global Burden of Disease Study 2021. Drug Resistance Updates. 2025;82:101265. doi:10.1016/j.drup.2025.101265

6. Palaci M, Dietze R, Hadad DJ, et al. Cavitary disease and quantitative sputum bacillary load in cases of pulmonary tuberculosis. J Clin Microbiol. 2007;45(12):4064–4066. doi:10.1128/jcm.01780-07

7. Urbanowski ME, Ordonez AA, Ruiz-Bedoya CA, Jain SK, Bishai WR. Cavitary tuberculosis: the gateway of disease transmission. Lancet Infect Dis. 2020;20(6):e117–e128. doi:10.1016/s1473-3099(20)30148-1

8. Wu L, Cai X, Jiang X. Risk factors for multidrug-resistant tuberculosis: a predictive model study. Front Med. 2024;11:1410690. doi:10.3389/fmed.2024.1410690

9. Murphy SG, Smith C, Lapierre P, et al. Direct detection of drug-resistant Mycobacterium tuberculosis using targeted next generation sequencing. Front Public Health. 2023;11:1206056. doi:10.3389/fpubh.2023.1206056

10. Boehme CC, Nabeta P, Hillemann D, et al. Rapid molecular detection of tuberculosis and rifampin resistance. New Engl J Med. 2010;363(11):1005–1015. doi:10.1056/NEJMoa0907847

11. Shi HM, Wang ZK, Wu H, et al. Clinical application of time-of-flight mass spectrometry nucleic acid detection technology in diagnosis of drug-resistant pulmonary tuberculosis. Diagn Microbiol Infect Dis. 2025;111(3):116686. doi:10.1016/j.diagmicrobio.2025.116686

12. Song QS, Zheng CJ, Wang KP, Huang XL, Tartakovsky M, Wáng YXJ. Differences in pulmonary nodular consolidation and pulmonary cavity among drug-sensitive, rifampicin-resistant and multi-drug resistant tuberculosis patients: a computerized tomography study with history length matched cases. J Thorac Dis. 2022;14(7):2522–2531. doi:10.21037/jtd-22-145

13. Wang T, Yang Q, Gao Y, et al. Computed tomography manifestations in patients with rifampin primary drug-resistant tuberculosis in an infectious disease hospital in the yi autonomous prefecture, China. Int J Gen Med. 2023;16:5109–5118. doi:10.2147/ijgm.S428962

14. Zhu G, Feng W, Li F, Zhang X. Chest CT findings in drug-resistant pulmonary tuberculosis: a comparative analysis of elderly and non-elderly patients. BMC Infect Dis. 2025;25(1):1350. doi:10.1186/s12879-025-11766-w

15. Xu L, Xu S. CT imaging characteristics of nontuberculous mycobacteria lung disease, active tuberculosis and multi-drug resistant tuberculosis. Sarcoidosis Vasc Diffuse Lung Dis. 2022;39(2):e2022008. doi:10.36141/svdld.v39i2.11829

16. Lafata KJ, Wang Y, Konkel B, Yin FF, Bashir MR. Radiomics: a primer on high-throughput image phenotyping. Abdom Radiol. 2022;47(9):2986–3002. doi:10.1007/s00261-021-03254-x

17. Chen M, Copley SJ, Viola P, Lu H, Aboagye EO. Radiomics and artificial intelligence for precision medicine in lung cancer treatment. Semin Cancer Biol. 2023;93:97–113. doi:10.1016/j.semcancer.2023.05.004

18. Qi YJ, Su GH, You C, et al. Radiomics in breast cancer: current advances and future directions. Cell Rep Med. 2024;5(9):101719. doi:10.1016/j.xcrm.2024.101719

19. Li Y, Wang B, Wen L, et al. Machine learning and radiomics for the prediction of multidrug resistance in cavitary pulmonary tuberculosis: a multicentre study. Eur Radiol. 2023;33(1):391–400. doi:10.1007/s00330-022-08997-9

20. Fan H, Luo Y, Gu F, et al. Artificial intelligence-based MRI radiomics and radiogenomics in glioma. Cancer Imaging. 2024;24(1):36. doi:10.1186/s40644-024-00682-y

21. Wang Z, Fang M, Zhang J, et al. Radiomics and deep learning in nasopharyngeal carcinoma: a review. IEEE Rev Biomed Eng. 2024;17:118–135. doi:10.1109/rbme.2023.3269776

22. Xia T, Zhao B, Li B, et al. MRI-based radiomics and deep learning in biological characteristics and prognosis of hepatocellular carcinoma: opportunities and challenges. J Magn Reson Imaging. 2024;59(3):767–783. doi:10.1002/jmri.28982

23. Xu CJ, Lu PX, Li CH, et al. Chinese expert consensus on imaging diagnosis of drug-resistant pulmonary tuberculosis. Quantitative Imaging Med Surg. 2024;14(1):1039–1060. doi:10.21037/qims-23-1223

24. Sun ET, Xia D, Li BH, et al. Association of immune factors with drug-resistant tuberculosis: a case-control study. Med Sci Monit. 2017;23:5330–5336. doi:10.12659/msm.904309

25. Schober P, Vetter TR. Logistic regression in medical research. Anesth Analg. 2021;132(2):365–366. doi:10.1213/ane.0000000000005247

26. Chen H, Tong Z, Zhong J, et al. Prediction of risk factors associated with the development of multidrug-resistant tuberculosis in patients with tuberculosis. Front Public Health. 2025;13:1588196. doi:10.3389/fpubh.2025.1588196

27. Wang Y, Hu C, Wang Z, Kong H, Xie W, Wang H. Serum IL-1β and IL-18 correlate with ESR and CRP in multidrug-resistant tuberculosis patients. J Biomed Res. 2015;29(5):426–428. doi:10.7555/jbr.29.20150077

28. Song C, Huang A, Zhao C, et al. Multimodal radiomics integrating deep learning and clinical features for diagnosing multidrug-resistant tuberculosis in HIV/AIDS patients. J Global Antimicrob Resist. 2025;43:134–142. doi:10.1016/j.jgar.2025.04.013

29. Ruesen C, Chaidir L, Ugarte-Gil C, et al. Diabetes is associated with genotypically drug-resistant tuberculosis. Eur Respir J. 2020;55(3):1901891. doi:10.1183/13993003.01891-2019

30. Tegegne BS, Mengesha MM, Teferra AA, Awoke MA, Habtewold TD. Association between diabetes mellitus and multi-drug-resistant tuberculosis: evidence from a systematic review and meta-analysis. Syst Rev. 7(1):161. doi:10.1186/s13643-018-0828-0

31. Xu G, Hu X, Lian Y, Li X. Diabetes mellitus affects the treatment outcomes of drug-resistant tuberculosis: a systematic review and meta-analysis. BMC Infect Dis. 23(1):813. doi:10.1186/s12879-023-08765-0

32. Scherm MG, Wyatt RC, Serr I, Anz D, Richardson SJ, Daniel C. Beta cell and immune cell interactions in autoimmune type 1 diabetes: how they meet and talk to each other. Mol Metabol. 2022;64:101565. doi:10.1016/j.molmet.2022.101565

33. Rehman AU, Khattak M, Mushtaq U, et al. The impact of diabetes mellitus on the emergence of multi-drug resistant tuberculosis and treatment failure in TB-diabetes comorbid patients: a systematic review and meta-analysis. Front Public Health. 2023;11:1244450. doi:10.3389/fpubh.2023.1244450

34. Herold KC, Delong T, Perdigoto AL, Biru N, Brusko TM, Walker LSK. The immunology of type 1 diabetes. Nat Rev Immunol. 2024;24(6):435–451. doi:10.1038/s41577-023-00985-4

35. Duvenhage J, Draper HR, Garcia-Prats AJ, Winckler J, Hesseling AC, Schaaf HS. Hepatocellular Injury in Children Treated for Rifampicin-resistant Tuberculosis: incidence, Etiology and Outcome. Pediatr Infect Dis J. 2022;41(12):953–958. doi:10.1097/inf.0000000000003690

36. Liang S, Xu X, Yang Z, et al. Deep learning for precise diagnosis and subtype triage of drug-resistant tuberculosis on chest computed tomography. MedComm. 2024;5(3):e487. doi:10.1002/mco2.487

Creative Commons License © 2026 The Author(s). This work is published and licensed by Dove Medical Press Limited. The full terms of this license are available at https://www.dovepress.com/terms and incorporate the Creative Commons Attribution - Non Commercial (unported, 4.0) License. By accessing the work you hereby accept the Terms. Non-commercial uses of the work are permitted without any further permission from Dove Medical Press Limited, provided the work is properly attributed. For permission for commercial use of this work, please see paragraphs 4.2 and 5 of our Terms.