Interpretable LightGBM model for predicting postoperative gastrointestinal hemorrhage in elderly hip fracture patients: leveraging systemic inflammation and medication exposures for personalized risk stratification

BACKGROUND: Postoperative gastrointestinal (GI) bleeding is a serious complication after hip fracture surgery in older adults, yet perioperative risk stratification remains limited because commonly used GI-bleeding scores are not tailored to orthopedic settings. This study aimed to develop and internally validate an interpretable model to predict postoperative GI bleeding risk in elderly hip fracture patients, using data routinely available during the perioperative period. METHODS: We retrospectively included 342 elderly patients who underwent hip fracture surgery at the Third Hospital of Hebei Medical University from January to December 2023. The outcome was GI bleeding within 1 month after surgery, confirmed by medical records and/or telephone follow-up. Patients were randomly split into a training set (n = 242) and a validation set (n = 100). Predictors were screened using LASSO with 10-fold cross-validation, followed by multivariable logistic regression to identify independent risk factors. Ten prediction algorithms were trained and compared. Model performance was assessed by AUC, calibration, and decision curve analysis, and interpretability was evaluated using SHAP. RESULTS: GI bleeding occurred in 38 patients (11.1%). Multivariable analysis identified four independent predictors: alcohol consumption history (OR 8.109, 95% CI 2.463-26.69), glucocorticoid use (OR 4.922, 95% CI 1.055-22.97), NSAID use (OR 6.851, 95% CI 1.811-25.915), and higher systemic immune-inflammation index (SII) (OR 1.001, 95% CI 1.000-1.002). Among the tested models, LightGBM showed the best overall performance, with AUCs of 0.843 (training) and 0.817 (validation), good calibration, and the highest net benefit on decision curve analysis. SHAP results ranked feature importance as SII, NSAID use, alcohol consumption history, and glucocorticoid use, consistent with regression findings. CONCLUSIONS: We developed and validated an interpretable LightGBM model that predicts postoperative GI bleeding risk in elderly hip fracture patients using routinely available clinical data. The final model incorporates only preoperative variables, systemic inflammation, NSAID use, alcohol history, and glucocorticoid use, supporting its application for early risk stratification prior to surgery.

Authors

Institutions

Publication Details

Journal
BMC Geriatrics
Published
2026-05-02
DOI
https://doi.org/10.1186/s12877-026-07607-3
Primary Topic
Hip and Femur Fractures
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interpretable LightGBM model for predicting postoperative gastrointestinal hemorrhage in elderly hip fracture patients: leveraging systemic inflammation and medication exposures for personalized risk stratification

Xu Ma, Feifei Zhao, Jiachen Ren, Keyao Yang et al.
BMC Geriatrics
Hip and Femur Fractures
article

Interpretable LightGBM model for predicting postoperative gastrointestinal hemorrhage in elderly hip fracture patients: leveraging systemic inflammation and medication exposures for personalized risk stratification

Xu Ma, Feifei Zhao, Jiachen Ren, Keyao Yang, Huan Sai, Mengyuan Liu, Cici Bai, Huichao Chen, Xiuting Li
article en

Abstract

BACKGROUND: Postoperative gastrointestinal (GI) bleeding is a serious complication after hip fracture surgery in older adults, yet perioperative risk stratification remains limited because commonly used GI-bleeding scores are not tailored to orthopedic settings. This study aimed to develop and internally validate an interpretable model to predict postoperative GI bleeding risk in elderly hip fracture patients, using data routinely available during the perioperative period. METHODS: We retrospectively included 342 elderly patients who underwent hip fracture surgery at the Third Hospital of Hebei Medical University from January to December 2023. The outcome was GI bleeding within 1 month after surgery, confirmed by medical records and/or telephone follow-up. Patients were randomly split into a training set (n = 242) and a validation set (n = 100). Predictors were screened using LASSO with 10-fold cross-validation, followed by multivariable logistic regression to identify independent risk factors. Ten prediction algorithms were trained and compared. Model performance was assessed by AUC, calibration, and decision curve analysis, and interpretability was evaluated using SHAP. RESULTS: GI bleeding occurred in 38 patients (11.1%). Multivariable analysis identified four independent predictors: alcohol consumption history (OR 8.109, 95% CI 2.463-26.69), glucocorticoid use (OR 4.922, 95% CI 1.055-22.97), NSAID use (OR 6.851, 95% CI 1.811-25.915), and higher systemic immune-inflammation index (SII) (OR 1.001, 95% CI 1.000-1.002). Among the tested models, LightGBM showed the best overall performance, with AUCs of 0.843 (training) and 0.817 (validation), good calibration, and the highest net benefit on decision curve analysis. SHAP results ranked feature importance as SII, NSAID use, alcohol consumption history, and glucocorticoid use, consistent with regression findings. CONCLUSIONS: We developed and validated an interpretable LightGBM model that predicts postoperative GI bleeding risk in elderly hip fracture patients using routinely available clinical data. The final model incorporates only preoperative variables, systemic inflammation, NSAID use, alcohol history, and glucocorticoid use, supporting its application for early risk stratification prior to surgery.

BMC Geriatrics
Hebei Medical University (CN), Third Hospital of Hebei Medical University (CN)
Good health and well-being
Openalex Percentile: Top 13%
Hip and Femur Fractures
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.