Related Experiment Video
Updated: Jul 5, 2026

Transurethral Induction of Mouse Urinary Tract Infection
Published on: August 5, 2010
Enhancing predictive accuracy for urinary tract infections post-pediatric pyeloplasty with explainable AI: an
Hongyang Wang1,2, Junpeng Ding3, Shuochen Wang4
1Department of Urology, Capital Institute of Pediatrics, Beijing, China.
Insights
A new ensemble model accurately predicts urinary tract infections (UTIs) after pediatric pyeloplasty, improving surgical outcomes. This machine learning and deep learning approach helps prevent infections and re-obstruction, reducing healthcare burdens.
Area of Science:
- Pediatric Urology
- Machine Learning in Medicine
- Predictive Analytics
Background:
- Ureteropelvic junction obstruction (UPJO) is a common pediatric condition treated with pyeloplasty.
- Postoperative urinary tract infections (UTIs) affect over 30% of pediatric pyeloplasty patients, increasing morbidity and healthcare costs.
- Current UTI prediction methods are limited, necessitating advanced multifactorial models.
Purpose of the Study:
- To develop and evaluate a robust, multifactorial predictive model for postoperative UTIs following pediatric pyeloplasty.
- To compare the performance of traditional machine learning algorithms with deep learning models for UTI prediction.
- To introduce an ensemble learning model integrating machine learning and deep learning for enhanced predictive accuracy.
Main Methods:
- Retrospective analysis of 764 pediatric patients undergoing pyeloplasty.
- Extraction and analysis of 25 clinical features, including demographics, medical history, and surgical details.
- Comparative evaluation of Logistic Regression, SVM, Random Forest, XGBoost, LightGBM, and TabNet models, followed by development of an ensemble meta-learner model utilizing SHAP for visualization.
Main Results:
- The ensemble model combining LightGBM and TabNet achieved the highest predictive accuracy (Accuracy: 0.80, AUC: 0.80), outperforming individual models.
- Deep learning model TabNet showed superior performance over traditional machine learning algorithms before feature engineering.
- SHAP analysis identified eGFR and ALB as significant predictors of post-pyeloplasty UTIs.
Conclusions:
- The developed ensemble model is the first to integrate machine learning and deep learning for predicting UTIs post-pediatric pyeloplasty.
- This approach reduces reliance on feature engineering and mitigates overfitting in deep learning models, especially with limited medical data.
- The model supports proactive interventions, potentially reducing postoperative infections, re-obstruction rates, and associated healthcare burdens.
Abstract:
Ureteropelvic junction obstruction (UPJO) is a common pediatric condition often treated with pyeloplasty. Despite the surgical intervention, postoperative urinary tract infections (UTIs) occur in over 30% of cases within six months, adversely affecting recovery and increasing both clinical and economic burdens. Current prediction methods for postoperative UTIs rely on empirical judgment and limited clinical parameters, underscoring the need for a robust, multifactorial predictive model. We retrospectively analyzed data from 764 pediatric patients who underwent unilateral pyeloplasty at the Children's Hospital affiliated with the Capital Institute of Pediatrics between January 2012 and January 2023. A total of 25 clinical features were extracted, including patient demographics, medical history, surgical details, and various postoperative indicators. Feature engineering was initially performed, followed by a comparative analysis of five machine learning algorithms (Logistic Regression, SVM, Random Forest, XGBoost, and LightGBM) and the deep learning TabNet model. This comparison highlighted the respective strengths and limitations of traditional machine learning versus deep learning approaches. Building on these findings, we developed an ensemble learning model, meta-learner, that effectively integrates both methodologies, and utilized SHAP(Shapley Additive Explanation, SHAP) to complete the visualization of the integrated black-box model. Among the 764 pediatric pyeloplasty cases analyzed, 265 (34.7%) developed postoperative UTIs, predominantly within the first three months. Early UTIs significantly increased the likelihood of re-obstruction (P < 0.01), underscoring the critical impact of infection on surgical outcomes. In evaluating the performance of six algorithms, TabNet outperformed traditional models, with the order from lowest to highest as follows: Logistic Regression, SVM, Random Forest, XGBoost, LightGBM, and TabNet. Feature engineering markedly improved the predictive accuracy of traditional models, as evidenced by the enhanced performance of LightGBM (Accuracy: 0.71, AUC: 0.78 post-engineering). The proposed ensemble approach, combining LightGBM and TabNet with a Logistic Regression meta-learner, achieved superior predictive accuracy (Accuracy: 0.80, AUC: 0.80) while reducing dependence on feature engineering. SHAP analysis further revealed eGFR and ALB as significant predictors of UTIs post-pyeloplasty, providing new clinical insights into risk factors. In summary, we have introduced the first ensemble prediction model, incorporating both machine learning and deep learning (meta-learner), to predict urinary tract infections following pediatric pyeloplasty. This ensemble approach mitigates the dependency of machine learning models on feature engineering while addressing the issue of overfitting in deep learning-based models like TabNet, particularly in the context of small medical datasets. By improving prediction accuracy, this model supports proactive interventions, reduces postoperative infections and re-obstruction rates, enhances pyeloplasty outcomes, and alleviates health and economic burdens.Level of evidence IV Case series with no comparison group.
Related Concept Videos
Urinary Tract Infection I: Introduction
Urinary Tract Infection III: Diagnostic Studies and Interprofessional Care
Acute Pyelonephritis I: Introduction

