Chongqing Emergency Medical Centre, Chongqing University Central Hospital, School of Medicine, Chongqing University, Chongqing, China.
Bioengineering College, Chongqing University, Chongqing, China.
J Med Internet Res. 2024 May 10;26:e49848. doi: 10.2196/49848.
Acute myocardial infarction (AMI) is one of the most severe cardiovascular diseases and is associated with a high risk of in-hospital mortality. However, the current deep learning models for in-hospital mortality prediction lack interpretability.
This study aims to establish an explainable deep learning model to provide individualized in-hospital mortality prediction and risk factor assessment for patients with AMI.
In this retrospective multicenter study, we used data for consecutive patients hospitalized with AMI from the Chongqing University Central Hospital between July 2016 and December 2022 and the Electronic Intensive Care Unit Collaborative Research Database. These patients were randomly divided into training (7668/10,955, 70%) and internal test (3287/10,955, 30%) data sets. In addition, data of patients with AMI from the Medical Information Mart for Intensive Care database were used for external validation. Deep learning models were used to predict in-hospital mortality in patients with AMI, and they were compared with linear and tree-based models. The Shapley Additive Explanations method was used to explain the model with the highest area under the receiver operating characteristic curve in both the internal test and external validation data sets to quantify and visualize the features that drive predictions.
A total of 10,955 patients with AMI who were admitted to Chongqing University Central Hospital or included in the Electronic Intensive Care Unit Collaborative Research Database were randomly divided into a training data set of 7668 (70%) patients and an internal test data set of 3287 (30%) patients. A total of 9355 patients from the Medical Information Mart for Intensive Care database were included for independent external validation. In-hospital mortality occurred in 8.74% (670/7668), 8.73% (287/3287), and 9.12% (853/9355) of the patients in the training, internal test, and external validation cohorts, respectively. The Self-Attention and Intersample Attention Transformer model performed best in both the internal test data set and the external validation data set among the 9 prediction models, with the highest area under the receiver operating characteristic curve of 0.86 (95% CI 0.84-0.88) and 0.85 (95% CI 0.84-0.87), respectively. Older age, high heart rate, and low body temperature were the 3 most important predictors of increased mortality, according to the explanations of the Self-Attention and Intersample Attention Transformer model.
The explainable deep learning model that we developed could provide estimates of mortality and visual contribution of the features to the prediction for a patient with AMI. The explanations suggested that older age, unstable vital signs, and metabolic disorders may increase the risk of mortality in patients with AMI.
急性心肌梗死(AMI)是最严重的心血管疾病之一,与住院死亡率高相关。然而,目前用于住院死亡率预测的深度学习模型缺乏可解释性。
本研究旨在建立一个可解释的深度学习模型,为 AMI 患者提供个体化的住院死亡率预测和风险因素评估。
这是一项回顾性多中心研究,使用了 2016 年 7 月至 2022 年 12 月期间重庆大学附属中心医院连续收治的 AMI 患者和电子重症监护病房协作研究数据库的数据。这些患者被随机分为训练(7668/10955,70%)和内部测试(3287/10955,30%)数据集。此外,还使用了医疗信息集市重症监护数据库中 AMI 患者的数据进行外部验证。使用深度学习模型预测 AMI 患者的住院死亡率,并与线性和基于树的模型进行比较。使用 Shapley 加性解释方法对内部测试和外部验证数据集中曲线下面积最高的模型进行解释,以量化和可视化驱动预测的特征。
共纳入 10955 例 AMI 患者,随机分为训练集(7668 例,70%)和内部测试集(3287 例,30%)。共有 9355 例来自医疗信息集市重症监护数据库的患者用于独立的外部验证。训练、内部测试和外部验证队列中住院死亡率分别为 8.74%(670/7668)、8.73%(287/3287)和 9.12%(853/9355)。在 9 种预测模型中,自注意和样本间注意转换器模型在内部测试数据集和外部验证数据集中表现最佳,其受试者工作特征曲线下面积分别为 0.86(95%置信区间 0.84-0.88)和 0.85(95%置信区间 0.84-0.87)。根据自注意和样本间注意转换器模型的解释,年龄较大、心率较高和体温较低是导致死亡率增加的 3 个最重要的预测因素。
我们开发的可解释深度学习模型可以为 AMI 患者提供死亡率估计值和特征对预测的可视化贡献。解释表明,年龄较大、生命体征不稳定和代谢紊乱可能会增加 AMI 患者的死亡风险。