Skip to main content
BMC Medical Imaging logoLink to BMC Medical Imaging
. 2026 Jul 17;26:521. doi: 10.1186/s12880-026-02590-y

A CT-based deep learning model for the automated risk stratification of refractory Mycoplasma pneumoniae pneumonia in children

Zhoumeng Ying 1,2,#, Ge Hu 3,#, Jing Li 4,5,6, Wei Han 7, Fei Yang 8, Zheming Li 4,5,6, Zhenchen Zhu 1, Baofeng Zhang 9, Zhen Zhou 10, Weixiong Tan 10, Zhu Zhu 4,5,6, Mengyu Duan 4,5,6, Zhengyu Jin 1, Lan Song 1,11,✉, Gang Yu 4,5,12,✉
PMCID: PMC13660281  PMID: 42469676

Abstract

Background

The accurate identification of children with refractory Mycoplasma pneumoniae pneumonia (RMPP) remains challenging. This study aimed to develop a transformer-based model utilizing clinically indicated chest computed tomography (CT) to stratify pediatric RMPP risk at a critical decision point.

Methods

Non-contrast chest CT data from a multicenter retrospective cohort of 1224 pediatric patients with Mycoplasma pneumoniae pneumonia who underwent clinically indicated CT were used to develop a transformer-based deep learning framework (trans-DLF). The primary cohort comprised training (n = 506), validation (n = 140), and internal testing (n = 139) cohorts, with two independent external cohorts (n = 331 and n = 108) used to evaluate generalizability. Model performance was assessed by the area under the receiver operating characteristic curve (AUC) and compared against a three-dimensional convolutional neural network (3D-CNN), a clinical model, and a multimodal nomogram. Interpretability was examined using gradient-weighted class activation mapping (Grad-CAM).

Results

The median age was 6.83 years (interquartile range, 5.0–8.6 years), and 609 (49.8%) were male. The trans-DLF demonstrated strong performance across all cohorts: training (AUC 0.97; 95% confidence interval [CI], 0.96–0.98), validation (0.91; 0.86–0.96), internal testing (0.90; 0.85–0.95), and external testing (0.89; 0.84–0.94 and 0.89; 0.82–0.95). It significantly outperformed the clinical model (p < 0.001), while its AUCs were not significantly different from those of the multimodal nomogram. The model maintained good performance in outpatient settings (AUC 0.87) with good calibration and net clinical benefit. Grad-CAM suggested that predictions were influenced by clinically meaningful features, particularly consolidations.

Conclusion

The trans-DLF provides a streamlined and efficient approach to RMPP risk assessment in children who have already undergone clinically indicated chest CT and may support timely, evidence-based decision-making without additional tests.

Supplementary Information

The online version contains supplementary material available at https://doi.org/10.1186/s12880-026-02590-y.

Keywords: Pneumonia, Mycoplasma, Pediatrics, Deep learning, Computed tomography

Background

Mycoplasma pneumoniae pneumonia (MPP) is a leading cause of pediatric community-acquired pneumonia, accounting for 10–40% of cases [1]. Although macrolides are the standard treatment, the rising prevalence of macrolide-resistant strains, particularly in East Asia, has created a major clinical challenge [2, 5]. Consequently, a substantial proportion of children (12.8–52.2%) develop refractory MPP (RMPP), characterized by persistent fever and radiological progression despite treatment [6, 10]. RMPP frequently necessitates the use of second-line antibiotics or immunomodulators and is associated with an increased risk of severe, long-term sequelae, including pulmonary necrosis and obliterative bronchiolitis [7, 11–15]. Thus, the accurate identification of pediatric RMPP is crucial for guiding timely clinical intervention.

However, the accurate and timely identification of RMPP remains challenging [11, 12]. While chest radiography is the standard first-line imaging modality for pediatric MPP, computed tomography (CT) is frequently necessitated for patients who exhibit clinical non-improvement or suspected severe parenchymal involvement [2, 16, 20]. In this specific cohort, CT offers superior anatomic resolution, and the adoption of low-dose protocols has effectively mitigated radiation concerns [21, 22]. Furthermore, specific CT features have emerged as independent predictors of RMPP, establishing the modality’s dual role as both a diagnostic and prognostic tool for patients at risk of RMPP [10, 23, 26].

After a CT scan is performed, clinicians must rapidly determine the probability of RMPP to support timely clinical reassessment, intensified monitoring, and consideration of treatment escalation in conjunction with the overall clinical context. In this acute clinical setting, although various RMPP prediction models have been developed, most current models are multimodal and rely on time-intensive laboratory results, manual data entry, subjective radiological interpretation, or complex image preprocessing [26, 30]. These limitations impede clinical deployment and fail to meet the requirements for timely clinical decision support in acute pediatric care settings. As a result, there remains a clinical need for a streamlined, time-efficient risk stratification model for patients awaiting immediate management.

Unimodal CT-based deep learning (DL) approaches can offer a viable solution to this problem. However, because different neural network architectures capture spatial information in different ways, model architecture may influence performance and clinical utility. While convolutional neural networks (CNNs) have historically dominated medical imaging and are effective for learning local spatial patterns [31], transformer-based architectures leverage self-attention to capture broader contextual information [32]. By processing the entire lung volume as a unified input, a transformer-based framework can autonomously extract complex, high-dimensional features directly from raw images, thereby enhancing objectivity, reproducibility, and translational potential.

This study presents a transformer-based deep learning framework (trans-DLF) for automated and efficient risk stratification of RMPP using baseline non-contrast chest CT. For patients undergoing CT because of clinical concern, the framework provides rapid risk stratification at the point of imaging and may support timely clinical reassessment and intervention.

Methods

This study was conducted in accordance with the Declaration of Helsinki and approved by the institutional review boards of all participating hospitals (2024-IRB-0189-P-01, 2024-IRB-039, and 1-23PJ078). The requirement for individual informed consent was waived due to the retrospective design. All DICOM images and clinical data were de-identified before analysis. Access to the study data was restricted to authorized members of the research team, and no directly identifiable patient information was used for model development or statistical analysis.

Study design and participants

