Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jun;48(2):577-589.
doi: 10.1007/s13246-025-01525-1. Epub 2025 Feb 25.

A lightweight 1D convolutional neural network model for arrhythmia diagnosis from electrocardiogram signal

Affiliations

A lightweight 1D convolutional neural network model for arrhythmia diagnosis from electrocardiogram signal

Beaudelaire Saha Tchinda et al. Phys Eng Sci Med. 2025 Jun.

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.

PubMed Disclaimer

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

    1. World Health Organization URL: https://www.who.int/health-topics/cardiovascular-diseases . (Accessed 15 August 2024)
    1. 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
    1. 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
    1. 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
    1. Sudarshan VK, Acharya UR, Oh SL, Adam M, Tan JH, Chua CK, Chua KP, Tan RS (2017) Automated diagnosis of congestive heart failure using dual tree complex wavelet transform and statistical features extracted from 2 s of ECG signals. Comput Biol Med 83:48–58 - DOI - PubMed

LinkOut - more resources