info@ijrretas.com
E-ISSN: 2455-4723 | Impact Factor: 7.95
+91 77710 84928 Support
IJRRETAS logo
  • About
    • About The Journal
    • Aim & Scope
    • Privacy Statement
    • Journal Policies
    • Disclaimer
    • Abstracting and Indexing
    • FAQ
  • Current
  • Archive
  • For Author
    • Submit Paper Online
    • Track Paper Status
    • Pay Publication Fee
    • Verify Certificate
    • Article Processing Charges
    • Submission Guidelines
    • Manuscript Types
    • Download Template (Word)
    • Download Copyright Form (Word)
  • Editorial Board
    • Editorial Board
    • Editors Responsibilities
    • Join as Editor / Reviewer
  • More
    • Contact
    • Pay Publication Fee Online
    • Bank / UPI Payment Details
    • Blogs
  • Submit Paper

Recent Papers

Dedicated to advancing knowledge through rigorous research and scholarly publication

  1. Home
  2. Recent Papers

Comparative Evaluation of BiLSTM, ResNet-1D, and Transformer Architectures for Automated ECG Arrhythmia Classification

Authors: Patil Manish Madhukar, Rocky Kumar

Published in: IJRRETAS, Volume 10, Issue 11, pp. 9-24 (02 Nov 2024)

Impact Factor: 7.95 (2024)

License: CC BY 4.0 CC BY 4.0 (Open Access)

Certificate: View Certificate

Abstract

Cardiovascular disease remains a leading cause of global mortality, and continuous electrocardiogram (ECG) monitoring through wearable devices offers a practical pathway for the early detection of life-threatening arrhythmias. This study presents a controlled, comparative evaluation of three deep learning architectures—Bidirectional Long Short-Term Memory (BiLSTM), one-dimensional Residual Network (ResNet-1D), and the Transformer Encoder—for the automated classification of cardiac arrhythmias from single-lead ECG beat segments drawn from the MIT-BIH Arrhythmia Database. A total of 17,966 heartbeat segments were extracted and conditioned through a three-stage preprocessing pipeline comprising Butterworth band-pass filtering, Symlet-4 wavelet denoising, and Z-score normalization. The severe class imbalance inherent to arrhythmia data was corrected using the Synthetic Minority Over-sampling Technique (SMOTE), producing a balanced corpus of 50,000 samples distributed evenly across the five heartbeat classes defined by the Association for the Advancement of Medical Instrumentation (AAMI). All three architectures were trained under an identical regime and evaluated on a held-out test set using accuracy, precision, recall, weighted F1-score, the Matthews Correlation Coefficient, Cohen’s kappa, and macro-averaged ROC-AUC. ResNet-1D achieved the strongest overall performance, with a test accuracy of 98.74%, a Matthews Correlation Coefficient of 0.9843, and a macro-averaged ROC-AUC of 0.9995, outperforming BiLSTM (97.80% accuracy) and the Transformer Encoder (97.50% accuracy) across every metric in the evaluation suite. The results indicate that residual convolutional architectures provide the most favourable balance of aggregate accuracy and minority-class sensitivity for single-beat ECG classification, offering practical guidance for the design of accurate, wearable-deployable cardiac monitoring systems.

Keywords
  • ECG classification
  • deep learning
  • BiLSTM
  • ResNet-1D
  • Transformer
  • SMOTE
  • wearable monitoring
  • arrhythmia detection