This retrospective, multi-center study consecutively enrolled pediatric patients with MPP from three hospitals, each representing different levels of healthcare. The development dataset, which was established using data from Center 1, a national pediatric referral center, consisted of 785 inpatients enrolled between August 2019 and December 2023. These patients were randomly divided into a training cohort (n = 506), a validation cohort (n = 140), and an internal testing cohort (n = 139) at an approximate allocation ratio of 3:1:1. Each patient contributed only one baseline CT examination, and no patient overlap occurred among the three cohorts. To assess generalizability, external validation was performed using two independent cohorts: External cohort 1 consisted of 331 patients enrolled between February 2018 and April 2024 at Center 2, a regional tertiary hospital, and external cohort 2 consisted of 108 inpatients and outpatients enrolled between June 2023 and March 2025 at Center 3, a large comprehensive general hospital. The overall flowchart and study flow diagram are depicted in Figs. 1 and 2.

Fig. 1.

Fig. 1

The flowchart of the study. Abbreviations: CT, computed tomography; CBC, complete blood count; LDH, lactate dehydrogenase; RMPP, refractory mycoplasma pneumoniae pneumonia; MLP, multilayer perceptron; RelPE, relative positional encoding; Trans-DLF, Transformer-based deep learning framework; 3D-CNN, 3D convolutional neural network; CRP, C-reactive protein; NR, neutrophil ratio; PFD, pre-visit fever duration; ROC, receiver-operator characteristic; DCA, decision curve analysis

Fig. 2.

Fig. 2

Overview of patient enrollment, exclusion criteria, and dataset construction. Abbreviations: MPP, mycoplasma pneumoniae pneumonia; RMPP, refractory mycoplasma pneumoniae pneumonia; CT, computed tomography; CBC, complete blood count

The inclusion criteria were: (1) age > 28 days and ≤ 18 years; (2) clinically confirmed MPP; (3) availability of at least one non-contrast chest CT scan obtained during the initial disease evaluation; and (4) documented records of symptom resolution and radiographic absorption. The exclusion criteria were: (1) no thin-slice (≤ 1.5 mm) CT; (2) poor-quality CT or unavailable Digital Imaging and Communications in Medicine (DICOM) data; (3) chest CT performed after the RMPP diagnosis; (4) missing complete blood count (CBC) and key inflammatory biomarkers; (5) pre-existing immunodeficiency or immunosuppressive therapy prior to admission; and (6) requirement for mechanical ventilation post-admission. The diagnostic criteria for MPP are detailed in Supplementary Material 1.1.

Clinical and radiologic data collection

Thin-section (≤ 1.5 mm), non-contrast chest CT scans and corresponding CT reports were retrieved from each hospital’s institutional Picture Archiving and Communication System. For all patients, the first available baseline CT scan acquired prior to RMPP diagnosis was retrieved. CT examinations were performed at the discretion of treating pediatricians when guideline-based indications were met. These indications included concern for severe pulmonary involvement (such as extensive consolidation, necrosis, or pleural effusion), a refractory clinical course after 48–72 h of targeted therapy, the need to exclude alternative diagnoses, discordance between clinical presentation and chest radiography, or evaluation of recurrent pneumonia [2, 16, 20]. Detailed CT acquisition protocols across the centers are summarized in Supplementary Table S1.

Demographic, clinical, and laboratory data, including CBC and inflammatory markers, including C-reactive protein (CRP), lactate dehydrogenase (LDH), and D-dimer levels, were collected from the electronic hospital information system. Clinical and laboratory data were collected at admission for inpatients and at the initial visit for outpatients. All analyzed variables and their proportions of missing data are listed in Supplementary Table S2.

RMPP was defined as the presence of persistent fever, worsening clinical symptoms, radiologic progression, or extrapulmonary complications after at least seven days of macrolide therapy [11]. Radiographic progression in RMPP was defined as interval worsening on follow-up imaging after adequate macrolide therapy. Disease severity was categorized as mild or severe/critical according to the 2023 Chinese pediatric MPP guidelines [2], as detailed in Supplementary Material 1.2. Classification of both RMPP status and disease severity was performed by an experienced pediatric pulmonologist.

Construction of the DL-based models

Trans-DLF was developed as an automated warning system for rapid RMPP risk stratification by extracting comprehensive global features from the entire lung volume. Following automated lung segmentation and grouping CT slices into three-slice blocks, local features were then extracted from each block using the ResNet-18 encoder. These slice-level representations were then input into a six-layer transformer encoder equipped with multi-head self-attention and relative positional encoding, allowing the model to capture long-range and global inter-slice dependencies across the whole lung. Finally, aggregated features from the transformer were subsequently processed by a multilayer perceptron to generate patient-level probabilities of RMPP. For comparison, a three-dimensional convolutional neural network (3D-CNN) was constructed as a baseline to compare transformer-based modeling with a conventional volumetric convolutional approach. Further details about the model construction are provided in Fig. 1 and Supplementary Material 1.3.

Construction of the clinical model and multimodal nomogram

To ensure data quality, variables with more than 40% missingness across all datasets were excluded. The remaining missing values were imputed independently for each cohort using predictive mean matching to prevent data leakage. For the primary analysis, one completed dataset was randomly selected from 20 imputed datasets for clinical model development and evaluation. Because this approach did not account for between-imputation variability, we additionally performed a sensitivity analysis using all 20 imputed datasets, as detailed in Supplementary Material 1.4. The cohort-specific missingness rates for all candidate variables are reported in Supplementary Table S2. Potential clinical predictors with a p value of less than 0.05 in the univariate logistic regression analyses were entered into a multivariable logistic regression model. Predictors that remained statistically significant in the multivariable analysis were retained in the final clinical model. These predictors were subsequently integrated with the trans-DLF probability to develop a multimodal nomogram.

Model performance and clinical utility evaluation

Model performance was primarily assessed by calculation of the area under the receiver operating characteristic curve (AUC). The optimal threshold was determined by maximizing Youden’s index in the validation cohort. Within each cohort, the AUC of Trans-DLF was compared with those of the clinical model, the 3D-CNN model, and the nomogram, and the resulting p values were adjusted for the three pairwise comparisons using the Bonferroni method. Secondary metrics, including accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV), were determined using a stratified bootstrapping procedure with 2000 replicates and reported with their 95% confidence intervals (CIs). Significant differences between model AUCs were assessed using DeLong’s test [33]. Model calibration, representing the concordance between predicted probabilities and observed outcomes, was evaluated with calibration curve analysis using the “rms” package in R, with ideal calibration considered close alignment with the 45° line. Clinical utility was estimated using decision curve analysis (DCA) to quantify the net benefit at various threshold probabilities.

