HYBRID DEEP LEARNING APPROACH FOR ACCURATE ECG BEAT CLASSIFICATION USING RESNET18 AND BILSTM

Authors

  • Zhumagulova Sh.P. postgraduated student, Al-Farabi Kazakh National University, Almaty, Kazakhstan sh.zhumagulovakz@gmail.com
  • Stamkulov O.Zh. cardiothoracic surgeon, Private Hospital International, Almaty, Almaty, Kazakhstan olzhas_stamkulov@mail.ru
  • Momynzhanova K.R. postgraduated student, Al-Farabi Kazakh National University, Almaty, Kazakhstan kymbat010809@gmail.com

DOI:

https://doi.org/10.32014/2025.2518-1726.368

Keywords:

electrocardiogram classification, arrhythmia detection, deep learning, bidirectional long short-term memory (BiLSTM), ResNet18, biomedical signal processing

Abstract

Accurate classification of electrocardiogram (ECG) beats plays a vital role in the early diagnosis of cardiovascular disorders. This paper proposes a novel hybrid deep learning framework that combines a convolutional neural network (CNN) backbone (ResNet18) with a bidirectional long short-term memory (BiLSTM) network to enhance ECG beat classification. Initially, the ECG signals are denoised using discrete wavelet transform with the ‘sym5’ wavelet and segmented into individual beats centered around R-peaks. Each beat is converted into a grayscale image with standardized dimensions of 224×224 pixels, followed by extensive data augmentation to ensure class balance across seven selected beat types: NOR, LBB, RBB, PVC, APC, VFW, and VEB.

Unlike traditional CNN-based approaches, the proposed method uses the ResNet18 network to extract deep spatial features from image representations of beats, which are then processed by a BiLSTM layer to capture sequential dependencies among beats. This temporal modeling enables the classifier to better recognize subtle morphological variations associated with arrhythmic events. Experimental results on the MIT-BIH Arrhythmia Database demonstrate that the hybrid model outperforms baseline CNN architectures, achieving an accuracy of 97.4% and a macro F1-score of 96.8%. Visualization through confusion matrices and F1 bar charts further supports the effectiveness of our approach, particularly in detecting rare beat classes.

This work presents a robust and scalable solution for ECG beat classification, with the potential to be integrated into real-time cardiac monitoring systems for clinical decision support.

Downloads

Published

2025-09-27

How to Cite

Жумагулова , Ш. ., Стамкулов, О. ., & Момынжанова, К. (2025). HYBRID DEEP LEARNING APPROACH FOR ACCURATE ECG BEAT CLASSIFICATION USING RESNET18 AND BILSTM. Academic Scientific Journal of Computer Science, 355(3), 132–146. https://doi.org/10.32014/2025.2518-1726.368

Issue

Section

Information and communication technologies

Share

Send this article by e-mail

HYBRID DEEP LEARNING APPROACH FOR ACCURATE ECG BEAT CLASSIFICATION USING RESNET18 AND BILSTM

The recipient will get an e-mail with a link to the article and the PDF attached.

or open in your own e-mail program