A Tiny Matched Filter-Based CNN for Inter-Patient ECG Classification and Arrhythmia Detection at the Edge
Open Access
Abstract
Automated electrocardiogram (ECG) classification using machine learning (ML) is extensively utilized for arrhythmia detection. Contemporary ML algorithms are typically deployed on the cloud, which may not always meet the availability and privacy requirements of ECG monitoring. Edge inference is an emerging alternative that overcomes the concerns of cloud inference; however, it poses new challenges due to the demanding computational requirements of modern ML algorithms and the tight constraints of edge devices. In this work, we propose a tiny convolutional neural network (CNN) classifier for real-time monitoring of ECG at the edge with the aid of the matched filter (MF) theory. The MIT-BIH dataset with inter-patient division is used for model training and testing. The model generalization capability is validated on the INCART, QT, and PTB diagnostic databases, and the model performance in the presence of noise is experimentally analyzed. The proposed classifier can achieve average accuracy, sensitivity, and F1 scores of 98.18%, 91.90%, and 92.17%, respectively. The sensitivity of detecting supraventricular and ventricular ectopic beats (SVEB and VEB) is 85.3% and 96.34%, respectively. The model is 15 KB in size, with an average inference time of less than 1 ms. The proposed model achieves superior classification and real-time performance results compared to the state-of-the-art ECG classifiers while minimizing the model complexity. The proposed classifier can be readily deployed on a wide range of resource-constrained edge devices for arrhythmia monitoring, which can save millions of cardiovascular disease patients.Keywords
Funding Information
- Deanship of Scientific Research, King Faisal University (GRANT2001)
This publication has 29 references indexed in Scilit:
- Heartbeat classification using projected and dynamic features of ECG signalBiomedical Signal Processing and Control, 2017
- ECG-based heartbeat classification for arrhythmia detection: A surveyComputer Methods and Programs in Biomedicine, 2016
- Template based classification of cardiac Arrhythmia in ECG data2015
- Heartbeat classification using disease-specific feature selectionComputers in Biology and Medicine, 2014
- Heartbeat Classification Using Normalized RR Intervals and Morphological FeaturesMathematical Problems in Engineering, 2014
- Nutzung der EKG-Signaldatenbank CARDIODAT der PTB über das InternetBiomedical Engineering / Biomedizinische Technik, 2009
- Analysis of First-Derivative Based QRS Detection AlgorithmsIEEE Transactions on Biomedical Engineering, 2008
- Automatic Classification of Heartbeats Using ECG Morphology and Heartbeat Interval FeaturesIEEE Transactions on Biomedical Engineering, 2004
- The impact of the MIT-BIH Arrhythmia DatabaseIEEE Engineering in Medicine and Biology Magazine, 2001
- PhysioBank, PhysioToolkit, and PhysioNetCirculation, 2000