Hypoxemia prediction in pediatric patients under general anesthesia using machine learning: A retrospective observational study and external validation

PLoS One. 2026 Jan 8;21(1):e0339276. doi: 10.1371/journal.pone.0339276. eCollection 2026.

Abstract

Background: Pediatric patients under general anesthesia are particularly vulnerable to hypoxemia, which can lead to rapid oxygen desaturation. This vulnerability necessitates heightened vigilance from anesthesiologists, making pediatric anesthesia management especially challenging. Continuous intraoperative monitoring of oxygenation is critical. However, traditional methods relying solely on SpO2 readings may be insufficient and prone to inaccuracies.

Methods: This study aimed to develop and externally validate various machine learning models to predict hypoxemia in pediatric patients under general anesthesia. This retrospective observational study included 800 pediatric cases from Seoul National University Hospital and 134 pediatric cases from Chungnam National University Hospital. Patient data, including vital signs and ventilator parameters sampled every 2 seconds, were analyzed. Four machine learning models (XGBoost, LSTM, InceptionTime, and Transformer) were evaluated using area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve (AUPRC), and F1-score.

Results: XGBoost achieved the highest performance in internal validation (AUROC, 0.85), whereas the Transformer model demonstrated the best performance in external validation (AUROC, 0.83). Reducing the observation window from 1 minute to 10 seconds lowered the AUPRC but preserved high AUROC.

Conclusions: The XGBoost and Transformer models demonstrated robust performance in predicting intraoperative hypoxemia in pediatric patients under general anesthesia across two hospitals. Adjustments for age-related variations did not enhance model performance. Future research should focus on developing machine learning models that can accurately distinguish true hypoxemia, leading to clinically significant improvements in patient outcomes.

Publication types

  • Observational Study
  • Validation Study

MeSH terms

  • Adolescent
  • Anesthesia, General* / adverse effects
  • Child
  • Child, Preschool
  • Female
  • Humans
  • Hypoxia* / diagnosis
  • Hypoxia* / etiology
  • Infant
  • Machine Learning*
  • Male
  • ROC Curve
  • Retrospective Studies