@article {Raghunath2020.04.23.20067967, author = {Sushravya Raghunath and John M. Pfeifer and Alvaro E. Ulloa-Cerna and Arun Nemani and Tanner Carbonati and Linyuan Jing and David P. vanMaanen and Bern E. McCarty and Dustin N. Hartzel and Jeffery A. Ruhl and Nathan J. Stoudt and Kipp W. Johnson and Noah Zimmerman and Joseph B. Leader and H. Lester Kirchner and Christoph Griessenauer and Ashraf Hafez and Christopher W. Good and Brandon K. Fornwalt and Christopher M. Haggerty}, title = {Deep Neural Networks can Predict Incident Atrial Fibrillation from the 12-lead Electrocardiogram and may help Prevent Associated Strokes}, elocation-id = {2020.04.23.20067967}, year = {2020}, doi = {10.1101/2020.04.23.20067967}, publisher = {Cold Spring Harbor Laboratory Press}, abstract = {Background Atrial fibrillation (AF) is associated with substantial morbidity, especially when it goes undetected. If new onset AF could be predicted, targeted population screening could be used to find it early. We hypothesized that a deep neural network could predict new onset AF from the resting 12-lead electrocardiogram (ECG) and that this prediction may help prevent AF-related stroke.Methods We used 1.6M resting 12-lead ECG voltage-time traces from 430k patients collected from 1984-2019 in this study. Deep neural networks were trained to predict new onset AF (within 1 year) in patients without a history of AF. Performance was evaluated using areas under the receiver operating characteristic curve (AUROC) and precision-recall curve (AUPRC). We performed an incidence-free survival analysis for a period of 30 years following the ECG stratified by model predictions. To simulate real-world deployment, we trained a separate model using all ECGs prior to 2010 and evaluated model performance on a test set of ECGs from 2010 through 2014 that were linked to our stroke registry. We used standard metrics to explore different prediction thresholds for the model and also calculated how many AF-related strokes might be potentially prevented.Results The AUROC and AUPRC were 0.83 and 0.21, respectively, for predicting new onset AF within 1 year of an ECG. Adding age and sex improved the AUROC to 0.85 and the AUPRC to 0.23. The hazard ratio for the predicted high- vs. low-risk groups over a 30-year span was 7.2 [95\% confidence interval: 6.9 {\textendash} 7.6]. In a simulated deployment scenario, using the F2 score to select the risk prediction threshold, the model predicted new onset AF at 1 year with a sensitivity of 69\%, specificity of 81\%, and positive predictive value (PPV) of 12\%. This model correctly predicted new onset AF in 62\% of all patients that experienced an AF-related stroke within 3 years of the ECG.Conclusions Deep learning can predict new onset AF from the 12-lead ECG in patients with no prior history of AF. This prediction may prove useful in preventing AF-related strokes.Competing Interest StatementGeisinger receives funding from Tempus for ongoing development of predictive modeling technology and commercialization. Tempus and Geisinger have jointly applied for a patent related to the work. None of the Geisinger authors have ownership interest in any of the intellectual property resulting from the partnership.Funding StatementThis work was supported in part by funding from Geisinger Clinic and Tempus Labs.Author DeclarationsAll relevant ethical guidelines have been followed; any necessary IRB and/or ethics committee approvals have been obtained and details of the IRB/oversight body are included in the manuscript.YesAll necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.YesI understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).YesI have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.YesAll requests for raw and analyzed data and related materials, excluding programming code, will be reviewed by our legal department to verify whether the request is subject to any intellectual property or confidentiality constraints. Requests for patient-related data not included in the paper will not be considered. Any data and materials that can be shared will be released via a Material Transfer Agreement.}, URL = {https://www.medrxiv.org/content/early/2020/04/27/2020.04.23.20067967}, eprint = {https://www.medrxiv.org/content/early/2020/04/27/2020.04.23.20067967.full.pdf}, journal = {medRxiv} }