To assess robustness, subgroup analyses were conducted by stratifying patients by age, disease severity, pre-visit fever duration (PFD), treatment setting, and initial levels of CRP and neutrophil ratio (NR). Stratification cutoffs for laboratory biomarkers were identified via receiver operating characteristic curve analysis and Youden’s index in the validation cohort, with age cutoffs based on the cohort age distribution (Figure S1) and known MPP epidemiology [34]. To enhance model interpretability, gradient-weighted class activation mapping (Grad-CAM) was used to visualize key regions of the CT scans most influential for risk stratification [35].

In addition to the primary threshold selected by maximizing the Youden index, we explored two clinically oriented operating points for the trans-DLF. In the validation cohort, the sensitivity-oriented threshold was the highest cutoff achieving sensitivity of at least 0.90, whereas the specificity-oriented threshold was the lowest cutoff achieving specificity of at least 0.90.

Statistical analysis

All statistical analyses were performed using R software (version 4.3.1). Continuous variables were compared using the Student’s t-test or the Mann–Whitney U-test, and categorical variables were compared using the chi-square or Fisher’s test, as appropriate. A two-tailed p-value < 0.05 was considered statistically significant. Reporting of this study was guided by the Completeness, Learnability, Applicability, Interpretability, Reproducibility, and Evaluation framework [36]. The completed checklist is provided in Supplementary Table S3.

Results

Characteristics of the study population

A total of 1224 pediatric patients, 538 with RMPP and 686 with non-RMPP, were enrolled in this multicenter study, corresponding to an overall RMPP frequency of 43.95%. Their baseline demographic and clinical characteristics are summarized in Table 1 and Supplementary Tables S4 and S5. The overall cohort had a median age of 6.83 years (interquartile range [IQR], 5.0–8.6) and a balanced sex distribution (609 males, 49.8%; 615 females, 50.2%). The baseline CT was performed a median of 7 days (IQR, 5–9) after symptom onset and 4 days (IQR, 3–6) after the initiation of standard macrolide therapy.

Table 1.

Demographic and clinical characteristics of patients with refractory and non-refractory mycoplasma pneumonia pneumonia in center 1

Variables Training cohort (n = 506) Validation cohort (n = 140) Internal testing cohort (n = 139)
Non-RMPP (n = 254) RMPP (n = 252) p-value Non-RMPP (n = 71) RMPP (n = 69) p-value Non-RMPP (n = 70) RMPP (n = 69) p-value
Sex (%) 0.66 0.40 0.93
 Male 133 (52.36) 126 (50.00) 32 (45.07) 37 (53.62) 36 (51.43) 34 (49.28)
 Female 121 (47.64) 126 (50.00) 39 (54.93) 32 (46.38) 34 (48.57) 35 (50.72)
Age, years (median [IQR]) 6.79 [4.90, 8.00] 6.25 [4.23, 8.10] 0.07 5.83 [3.92, 7.62] 6.33 [4.50, 8.25] 0.31 5.42 [3.85, 7.02] 6.42 [4.75, 8.08] 0.03*
Comorbidity (%) 24 (9.45) 32 (12.70) 0.31 9 (12.68) 10 (14.49) 0.95 11 (15.71) 4 (5.80) 0.11
PFD, days (median [IQR]) 6.00 [4.00, 7.00] 7.00 [5.00, 9.00] < 0.001* 5.00 [4.00, 7.00] 7.00 [5.00, 9.00] < 0.001* 5.00 [4.00, 7.00] 7.00 [5.00, 9.00] < 0.001*
PCD, days (median [IQR]) 5.00 [4.00, 7.00] 7.00 [5.00, 9.00] < 0.001* 5.00 [3.00, 6.00] 7.00 [5.00, 9.00] < 0.001* 5.00 [4.00, 7.00] 6.00 [5.00, 8.00] 0.008*
Severe/Critical Pneumonia (%) 196 (77.17) 225 (89.29) < 0.001* 50 (70.42) 60 (86.96) 0.03* 53 (75.71) 63 (91.30) 0.03*
ROS (%) 15 (5.91) 49 (19.44) < 0.001* 4 (5.63) 14 (20.29) 0.02* 3 (4.29) 19 (27.54) < 0.001*
T, ℃ (median [IQR]) 37.20 [36.70, 37.90] 37.50 [36.90, 38.40] 0.003* 37.40 [36.80, 38.20] 37.60 [36.70, 38.40] 0.63 37.20 [36.80, 37.65] 37.65 [37.10, 38.38] 0.004*
P, beats/min (mean (SD)) 120.00 [110.00, 132.00] 124.00 [116.00, 136.00] 0.002* 120.00 [108.00, 132.00] 124.00 [117.50, 132.00] 0.21 120.00 [111.50, 130.00] 124.00 [118.00, 136.00] 0.07
R, breaths/min (median [IQR]) 28.00 [24.00, 32.00] 30.00 [26.00, 34.00] < 0.001* 30.00 [26.00, 32.00] 30.00 [26.00, 36.00] 0.64 30.00 [26.00, 32.00] 30.00 [26.00, 32.00] 0.94

Note: Unless otherwise indicated, data are presented as the number of patients, with percentages in parentheses

Abbreviations: RMPP, refractory mycoplasma pneumoniae pneumonia; IQR, Interquartile range; PFD, pre-visit fever duration; PCD, pre-visit cough duration; ROS, requirement for oxygen support; T, temperature; P, pulse rate; R, respiratory rate. *Represents p < 0.05

Multivariable logistic regression in the training cohort identified six independent indicators of RMPP (all p < 0.05, Table 2). These variables and the probability from the trans-DLF were then incorporated into a multimodal nomogram (Figure S2). The multiple-imputation sensitivity analysis largely confirmed the primary findings, with five of the six predictors remaining statistically significant. Hemoglobin, which showed only borderline significance in the primary analysis, was no longer significant after pooling estimates across the 20 imputed datasets (Table S6 and Fig. S3).

Table 2.

Univariate and multivariable logistic regression analysis of clinical features associated with RMPP in the training cohort

