» Articles » PMID: 34743566

ECG-Based Deep Learning and Clinical Risk Factors to Predict Atrial Fibrillation

Abstract

Background: Artificial intelligence (AI)-enabled analysis of 12-lead ECGs may facilitate efficient estimation of incident atrial fibrillation (AF) risk. However, it remains unclear whether AI provides meaningful and generalizable improvement in predictive accuracy beyond clinical risk factors for AF.

Methods: We trained a convolutional neural network (ECG-AI) to infer 5-year incident AF risk using 12-lead ECGs in patients receiving longitudinal primary care at Massachusetts General Hospital (MGH). We then fit 3 Cox proportional hazards models, composed of ECG-AI 5-year AF probability, CHARGE-AF clinical risk score (Cohorts for Heart and Aging in Genomic Epidemiology-Atrial Fibrillation), and terms for both ECG-AI and CHARGE-AF (CH-AI), respectively. We assessed model performance by calculating discrimination (area under the receiver operating characteristic curve) and calibration in an internal test set and 2 external test sets (Brigham and Women's Hospital [BWH] and UK Biobank). Models were recalibrated to estimate 2-year AF risk in the UK Biobank given limited available follow-up. We used saliency mapping to identify ECG features most influential on ECG-AI risk predictions and assessed correlation between ECG-AI and CHARGE-AF linear predictors.

Results: The training set comprised 45 770 individuals (age 55±17 years, 53% women, 2171 AF events) and the test sets comprised 83 162 individuals (age 59±13 years, 56% women, 2424 AF events). Area under the receiver operating characteristic curve was comparable using CHARGE-AF (MGH, 0.802 [95% CI, 0.767-0.836]; BWH, 0.752 [95% CI, 0.741-0.763]; UK Biobank, 0.732 [95% CI, 0.704-0.759]) and ECG-AI (MGH, 0.823 [95% CI, 0.790-0.856]; BWH, 0.747 [95% CI, 0.736-0.759]; UK Biobank, 0.705 [95% CI, 0.673-0.737]). Area under the receiver operating characteristic curve was highest using CH-AI (MGH, 0.838 [95% CI, 0.807 to 0.869]; BWH, 0.777 [95% CI, 0.766 to 0.788]; UK Biobank, 0.746 [95% CI, 0.716 to 0.776]). Calibration error was low using ECG-AI (MGH, 0.0212; BWH, 0.0129; UK Biobank, 0.0035) and CH-AI (MGH, 0.012; BWH, 0.0108; UK Biobank, 0.0001). In saliency analyses, the ECG P-wave had the greatest influence on AI model predictions. ECG-AI and CHARGE-AF linear predictors were correlated (Pearson : MGH, 0.61; BWH, 0.66; UK Biobank, 0.41).

Conclusions: AI-based analysis of 12-lead ECGs has similar predictive usefulness to a clinical risk factor model for incident AF and the approaches are complementary. ECG-AI may enable efficient quantification of future AF risk.

Citing Articles

Precision medicine in the management of cardiac arrhythmias.

Wiedmann F, Schmidt C Herz. 2025; .

PMID: 40056164 DOI: 10.1007/s00059-025-05298-x.


[An atrial fibrillation prediction model based on quantitative features of electrocardiogram during sinus rhythm in the Chinese population].

Zhu X, Shi Y, Shen J, Wang Q, Song T, Xiu J Nan Fang Yi Ke Da Xue Xue Bao. 2025; 45(2):223-228.

PMID: 40031965 PMC: 11875849. DOI: 10.12122/j.issn.1673-4254.2025.02.02.


A deep learning digital biomarker to detect hypertension and stratify cardiovascular risk from the electrocardiogram.

Al-Alusi M, Friedman S, Kany S, Ramo J, Pipilas D, Singh P NPJ Digit Med. 2025; 8(1):120.

PMID: 39987256 PMC: 11846953. DOI: 10.1038/s41746-025-01491-8.


Roadmap for alleviating the manifestations of ageing in the cardiovascular system.

Liberale L, Tual-Chalot S, Sedej S, Ministrini S, Georgiopoulos G, Grunewald M Nat Rev Cardiol. 2025; .

PMID: 39972009 DOI: 10.1038/s41569-025-01130-5.


Machine Learning in the Management of Patients Undergoing Catheter Ablation for Atrial Fibrillation: Scoping Review.

Luo A, Chen W, Zhu H, Xie W, Chen X, Liu Z J Med Internet Res. 2025; 27:e60888.

PMID: 39928932 PMC: 11851043. DOI: 10.2196/60888.


References
1.
Yuan Y, Zhou Q, Li B, Cai H, Chow E, Armstrong G . A threshold-free summary index of prediction accuracy for censored time to event data. Stat Med. 2018; 37(10):1671-1681. PMC: 5895543. DOI: 10.1002/sim.7606. View

2.
Uno H, Tian L, Cai T, Kohane I, Wei L . A unified inference procedure for a class of measures to assess improvement in risk prediction systems with survival data. Stat Med. 2012; 32(14):2430-42. PMC: 3734387. DOI: 10.1002/sim.5647. View

3.
Corley S, Epstein A, DiMarco J, Domanski M, Geller N, Greene H . Relationships between sinus rhythm, treatment, and survival in the Atrial Fibrillation Follow-Up Investigation of Rhythm Management (AFFIRM) Study. Circulation. 2004; 109(12):1509-13. DOI: 10.1161/01.CIR.0000121736.16643.11. View

4.
Gensheimer M, Narasimhan B . A scalable discrete-time survival model for neural networks. PeerJ. 2019; 7:e6257. PMC: 6348952. DOI: 10.7717/peerj.6257. View

5.
Raghunath S, Pfeifer J, Ulloa-Cerna A, Nemani A, Carbonati T, Jing L . Deep Neural Networks Can Predict New-Onset Atrial Fibrillation From the 12-Lead ECG and Help Identify Those at Risk of Atrial Fibrillation-Related Stroke. Circulation. 2021; 143(13):1287-1298. PMC: 7996054. DOI: 10.1161/CIRCULATIONAHA.120.047829. View