Prediction Model for Delirium in Patients with Sepsis-Associated Liver Injury: An Interpretable Machine Learning
Qingwei Ren1, Yanyan Chen2, Xinxin Xu3
1Department of Gastroenterology, Wenzhou Medical University Affiliated Dongyang Traditional Chinese Medicine Hospital, Dongyang, China.
Abstract:
BackgroundPatients with sepsis-associated liver injury (SALI) are at marked risk of delirium, a severe complication strongly linked with poor neurological outcomes. Early identification remains challenging, as existing predictive tools lack specificity for this distinct population. An interpretable machine learning (ML) model was designed and validated to enable prediction of delirium among SALI patients.MethodsDe-identified data from MIMIC-IV were retrospectively assessed in this cohort study. The dataset was randomly partitioned, with 70% assigned to model training and 30% reserved for evaluation. Independent predictors were identified through univariate analysis followed by stepwise multivariable logistic regression. Support Vector Machine (SVM), Logistic Regression (LR), Random Forest (RF), Gradient Boosting Machine (GBM), and Extreme Gradient Boosting (XGBoost) were constructed and tested regarding discrimination, calibration, and clinical usefulness. Model interpretation was performed using the Shapley Additive Explanations (SHAP) framework.ResultsAmong 1461 patients with SALI, 917 (62.8%) developed delirium. Seven independent risk factors were identified: diabetes with chronic complications, reduced SpO2, decreased hemoglobin, lower Glasgow Coma Scale (GCS) score, and treatment with continuous renal replacement therapy (CRRT), vasopressin, or mechanical ventilation. The GBM model demonstrated optimal performance, achieving an area under the receiver operating characteristic curve (AUROC) of 0.831 in the training set and 0.811 (95% CI: 0.766-0.855) in the testing set. SHAP analysis revealed that mechanical ventilation, GCS score, CRRT requirement, and hemoglobin levels were the most influential predictors, indicating that delirium risk is primarily driven by markers of multi-organ dysfunction.ConclusionsAn interpretable gradient boosting model was established and assessed for its ability to predict delirium among individuals with SALI. The model's transparency, achieved through SHAP analysis, establishes clear associations between delirium and quantifiable markers of multi-organ dysfunction. This tool enables early, individualized risk stratification, facilitating targeted preventive interventions to improve outcomes in this vulnerable population.

