Upper gastrointestinal haemorrhage patients' survival: A causal inference and prediction study

Eur J Clin Invest. 2024 Jun;54(6):e14180. doi: 10.1111/eci.14180. Epub 2024 Feb 20.

Abstract

Background: Upper gastrointestinal (GI) bleeding is a common medical emergency. This study aimed to develop models to predict critically ill patients with upper GI bleeding in-hospital and 30-day survival, identify the correlation factor and infer the causality.

Methods: A total of 2898 patients with upper GI bleeding were included from the Medical Information Mart for Intensive Care-IV and eICU-Collaborative Research Database, respectively. To identify the most critical factors contributing to the prognostic model, we used SHAP (SHapley Additive exPlanations) for machine learning interpretability. We performed causal inference using inverse probability weighting for survival-associated prognostic factors.

Results: The optimal model using the light GBM (gradient boosting algorithm) algorithm achieved an AUC of .93 for in-hospital survival, .81 for 30-day survival in internal testing and .87 for in-hospital survival in external testing. Important factors for in-hospital survival, according to SHAP, were SOFA (Sequential organ failure assessment score), GCS (Glasgow coma scale) motor score and length of stay in ICU (Intensive critical care). In contrast, essential factors for 30-day survival were SOFA, length of stay in ICU, total bilirubin and GCS verbal score. Our model showed improved performance compared to SOFA alone.

Conclusions: Our interpretable machine learning model for predicting in-hospital and 30-day mortality in critically ill patients with upper gastrointestinal bleeding showed excellent accuracy and high generalizability. This model can assist clinicians in managing these patients to improve the discrimination of high-risk patients.

Keywords: causal inference; interpretability machine learning; predictive survival model; upper gastrointestinal haemorrhage.

MeSH terms

  • Aged
  • Algorithms
  • Bilirubin / blood
  • Causality
  • Critical Illness* / mortality
  • Female
  • Gastrointestinal Hemorrhage* / mortality
  • Glasgow Coma Scale
  • Hospital Mortality*
  • Humans
  • Intensive Care Units
  • Length of Stay / statistics & numerical data
  • Machine Learning*
  • Male
  • Middle Aged
  • Organ Dysfunction Scores
  • Prognosis