Abstract
Extubation failure (EF) remains a critical challenge in intensive care units (ICUs), leading to increased mortality and healthcare costs. This study leverages the Light Gradient Boosting Machine (LightGBM) to predict EF using records from 3,636 adult patients in the MIMIC-III database. By integrating 68 clinical features and employing SHapley Additive exPlanations (SHAP) for interpretability, the proposed model achieves superior predictive performance compared to traditional machine learning methods like Artificial Neural Networks (ANN) and Logistic Regression (LR).
Introduction
Extubation—the removal of mechanical ventilation—is a pivotal moment in ICU care. Timing is critical: premature extubation leads to re-intubation risks, while delayed extubation increases the likelihood of pneumonia and airway trauma. Current clinical indices, such as the Rapid Shallow Breathing Index (RSBI), often rely on a narrow set of variables and small patient cohorts, limiting their predictive accuracy. This research addresses these gaps by applying advanced gradient boosting techniques to a large-scale clinical dataset to provide a more robust decision-support tool for clinicians.
Methodology
The study followed a structured pipeline involving data extraction, preprocessing, and model training.
Data Extraction and Preprocessing
Data for 3,636 unique adult patients were extracted from the MIMIC-III database. The initial feature set comprised 92 variables, including demographics, vital signs, and laboratory results. A significant portion of clinical data often contains missing values; the researchers categorized features based on their "missing degree" to determine appropriate imputation strategies.
To refine the feature set, the team performed a correlation analysis. Highly correlated features (e.g., minimum, maximum, and mean values of the same vital sign) were pruned to reduce redundancy and prevent overfitting, resulting in a final set of 68 input features.
Model Development: LightGBM
The core of the predictive engine is the Light Gradient Boosting Machine (LightGBM). Unlike standard XGBoost, LightGBM utilizes Gradient-based One-Side Sampling (GOSS) and leaf-wise tree growth. These optimizations allow the model to handle large datasets with higher speed and lower memory consumption while maintaining high accuracy. To ensure clinical utility, the model's outputs were interpreted using SHAP values, providing transparency into the "black box" of the boosting algorithm.
Results and Discussion
The LightGBM model demonstrated strong discriminative power, achieving an Area Under the Curve (AUC) of 0.8130 and an accuracy of 80.23%. It consistently outperformed baseline models, including SVM and ANN.
Key Clinical Predictors
Feature importance analysis revealed several critical factors influencing extubation outcomes:
- Duration of Mechanical Ventilation (DHMV): Identified as the top predictor, emphasizing that prolonged machine dependency complicates independent breathing.
- Sedation Duration: Longer periods of sedation were strongly associated with failure, likely due to its impact on the weaning process.
- Physiological Indicators: SHAP analysis highlighted specific thresholds for blood gases (PO2, PaCO2) and heart rate (HRmin) that significantly shift the probability of failure.
Conclusion
This study demonstrates that LightGBM, coupled with SHAP-based interpretability, offers a powerful framework for predicting ICU extubation failure. While the model shows high accuracy, future work will focus on improving sensitivity to minimize the clinical risks of missed failure predictions. Prospective validation in real-time clinical settings is necessary to confirm its effectiveness at the bedside.
Summary updated