Deep Learning Approaches to Detect Atrial Fibrillation Using Photoplethysmographic Signals: Algorithms Development Study
- PMID: 31199302
- PMCID: PMC6592499
- DOI: 10.2196/12770
Deep Learning Approaches to Detect Atrial Fibrillation Using Photoplethysmographic Signals: Algorithms Development Study
Abstract
Background: Wearable devices have evolved as screening tools for atrial fibrillation (AF). A photoplethysmographic (PPG) AF detection algorithm was developed and applied to a convenient smartphone-based device with good accuracy. However, patients with paroxysmal AF frequently exhibit premature atrial complexes (PACs), which result in poor unmanned AF detection, mainly because of rule-based or handcrafted machine learning techniques that are limited in terms of diagnostic accuracy and reliability.
Objective: This study aimed to develop deep learning (DL) classifiers using PPG data to detect AF from the sinus rhythm (SR) in the presence of PACs after successful cardioversion.
Methods: We examined 75 patients with AF who underwent successful elective direct-current cardioversion (DCC). Electrocardiogram and pulse oximetry data over a 15-min period were obtained before and after DCC and labeled as AF or SR. A 1-dimensional convolutional neural network (1D-CNN) and recurrent neural network (RNN) were chosen as the 2 DL architectures. The PAC indicator estimated the burden of PACs on the PPG dataset. We defined a metric called the confidence level (CL) of AF or SR diagnosis and compared the CLs of true and false diagnoses. We also compared the diagnostic performance of 1D-CNN and RNN with previously developed AF detectors (support vector machine with root-mean-square of successive difference of RR intervals and Shannon entropy, autocorrelation, and ensemble by combining 2 previous methods) using 10 5-fold cross-validation processes.
Results: Among the 14,298 training samples containing PPG data, 7157 samples were obtained during the post-DCC period. The PAC indicator estimated 29.79% (2132/7157) of post-DCC samples had PACs. The diagnostic accuracy of AF versus SR was 99.32% (70,925/71,410) versus 95.85% (68,602/71,570) in 1D-CNN and 98.27% (70,176/71,410) versus 96.04% (68,736/71,570) in RNN methods. The area under receiver operating characteristic curves of the 2 DL classifiers was 0.998 (95% CI 0.995-1.000) for 1D-CNN and 0.996 (95% CI 0.993-0.998) for RNN, which were significantly higher than other AF detectors (P<.001). If we assumed that the dataset could emulate a sufficient number of patients in training, both DL classifiers improved their diagnostic performances even further especially for the samples with a high burden of PACs. The average CLs for true versus false classification were 98.56% versus 78.75% for 1D-CNN and 98.37% versus 82.57% for RNN (P<.001 for all cases).
Conclusions: New DL classifiers could detect AF using PPG monitoring signals with high diagnostic accuracy even with frequent PACs and could outperform previously developed AF detectors. Although diagnostic performance decreased as the burden of PACs increased, performance improved when samples from more patients were trained. Moreover, the reliability of the diagnosis could be indicated by the CL. Wearable devices sensing PPG signals with DL classifiers should be validated as tools to screen for AF.
Keywords: atrial fibrillation; deep learning; diagnosis; photoplethysmography; pulse oximetry.
©Soonil Kwon, Joonki Hong, Eue-Keun Choi, Euijae Lee, David Earl Hostallero, Wan Ju Kang, Byunghwan Lee, Eui-Rim Jeong, Bon-Kwon Koo, Seil Oh, Yung Yi. Originally published in JMIR Mhealth and Uhealth (http://mhealth.jmir.org), 06.06.2019.
Conflict of interest statement
Conflicts of Interest: SK, JH, EL, DEH, WK, BL, and SO have nothing to disclose. EKC and YY received research grants from Sky Labs. EKC also had grants from Daiichi-Sankyo, BMS/Pfizer, and Biosense Webster, and is a stockholder of Sky Labs. KBK is a stockholder of Sky Labs.
Figures





Similar articles
-
Detection of Atrial Fibrillation Using a Ring-Type Wearable Device (CardioTracker) and Deep Learning Analysis of Photoplethysmography Signals: Prospective Observational Proof-of-Concept Study.J Med Internet Res. 2020 May 21;22(5):e16443. doi: 10.2196/16443. J Med Internet Res. 2020. PMID: 32348254 Free PMC article.
-
Diagnostic assessment of a deep learning system for detecting atrial fibrillation in pulse waveforms.Heart. 2018 Dec;104(23):1921-1928. doi: 10.1136/heartjnl-2018-313147. Epub 2018 May 31. Heart. 2018. PMID: 29853485
-
External validation of a machine learning-based classification algorithm for ambulatory heart rhythm diagnostics in pericardioversion atrial fibrillation patients using smartphone photoplethysmography: the SMARTBEATS-ALGO study.Europace. 2025 Mar 28;27(4):euaf031. doi: 10.1093/europace/euaf031. Europace. 2025. PMID: 39960451 Free PMC article.
-
Accuracy of pulsatile photoplethysmography applications or handheld devices vs. 12-lead ECG for atrial fibrillation screening: a systematic review and meta-analysis.J Interv Card Electrophysiol. 2022 Oct;65(1):33-44. doi: 10.1007/s10840-021-01068-x. Epub 2021 Nov 13. J Interv Card Electrophysiol. 2022. PMID: 34775555
-
Diagnostic accuracy of ECG smart chest patches versus PPG smartwatches for atrial fibrillation detection: a systematic review and meta-analysis.BMC Cardiovasc Disord. 2025 Feb 25;25(1):132. doi: 10.1186/s12872-025-04582-2. BMC Cardiovasc Disord. 2025. PMID: 40000931 Free PMC article.
Cited by
-
Machine Learning for Cardiovascular Outcomes From Wearable Data: Systematic Review From a Technology Readiness Level Point of View.JMIR Med Inform. 2022 Jan 19;10(1):e29434. doi: 10.2196/29434. JMIR Med Inform. 2022. PMID: 35044316 Free PMC article. Review.
-
Photoplethysmogram Analysis and Applications: An Integrative Review.Front Physiol. 2022 Mar 1;12:808451. doi: 10.3389/fphys.2021.808451. eCollection 2021. Front Physiol. 2022. PMID: 35300400 Free PMC article. Review.
-
Multiclass Arrhythmia Detection and Classification From Photoplethysmography Signals Using a Deep Convolutional Neural Network.J Am Heart Assoc. 2022 Apr 5;11(7):e023555. doi: 10.1161/JAHA.121.023555. Epub 2022 Mar 24. J Am Heart Assoc. 2022. PMID: 35322685 Free PMC article.
-
A Lightweight Deep Learning Model for Fast Electrocardiographic Beats Classification With a Wearable Cardiac Monitor: Development and Validation Study.JMIR Med Inform. 2020 Mar 12;8(3):e17037. doi: 10.2196/17037. JMIR Med Inform. 2020. PMID: 32163037 Free PMC article.
-
An App for Detecting Bullying of Nurses Using Convolutional Neural Networks and Web-Based Computerized Adaptive Testing: Development and Usability Study.JMIR Mhealth Uhealth. 2020 May 20;8(5):e16747. doi: 10.2196/16747. JMIR Mhealth Uhealth. 2020. PMID: 32432557 Free PMC article.
References
-
- Lubitz SA, Yin X, McManus DD, Weng L, Aparicio HJ, Walkey AJ, Romero JR, Kase CS, Ellinor PT, Wolf PA, Seshadri S, Benjamin EJ. Stroke as the initial manifestation of atrial fibrillation: the Framingham Heart Study. Stroke. 2017 Dec;48(2):490–2. doi: 10.1161/STROKEAHA.116.015071. http://europepmc.org/abstract/MED/28082669 STROKEAHA.116.015071 - DOI - PMC - PubMed
-
- Steger C, Pratter A, Martinek-Bregel M, Avanzini M, Valentin A, Slany J, Stöllberger C. Stroke patients with atrial fibrillation have a worse prognosis than patients without: data from the Austrian Stroke registry. Eur Heart J. 2004 Oct;25(19):1734–40. doi: 10.1016/j.ehj.2004.06.030.S0195-668X(04)00434-8 - DOI - PubMed
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Medical
Research Materials