Detection of Cardiac Arrhythmias Using Transfer Learning and Deep CNN-LSTM Features in the Time–Frequency Domain

Document Type : Research Article

Authors

1 University of Mazandarn

2 University of Windsor

10.22080/frai.2025.5665

Abstract

Cardiac arrhythmias remain a major contributor to global mortality, underscoring the need for timely and accurate diagnosis. With the emergence of deep learning and advanced signal processing, automated detection systems now hold the potential to enhance early diagnosis and clinical decision-making. In this study, we present a novel hybrid framework that integrates transfer learning, convolutional neural networks (CNNs), and long short-term memory (LSTM) networks for effective detection of cardiac arrhythmias from electrocardiogram (ECG) signals. Initially, ECG signals are transformed into the time–frequency domain using continuous wavelet transform (CWT), generating scalogram images that capture both spectral and temporal dynamics. These scalograms serve as inputs to a pre-trained CNN model, enabling the extraction of high-level, domain-invariant features through transfer learning. An LSTM network sequentially processes the resulting deep features to capture temporal dependencies and rhythm patterns in heartbeats. A final fully connected layer performs the classification task, distinguishing between normal and arrhythmic conditions. Experimental results on benchmark ECG datasets demonstrate that the proposed method achieves an impressive classification accuracy of 98.76%, outperforming several existing approaches. This work highlights the promise of combining transfer learning with time–frequency analysis and sequential modeling for robust, real-time cardiac arrhythmia detection, potentially assisting clinicians in reducing diagnostic delays and improving patient outcomes.

Keywords


Volume 1, Issue 2
August 2025
Pages 24-31
  • Receive Date: 15 July 2025
  • Accept Date: 05 August 2025
  • First Publish Date: 05 August 2025
  • Publish Date: 01 August 2025