Machine Learning Versus Traditional Risk Scores for Predicting In-Hospital Mortality in Acute Heart Failure
Machine Learning for Acute Heart Failure Mortality
DOI:
https://doi.org/10.69750/dmls.03.06.0217Keywords:
Acute heart failure, machine learning, XGBoost, mortality, risk predictionAbstract
Background: However, early prediction of in-hospital mortality in acute heart failure needs to be accurate for timely escalation of care. Traditional risk scores are helpful but are not necessarily able to detect the complex nonlinear interactions between clinical and laboratory variables.
Objective: To assess machine-learning algorithms in comparison to traditional risk assessments for predicting in-hospital mortality in patients admitted with acute heart failure.
Methods: This prospective observational study was conducted from January 2025 to August 2025, including 120 consecutive individuals identified with acute heart failure. Traditional risk evaluation was performed with ADHERE, GWTG-HF, and OPTIMIZE-HF metrics. This study used logistic regression, support vector machines, Random Forest, LightGBM, XGBoost, and artificial neural networks as machine learning algorithms. The efficacy of the models was evaluated by AUC, accuracy, sensitivity, specificity, predictive values, and F1-score.
Results: 18 patients (15.0%) died in hospital. Non-survivors were older and had lower blood pressure, oxygen saturation, higher creatinine, hyponatremia, elevated lactate, reduced left ventricular ejection fraction, cardiogenic shock, and greater inotropic requirement. GWTG-HF had the highest AUC value when compared to traditional scores (0.78). Among the three models, XGBoost outperformed the others with the largest AUC of 0.91, followed by LightGBM and Random Forest, with values of 88.3%, 83.3% and 89.2% respectively. Systolic blood pressure, serum creatinine, lactate, oxygen saturation, and left ventricular ejection fraction were the best predictors.
Conclusion: The machine-learning models, especially XGBoost, predicted in-hospital mortality in acute heart failure better than traditional risk scores.
Downloads
References
Sun M, Lu P, Cheng J, Zhao L, Ma J. Early prediction of in-hospital mortality in ICU patients with heart failure using an interpretable machine learning model: a retrospective study based on MIMIC-IV. BMC Cardiovasc Disord. 2026;26:552. doi:10.1186/s12872-026-05943-1.
Su D, Zheng J, Shao YK, Liu JY, Liu XX, Yu K, et al. Developing and validating a machine learning-based model for predicting in-hospital mortality among ICU-admitted heart failure patients: a study utilizing the MIMIC-III database. Digit Health. 2025;11:20552076251335705. doi:10.1177/20552076251335705.
Li J, Sun Y, Ren J, Wu Y, He Z. Machine learning for in-hospital mortality prediction in critically ill patients with acute heart failure: a retrospective analysis based on the MIMIC-IV database. J Cardiothorac Vasc Anesth. 2025;39(3):666-674. doi:10.1053/j.jvca.2024.12.016.
Yan L, Zhang J, Chen L, Zhu Z, Sheng X, Zheng G, et al. Predictive value of machine learning for the risk of in-hospital death in patients with heart failure: a systematic review and meta-analysis. Clin Cardiol. 2025;48(1):e70071. doi:10.1002/clc.70071.
Scrutinio D, Amitrano F, Guida P, Coccia A, Pagano G, D’Addio G, et al. Prediction of mortality in heart failure by machine learning: comparison with statistical modeling. Eur J Intern Med. 2025;133:106-112. doi:10.1016/j.ejim.2025.01.020.
Liu X, Xie Z, Zhang Y, Huang J, Kuang L, Li X, et al. Machine learning for predicting in-hospital mortality in elderly patients with heart failure combined with hypertension: a multicenter retrospective study. Cardiovasc Diabetol. 2024;23(1):407. doi:10.1186/s12933-024-02503-9.
Jawadi Z, He R, Srivastava PK, Fonarow GC, Khalil SO, Krishnan S, et al. Predicting in-hospital mortality among patients admitted with a diagnosis of heart failure: a machine learning approach. ESC Heart Fail. 2024;11(5):2490-2498. doi:10.1002/ehf2.14796.
Tanaka M, Kohjitani H, Yamamoto E, Morimoto T, Kato T, Yaku H, et al. Development of interpretable machine learning models to predict in-hospital prognosis of acute heart failure patients. ESC Heart Fail. 2024;11(5):2798-2812. doi:10.1002/ehf2.14834.
Huang J, Cai Y, Wu X, Huang X, Liu J, Hu D. Prediction of mortality events of patients with acute heart failure in intensive care unit based on deep neural network. Comput Methods Programs Biomed. 2024;256:108403. doi:10.1016/j.cmpb.2024.108403.
Li X, Wang Z, Zhao W, Shi R, Zhu Y, Pan H, et al. Machine learning algorithm for predicting in-hospital mortality in critically ill patients with congestive heart failure combined with chronic kidney disease. Ren Fail. 2024;46(1):2315298. doi:10.1080/0886022X.2024.2315298.
König S, Pellissier V, Hohenstein S, Leiner J, Meier-Hellmann A, Kuhlen R, et al. From population- to patient-based prediction of in-hospital mortality in heart failure using machine learning. Eur Heart J Digit Health. 2022;3(2):307-310. doi:10.1093/ehjdh/ztac012.
Li J, Liu S, Hu Y, Zhu L, Mao Y, Liu J. Predicting mortality in intensive care unit patients with heart failure using an interpretable machine learning model: retrospective cohort study. J Med Internet Res. 2022;24(8):e38082. doi:10.2196/38082.
Peng S, Huang J, Liu X, Deng J, Sun C, Tang J, et al. Interpretable machine learning for 28-day all-cause in-hospital mortality prediction in critically ill patients with heart failure combined with hypertension: a retrospective cohort study based on MIMIC-IV and eICU databases. Front Cardiovasc Med. 2022;9:994359. doi:10.3389/fcvm.2022.994359.
Li L, Zhang Z, Xiong Y, Hu Z, Liu S, Tu B, et al. Prediction of hospital mortality in mechanically ventilated patients with congestive heart failure using machine learning approaches. Int J Cardiol. 2022;358:59-64. doi:10.1016/j.ijcard.2022.04.063.
Park J, Hwang IC, Yoon YE, Park JB, Park JH, Cho GY. Predicting long-term mortality in patients with acute heart failure by using machine learning. J Card Fail. 2022;28(7):1078-1087. doi:10.1016/j.cardfail.2022.02.012.
Heidenreich PA, Bozkurt B, Aguilar D, Allen LA, Byun JJ, Colvin MM, et al. 2022 AHA/ACC/HFSA guideline for the management of heart failure: a report of the American College of Cardiology/American Heart Association Joint Committee on Clinical Practice Guidelines. Circulation. 2022;145(18):e895-e1032. doi:10.1161/CIR.0000000000001063.
McDonagh TA, Metra M, Adamo M, Gardner RS, Baumbach A, Böhm M, et al. 2021 ESC guidelines for the diagnosis and treatment of acute and chronic heart failure. Eur Heart J. 2021;42(36):3599-3726. doi:10.1093/eurheartj/ehab368.
Peterson PN, Rumsfeld JS, Liang L, Albert NM, Hernandez AF, Peterson ED, et al. A validated risk score for in-hospital mortality in patients with heart failure from the American Heart Association Get With the Guidelines program. Circ Cardiovasc Qual Outcomes. 2010;3(1):25-32. doi:10.1161/CIRCOUTCOMES.109.854877.
Abraham WT, Fonarow GC, Albert NM, Stough WG, Gheorghiade M, Greenberg BH, et al. Predictors of in-hospital mortality in patients hospitalized for heart failure: insights from the Organized Program to Initiate Lifesaving Treatment in Hospitalized Patients with Heart Failure (OPTIMIZE-HF). J Am Coll Cardiol. 2008;52(5):347-356. doi:10.1016/j.jacc.2008.04.028.
Fonarow GC, Adams KF Jr, Abraham WT, Yancy CW, Boscardin WJ; ADHERE Scientific Advisory Committee, Study Group, and Investigators. Risk stratification for in-hospital mortality in acutely decompensated heart failure: classification and regression tree analysis. JAMA. 2005;293(5):572-580. doi:10.1001/jama.293.5.572.
Downloads
Published
Issue
Section
License
© The Author(s) 2026. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License , which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third-party material in this article are included in the article’s Creative Commons license unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you must obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ . The Creative Commons Public Domain Dedication waiver ( http://creativecommons.org/publicdomain/zero/1.0/ ) applies to the data made available in this article, unless otherwise stated in a credit line to the data.