Variables Univariate analysis Multivariate analysis
OR (95% CI) p-value OR (95% CI) p-value
Sex 0.91 (0.64–1.29) 0.60
Age 0.94 (0.87–1.00) 0.06
Comorbidity 1.39 (0.80–2.46) 0.25
PFD 1.18 (1.10–1.27) < 0.001* 1.12 (1.03–1.23) 0.01*
PCD 1.13 (1.07–1.20) < 0.001* 1.09 (1.02–1.18) 0.02*
Severe/Critical Pneumonia 2.47 (1.52–4.10) < 0.001* 1.89 (1.11–3.29) 0.02*
ROS 3.85 (2.14–7.29) < 0.001* 3.23 (1.69–6.47) 0.001*
T 1.34 (1.10–1.63) 0.003* 1.43 (1.12–1.82) 0.004*
P 1.02 (1.01–1.03) 0.001* 1.00 (0.99–1.01) 0.96
R 1.05 (1.02–1.09) 0.001* 1.01 (0.97–1.05) 0.59
CRP 1.01 (1.00–1.02) 0.02* 1.01 (1.00–1.02) 0.07
WBC 1.08 (1.02–1.14) 0.007* 1.03 (0.97–1.09) 0.36
NR 1.01 (1.00–1.02) 0.17
MR 0.99 (0.93–1.06) 0.87
LR 0.99 (0.97–1.00) 0.13
BR 1.70 (0.64–4.64) 0.29
ER 1.02 (0.94–1.10) 0.69
HGB 0.97 (0.96–0.99) 0.01* 0.98 (0.96–1.00) 0.048*
PLT 1.00 (1.00–1.00) 0.30
Atelectasis 0.87 (0.59–1.27) 0.47
Pleural effusion 1.63 (1.10–2.43) 0.02* 1.29 (0.83–2.00) 0.25

Note: Only variables that demonstrated statistical significance in the univariate analysis were subsequently included in the multivariable analysis

Abbreviations: OR, Odds ratio; CI, confidence interval; RMPP, refractory mycoplasma pneumoniae pneumonia; PFD, pre-visit fever duration; PCD, pre-visit cough duration; ROS, requirement for oxygen support; T, temperature; P, pulse rate; R, respiratory rate; CRP, C-reactive protein; WBC, white blood cell count; NR, neutrophil ratio; MR, monocyte ratio; LR, lymphocyte ratio; BR, basophil ratio; ER, eosinophil ratio; HGB, hemoglobin; PLT, platelet count. *Represents p < 0.05

Model performance

The proposed trans-DLF model demonstrated strong discrimination for RMPP in all cohorts (Figs. 3 and S4, Table 3, and Supplementary Tables S7 and S8). In the training cohort, the trans-DLF model achieved an AUC of 0.97 (95% CI, 0.96–0.98), with an accuracy of 0.92, sensitivity of 0.96, and specificity of 0.87. This high performance was maintained in the validation cohort, with an AUC of 0.91 (95% CI, 0.86–0.96), and in the internal testing cohort, with an AUC of 0.90 (95% CI, 0.85–0.95). Importantly, the trans-DLF model exhibited good generalizability, achieving AUCs of 0.89 (95% CI, 0.84–0.94) and 0.89 (95% CI, 0.82–0.95) in external testing cohorts 1 and 2, respectively.

Fig. 3.

Fig. 3

Risk stratification performance for refractory Mycoplasma pneumoniae pneumonia (RMPP). (A–D) Receiver operating characteristic (ROC) curves comparing the transformer-based deep learning framework (trans-DLF), the 3D convolutional neural network (3D-CNN), the clinical model, and the multimodal nomogram in the validation cohort, internal testing cohort, and two external testing cohorts. (E–H) Waterfall plots illustrating the predicted probabilities of RMPP generated by the trans-DLF in the corresponding cohorts. An optimal cutoff of 0.5174 (the horizontal baseline) was used to classify cases. Blue bars below the baseline represent correctly classified non-RMPP cases. Orange bars above the baseline indicate correctly classified RMPP cases. Bars that cross the baseline represent misclassified cases. Abbreviations: Trans-DLF, Transformer-based deep learning framework; 3D-CNN, 3D convolutional neural network; AUC, area under the curve

Table 3.

Predictive performance of the deep learning and clinical models for refractory mycoplasma pneumoniae pneumonia

Models AUC (95% CI) ACC (95% CI) SEN (95% CI) SPE (95% CI) PPV (95% CI) NPV (95% CI) F1 Score (95% CI)
Trans-DLF
 Training 0.97 (0.96–0.98) 0.92 (0.89–0.94) 0.96 (0.94–0.98) 0.87 (0.83–0.91) 0.88 (0.84–0.92) 0.96 (0.93–0.98) 0.92 (0.89–0.94)
 Validation 0.91 (0.86–0.96) 0.85 (0.79–0.91) 0.87 (0.79–0.94) 0.83 (0.73–0.91) 0.83 (0.74–0.92) 0.87 (0.79–0.94) 0.85 (0.79–0.91)
 ITC 0.90 (0.85–0.95) 0.83 (0.76–0.89) 0.84 (0.75–0.92) 0.81 (0.72–0.90) 0.82 (0.72–0.90) 0.84 (0.75–0.92) 0.83 (0.75–0.89)
 ETC1 0.89 (0.84–0.94) 0.82 (0.78–0.86) 0.84 (0.76–0.91) 0.81 (0.76–0.86) 0.65 (0.56–0.73) 0.93 (0.89–0.96) 0.73 (0.66–0.79)
 ETC2 0.89 (0.82–0.95) 0.83 (0.76–0.90) 0.83 (0.72–0.92) 0.84 (0.73–0.93) 0.83 (0.73–0.93) 0.84 (0.74–0.93) 0.83 (0.74–0.90)
3D-CNN
 Training 0.95 (0.94–0.97) 0.79 (0.75–0.83) 0.99 (0.98–1.00) 0.59 (0.53–0.65) 0.71 (0.66–0.75) 0.99 (0.97–1.00) 0.83 (0.79–0.86)
 Validation 0.87 (0.82–0.93) 0.80 (0.73–0.86) 0.84 (0.75–0.92) 0.76 (0.66–0.86) 0.77 (0.68–0.87) 0.83 (0.73–0.92) 0.81 (0.73–0.87)
 ITC 0.87 (0.81–0.93) 0.69 (0.61–0.77) 0.88 (0.80–0.96) 0.50 (0.39–0.63) 0.64 (0.54–0.73) 0.81 (0.69–0.93) 0.74 (0.66–0.81)
 ETC1 0.82 (0.77–0.88) 0.80 (0.76–0.85) 0.78 (0.69–0.86) 0.81 (0.77–0.86) 0.63 (0.54–0.71) 0.90 (0.86–0.94) 0.69 (0.62–0.76)
 ETC2 0.83 (0.75–0.91) 0.77 (0.69–0.84) 0.75 (0.64–0.86) 0.78 (0.67–0.89) 0.77 (0.65–0.88) 0.77 (0.65–0.88) 0.76 (0.67–0.84)
