A lightweight 1D convolutional neural network model for arrhythmia diagnosis from electrocardiogram signal
- PMID: 39998757
- DOI: 10.1007/s13246-025-01525-1
A lightweight 1D convolutional neural network model for arrhythmia diagnosis from electrocardiogram signal
Abstract
Electrocardiogram (ECG) is used by cardiologist to diagnose heart diseases. The use of ECG signal in an artificial intelligence system can permit to automatically analyze these signals and thereby improve diagnosis quality. For this purpose, many models have been proposed in the literature. But many of these models are complex enough for implementation in an embedded system dedicated to medical diagnosis. Still others have performances that remain to be improved. To solve this problem of complexity, while improving performance, we propose a simple 1D convolutional neural network model for cardiac arrhythmia diagnosis. The proposed model combines two convolution layers, two max pooling layers, three dense layers, two dropout layers and a flatten layer. We apply the proposed model on the public MIT-BIH database for inter-patient classification of five distinct types of heartbeat rhythms which are consistent with the association for advancement of medical instrumentation (AAMI) standard. We also apply our model on the PTB database in order to evaluate its generalization capability. On the MIT-BIH database, the results provide an accuracy of 0.9842, a precision of 0.9523, a sensitivity of 0.8760, a specificity of 0.9869, a negative predictive value (NPV) of 0.9936, an average area under the ROC curve (AUC) of 0.99 and a F1-measure of 0.9095. The accuracy, precision, sensitivity, specificity, NPV, and AUC on the PTB dataset are 0.9924, 0.9938, 0.9957, 0.9844, 0.9892, and 1, respectively. Compared to other existing models, for unbalanced data, the performances obtained by our model are quite interesting for an inter-patient classification.
Keywords: 1D-CNN; Arrhythmia diagnosis; Deep neural network; Electrocardiogram.
© 2025. Australasian College of Physical Scientists and Engineers in Medicine.
Conflict of interest statement
Declarations. Conflict of interest: The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
References
-
- World Health Organization URL: https://www.who.int/health-topics/cardiovascular-diseases . (Accessed 15 August 2024)
-
- Dewangan NK, Shukla SP (2016) ECG arrhythmia classification using discrete wavelet transform and artificial neural network, in: 2016 IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology, RTEICT. IEEE, pp 1892–1896
-
- Yu S-N, Chen Y-H (2007) Electrocardiogram beat classification based on wavelet transformation and probabilistic neural network. Pattern Recognit Lett 28(10):1142–1150 - DOI
-
- Liu S, Shao J, Kong T, Malekian R (2020) ECG arrhythmia classification using high order spectrum and 2D graph Fourier transform. Appl Sci 10(14):4741 - DOI
MeSH terms
LinkOut - more resources
Medical