References
  1. Acharya, U. R., Oh, S. L., Hagiwara, Y., Tan, J. H., Adam, M., Gertych, A., & Tan, R. S. (2017). A deep convolutional neural network model to classify heartbeats. Computers in Biology and Medicine, 89, 389–396.
  2. Che, C., Zhang, P., Zhu, M., Qu, Y., & Jin, B. (2021). Constrained transformer network for ECG signal processing and arrhythmia classification. BMC Medical Informatics and Decision Making, 21(1), 184.
  3. Chen, C., Hua, Z., Zhang, R., Liu, G., & Wen, W. (2020). Automated arrhythmia classification based on a combination network of CNN and LSTM. Biomedical Signal Processing and Control, 57, 101819.
  4. Elreedy, D., & Atiya, A. F. (2019). A comprehensive analysis of synthetic minority oversampling technique (SMOTE) for handling class imbalance. Information Sciences, 505, 32–64.
  5. Faust, O., Shenfield, A., Kareem, M., San, T. R., Fujita, H., & Acharya, U. R. (2018). Automated detection of atrial fibrillation using long short-term memory network with RR interval signals. Computers in Biology and Medicine, 102, 327–335.
  6. Hannun, A. Y., Rajpurkar, P., Haghpanahi, M., Tison, G. H., Bourn, C., Turakhia, M. P., & Ng, A. Y. (2019). Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network. Nature Medicine, 25(1), 65–69.
  7. He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 770–778). IEEE.
  8. Hu, R., Chen, J., & Zhou, L. (2022). A transformer-based deep neural network for arrhythmia detection using continuous ECG signals. Computers in Biology and Medicine, 144, 105325.
  9. Islam, M. S., Hasan, K. F., Sultana, S., Uddin, S., Quinn, J. M. W., & Moni, M. A. (2023). HARDC: A novel ECG-based heartbeat classification method to detect arrhythmia using hierarchical attention based dual structured RNN with dilated CNN. Neural Networks, 162, 271–287.
  10. Kachuee, M., Fazeli, S., & Sarrafzadeh, M. (2018). ECG heartbeat classification: A deep transferable representation. In Proceedings of the 2018 IEEE International Conference on Healthcare Informatics (pp. 443–444). IEEE.
  11. Le, M. D., Rathour, V. S., Truong, Q. S., Mai, Q., Brijesh, P., & Le, N. (2021). Multi-module recurrent convolutional neural network with transformer encoder for ECG arrhythmia classification. In 2021 IEEE EMBS International Conference on Biomedical and Health Informatics (pp. 1–5). IEEE.
  12. Meng, L., Tan, W., Ma, J., Wang, R., Yin, X., & Zhang, Y. (2022). Enhancing dynamic ECG heartbeat classification with lightweight transformer model. Artificial Intelligence in Medicine, 124, 102236.
  13. Mousavi, S., & Afghah, F. (2019). Inter- and intra-patient ECG heartbeat classification for arrhythmia detection: A sequence to sequence deep learning approach. In Proceedings of ICASSP 2019 (pp. 1308–1312). IEEE.
  14. Ray, P. P. (2022). A review on TinyML: State-of-the-art and prospects. Journal of King Saud University – Computer and Information Sciences, 34(4), 1595–1623.
  15. Ribeiro, A. H., Ribeiro, M. H., Paixão, G. M. M., Oliveira, D. M., Gomes, P. R., Canazart, J. A., ... Ribeiro, A. L. P. (2020). Automatic diagnosis of the 12-lead ECG using a deep neural network. Nature Communications, 11, 1760.
  16. Sellami, A., & Hwang, H. (2019). A robust deep convolutional neural network with batch-weighted loss for heartbeat classification. Expert Systems with Applications, 122, 75–84.
  17. Siontis, K. C., Noseworthy, P. A., Attia, Z. I., & Friedman, P. A. (2021). Artificial intelligence-enhanced electrocardiography in cardiovascular disease management. Nature Reviews Cardiology, 18(7), 465–478.
  18. Varghese, A., Kamal, S., & Kurian, J. (2023). Transformer-based temporal sequence learners for arrhythmia classification. Medical & Biological Engineering & Computing, 61(8), 1993–2000.
  19. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, ?., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30, 5998–6008.
  20. Wang, B., Liu, C., Hu, C., Liu, X., & Cao, J. (2021). Arrhythmia classification with heartbeat-aware transformer. In Proceedings of ICASSP 2021 (pp. 1025–1029). IEEE.
  21. Warden, P., & Situnayake, D. (2019). TinyML: Machine learning with TensorFlow Lite on Arduino and ultra-low-power microcontrollers. O’Reilly Media.
How to Cite
APA: Madhukar, P. M., & Kumar, R. (2024). Comparative Evaluation of BiLSTM, ResNet-1D, and Transformer Architectures for Automated ECG Arrhythmia Classification. International Journal for Rapid Research in Engineering Technology & Applied Science, 10(11), 9–24. https://ijrretas.com/research-paper/comparative-evaluation-of-bilstm-resnet-1d-and-transformer-architectures-for-automated-ecg-arrhythmia-classification

Download Paper

Paper Id: IJRRETAS272

Publish Date: 2024-11-02

ISSN: 2455-4723

Publisher Name: ijrretas

About IJRRETAS

ijrretas is a leading open-access, peer-reviewed journal dedicated to advancing research in applied sciences and engineering. We provide a global platform for researchers to disseminate innovative findings and technological breakthroughs.

ISSN
2455-4723
Established
2015

Quick Links

Home Submit Paper Track Paper Status Author Guidelines Editorial Board Past Issues Topics
Fees Structure Scope & Topics Terms & Conditions Privacy Policy Refund and Cancellation Policy

Contact Us

Tilak Nagar, Indore, Madhya Pradesh, India

info@ijrretas.com

+91 77710 84928

www.ijrretas.com

Indexed In
Google Scholar Crossref ResearchGate CiteFactor
© 2026 ijrretas. All Rights Reserved.
Privacy Policy Terms of Service