To explore or not: machine learning models for intraoperative decision on testicular exploration in infants under 3

Yonghua Fu1,2, Guobin Liu1,2, Zhendi Tang1,2

  • 1National Clinical Research Center for Child Health and Disorders, Ministry of Education Key Laboratory of Child Development and Disorders, Chongqing Key Laboratory of Pediatrics, Chongqing, 400014, China.

BMC Surgery
|July 2, 2026
PubMed

Insights

A machine learning model accurately predicts testicular necrosis risk in infants with incarcerated inguinal hernia (IIH). This tool integrates ultrasound and lab data to guide surgical decisions and improve outcomes.

Area of Science:

  • Pediatric Surgery
  • Machine Learning in Medicine
  • Diagnostic Imaging

Background:

  • Incarcerated inguinal hernia (IIH) in infants poses a risk of testicular damage.
  • Current methods for assessing testicular viability preoperatively are limited.
  • Objective prediction of necrosis is crucial for timely intervention.

Purpose of the Study:

  • Develop a machine learning (ML) model for preoperative prediction of testicular necrosis risk in male infants under 3 months with IIH.
  • Address limitations of current assessment methods for testicular viability.
  • Enhance clinical decision-making in IIH management.

Main Methods:

  • Retrospective analysis of 288 male infants with IIH undergoing emergency surgery.
  • Training ten ML models using preoperative variables: testicular blood flow, echotexture, incarceration duration, procalcitonin, and neutrophil-to-lymphocyte ratio.
  • Evaluating model performance using ROC AUC, PR AUC, accuracy, precision, recall, F1-score, and SHAP analysis for interpretability.

Main Results:

  • The Gradient Boosting ML model demonstrated superior performance with a ROC AUC of 0.940 and recall of 0.889.
  • SHAP analysis identified key predictors: absent testicular blood flow, heterogeneous echotexture, prolonged incarceration, and elevated procalcitonin and neutrophil-to-lymphocyte ratio.
  • The model provides an interpretable prediction of testicular necrosis risk.

Conclusions:

  • An ML model effectively predicts preoperative testicular necrosis risk in infants with IIH.
  • Integration of ultrasound, serological markers, and clinical data offers an interpretable tool.
  • External validation in multi-center prospective cohorts is necessary before clinical implementation to optimize outcomes.
Abstract

Related Concept Videos