Cardiac Arrhythmia Classification Using Advanced Deep Learning Techniques on Digitized ECG Datasets

Sensors (Basel). 2024 Apr 12;24(8):2484. doi: 10.3390/s24082484.

Abstract

ECG classification or heartbeat classification is an extremely valuable tool in cardiology. Deep learning-based techniques for the analysis of ECG signals assist human experts in the timely diagnosis of cardiac diseases and help save precious lives. This research aims at digitizing a dataset of images of ECG records into time series signals and then applying deep learning (DL) techniques on the digitized dataset. State-of-the-art DL techniques are proposed for the classification of the ECG signals into different cardiac classes. Multiple DL models, including a convolutional neural network (CNN), a long short-term memory (LSTM) network, and a self-supervised learning (SSL)-based model using autoencoders are explored and compared in this study. The models are trained on the dataset generated from ECG plots of patients from various healthcare institutes in Pakistan. First, the ECG images are digitized, segmenting the lead II heartbeats, and then the digitized signals are passed to the proposed deep learning models for classification. Among the different DL models used in this study, the proposed CNN model achieves the highest accuracy of ∼92%. The proposed model is highly accurate and provides fast inference for real-time and direct monitoring of ECG signals that are captured from the electrodes (sensors) placed on different parts of the body. Using the digitized form of ECG signals instead of images for the classification of cardiac arrhythmia allows cardiologists to utilize DL models directly on ECG signals from an ECG machine for the real-time and accurate monitoring of ECGs.

Keywords: ECG classification; arrhythmia; deep learning; digitization; self-supervised learning.

MeSH terms

  • Algorithms
  • Arrhythmias, Cardiac* / classification
  • Arrhythmias, Cardiac* / diagnosis
  • Arrhythmias, Cardiac* / physiopathology
  • Deep Learning*
  • Electrocardiography* / methods
  • Heart Rate / physiology
  • Humans
  • Neural Networks, Computer*
  • Signal Processing, Computer-Assisted

Grants and funding

This project was supported by the Erasmus+ program of the European Commission through the ‘Capacity Building for Digital Health Monitoring and Care Systems in Asia (DigiHealth-Asia)’ under grant agreement number 619193-EPP-1-2020-BE-EPPKA2-CBHE-JP.