Explainable machine learning for predicting in-hospital mortality in acute heart failure: a prospective single-center cohort study from Vietnam.
Sy Van Hoang, Kha Minh Nguyen, Tai Nhat Nguyen, Huy Nhat Do
Department of Internal Medicine, School of Medicine, University of Medicine and Pharmacy at Ho Chi Minh City, Ho Chi Minh City, Vietnam. · Department of Cardiology, Nhan Dan Gia Dinh Hospital, Ho Chi Minh City, Vietnam.
Key points
From the paper's conclusion- We developed and internally validated explainable machine-learning (ML) models for in-hospital mortality in a Vietnamese AHF cohort and compared them with the GWTG-HF score.
Abstract
BACKGROUND: Accurate risk stratification is essential in acute heart failure (AHF), which carries substantial in-hospital mortality. The Get With The Guidelines-Heart Failure (GWTG-HF) score is widely used, but its performance may vary across populations, and prospective data from Southeast Asia are scarce. We developed and internally validated explainable machine-learning (ML) models for in-hospital mortality in a Vietnamese AHF cohort and compared them with the GWTG-HF score. METHODS: We prospectively enrolled 572 consecutive patients admitted with AHF (October 2024-June 2025). Missing data were imputed with a random forest-based algorithm, and class imbalance handled with SMOTE within training folds. Six algorithms (logistic regression, elastic net, random forest, XGBoost, LightGBM, CatBoost) were trained with stratified cross-validation, with optimism correction, and evaluated on an independent 25% test set. We assessed discrimination (ROC-AUC, PR-AUC), calibration (calibration slope/intercept, Brier and scaled Brier scores), classification, and clinical utility (decision-curve analysis); thresholds were derived from training data only. Pairwise AUC comparisons used the DeLong test, and interpretation used SHAP. Reporting followed TRIPOD + AI. RESULTS: Fifty-three patients (9.3%) died in hospital. Random forest had the highest discrimination (AUC 0.846, 95% CI 0.757-0.922), followed by the GWTG-HF score (0.817), logistic regression (0.795), elastic net (0.794), CatBoost (0.786), XGBoost (0.763), and LightGBM (0.694). No ML model significantly outperformed the GWTG-HF score (all DeLong p > 0.05), a comparison limited by only 13 test-set events. Although CatBoost had the numerically lowest Brier score (0.085), scaled Brier scores were low for all models and calibration intercepts were uniformly negative, indicating over-estimation of risk from aggressive imbalance correction; predicted probabilities therefore require recalibration. SHAP identified respiratory failure, NT-proBNP, high-sensitivity troponin I (risk-increasing) and an ADHF phenotype and left ventricular dilation (associated with lower predicted risk) as the most influential features. CONCLUSIONS: Explainable ML, led by random forest, achieved good discrimination but did not significantly outperform the GWTG-HF score, most plausibly reflecting limited statistical power rather than true equivalence. With miscalibrated probabilities requiring recalibration, explainable ML is best viewed as a complementary risk-ranking tool; external, multicenter, and temporal validation are required before clinical use.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- "Mortality Prediction in Heart Failure using Explainable AI: Development and Validation of the EXACT-HF Model in a Nationwide Multi-Ethnic Asian Cohort"medRxiv · 2026
- Early prediction of in-hospital mortality in ICU patients with heart failure using an interpretable machine learning model: a retrospective study based on MIMIC-IVBMC Cardiovascular Disorders · 2026
- Development and external validation of an explainable machine learning model for in-hospital mortality risk stratification in intensive care unit patients with heart failure.Frontiers in cardiovascular medicine · 2026
- Machine learning–based identification of mortality risk factors in hospitalized heart failure patients: a multicenter real-world studyEuropean Heart Journal · 2026
- Machine learning-based prediction of in-hospital and post-discharge mortality in heart failure: an international retrospective study with cross-endpoint transferability analysis.Frontiers in digital health · 2026
- A machine learning model to predict the in-hospital mortality risk of elderly patients with acute exacerbation of chronic heart failure.Frontiers in cardiovascular medicine · 2026