Performance Drift in Machine Learning Models for Cardiac Surgery Risk Prediction: Retrospective Analysis
Authors:
- Tim DongTDTim Dong
- Shubhra SinhaSSShubhra Sinha
- Ben ZhaiBZBen Zhai
- Daniel FuduluDFDaniel Fudulu
- Jeremy ChanJCJeremy Chan
- Pradeep NarayanPNPradeep Narayan
- Andy JudgeAJAndy Judge
- Massimo CaputoMCMassimo Caputo
- Arnaldo DimagliADArnaldo Dimagli
- Umberto BenedettoUBUmberto Benedetto
- Gianni D AngeliniGAGianni D Angelini
Open Access
- 12 June 2024
- journal article
- research article
- Published by JMIR Publications Inc. in JMIRx Med
- Vol. 5 (1) , e45973
Abstract
Background: The Society of Thoracic Surgeons and European System for Cardiac Operative Risk Evaluation (EuroSCORE) II risk scores are the most commonly used risk prediction models for in-hospital mortality after adult cardiac surgery. However, they are prone to miscalibration over time and poor generalization across data sets; thus, their use remains controversial. Despite increased interest, a gap in understanding the effect of data set drift on the performance of machine learning (ML) over time remains a barrier to its wider use in clinical practice. Data set drift occurs when an ML system underperforms because of a mismatch between the data it was developed from and the data on which it is deployed. Objective: In this study, we analyzed the extent of performance drift using models built on a large UK cardiac surgery database. The objectives were to (1) rank and assess the extent of performance drift in cardiac surgery risk ML models over time and (2) investigate any potential influence of data set drift and variable importance drift on performance drift. Methods: We conducted a retrospective analysis of prospectively, routinely gathered data on adult patients undergoing cardiac surgery in the United Kingdom between 2012 and 2019. We temporally split the data 70:30 into a training and validation set and a holdout set. Five novel ML mortality prediction models were developed and assessed, along with EuroSCORE II, for relationships between and within variable importance drift, performance drift, and actual data set drift. Performance was assessed using a consensus metric. Results: A total of 227,087 adults underwent cardiac surgery during the study period, with a mortality rate of 2.76% (n=6258). There was strong evidence of a decrease in overall performance across all models (P<.0001). Extreme gradient boosting (clinical effectiveness metric [CEM] 0.728, 95% CI 0.728-0.729) and random forest (CEM 0.727, 95% CI 0.727-0.728) were the overall best-performing models, both temporally and nontemporally. EuroSCORE II performed the worst across all comparisons. Sharp changes in variable importance and data set drift from October to December 2017, from June to July 2018, and from December 2018 to February 2019 mirrored the effects of performance decrease across models. Conclusions: All models show a decrease in at least 3 of the 5 individual metrics. CEM and variable importance drift detection demonstrate the limitation of logistic regression methods used for cardiac surgery risk prediction and the effects of data set drift. Future work will be required to determine the interplay between ML models and whether ensemble models could improve on their respective performance advantages.Keywords
This publication has 59 references indexed in Scilit:
- An ensemble weighted average conservative multi-fidelity surrogate modeling method for engineering optimizationEngineering with Computers, 2020
- Assessment of a Machine Learning Model Applied to Harmonized Electronic Health Record Data for the Prediction of Incident Atrial FibrillationJAMA Network Open, 2020
- Machine Learning Prediction Models for In-Hospital Mortality After Transcatheter Aortic Valve ReplacementJACC: Cardiovascular Interventions, 2019
- Aggregation in the analytic hierarchy process: Why weighted geometric mean should be used instead of weighted arithmetic meanExpert Systems with Applications, 2018
- External model validation of binary clinical risk prediction models in cardiovascular and thoracic surgeryThe Journal of Thoracic and Cardiovascular Surgery, 2016
- Agreement between the new EuroSCORE II, the Logistic EuroSCORE and the Society of Thoracic Surgeons score: Implications for transcatheter aortic valve implantationArchives of Cardiovascular Diseases, 2014
- Validation of EuroSCORE II in Chinese Patients Undergoing Heart Valve SurgeryHeart, Lung and Circulation, 2013
- Deriving Consensus Rankings from Benchmarking Experiments2007
- Risk factor identification and mortality prediction in cardiac surgery using artificial neural networksThe Journal of Thoracic and Cardiovascular Surgery, 2006
- Error measures for generalizing about forecasting methods: Empirical comparisonsInternational Journal of Forecasting, 1992