A deep learning framework for arrhythmia classification: mitigating data leakage and class imbalance in ECG analysis.
Sudeshna Sani, Dipra Mitra, Pallab Banerjee, Durgesh Srivastava
Department of Computer Science & Engineering, Faculty of Science and Technology (ICFAI Tech), ICFAI Foundation for Higher Education, Hyderabad, India. · Department of Computer Science & Engineering, Amity University Jharkhand, Ranchi, India.
Key points
From the paper's conclusion- These findings show the feasibility of the proposed method for early cardiac event detection and providing clinical patient assistance in high-risk environments.
Abstract
Accurate and timely identification of cardiac abnormalities remains essential for reducing mortality associated with life-threatening cardiac arrhythmias. However, automated diagnostic systems often struggle with imbalanced clinical data and limited generalizability. In this work, we propose an efficient deep learning framework to classify the various ECG arrhythmias based on time-frequency features generated through Continuous Wavelet Transform (CWT) and efficient VGG16 transfer learning. By avoiding data leakage through a stratified split-then-augment partitioning method, the method achieved a test accuracy of 96.05% and stable performance across five-fold cross-validation (96.0% ± 0.4%). The model achieved a macro-average F1 score of 0.933 despite class imbalance with a sensitivity that supports real-world detection needs, including ventricular fusion beat recognition. CWT improved the multi-resolution representation of non-stationary ECG signals, while architectural changes, including batch normalization, global average pooling and dropout, improved model performance without increasing computational load. The system has only 166K trainable parameters with an inference latency of ∼25-30 ms, suggesting the possible application in emergency triage, bedside monitoring, and telemedicine-assisted decision support. These findings show the feasibility of the proposed method for early cardiac event detection and providing clinical patient assistance in high-risk environments.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An attention-enhanced CNN-BiLSTM framework with confidence-gated inference for arrhythmia detection using ECG signalsDiscover Computing · 2026
- Patient-adaptive and clinically interpretable arrhythmia detection from ECG using lightweight hybrid deep learning.Biomedical engineering letters · 2026
- A Fast and Generalizable Deep Neural Network for the Detection of Atrial Fibrillation.Bioengineering (Basel, Switzerland) · 2026
- An Explainable Depthwise Separable-Fire Convolutional Model for Resource-Constrained Diagnosis of Cardiac RhythmInternational Journal of Computational Intelligence Systems · 2026
- CNN-T-NiN: A Hybrid Deep Learning Model for ECG Signal Classification and Rare Arrhythmia DetectionApplied Sciences · 2026
- A deep learning framework for multi-lead ECG arrhythmia classification with CAM interpretability and LLM-driven clinical guidanceComputer Methods in Biomechanics & Biomedical Engineering · 2026