Development and validation of an explainable model for Mycoplasma pneumoniae infection in children

Xin Yang1, Liwen Zhang2, Yong Yin2,3,4

  • 1Department of Respiratory Medicine, Linyi Maternal and Child Healthcare Hospital, Linyi Branch of Shanghai Children's Medical Center, Linyi City, Shandong Province, China.

Scientific Reports
|June 3, 2026
PubMed

Insights

Researchers developed an explainable AI model for early Mycoplasma pneumoniae (MP) infection diagnosis in children. The model, identifying key immune markers like TNFβ and IL-2, improved clinician trust and usage after deployment.

Area of Science:

  • Pediatric Infectious Diseases
  • Artificial Intelligence in Medicine
  • Immunology

Background:

  • Mycoplasma pneumoniae (MP) infection is a common cause of childhood respiratory illness.
  • Accurate and early diagnosis is crucial for effective management.
  • Existing diagnostic methods may have limitations in speed or accessibility.

Purpose of the Study:

  • To develop and validate an explainable early diagnostic model for MP infection in children.
  • To assess the impact of the model on clinician perceptions and trust.
  • To identify key clinical and immunological features predictive of MP infection.

Main Methods:

  • Development of seven diagnostic models using Recursive Feature Elimination (RFE) for feature selection.
  • Validation using internal test sets and temporal validation cohorts (2023-2024 data).
  • Model interpretability using SHAP analysis and deployment via Streamlit for clinician feedback.
  • Serological definition of MP infection based on MP-IgM/IgG titer changes.

Main Results:

  • The optimal explainable model achieved AUCs of 0.89 (internal) and 0.84 (temporal validation) for identifying serology-defined MP infection.
  • Tumor Necrosis Factor beta (TNFβ) and Interleukin-2 (IL-2) were identified as high-impact predictive features.
  • Clinician trust and model usage significantly increased after three months of deployment (P < 0.001).

Conclusions:

  • Explainable AI models can effectively support the early identification of MP infection in children.
  • Immune markers TNFβ and IL-2 show promise for early MP diagnosis, warranting further investigation.
  • Deployment of AI tools can enhance clinician confidence and adoption in diagnostic support.