Clinical
 Training 0.72 (0.67–0.76) 0.67 (0.63–0.71) 0.58 (0.52–0.64) 0.75 (0.70–0.80) 0.70 (0.64–0.76) 0.65 (0.58–0.70) 0.64 (0.58–0.69)
 Validation 0.72 (0.64–0.81) 0.71 (0.64–0.79) 0.65 (0.53–0.76) 0.78 (0.68–0.87) 0.74 (0.62–0.85) 0.70 (0.59–0.80) 0.69 (0.59–0.78)
 ITC 0.76 (0.68–0.84) 0.73 (0.66–0.81) 0.68 (0.56–0.79) 0.79 (0.68–0.88) 0.76 (0.64–0.86) 0.71 (0.61–0.81) 0.72 (0.61–0.80)
 ETC1 0.66 (0.60–0.73) 0.71 (0.66–0.76) 0.27 (0.19–0.36) 0.88 (0.84–0.92) 0.48 (0.35–0.61) 0.75 (0.70–0.80) 0.35 (0.25–0.44)
 ETC2 0.65 (0.55–0.76) 0.58 (0.49–0.67) 0.30 (0.18–0.43) 0.85 (0.75–0.94) 0.67 (0.48–0.85) 0.56 (0.45–0.67) 0.42 (0.27–0.54)

Note: Abbreviations: Trans-DLF, Transformer-based deep learning framework; 3D-CNN, 3D convolutional neural network; AUC, area under the curve; ACC, accuracy; SEN, sensitivity; SPE, specificity; PPV, positive prediction value; NPV, negative prediction value; CI, confidence interval; ITC, internal testing cohort; ETC1, external testing cohort 1; ETC2, external testing cohort 2

The AUC of the 3D-CNN baseline was numerically lower than that of the trans-DLF model, though this difference was not statistically significant, with AUCs ranging from 0.82 to 0.95. In contrast, the clinical model demonstrated markedly inferior discriminative capability, with AUCs ranging from 0.65 to 0.76 across all cohorts (all p < 0.001 vs. the trans-DLF) according to the DeLong test results, underscoring the limitation of relying solely on conventional clinical variables. Furthermore, no statistically significant AUC differences were observed between the trans-DLF and the multimodal nomogram (all p > 0.05).

DCA suggested favorable clinical utility of the trans-DLF (Fig. 4A–E). Across a wide range of threshold probabilities, the trans-DLF provided a greater net benefit than both the 3D-CNN and clinical model, while maintaining a net benefit close to that of the multimodal nomogram. Additionally, the calibration curve analysis (Fig. 4F) showed good agreement between the predicted probabilities and observed outcomes.

Fig. 4.

Fig. 4

Clinical benefit and calibration performance of the transformer-based deep learning framework (trans-DLF), the 3D convolutional neural network (3D-CNN), the clinical model, and the multimodal nomogram. (A–E) Decision curve analyses illustrating the net clinical benefit of the trans-DLF, the 3D-CNN, and the clinical model across the training, validation, internal testing, and two external testing cohorts. (F) Calibration plots of the trans-DLF in all cohorts. The curves demonstrate strong agreement between predicted and observed probabilities of refractory Mycoplasma pneumoniae pneumonia (RMPP). The diagonal dashed line represents perfect calibration. Abbreviations: Trans-DLF, Transformer-based deep learning framework; 3D-CNN, 3D convolutional neural network; ITC, internal testing cohort; ETC1, external testing cohort 1; ETC2, external testing cohort 2

Although hemoglobin was not retained in the multiple-imputation analysis, the performance of the clinical and multimodal models and the conclusions drawn from the AUC comparisons with the trans-DLF remained materially unchanged (Supplementary Tables S9–S10 and Supplementary Results 4.1).

Subgroup analysis

To further evaluate the trans-DLF’s robustness, subgroup analyses of the combined external testing cohorts were performed across key clinical and demographic variables (Fig. 5 and Supplementary Table S11).

Fig. 5.

Fig. 5

Subgroup analysis of the transformer-based deep learning framework (trans-DLF) in the combined external testing cohort. Forest plots illustrate the model’s performance across different clinical and demographic subgroups, measured by area under the curve (AUC), accuracy, and sensitivity. Cutoff values for pre-visit fever duration (PFD), C-reactive protein (CRP), and neutrophil ratio (NR) were 6.5 days, 18.44 mg/L, and 67.34%, respectively. Abbreviations: AUC, area under the curve; PFD, pre-visit fever duration; CRP, C-reactive protein; NR, neutrophil ratio; CI, confidence interval

The trans-DLF achieved AUCs of 0.87 (95% CI, 0.77–0.98) for patients aged under 5 years, 0.90 (95% CI, 0.86–0.94) for those aged 5–12 years, and 0.81 (95% CI, 0.66–0.96) for those aged over 12 years. Furthermore, the model showed similar stability when stratified by clinical indicators, including PFD, CRP levels, and NR levels. Of particular clinical importance, the model retained a robust predictive ability in the outpatient subset (n = 74), achieving an AUC of 0.87 (95% CI, 0.78–0.96).

Performance at Alternative Operating Thresholds

The two exploratory thresholds showed different transportability across cohorts (Supplementary Table S12). In the validation cohort, the sensitivity-oriented cutoff of 0.45 achieved a sensitivity of 0.91 (95% CI, 0.84–0.97). However, sensitivity decreased to 0.88, 0.87, and 0.83 in the internal and two external testing cohorts, respectively. In the outpatient subset, sensitivity was 0.78 (95% CI, 0.62–0.91), with 7 of 32 RMPP cases missed. In contrast, the specificity-oriented cutoff of 0.72 showed more consistent performance, maintaining a specificity of 0.89–0.90 across all independent testing cohorts and the outpatient subset, with positive predictive values of 0.74–0.87 and sensitivities of 0.72–0.78.

Model interpretability

Grad-CAM was used to provide post hoc visualization of image regions associated with the predictions of the trans-DLF (Fig. 6). In RMPP cases, the model’s attention was concentrated on extensive consolidation, a well-recognized radiological marker for refractory disease. Conversely, in non-RMPP cases characterized by smaller consolidations and ground-glass opacities (GGOs), the model selectively focused on the consolidated areas while assigning significantly lower weights to GGO regions.

Fig. 6.

Fig. 6

