ECG-BASED ARRHYTHMIA DETECTION USING THE NARROW NEURAL NETWORK CLASSIFIER
DOI:
https://doi.org/10.33480/jitk.v11i2.7121Keywords:
arrhythmia detection , machine learning , narrow neural network classifier , signal preprocessing , wearable deviceAbstract
Electrocardiograms (ECG) are important for detecting arrhythmias. Conventional models such as CNN and LSTM are accurate but require large amounts of computation, making them difficult to use on wearable devices and for real-time monitoring. This study evaluates the Narrow Neural Network Classifier (NNNC) as a lightweight and efficient alternative. The dataset consists of 21 subjects with 881 ECG samples, categorized based on walking, sitting, and running activities, and processed through bandpass filtering, normalization, and P-QRS- T wave segmentation. The data is divided into training (70%), validation (15%), and test (15%) sets. The NNNC has 11 convolutional layers, a ReLU activation function, a Softmax output, and 120,000 parameters. The model was trained using the Adam optimizer, a batch size of 32, and a learning rate of 0.001 for 100 epochs and compared with SVM, CNN, and LSTM using accuracy, precision, recall, F1-score, and ROC-AUC. The results show that NNNC achieves an accuracy of 98.9%, a precision of 99.2%, a recall of 99.2%, and an F1-score of 99.2%, higher than SVM and comparable to CNN/LSTM, with lower computational consumption. The model is capable of reliably detecting early arrhythmias. These findings support the potential of NNNC for ECG-based automatic diagnostic systems, including real-time implementation on wearable devices, although further research is needed for large-scale validation
Downloads
References
Y. Ansari, O. Mourad, K. Qaraqe, and E. Serpedin, “Deep learning for ECG Arrhythmia detection and classification: an overview of progress for period 2017– 2023,” Front Physiol, vol. 14, no. September, 2023, doi: 10.3389/fphys.2023.1246746.
M. D. Cesare et al., “World Heart Report 2023: Confronting the World’s Number One Killer,” World Heart Federation, pp. 1–52, 2023, [Online]. Available: https://world- heart-federation.org/wp- content/uploads/World-Heart-Report-2023.pdf
N. Alamatsaz, L. Tabatabaei, M. Yazdchi, H. Payan, N. Alamatsaz, and F. Nasimi, “A lightweight hybrid CNN-LSTM explainable model for ECG-based arrhythmia detection,” Biomed Signal Process Control, vol. 90, pp. 1–7, 2024, doi: 10.1016/j.bspc.2023.105884.
R. Nikandish, J. He, and B. Haghi, “Multi- Feature Fusion and Compressed Bi- LSTM for Memory-Efficient Heartbeat Classification on Wearable Devices,” pp. 1–9, 2024.
M. A. Sheikh Beig Goharrizi, A. Teimourpour, M. Falah, K. Hushmandi, and M. S. Isfeedvajani, “Multi-lead ECG heartbeat classification of heart disease based on HOG local feature descriptor,” Computer Methods and Programs in Biomedicine Update, vol. 3, no. January, p. 100093, 2023, doi: 10.1016/j.cmpbup.2023.100093.
X. An, S. Shi, Q. Wang, Y. Yu, and Q. Liu, “Research on a Lightweight Arrhythmia Classification Model Based on Knowledge Distillation for Wearable Single-Lead ECG Monitoring Systems,” Sensors, vol. 24, no. 24, 2024, doi: 10.3390/s24247896.
U. Gupta, N. Paluru, D. Nankani, K. Kulkarni, and N. Awasthi, “A comprehensive review on efficient artificial intelligence models for classification of abnormal cardiac rhythms using electrocardiograms,” Heliyon, vol. 10, no. 5, p. e26787, 2024, doi: 10.1016/j.heliyon.2024.e26787.
Z. Wu and C. Guo, “Deep learning and electrocardiography: systematic review of current techniques in cardiovascular disease diagnosis and management,” Biomed Eng Online, vol. 24, no. 1, 2025, doi: 10.1186/s12938-025-01349-w.
R. Waleed, “Real-Time Processing Stages of Electrocardiogram Signal: a Review,” Journal of Modern Technology and Engineering, vol. 9, no. 1, pp. 39–54, 2024, doi: 10.62476/jmte9139.
F. Zhou and D. Fang, “Classification of multi-lead ECG based on multiple scales and hierarchical feature convolutional neural networks,” Sci Rep, vol. 15, no. 1, pp. 1–14, 2025, doi: 10.1038/s41598-025-94127-6.
M. Lin, Y. Hong, S. Hong, and S. Zhang, “Discrete Wavelet Transform based ECG classification using gcForest: A deep ensemble method,” Technology and Health Care, vol. 32, no. 201, pp. S95–S105, 2024, doi: 10.3233/THC-248008.
N. S. Alharbi, H. Jahanshahi, Q. Yao, S. Bekiros, and I. Moroz, “Enhanced Classification of Heartbeat Electrocardiogram Signals Using a Long Short-Term Memory–Convolutional Neural Network Ensemble: Paving the Way for Preventive Healthcare,” Mathematics, vol. 11, no. 18, 2023, doi: 10.3390/math11183942.
J. Cheng, Q. Zou, and Y. Zhao, “ECG signal classification based on deep CNN and BiLSTM,” BMC Med Inform Decis Mak, vol. 21, no. 1, pp. 1–12, 2021, doi: 10.1186/s12911- 021-01736-y.
X. Bai, X. Dong, Y. Li, R. Liu, and H. Zhang, “A hybrid deep learning network for automatic diagnosis of cardiac arrhythmia based on 12-lead ECG,” Sci Rep, vol. 14, no. 1, pp. 1–13, 2024, doi: 10.1038/s41598-024-75531-w.
S. Zhang, Y. Fang, and Y. Ren, “ECG autoencoder based on low-rank attention,” Sci Rep, vol. 14, no. 1, pp. 1–10, 2024, doi: 10.1038/s41598-024-63378-0.
Q. Xiao et al., “Deep Learning-Based ECG Arrhythmia Classification: A Systematic Review,” Applied Sciences (Switzerland), vol. 13, no. 8, 2023, doi: 10.3390/app13084964.
D. Farell et al., “Classification of Arrhythmia Potential using the K-Nearest Neighbor Algorithm,” Internetworking Indonesia Journal, vol. 16, no. 2, pp. 3–9, 2024.
A. Panwar, M. Narendra, A. Arya, R. Raj, and A. Kumar, “Integrated portable ECG monitoring system with CNN classification for early arrhythmia detection,” Front Digit Health, vol. 7, no. March, pp. 1–13, 2025, doi: 10.3389/fdgth.2025.1535335.
C. Bhattarai, S. K. Yadav, and S. Koirala, “IoT Based ECG Using AD8232 and ESP32,” Nepal J Sci Technol, vol. 21, no. 2, pp. 115–121, 2022, doi: 10.3126/njst.v21i2.62361.
J. Y. C. S. Y. S. Ho, M. Wang, R. H. Chan, “Accurate RR-interval extraction from single-lead , telehealth electrocardiogram signals,” 2025. doi: 10.1101/2025.03.10.25323655.
H. A. Elyamani, M. A. Salem, F. Melgani, and N. M. Yhiea, “Deep residual 2D convolutional neural network for cardiovascular disease classification,” Sci Rep, vol. 14, no. 1, pp. 1– 16, 2024, doi: 10.1038/s41598-024-72382-3
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Angelia, Cecilia , Kenrick, Abdi Dharma, Arjon Turnip, Mardi Turnip

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.






-a.jpg)
-b.jpg)











