# AI prediction of extubation success within a novel three-stage liberation framework: development, validation, and implementation of the Stage-3 model

**Authors:** Chin-Ming Chen, Yi-Chen Shao, Chung-Feng Liu, Mei-I Sung, Yu-Ting Shen, Shian-Chin Ko, Chih-Cheng Lai

PMC · DOI: 10.3389/fmed.2025.1725864 · 2026-01-10

## TL;DR

This paper introduces an AI model to predict successful extubation after a spontaneous breathing trial, using electronic medical records to guide timely tube removal decisions.

## Contribution

A novel AI model for Stage-3 extubation success prediction using EMR data, with a web-based prototype for real-world implementation.

## Key findings

- LightGBM achieved the highest performance with AUC 0.861 and high PPV (0.977) for predicting extubation success.
- SHAP analysis identified SpO₂/FiO₂, department, muscle strength, and dynamic compliance as key predictors.
- A web-based prototype was developed to verify the model's usability and feasibility in clinical settings.

## Abstract

We propose a three-stage liberation decision framework (Stage-1 readiness, Stage-2 SBT success, Stage-3 extubation). While prior tools emphasize earlier stages, Stage-3—deciding whether to remove the tube after SBT—remains under-modeled. This study develops an AI model to predict successful extubation (no reintubation or non-invasive ventilation within 48 h) using routinely collected electronic medical record data, eliminating the need for additional manual bedside measurements.

Single-center retrospective analysis including 5,202 adults who underwent elective extubation after SBT success. Seven algorithms (Random Forest, LightGBM, XGBoost, Logistic Regression, multilayer perceptron, Voting, Stacking) were trained and evaluated by accuracy, sensitivity, specificity, PPV, NPV, and AUC; interpretability used SHAP; traditional indices (RSBI, etc.) served as comparators. We also implemented a working web-based prototype that verifies the model’s usability and real-world feasibility, providing a foundation for future prospective clinical evaluation.

LightGBM performed best (accuracy 0.797, sensitivity 0.800, specificity 0.763, PPV 0.977, NPV 0.231, AUC 0.861). XGBoost and Voting showed AUC 0.850 with slightly lower accuracies (0.783, 0.771); Stacking AUC 0.829; Random Forest AUC 0.818; MLP and Logistic Regression AUC 0.785 each. SHAP analysis identified SpO₂/FiO₂, department, bilateral lower-limb muscle strength, and dynamic compliance (Cdyn) as most influential predictors of extubation success.

Within a three-stage liberation framework, a Stage-3 extubation-focused AI model—particularly LightGBM—outperformed traditional indices and offers explainable, EMR-based predictors to support timely tube removal. A web-based prototype has been developed for future prospective validation.

## Full-text entities

- **Genes:** ITIH2 (inter-alpha-trypsin inhibitor heavy chain 2) [NCBI Gene 3698] {aka H2P, ITI-HC2, SHAP}, SHC2 (SHC adaptor protein 2) [NCBI Gene 25759] {aka SCK, SHCB, SLI}
- **Diseases:** C-CL (MESH:D002971), critically ill (MESH:D016638), cough (MESH:D003371), cardiopulmonary diseases (MESH:D006323), limb weakness (MESH:D018908), TS (MESH:D005879), pneumonia (MESH:D011014), COPD (MESH:D029424), delirium (MESH:D003693), respiratory failure (MESH:D012131), AI (MESH:C538142), Coma (MESH:D003128), airway trauma (MESH:D000402), ventilator-associated pneumonia (MESH:D053717)
- **Chemicals:** Oxygen (MESH:D010100), MOST111-2410-H-384-001 (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12870664/full.md

---
Source: https://tomesphere.com/paper/PMC12870664