Representative CT images and corresponding gradient-weighted class activation mapping (Grad-CAM) visualizations illustrating the prediction interpretability of the transformer-based deep learning framework (trans-DLF). Each row, from left to right, shows the original axial CT image and the Grad-CAM heatmap overlaid on the CT image to highlight model attention. (A–B) In patients diagnosed with refractory Mycoplasma pneumoniae pneumonia (RMPP), Grad-CAM visualizations suggested broad and intense activations predominantly located in the right upper lobe, corresponding to extensive areas of consolidation. (C–D) In contrast, in non-RMPP patients who exhibited relatively smaller areas of consolidation alongside ground-glass opacities (GGOs), the activation maps appeared to focus primarily on the consolidated regions, with lower activation in the GGO areas. Abbreviations: RMPP, refractory Mycoplasma pneumoniae pneumonia

Discussion

This study developed and validated a deep learning framework (trans-DLF) that leveraged only baseline chest CT data to automatically stratify the risk of RMPP in children. The model exhibited consistent and robust discriminative performance across multiple cohorts, including two independent external testing sets and clinically relevant subgroups such as outpatients. Notably, despite relying exclusively on imaging data, the trans-DLF showed no statistically significant AUC difference from the multimodal nomogram and yielded a higher net benefit than the 3D-CNN across most threshold probabilities in DCA. Collectively, these findings support the trans-DLF as a clinically promising CT-only tool for RMPP risk stratification in pediatric MPP.

The post-imaging phase represents a critical decision-making window during which clinicians must promptly determine whether to initiate corticosteroids or escalate antibiotic therapy. While current multimodal models are often constrained by their dependence on time-intensive laboratory data, manual entry, or complex image preprocessing [10, 27, 30, 37, 40], the CT-based unimodal model provides rapid, automated risk stratification from existing scans without requiring additional testing. However, the model is intended for patients who have already undergone clinically indicated CT rather than for population screening or early-stage prediction. Because CT was generally performed in patients with clinical non-improvement or suspected severe pulmonary involvement, the cohort was enriched for higher-risk cases, with an RMPP prevalence of 43.95%, and imaging was obtained a median of 4 days after the initiation of macrolide therapy. Accordingly, the model should be interpreted as a short-term post-CT risk stratification tool, and its PPV, net clinical benefit, and generalizability should be considered within this selected population until further validated in earlier-stage, lower-prevalence, or unselected MPP cohorts.

To ensure the robustness and generalizability of our findings, a multi-center study design was employed, encompassing a national referral center and two independent external institutions. This approach was specifically intended to enhance population diversity and capture a broad spectrum of clinical settings within the hierarchical healthcare system. Across these diverse settings, the trans-DLF demonstrated high discriminative ability, with AUCs of 0.90 in internal validation and 0.89 across two independent external cohorts. Its performance remained stable in pragmatic outpatient and emergency scenarios (AUC = 0.87). Although a slight decrease was noted in the small subgroup of patients over 12 years old (AUC = 0.81), the wide 95% CI (0.66–0.96) suggests this is likely due to the limited sample size rather than an intrinsic algorithmic deficit. Overall, these findings support the transportability of model discrimination across institutions, care settings, and patient subgroups.

However, consistent discrimination across cohorts did not guarantee stable threshold-dependent performance. All three operating thresholds, including the primary Youden-derived threshold and the two exploratory thresholds, were determined exclusively in the validation cohort and applied unchanged to all testing cohorts, without adjustment for cohort-specific RMPP prevalence or recalibration of predicted probabilities. This design minimized optimistic bias from test-set optimization and enabled a direct assessment of threshold transportability. It also demonstrated the expected effect of outcome prevalence on predictive values. Because external testing cohort 1 had a lower RMPP prevalence than the validation cohort and external testing cohort 2, application of the same thresholds yielded a lower PPV and a higher NPV. The exploratory thresholds also showed asymmetric transportability. The sensitivity-oriented cutoff of 0.45 met the prespecified target in the validation cohort but achieved a sensitivity of only 0.78 in the outpatient subset, limiting its suitability for stand-alone triage or exclusion of RMPP. By contrast, the specificity-oriented cutoff of 0.72 maintained a specificity of 0.89–0.90 across the independent testing cohorts and may serve as a conservative high-risk signal. Prospective implementation should therefore include setting-specific calibration and independent validation of thresholds selected according to the intended clinical use and the relative consequences of false-positive and false-negative classifications.

From a methodological perspective, the trans-DLF offers a plausible framework for modeling diffuse pneumonia by using self-attention to capture global contextual relationships and interslice dependencies across the entire lung volume [41, 42]. Compared with traditional 3D-CNNs, which primarily emphasize local spatial features, the transformer-based architecture may be useful for characterizing the distribution and extent of pulmonary abnormalities, both of which are clinically relevant in RMPP. In the present study, the AUC differences between the trans-DLF and 3D-CNN were not statistically significant; therefore, the present findings do not establish definitive architectural superiority. However, DCA showed that the trans-DLF yielded a higher net benefit than the 3D-CNN across most evaluated threshold probabilities, suggesting potential value for clinical decision support. Furthermore, despite its streamlined unimodal design, the trans-DLF showed no statistically significant AUC difference from the multimodal nomogram. These findings suggest that the transformer architecture may capture high-dimensional imaging features associated with systemic inflammation and tissue damage. Therefore, CT-only transformer-based modeling may offer practical value for post-CT risk stratification by providing timely risk estimates from a single imaging source when timely clinical decision support may be beneficial.

To improve model interpretability, Grad-CAM was used to visualize image regions associated with model predictions. The resulting activation maps suggested that predictions were influenced by pulmonary lesions rather than predominantly by background structures. In particular, stronger activation was observed in regions of consolidation, a recognized imaging feature associated with RMPP, whereas weaker activation was observed in areas of nonspecific GGO [23, 25]. This agreement with established radiologic knowledge provides supportive evidence for the clinical plausibility of the model predictions.

Despite these promising results, several limitations should be acknowledged. First, because the study included only children who underwent clinically indicated CT and CT was obtained relatively close to the minimum treatment duration required for formal RMPP diagnosis, the applicability of the model to unselected, lower-risk, or earlier-stage MPP populations remains uncertain and requires prospective validation. Second, although Grad-CAM heatmaps provide valuable visual explanations, they are a post hoc interpretation technique; more comprehensive mapping between the learned features and a broader spectrum of radiologic semantics would further strengthen explainability. Third, despite multi-center validation, prospective studies in varied healthcare settings and diverse ethnic populations are needed to fully establish the model’s generalizability. In addition, the reference clinical model was developed using univariable pre-screening, which may have excluded predictors that became informative only after adjustment and thereby introduced selection bias. Finally, the clinical utility of the trans-DLF, including its effects on workflow efficiency, decision-making, and patient outcomes, requires prospective evaluation. The contributions of individual preprocessing steps also remain to be established through systematic ablation analyses.

