Deep Learning of ECG for the Prediction of Postoperative Atrial Fibrillation
Deep Learning of ECG for the Prediction of Postoperative Atrial Fibrillation
复制标题
心电图深度学习预测术后房颤
DOI:
10.1161/circep.122.011579
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Tsutsui Hiroyuki
中科院分区:
文献类型:
--
作者:
Tohyama Takeshi;Ide Tomomi;Ikeda Masataka;Nagata Takuya;Tagawa Koshiro;Hirose Masayuki;Funakoshi Kouta;Sakamoto Kazuo;Kishimoto Junji;Todaka Koji;Nakashima Naoki;Tsutsui Hiroyuki
Postoperative atrial fibrillation (POAF) is defined as the atrial fibrillation (AF) induced during the postoperative phase. POAF has been recognized as a benign and transient AF. 1 However, recent studies revealed that POAF is associated with the risk of prolonged hospitalization, development of spontaneous AF, and higher risk of stroke in the late phase. 2 Therefore, it is imperative to establish practical screening for high-risk patients with POAF. Herein, we developed a deep learning approach to predict POAF using the preoperative ECG. This study was approved by the Institutional Review Board of Kyushu University Hospital (approval number: 2020-335) and conducted in accordance with the Declaration of Helsinki. Patients who underwent a surgical operation at the Kyushu University Hospital between 2015 and 2020 participated in this study and were given the opportunity to opt out. The subjects were hospitalized patients aged≥ 18 years with non-AF ECGs recorded up to 30 days before the operation. The preoperative ECGs excluded from the analysis were as follows: AF, noisy ECGs, recording failure with dislodged electrodes, duplicated ECGs, right-sided ECGs, heart rate> 120 or< 40 beats per minute, ventricular tachycardia or frequent premature ventricular contractions, and unevaluable or others deemed unstable and clinically inappropriate for preoperative ECG tests. The preoperative non-AF ECGs included in this analysis are as follows: sinus rhythm, pacing rhythm, and occasional premature contractions. The occurrence of POAF was identified in the recordings of 12-lead ECGs within 7 days after the operation retrospectively. In-hospital death was dealt with as a competing risk. We developed a deep learning model that can handle the time-to-event data (Figure [A]). The 12-lead ECG waveform data (10 s) were used as input for the deep learning model. Data augmentation was performed by randomly trimming the input data. The output of the model was a 2× 9 tensor, corresponding to the number of event types (POAF or in-hospital death) and time points (days 0–7, day 8, or later). To improve accuracy, we repeated the inference 10× with enabled randomness of the model and ensembled the results. The first step in the development of this model was to perform a grid search to identify the best hyperparameters. Thereafter, we pretrained the model for age and sex prediction with 137 551 ECGs that included nonpreoperative patients but excluded subjects in the test data. Finally, we fine-tuned the main model using training data. See GitHub for the code of the training processes (https://github. com/Takeshi-Tohyama/DLmodel_POAF). The model was evaluated with time-dependent receiver operating characteristic curves and C statistics, which were estimated with the inverse probability of the censoring weighting approach to reduce bias due to discharge. We analyzed 43 980 preoperative ECGs from 27 564 patients without AF. These ECGs were divided into 3 data sets on an individual basis, training, tuning, and internal validation, in the ratio of 7: 1: 2. For the internal validation, the incidence of POAF was 3.6%. The Figure (B and C) exhibited the performance of the developed model for predicting POAF, and the time-dependent C statistic at 7 days was 0.83 (95% CI, 0.80–0.85). For reference, a simple network using variables of age and sex achieved 0.64. Regarding clinical metrics at 7