Cardiovascular disease represents an ongoing and significant global health concern, and early, accurate cardiac arrhythmia identification is critical to the prevention of severe cardiovascular complications, underscoring the requirement for reliable prediction systems. In this paper, a deep learning-based system for cardiovascular disease classification using the benchmark MIT-BIH Arrhythmia Dataset is proposed, comparing the performance of Gated Recurrent Units (GRUs) with Long Short-Term Memory (LSTM) and one-dimensional Convolutional Neural Network (1D CNN). The utilized dataset is first balanced by class using resampling and separated into subsets (training and testing), and then the training set is normalized (scaled) without leakage to be fed to the deep learning models. To improve generalization and efficiency in training recurrent models, diverse adaptive callbacks are used, including Early Stopping, Reduce LROn Plateau, and Model Checkpoint. The results depicted that although the optimized LSTM and multi-layer 1D CNN models provided strong prediction ability in learning temporal sequence and capturing spatial features of electrocardiogram (ECG) signals, respectively, the optimized GRU model performed superiorly, achieving above 99% accuracy, precision, recall, and F1-score. These results confirm that the GRU model, when incorporated with carefully structured training methodologies, provides an effective and accurate system for predicting cardiovascular disease, with significant possibilities for consolidation into clinical decision support systems.
M. N. Hasan, M. A. Hossain, and M. A. Rahman, “An ensemble based lightweight deep learning model for the prediction of cardiovascular diseases from electrocardiogram images,” Engineering Applications of Artificial Intelligence, vol. 141, 109782, 2025.
Z. Safdar, J. Sheng, M. U. Saeed, M. Ramzan, and A. Al-Zubaidi, “Empowering cardiovascular diagnostics with SET-MobileNet: A lightweight and accurate deep learning based classification approach,” Image and Vision Computing, vol. 162, 105684, 2025.
M. Tayyeb, M. Umer, K. Alnowaiser, S. Sadiq, A. A. Eshmawi, R. Majeed, A. Mohamed, H. Song, and I. Ashraf, “Deep Learning Approach for Automatic Cardiovascular Disease Prediction Employing ECG Signals,” CMES - Computer Modeling in Engineering and Sciences, vol. 137, no. 2, pp. 1677-1694, 2023.
S. Sowmya and D. Jose, “Contemplate on ECG signals and classification of arrhythmia signals using CNN-LSTM deep learning model,” Measurement: Sensors, vol. 24, 100558, 2022.
R. A. Marnani, R. Jaros, J. Pavlicek, R. Martinek, and R. V. Kahankova, “Advancements and Challenges in Non-Invasive Electrocardiography for Prenatal, Intrapartum, and Postnatal Care: A Comprehensive Review,” in IEEE Access, vol. 12, pp. 44730-44747, 2024.
M. A. Talukder, “A hybrid multiscale feature fusion model for enhanced cardiovascular arrhythmia detection,” Results in Engineering, vol. 25, 104244, 2025.
S. Albawi, M. H. Arif, and J. Waleed, “Skin cancer classification dermatologist-level based on deep learning model,” Acta Scientiarum. Technology, vol. 45, no. 1, e61531, 2022.
A. Mir, A. U. Rehman, T. M. Ali, S. Javaid, M. F. Almufareh, M. Humayun, and M. Shaheen, “A novel approach for the effective prediction of cardiovascular disease using applied artificial intelligence techniques,” ESC Heart Failure, vol. 11, no. 6, pp. 3742-3756, 2024.
H. Q. Flayyih, J. Waleed, and A. M. Ibrahim, “Indoor Air Quality Prediction in Sick Building Using Machine and Deep Learning: Comparative Analysis,” Diyala Journal of Engineering Sciences, vol. 18, no. 1, pp. 203-218, 2025.
J. Waleed, T. M. Hasan, A. J. Abdullah, and A. Alkhayyat, “Precious Metal Prices Forecasting Using Optimally Configured Hybrid Deep Learning Approach,” Journal of Machine and Computing, vol. 5, no. 3, pp. 1823-1838, 2025.
G. M. Rao, D. Ramesh, V. Sharma, A. Sinha, M. M. Hassan, and A. H. Gandomi, “AttGRU-HMSI: enhancing heart disease diagnosis using hybrid deep learning approach,” Scientific Reports, vol. 14, no. 7833, 2024.
M. S. Haleem, R. Castaldo, S. M. Pagliara, M. Petretta, M. Salvatore, M. Franzese, and L. Pecchia, “Time adaptive ECG driven cardiovascular disease detector,” Biomedical Signal Processing and Control, vol. 70, 102968, 2021.
B. S. Tchinda, D. Tchiotsop, and R. Tchinda, “Classification of cardiac arrhythmias using ECG shape-adapted wavelets and BiLSTM network,” Measurement, vol. 257, part C, 118832, 2026.
P. Mahajan and A. Kaul, “Graph-enhanced deep learning for ECG arrhythmia detection: An integration of CNN-GNN-BiLSTM approach,” Medical Engineering & Physics, vol. 145, 104418, 2025.
K. Lee, J. Lee, and M. Shin, “Lightweight beat score map method for electrocardiogram-based arrhythmia classification,” Biocybernetics and Biomedical Engineering, vol. 44, no. 4, pp. 844-857, 2024.
M. Akkuş, M. Karabatak, and R. Tekin, “Spindle Autoencoder-CNN hybrid model for cardiac arrhythmia classification,” Computers in Biology and Medicine, vol. 195, 110593, 2025.
T. Anitha, S. Aanjankumar, R. K. Dhanaraj, D. Pamucar, and V. Simic, “A deep Bi-CapsNet for analysing ECG signals to classify cardiac arrhythmia,” Computers in Biology and Medicine, vol. 189, 109924, 2025.
Y. Zhang, X. Li, L. Zhang, J. Wang, S. Jiang, Y. Ma, and D. Li, “A sequential MAE-clustering self-supervised learning method for arrhythmia detection,” Expert Systems with Applications, vol. 269, 126379, 2025.
A. Gupta, S. Panday, and C. Bhatnagar, “Arrhythmia Detection from ECG Signal Using Long Short Term Memory Network Model,” Procedia Computer Science, vol. 258, pp. 1102-1111, 2025.
C. K. K. Reddy, A. Daduvy, V. S. Kaza, M. Shuaib, M. Mohzary, S. Alam, and A. Sheneamer, “A multi-scale convolutional LSTM-dense network for robust cardiac arrhythmia classification from ECG signals,” Computers in Biology and Medicine, vol. 191, 110121, 2025.
S. Mangaraj, K. Mahapatra, and S. Ari, “HLS-compiled PYNQ-based cardiac arrhythmia detection system leveraging quantized ECG beat images,” Biomedical Signal Processing and Control, vol. 109, 108063, 2025.
R. Dong and L. Xie, “A multimodal cross-attention-based CNN-LSTM network for arrhythmia classification and clinical diagnostic support,” Biomedical Signal Processing and Control, vol. 112, 108697, 2026.
G. B. Moody and R. G. Mark, “The impact of the MIT-BIH Arrhythmia Database,” in IEEE Engineering in Medicine and Biology Magazine, vol. 20, no. 3, pp. 45-50, 2001.
J. Waleed et al., “An Effective Deep Learning Model to Discriminate Coronavirus Disease From Typical Pneumonia,” International Journal of Service Science, Management, Engineering, and Technology, vol. 13, no. 1, pp. 1-16, 2023.