Conclusions

In summary, the trans-DLF was developed and validated as a rapid, automated research prototype for post-CT risk stratification of RMPP in children undergoing clinically indicated chest CT. By using CT data alone, the model enables timely risk assessment without requiring additional laboratory inputs and may support subsequent clinical reassessment and management planning. The trans-DLF may therefore streamline imaging-based risk stratification in acute care settings. However, it is not intended for population-level screening, and its applicability to unselected or lower-risk MPP populations requires prospective validation.

Supplementary Information

Below is the link to the electronic supplementary material.

Supplementary Material 1 (2.4MB, docx)

Acknowledgements

None.

Abbreviations

MPP

Mycoplasma pneumoniae pneumonia

RMPP

Refractory mycoplasma pneumoniae pneumonia

CT

Computed tomography

PFD

Pre-visit fever duration

CRP

C-reactive protein

NR

Neutrophil ratio

DL

Deep learning

Trans-DLF

Transformer-based deep learning framework

3D-CNN

Three-dimensional convolutional neural network

AUC

Area under the receiver operating characteristic curve

DCA

Decision curve analysis

Author contributions

Z.Y., G.H., L.S., and G.Y. conceptualized the study. Z.Y., G.H., J.L., W.H., F.Y., Z.L., Z.C.Z., B.Z., Z.Zhou, W.T., Z.Zhu, and M.D. designed the methodology. Z.Y., Z.L., F.Y., and Z.Zhu collected and curated the data. Z.Y., G.H., W.H., and Z.C.Z. analyzed and interpreted the data. Z.Y., W.T., and Z.Zhou contributed to software development and visualization. Z.J., L.S., and G.Y. provided funding, resources, supervision, and project administration. Z.Y. and G.H. drafted the manuscript. The manuscript was revised by all authors, and the final version was approved by all authors prior to submission.

Funding

This study has received funding by the National Natural Science Foundation of China (NSFC No. 82171934), the Medical Health Science and Technology Project of Zhejiang Provincial Health Commission (2023KY832) and Peking Union Medical College Hospital Talent Cultivation Program Category C (UBJ10148).

Data availability

The datasets generated and/or analyzed during the current study are not publicly available due to ethical and privacy considerations, but are available from the corresponding author on reasonable request.

Declarations

Ethics approval and consent to participate

This study was conducted in accordance with the Declaration of Helsinki and approved by the institutional review boards of the Children’s Hospital of Zhejiang University School of Medicine, Rizhao Hospital of Traditional Chinese Medicine, and Peking Union Medical College Hospital (2024-IRB-0189-P-01, 2024-IRB-039, and 1-23PJ078). The requirement for individual informed consent was waived due to the retrospective design.

Consent for publication

Not applicable.

Competing interests

The authors of this manuscript declare relationships with the following companies: ZZhou and WT were employed by Beijing Deepwise and League of PhD Technology Co. Ltd. They had no control on the study raw data and analysis.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Zhoumeng Ying and Ge Hu contributed equally to this work.

Contributor Information

Lan Song, Email: songl@pumch.cn.

Gang Yu, Email: yugbme@zju.edu.cn.

