A Lightweight Deep Learning Model for Fast Electrocardiographic Beats Classification With a Wearable Cardiac Monitor: Development and Validation Study
- PMID: 32163037
- PMCID: PMC7099397
- DOI: 10.2196/17037
A Lightweight Deep Learning Model for Fast Electrocardiographic Beats Classification With a Wearable Cardiac Monitor: Development and Validation Study
Abstract
Background: Electrocardiographic (ECG) monitors have been widely used for diagnosing cardiac arrhythmias for decades. However, accurate analysis of ECG signals is difficult and time-consuming work because large amounts of beats need to be inspected. In order to enhance ECG beat classification, machine learning and deep learning methods have been studied. However, existing studies have limitations in model rigidity, model complexity, and inference speed.
Objective: To classify ECG beats effectively and efficiently, we propose a baseline model with recurrent neural networks (RNNs). Furthermore, we also propose a lightweight model with fused RNN for speeding up the prediction time on central processing units (CPUs).
Methods: We used 48 ECGs from the MIT-BIH (Massachusetts Institute of Technology-Beth Israel Hospital) Arrhythmia Database, and 76 ECGs were collected with S-Patch devices developed by Samsung SDS. We developed both baseline and lightweight models on the MXNet framework. We trained both models on graphics processing units and measured both models' inference times on CPUs.
Results: Our models achieved overall beat classification accuracies of 99.72% for the baseline model with RNN and 99.80% for the lightweight model with fused RNN. Moreover, our lightweight model reduced the inference time on CPUs without any loss of accuracy. The inference time for the lightweight model for 24-hour ECGs was 3 minutes, which is 5 times faster than the baseline model.
Conclusions: Both our baseline and lightweight models achieved cardiologist-level accuracies. Furthermore, our lightweight model is competitive on CPU-based wearable hardware.
Keywords: ECG classification; deep learning; fused recurrent neural network; path-type ECG sensor system; recurrent neural network.
©Eunjoo Jeon, Kyusam Oh, Soonhwan Kwon, HyeongGwan Son, Yongkeun Yun, Eun-Soo Jung, Min Soo Kim. Originally published in JMIR Medical Informatics (http://medinform.jmir.org), 12.03.2020.
Conflict of interest statement
Conflicts of Interest: None declared.
Figures






Similar articles
-
An Automatic Premature Ventricular Contraction Recognition System Based on Imbalanced Dataset and Pre-Trained Residual Network Using Transfer Learning on ECG Signal.Diagnostics (Basel). 2022 Dec 28;13(1):87. doi: 10.3390/diagnostics13010087. Diagnostics (Basel). 2022. PMID: 36611379 Free PMC article.
-
Automated beat-wise arrhythmia diagnosis using modified U-net on extended electrocardiographic recordings with heterogeneous arrhythmia types.Comput Biol Med. 2019 Feb;105:92-101. doi: 10.1016/j.compbiomed.2018.12.012. Epub 2018 Dec 20. Comput Biol Med. 2019. PMID: 30599317
-
A deep convolutional neural network model to classify heartbeats.Comput Biol Med. 2017 Oct 1;89:389-396. doi: 10.1016/j.compbiomed.2017.08.022. Epub 2017 Aug 24. Comput Biol Med. 2017. PMID: 28869899
-
An edge-device-compatible algorithm for valvular heart diseases screening using phonocardiogram signals with a lightweight convolutional neural network and self-supervised learning.Comput Methods Programs Biomed. 2024 Jan;243:107906. doi: 10.1016/j.cmpb.2023.107906. Epub 2023 Nov 4. Comput Methods Programs Biomed. 2024. PMID: 37950925
-
Review on spiking neural network-based ECG classification methods for low-power environments.Biomed Eng Lett. 2024 Jun 14;14(5):917-941. doi: 10.1007/s13534-024-00391-2. eCollection 2024 Sep. Biomed Eng Lett. 2024. PMID: 39220032 Free PMC article. Review.
Cited by
-
Computational Model for Therapy Optimization of Wearable Cardioverter Defibrillator: Shockable Rhythm Detection and Optimal Electrotherapy.Front Physiol. 2021 Dec 10;12:787180. doi: 10.3389/fphys.2021.787180. eCollection 2021. Front Physiol. 2021. PMID: 34955894 Free PMC article.
-
Wearable ECG Device and Machine Learning for Heart Monitoring.Sensors (Basel). 2024 Jun 28;24(13):4201. doi: 10.3390/s24134201. Sensors (Basel). 2024. PMID: 39000979 Free PMC article.
-
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.
-
How to use digital devices to detect and manage arrhythmias: an EHRA practical guide.Europace. 2022 Jul 15;24(6):979-1005. doi: 10.1093/europace/euac038. Europace. 2022. PMID: 35368065 Free PMC article. No abstract available.
-
Compressed Deep Learning to Classify Arrhythmia in an Embedded Wearable Device.Sensors (Basel). 2022 Feb 24;22(5):1776. doi: 10.3390/s22051776. Sensors (Basel). 2022. PMID: 35270923 Free PMC article.
References
-
- American Heart Association. 2016. [2016-08-30]. About Arrhythmia https://www.heart.org/en/health-topics/arrhythmia/about-arrhythmia.
-
- Lobodzinski SS, Laks MM. New devices for very long-term ECG monitoring. Cardiol J. 2012;19(2):210–4. http://www.cardiologyjournal.org/en/darmowy_pdf.phtml?id=108&indeks_art=... - PubMed
-
- Guirguis E. Holter monitoring. Can Fam Physician. 1987 Apr;33:985–92. http://europepmc.org/abstract/MED/21263911 - PMC - PubMed
-
- Turakhia MP, Hoang DD, Zimetbaum P, Miller JD, Froelicher VF, Kumar UN, Xu X, Yang F, Heidenreich PA. Diagnostic utility of a novel leadless arrhythmia monitoring device. Am J Cardiol. 2013 Aug 15;112(4):520–4. doi: 10.1016/j.amjcard.2013.04.017. http://lib.plagh.cn:8080/medlib/s/gov/nih/nlm/ncbi/www/G.https/pubmed/?t... - DOI - PubMed
LinkOut - more resources
Full Text Sources