7. References

  • 1.Principi N, Esposito S. Management of severe community-acquired pneumonia of children in developing and developed countries. Thorax. 2011;66(9):815–22. [DOI] [PubMed] [Google Scholar]
  • 2.National Health Commission of the People’s Republic of China. Guidelines for the diagnosis and treatment of Mycoplasma pneumoniae pneumonia in children (2023 edition). Inter J Epidemiol Infect Dis. 2023;50(2):79–85. [Google Scholar]
  • 3.Wang Y, Zhou Y, Bai G, et al. Expert consensus on the diagnosis and treatment of macrolide-resistant Mycoplasma pneumoniae pneumonia in children. World J Pediatr. 2024;20(9):901–14. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Sun Y, Li P, Jin R, et al. Characterizing the epidemiology of Mycoplasma pneumoniae infections in China in 2022–2024: a nationwide cross-sectional study of over 1.6 million cases. Emerg Microbes Infect. 2025;14(1):2482703. [DOI] [PMC free article] [PubMed]
  • 5.Lee GE, Lorch SA, Sheffler-Collins S, Kronman MP, Shah SS. National hospitalization trends for pediatric pneumonia and associated complications. Pediatrics. 2010;126(2):204–13. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Yang B, Zhang W, Gu W, et al. Differences of clinical features and prognosis between Mycoplasma pneumoniae necrotizing pneumonia and non-Mycoplasma pneumoniae necrotizing pneumonia in children. BMC Infect Dis. 2021;21(1):797. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Zhang X, Gu W, Chen Z. Epidemiological analysis of refractory mycoplasma Pneumoniae pneumonia in children in Suzhou from 2011 to 2015. J Pediatr Pharm. 2019;25(08):7–10. [Google Scholar]
  • 8.Shin JE, Cheon BR, Shim JW, et al. Increased risk of refractory Mycoplasma pneumoniae pneumonia in children with atopic sensitization and asthma. Korean J Pediatr. 2014;57(6):271–7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Gao L, Yin J, Hu Y, et al. The epidemiology of paediatric Mycoplasma pneumoniae pneumonia in North China: 2006 to 2016. Epidemiol Infect. 2019;147:e192. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Shen F, Dong C, Zhang T, et al. Development of a nomogram for predicting refractory Mycoplasma pneumoniae pneumonia in children. Front Pediatr. 2022;10:813614. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Tamura A, Matsubara K, Tanaka T, Nigami H, Yura K, Fukaya T. Methylprednisolone pulse therapy for refractory Mycoplasma pneumoniae pneumonia in children. J Infect. 2008;57(3):223–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Tong L, Huang S, Zheng C, Zhang Y, Chen Z. Refractory Mycoplasma pneumoniae pneumonia in children: Early recognition and management. J Clin Med. 2022;11(10):2824. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Lemaître C, Angoulvant F, Gabor F, et al. Necrotizing pneumonia in children: Report of 41 cases between 2006 and 2011 in a French tertiary care center. Pediatr Infect Dis J. 2013;32(10):1146–9. [DOI] [PubMed] [Google Scholar]
  • 14.Zheng HQ, Ma YC, Chen YQ, Xu YY, Pang YL, Liu L. Clinical analysis and risk factors of bronchiolitis obliterans after Mycoplasma pneumoniae pneumoniae. IDR. 2022;15:4101–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Ling Y, Ning J, Xu Y. Explore the predictive value of peripheral blood cell parameters in refractory Mycoplasma pneumoniae pneumonia in children over 6 years old. Front Pediatr. 2021;9:659677. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.The Subspecialty Group of Respiratory, the Society of Pediatrics, Chinese Medical Association, China Medicine Education Association Committee on Pediatrcis. Editorial Board, Chinese Journal of Pediatrics. Guidelines for the management of community–acquired pneumonia in children (2024 revision). Chin J Pediatr. 2024;62(10):920–30. [DOI] [PubMed] [Google Scholar]
  • 17.Harris M, Clark J, Coote N, et al. British Thoracic Society guidelines for the management of community acquired pneumonia in children: update 2011. Thorax. 2011;66(Suppl 2):ii1–23. [DOI] [PubMed] [Google Scholar]
  • 18.Devitt M. PIDS and IDSA issue management guidelines for community-acquired pneumonia in infants and young children. afp. 2012;86(2):196–202. [PubMed] [Google Scholar]
  • 19.Pabary R, Balfour-Lynn IM. Complicated pneumonia in children. Breathe. 2013;9(3):210–22. [Google Scholar]
  • 20.Bradley JS, Byington CL, Shah SS, et al. The management of community-acquired pneumonia in infants and children older than 3 months of age: Clinical practice guidelines by the Pediatric Infectious Diseases Society and the Infectious Diseases Society of America. Clin Infect Dis. 2011;53(7):e25–76. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Yu L, Chen GH, Fletcher JG, et al. Deep learning in CT image reconstruction and processing: techniques, performance evaluation, radiation dose, and future perspective. Br J Radiol. 2025;98(1175):1775–87. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Fletcher JG, Inoue A, Bratt A, et al. Photon-counting CT in thoracic imaging: early clinical evidence and incorporation into clinical practice. Radiology. 2024;310(3):e231986. [DOI] [PubMed] [Google Scholar]
  • 23.Gong H, Sun B, Chen Y, Chen H. The risk factors of children acquiring refractory mycoplasma pneumoniae pneumonia. Med (Baltim). 2021;100(11):e24894. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Zhai YY, Wu SZ, Yang Y, et al. An analysis of 20 clinical cases of Refractory Mycoplasma pneumonia in children. Ann Palliat Med. 2020;9(5):2592–9. [DOI] [PubMed] [Google Scholar]
  • 25.Chen C, Chen S, Yang C, et al. Risk factors for refractory Mycoplasma pneumoniae in Chinese children: A meta-analysis. Front Pediatr. 2025;13:1512689. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Qian Y, Tao Y, Wu L, et al. Model based on the automated AI-driven CT quantification is effective for the diagnosis of refractory Mycoplasma pneumoniae pneumonia. Sci Rep. 2024;14(1):16172. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Bi Y, Zhu Y, Ma X, et al. Development of a scale for early prediction of refractory Mycoplasma pneumoniae pneumonia in hospitalized children. Sci Rep. 2021;11(1):6595. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Liu G, Wang G, Yang Z, et al. A lung ultrasound-based nomogram for the prediction of refractory Mycoplasma pneumoniae pneumonia in hospitalized children. IDR. 2022;15:6343–55. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Jiang Y, Wang X, Li L, Wang Y, Wang X, Zou Y. Predicting and interpreting key features of refractory Mycoplasma pneumoniae pneumonia using multiple machine learning methods. Sci Rep. 2025;15:18029. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Li M, Wei X, Zhang SS, et al. Recognition of refractory Mycoplasma pneumoniae pneumonia among Mycoplasma pneumoniae pneumonia in hospitalized children: development and validation of a predictive nomogram model. BMC Pulm Med. 2023;23(1):383. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Singh SP, Wang L, Gupta S, Goli H, Padmanabhan P, Gulyás B. 3D Deep Learning on Medical Images: A Review. Sens (Basel). 2020;20(18):5097. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Raghu M, Unterthiner T, Kornblith S, Zhang C, Dosovitskiy A. Do vision transformers see like convolutional neural networks? Adv Neural Inf Process Syst. 2021;34:12116–28. [Google Scholar]
  • 33.DeLong ER, DeLong DM, Clarke-Pearson DL. Comparing the areas under two or more correlated receiver operating characteristic curves: A nonparametric approach. Biometrics. 1988;44(3):837–45. [PubMed] [Google Scholar]
  • 34.Yan C, Xue GH, Zhao HQ, Feng YL, Cui JH, Yuan J. Current status of Mycoplasma pneumoniae infection in China. World J Pediatr. 2024;20(1):1–4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D. Grad-CAM: visual explanations from deep networks via gradient-based localization. In: Proceedings of the IEEE International Conference on Computer Vision (ICCV). 2017. p. 618-626.
  • 36.da Silva-Filho JE, Fontenele IR, Marques MB, et al. CLAIRE: a unified framework for reporting and assessing artificial intelligence in diagnostic imaging. Br J Radiol Published online Febr. 2026;15:tqag037. [DOI] [PubMed] [Google Scholar]
  • 37.Lu W, Wu X, Xu Y, et al. Predictive value of bronchoscopy combined with CT score for refractory mycoplasma pneumoniae pneumonia in children. BMC Pulm Med. 2024;24:251. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Wu X, Lu W, Liu W, et al. Predictive value of an early comprehensive assessment model for refractory mycoplasma pneumoniae pneumonia and internal validation. BMC Infect Dis. 2025;25:744. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Wang L, Lu S, Feng Z, et al. The early examination of combined serum and imaging data under flexible fiberoptic bronchoscopy as a novel predictor for refractory Mycoplasma pneumoniae pneumonia diagnosis. Medicine. 2017;96(50):e9364. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Mu S, Zhai J, Guo Y, Huang B, Zou Y. Combining circ_0054633 and clinical features to predict refractory Mycoplasma pneumoniae pneumonia in children. Sci Rep. 2025;15(1):31406. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Shamshad F, Khan S, Zamir SW, et al. Transformers in medical imaging: A survey. Med Image Anal. 2023;88:102802. [DOI] [PubMed] [Google Scholar]
  • 42.Bai F, Deng Y, Li L, et al. Advancements and challenges in brain cancer therapeutics. Explor (Beijing). 2024;4(6):20230177. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Material 1 (2.4MB, docx)

Data Availability Statement

The datasets generated and/or analyzed during the current study are not publicly available due to ethical and privacy considerations, but are available from the corresponding author on reasonable request.


Articles from BMC Medical Imaging are provided here courtesy of BMC

RESOURCES