Explainable Combined Spatial Representations for ECG Arrhythmia Classification
Abstract
1. Introduction
2. Background and Related Work
3. Spatial Representations of ECG Signals
3.1. Time-Frequency Spectrograms
3.2. Gramian Angular Field
3.3. Recurrence Plots
3.4. The S-Transform
4. The Proposed Approach
5. Experimental Protocol and Results
5.1. The ECG Arrhythmia Datasets
5.2. Data Preprocessing
5.3. Experimental Results
5.4. Explainability Analysis
6. Discussion and Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Naghavi, M.; Kyu, H.H.; Aalipour, M.A.; Aalruz, H.; Ababneh, H.S.; Abafita, B.J.; Abaraogu, U.O.; Abbafati, C.; Abbasi, M.; Abbaspour, F.; et al. Global burden of 292 causes of death in 204 countries and territories and 660 subnational locations, 1990–2023: A systematic analysis for the Global Burden of Disease Study 2023. Lancet 2025, 406, 1811–1872. [Google Scholar] [CrossRef]
- Singh, P.; Sharma, A. Interpretation and classification of arrhythmia using deep convolutional network. IEEE Trans. Instr. Meas. 2022, 71, 2518512. [Google Scholar] [CrossRef]
- Talukder, M.A.; Talaat, A.S.; Muna, N.J.; Alazab, A.; Kazi, M.; Das, U.K. An explainable deep learning framework for trustworthy arrhythmia detection from ECG signals. Sci. Rep. 2025, 15, 39496. [Google Scholar] [CrossRef]
- Ansari, Y.; Mourad, O.; Qaraqe, K.; Serpedin, E. Deep learning for ECG Arrhythmia detection and classification: An overview of progress for period 2017–2023. Front. Physiol. 2023, 14, 1246746. [Google Scholar] [CrossRef]
- Sun, H.; Luo, D.; Niu, X.; Zeng, X.; Zheng, B.; Liu, H.; Pan, J. Classification algorithms in automatic diagnosis of ECG arrhythmias: A review. IEEE Access 2024, 12, 191921–191935. [Google Scholar] [CrossRef]
- Manimaran, G.; Peimankar, A.; Puthusserypady, S.; Momeni, M.; Asyari, R.A.I.; Jahan, M.S.; Moll, J.; Will, U.K.; Ebrahimi, A. Explainable deep learning based techniques for ECG-Based heart disease classification: A systematic literature review and future direction. Comp. Biol. Med. 2025, 199, 111324. [Google Scholar] [CrossRef] [PubMed]
- Abdullah, T.A.A.; Zahid, M.S.M.; Ali, W.; Hassan, S.U. B-LIME: An improvement of LIME for interpretable deep learning classification of cardiac arrhythmia from ECG signals. Processes 2023, 11, 595. [Google Scholar] [CrossRef]
- Oporto, E.; Mauricio, D.; Maculan, N.; Uribe, G. Challenges in the classification of cardiac arrhythmias and ischemia using end-to-end deep learning and the electrocardiogram: A systematic review. Diagnostics 2026, 16, 161. [Google Scholar] [CrossRef]
- Ciocoiu, I.B. Comparative analysis of bag-of-words models for ECG-based biometrics. IET Biom. 2017, 6, 495–502. [Google Scholar] [CrossRef]
- Apandi, Z.F.M.; Aziz, N.S.; Othman, W.R.W.; Mustapha, N.; Ikeura, R.; Rofar, N.A.N.A. Heartbeat classification for arrhythmia detection in ambulatory monitoring: A comprehensive systematic review. Biomed. Sig. Process. Control 2026, 116, 109496. [Google Scholar] [CrossRef]
- Ahmed, A.A.; Ali, W.; Abdullah, T.A.A.; Malebary, S.J. Classifying cardiac arrhythmia from ECG signal using 1D CNN deep learning model. Mathematics 2023, 11, 562. [Google Scholar] [CrossRef]
- Khan, F.; Yu, X.; Yuan, Z.; ur Rehman, A. ECG classification using 1-D convolutional deep residual neural network. PLoS ONE 2023, 18, e0284791. [Google Scholar] [CrossRef]
- Atwa, A.E.M.; Atlam, E.S.; Ahmed, A.; Atwa, M.A.; Abdelrahim, E.M.; Siam, A.I. Interpretable deep learning models for arrhythmia classification based on ECG signals using PTB-X dataset. Diagnostics 2025, 15, 1950. [Google Scholar] [CrossRef] [PubMed]
- Baig, Z.; Nasir, S.; Khan, R.A.; Haque, M.Z.U. ArrhythmiaVision: Resource-conscious deep learning models with visual explanations for ECG arrhythmia classification. arXiv 2025, arXiv:2505.03787. [Google Scholar]
- Silva, G.; Silva, P.; Moreira, G.; Freitas, V.; Gertrudes, J.; Luz, E. A systematic review of ECG arrhythmia classification: Adherence to standards, fair evaluation, and embedded feasibility. arXiv 2025, arXiv:2503.07276. [Google Scholar] [CrossRef]
- Imane, A.; Abdelmajid, B.; Hilal, D.L.; Frederic, E.D.Y.; Hanaa, O.H. Artificial intelligence for atrial fibrillation detection: A systematic review of recent advances in ECG-based deep learning models. In Proceedings of the 5th International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET), Fez, Morocco, 15–16 May 2025; pp. 1–6. [Google Scholar]
- Sepahvand, M.; Abdali-Mohammadi, F. A novel method for reducing arrhythmia classification from 12-lead ECG signals to single-lead ECG with minimal loss of accuracy through teacher-student knowledge distillation. Inf. Sci. 2022, 593, 64–77. [Google Scholar] [CrossRef]
- Shah, A.; Singh, D.; Mohamed, H.G.; Bharany, S.; Rehman, A.U.; Hussen, S. Electrocardiogram analysis for cardiac arrhythmia classification and prediction through self attention based auto encoder. Sci. Rep. 2025, 15, 9230. [Google Scholar] [CrossRef]
- Guhdar, M.; Mohammed, A.O.; Mstafa, R.J. Advanced deep learning framework for ECG arrhythmia classification using 1D-CNN with attention mechanism. Knowl.-Based Syst. 2025, 315, 113301. [Google Scholar] [CrossRef]
- Islam, M.R.; Qaraqe, M.K.; Qaraqe, K.A.; Serpedin, E. CAT-Net: Convolution, attention, and transformer based network for single-lead ECG arrhythmia classification. Biomed. Signal Process. Control 2024, 23, 106211. [Google Scholar] [CrossRef]
- Shah, H.A.; Saeed, F.; Diyan, M.; Almujally, N.; Kang, J.-M. ECG-TransCovNet: A hybrid transformer model for accurate arrhythmia detection using electrocardiogram signals. CAAI Trans. Intell. Technol. 2024, 1–14. [Google Scholar] [CrossRef]
- Wang, Z.; Oates, T. Encoding time series as images for visual inspection and classification using tiled convolutional neural networks. In Proceedings of the 29th AAAI Conference on Artificial Intelligence, Austin, TX, USA, 25–30 January 2015; pp. 40–46. [Google Scholar]
- Eckmann, J.; Kamphorst, S.O.; Ruelle, D. Recurrence plots of dynamical systems. Europhys. Lett. 1987, 4, 973–977. [Google Scholar] [CrossRef]
- Stockwell, R.G.; Mansinha, L.; Lowe, R.P. Localization of the complex spectrum: The S-transform. IEEE Trans. Sig. Process. 1996, 44, 998–1001. [Google Scholar] [CrossRef]
- Moody, G.; Mark, R. MIT-BIH Arrhythmia Database. PhysioNet: MIT Laboratory for Computational Physiology, 2005. Available online: https://physionet.org/content/mitdb/1.0.0/mitdbdir/#files-panel (accessed on 4 August 2025).
- Zheng, J.; Zhang, J.; Danioko, S.; Yao, H.; Guo, H.; Rakovski, C. A 12-lead electrocardiogram database for arrhythmia research covering more than 10,000 patients. Sci. Data 2020, 7, 48. [Google Scholar] [CrossRef] [PubMed]
- Zeng, W.; Shan, L.; Yuan, C.; Du, S. Advancing cardiac diagnostics: Exceptional accuracy in abnormal ECG signal classification with cascading deep learning and explainability analysis. Appl. Soft Comp. J. 2024, 165, 112056. [Google Scholar] [CrossRef]
- Benmessaoud, A.S.; Medjani, F.; Bousseloub, Y.; Bouaita, K.; Benrahem, D.; Kezai, T. High quality ECG dataset based on MIT-BIH recordings for improved heartbeats classification. In Proceedings of the IEEE International Conference on Omni-Layer Intelligent Systems (COINS), Berlin, Germany, 23–25 July 2023; pp. 1–4. [Google Scholar]
- Yen, S.-J.; Lee, Y.-S. Cluster-based under-sampling approaches for imbalanced data distributions. Expert Syst. Appl. 2009, 36, 5718–5727. [Google Scholar] [CrossRef]
- Hoyos-Osorio, J.; Alvarez-Meza, A.; Daza-Santacoloma, G.; Orozco-Gutierrez, A.; Castellanos-Dominguez, G. Relevant information undersampling to support imbalanced data classification. Neurocomputing 2021, 436, 136–146. [Google Scholar] [CrossRef]
- Bunkhumpornpat, C.; Sinapiromsaran, K.; Lursinsap, C. Safe-level-SMOTE: Safe-level-synthetic minority over-sampling technique for handling the class imbalanced problem. In Proceedings of the 13th Pacific-Asia Conference on Knowledge Discovery and Data Mining, Bangkok, Thailand, 27–30 April 2009; pp. 475–482. [Google Scholar]
- Cohen, J. A coefficient of agreement for nominal scales. Educat. Psych. Meas. 1960, 20, 37–46. [Google Scholar] [CrossRef]
- Chattopadhyay, A.; Sarkar, A.; Howlader, P.; Balasubramanian, V.N. Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networks. arXiv 2017, arXiv:1710.11063. [Google Scholar]
- Wang, H.; Wang, Z.; Du, M.; Yang, F.; Zhang, Z.; Ding, S.; Mardziel, P.; Hu, X. Score-CAM: Score-weighted visual explanations for Convolutional Neural Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, Seattle, WA, USA, 14–19 June 2020; pp. 111–119. [Google Scholar]
- Anand, R.; Lakshmi, S.V.; Pandey, D.; Pandey, B.K. An enhanced ResNet-50 deep learning model for arrhythmia detection using electrocardiogram biomedical indicators. Evol. Syst. 2024, 15, 83–97. [Google Scholar] [CrossRef]
- Mallikarjunamallu, K.; Syed, K. Arrhythmia classification for non-experts using infinite impulse response (IIR)-filter-based machine learning and deep learning models of the electrocardiogram. PeerJ Comput. Sci. 2024, 10, e1774. [Google Scholar]
- Lamba, S.; Kumar, S.; Diwakar, M. Fadlec: Feature extraction and arrhythmia classification using deep learning from electrocardiograph signals. Disc. Artif. Intell. 2025, 5, 82. [Google Scholar] [CrossRef]
- Eleyan, A.; Alboghbaish, E. Electrocardiogram signals classification using deep-learning-based incorporated convolutional neural network and long short-term memory framework. Computers 2024, 13, 55. [Google Scholar] [CrossRef]
- Chen, Z.; Yang, D.; Cui, T.; Li, D.; Liu, H.; Yang, Y.; Zhang, S.; Yang, S.; Ren, T.L. A novel imbalanced dataset mitigation method and ECG classification model based on combined 1D_CBAM-autoencoder and lightweight CNN model. Biomed. Signal Process. Control 2024, 87, 105437. [Google Scholar] [CrossRef]
- Bayani, A.; Kargar, M. LDCNN: A new arrhythmia detection technique with ECG signals using a linear deep convolutional neural network. Physiol. Rep. 2024, 12, e16182. [Google Scholar] [CrossRef] [PubMed]
- Dong, X.; Si, W. Heartbeat dynamics: A novel efficient interpretable feature for arrhythmias classification. IEEE Access 2023, 1, 87071–87086. [Google Scholar] [CrossRef]
- Zhou, F.; Fang, D. Multimodal ECG heartbeat classification method based on a convolutional neural network embedded with FCA. Sci. Rep. 2024, 14, 8804. [Google Scholar] [CrossRef] [PubMed]
- Di Paolo, I.F.; Castro, A.R.G. Intra- and interpatient ECG heartbeat classification based on multimodal convolutional neural networks with an adaptive attention mechanism. Appl. Sci. 2024, 14, 9307. [Google Scholar] [CrossRef]
- Yildirim, O.; Talo, M.; Ciaccio, E.J.; Tan, R.S.; Acharya, U.R. Accurate deep neural network model to detect cardiac arrhythmia on more than 10,000 individual subject ECG records. Comput. Methods Programs Biomed. 2020, 197, 105740. [Google Scholar] [CrossRef]
- Meqdad, M.N.; Abdali-Mohammadi, F.; Kadry, S. A new 12-lead ECG signals fusion method using evolutionary CNN trees for arrhythmia detection. Mathematics 2022, 10, 1911. [Google Scholar] [CrossRef]
- Yoon, T.; Kang, D. Bimodal CNN for cardiovascular disease classification by co-training ECG grayscale images and scalograms. Sci. Rep. 2023, 13, 2937. [Google Scholar] [CrossRef]
- An, X.; Shi, S.; Wang, Q.; Yu, Y.; Liu, Q. Research on a lightweight arrhythmia classification model based on knowledge distillation for wearable single-lead ECG monitoring systems. Sensors 2024, 24, 7896. [Google Scholar] [CrossRef] [PubMed]
- Hassan, A.A.; Abdali-Mohammadi, F. Automatic extraction of medical latent variables from ECG signals utilizing a mutual information-based technique and capsular neural networks for arrhythmia detection. Comp. Mat. Contin. 2024, 81, 971–983. [Google Scholar] [CrossRef]
- Dias, F.M.; Monteiro, H.L.M.; Cabral, T.W.; Naji, R.; Kuehni, M.; Luz, E.J.S. Arrhythmia classification from single-lead ECG signals using the inter-patient paradigm. Comput. Methods Programs Biomed. 2021, 202, 105948. [Google Scholar] [CrossRef] [PubMed]
- Chazal, P.d.; O’dwyer, M.; Reilly, R.B. Automatic classification of heartbeats using ECG morphology and heartbeat interval features. IEEE Trans. Biomed. Eng. 2004, 51, 1196–1206. [Google Scholar] [CrossRef] [PubMed]









| N | SVEB | VEB | F | Q | |
|---|---|---|---|---|---|
| Original | 89,554 | 2560 | 7229 | 803 | 8043 |
| Augmented | 8000 | 8000 | 8000 | 8000 | 8000 |
| SB | SR | AFIB | GSVT | |
|---|---|---|---|---|
| Num. Samples | 3888 | 2222 | 2218 | 2260 |
| Merged Categories | - | SR, SI | AFIB, AF | SVT, AT, SAAWR, ST, AVNRT, AVRT |
| Spectrogram | Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 95.0 (±1.1) | 95.0 (±1.0) | 95.0 (±1.1) | 95.0 (±1.1) | 84.4 (±3.5) | 99.5 (±0.2) | |
| Model 2 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 95.9 (±1.0) | 95.9 (±0.9) | 95.9 (±1.0) | 95.9 (±1.0) | 87.2 (±3.0) | 99.6 (±0.1) | |
| Model 3 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 95.0 (±1.2) | 95.1 (±1.1) | 95.0 (±1.2) | 95.0 (±1.2) | 84.5 (±3.8) | 99.5 (±0.2) | |
| Resnet-50 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.5 (±0.9) | 97.5 (±0.9) | 97.5 (±0.9) | 97.5 (±0.9) | 92.1 (±2.8) | 99.8 (±0.1) | |
| Combined models | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 96.6 (±0.9) | 96.8 (±0.9) | 96.8 (±0.9) | 96.8 (±0.9) | 89.6 (±2.9) | 99.7 (±0.2) | |
| GAF | Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 96.8 (±0.9) | 96.8 (±0.9) | 96.8 (±0.9) | 96.8 (±0.9) | 89.8 (±2.9) | 99.7 (±0.2) | |
| Model 2 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.1 (±1.0) | 97.1 (±1.0) | 97.1 (±1.0) | 97.1 (±1.0) | 91.0 (±3.1) | 99.7 (±0.2) | |
| Model 3 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.0 (±1.0) | 97.0 (±1.0) | 97.0 (±1.0) | 97.0 (±1.0) | 90.7 (±3.3) | 99.8 (±0.2) | |
| Resnet-50 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.7 (±1.0) | 97.7 (±1.0) | 97.7 (±1.0) | 97.7 (±1.0) | 92.9 (±3.1) | 99.9 (±0.1) | |
| Combined models | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 98.0 (±1.5) | 98.0 (±1.4) | 97.9 (±1.5) | 97.8 (±1.5) | 93.8 (±4.7) | 99.9 (±0.1) | |
| RP | Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.6 (±1.4) | 97.7 (±1.3) | 97.6 (±1.4) | 97.6 (±1.4) | 92.6 (±4.3) | 99.8 (±0.2) | |
| Model 2 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.6 (±1.5) | 97.7 (±1.4) | 97.6 (±1.5) | 97.6 (±1.5) | 92.6 (±4.7) | 99.8 (±0.2) | |
| Model 3 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.8 (±1.2) | 97.8 (±1.1) | 97.8 (±1.2) | 97.8 (±1.2) | 93.2 (±3.7) | 99.8 (±0.1) | |
| Resnet-50 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 96.6 (±1.1) | 96.7 (±1.1) | 96.7 (±1.1) | 96.7 (±1.1) | 89.4 (±3.6) | 99.7 (±0.2) | |
| Combined models | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.5 (±1.9) | 97.5 (±1.8) | 97.5 (±1.9) | 97.5 (±1.9) | 92.2 (±5.9) | 99.9 (±0.2) | |
| ST | Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.1 (±1.6) | 97.1 (±1.5) | 97.1 (±1.6) | 97.1 (±1.6) | 91.0 (±4.9) | 99.8 (±0.2) | |
| Model 2 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.5 (±1.6) | 97.6 (±1.5) | 97.5 (±1.6) | 97.5 (±1.6) | 92.3 (±5.1) | 99.8 (±0.2) | |
| Model 3 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.2 (±1.6) | 97.3 (±1.5) | 97.2 (±1.6) | 97.2 (±1.6) | 91.4 (±5.0) | 99.8 (±0.2) | |
| Resnet-50 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 96.1 (±1.8) | 96.1 (±1.7) | 96.0 (±1.7) | 96.0 (±1.8) | 87.9 (±5.5) | 99.6 (±0.2) | |
| Combined models | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 97.8 (±1.5) | 97.9 (±1.4) | 97.8 (±1.5) | 97.8 (±1.5) | 93.3 (±4.6) | 99.7 (±0.3) | |
| Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 98.5 (±1.2) | 98.5 (±1.1) | 98.5 (±1.2) | 98.5 (±1.2) | 95.2 (±3.7) | 99.9 (±0.1) |
| Model 2 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 98.5 (±0.8) | 98.5 (±0.8) | 98.5 (±0.8) | 98.5 (±0.8) | 95.4 (±2.5) | 99.9 (±0.1) |
| Model 3 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 98.5 (±1.0) | 98.5 (±1.0) | 98.5 (±1.0) | 98.5 (±1.0) | 95.3 (±3.3) | 99.9 (±0.1) |
| Resnet-50 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 98.3 (±0.9) | 98.3 (±0.9) | 98.3 (±0.9) | 98.3 (±0.9) | 94.8 (±2.9) | 99.9 (±0.1) |
| Combined models | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 99.0 (±0.8) | 99.0 (±0.8) | 99.0 (±0.8) | 99.0 (±0.8) | 96.9 (±2.5) | 99.9 (±0.1) |
| Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 98.9 (±0.8) | 98.9 (±0.8) | 98.9 (±0.8) | 98.9 (±0.8) | 96.5 (±2.5) | 99.9 (±0.1) |
| Model 2 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 98.8 (±0.8) | 98.8 (±0.7) | 98.8 (±0.8) | 98.8 (±0.8) | 96.2 (±2.4) | 99.9 (±0.1) |
| Model 3 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 98.7 (±1.0) | 98.8 (±1.1) | 98.7 (±1.1) | 98.7 (±1.1) | 94.3 (±3.8) | 99.9 (±0.1) |
| Resnet-50 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 98.8 (±0.7) | 98.8 (±0.7) | 98.8 (±0.7) | 98.6 (±0.7) | 94.4 (±2.2) | 99.9 (±0.1) |
| Spectrogram | Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 89.5 (±3.9) | 88.8 (±3.9) | 87.9 (±4.6) | 87.9 (±4.8) | 72.1 (±10.6) | 97.2 (±2.1) | |
| Model 2 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 87.3 (±3.5) | 86.2 (±3.4) | 85.5 (±4.0) | 85.5 (±4.1) | 66.2 (±9.3) | 96.3 (±1.8) | |
| Model 3 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 89.2 (±3.5) | 88.3 (±3.5) | 87.6 (±4.1) | 87.6 (±4.3) | 71.3 (±9.5) | 97 (±2.1) | |
| Resnet-50 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 90.6 (±4.0) | 90.2 (±3.9) | 89.1 (±4.6) | 89.2 (±4.8) | 75 (±10.6) | 97.2 (±2.4) | |
| Combined models | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 91.5 (±4.2) | 91.2 (±4.0) | 90.2 (±4.9) | 90.2 (±5.0) | 77.4 (±11.1) | 98.0 (±1.9) | |
| GAF | Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 92.6 (±3.7) | 92.2 (±3.6) | 91.6 (±4.3) | 91.6 (±4.4) | 80.3 (±10) | 98.4 (±1.5) | |
| Model 2 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 90.9 (±4.0) | 90.5 (±3.2) | 89.7 (±4.7) | 89.7 (±4.7) | 75.9 (±10.7) | 98 (±1.7) | |
| Model 3 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 91.5 (±3.9) | 91 (±3.7) | 90.3 (±4.6) | 90.3 (±4.8) | 77.5 (±10.6) | 97.8 (±2.0) | |
| Resnet-50 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 90.2 (±4.3) | 89.7 (±3.9) | 88.9 (±5.2) | 88.8 (±5.3) | 73.8 (±11.6) | 97.5 (±2.2) | |
| Combined models | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 93.5 (±4.2) | 93.3 (±3.8) | 92.5 (±4.9) | 92.5 (±5.0) | 82.6 (±11.2) | 98.8 (±1.5) | |
| RP | Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 92.4 (±3.7) | 92 (±3.6) | 91.3 (±4.3) | 91.4 (±4.4) | 79.9 (±9.8) | 98.3 (±1.6) | |
| Model 2 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 91.6 (±3.9) | 91.2 (±3.5) | 90.5 (±4.6) | 90.3 (±4.7) | 77.7 (±10.4) | 98.1 (±1.5) | |
| Model 3 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 92 (±3.7) | 91.4 (±3.7) | 91 (±4.3) | 91 (±4.4) | 78.8 (±10) | 98 (±1.6) | |
| Resnet-50 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 90 (±4.8) | 89.8 (±4.0) | 88.5 (±5.7) | 88.5 (±6.0) | 73.2 (±13) | 97.1 (±2.8) | |
| Combined models | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 93.6 (±4.2) | 93.6 (±3.6) | 92.7 (±4.9) | 92.7 (±5.0) | 83 (±11.1) | 98.8 (±1.3) | |
| ST | Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 93 (±4.8) | 92.7 (±4.8) | 91.9 (±5.6) | 91.8 (±5.8) | 81.3 (±13.8) | 98.3 (±1.9) | |
| Model 2 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 91.5 (±4.2) | 91.1 (±3.9) | 90.2 (±5.1) | 90.2 (±5.2) | 77.5 (±11.3) | 98 (±1.8) | |
| Model 3 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 92.5 (±3.8) | 92.1 (±3.6) | 91.4 (±4.5) | 91.4 (±4.6) | 80.1 (±10.1) | 98 (±1.9) | |
| Resnet-50 | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 90.2 (±4.0) | 89.5 (±4.1) | 88.8 (±4.7) | 88.7 (±5.0) | 73.9 (±10.8) | 97.4 (±2.1) | |
| Combined models | ||||||
| Acc | P | R | F1-score | Kappa | AUC | |
| 93.8 (±4.2) | 93.7 (±3.9) | 92.7 (±4.9) | 92.7 (±5.1) | 83.4 (±11.1) | 98.6 (±1.6) | |
| Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 92 (±2.8) | 92.1 (±2.7) | 92 (±2.8) | 92 (±2.8) | 78.6 (±6.4) | 98.3 (±0.9) |
| Model 2 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 90.8 (±2.9) | 91.1 (±2.7) | 90.8 (±2.9) | 90.8 (±3.0) | 75.5 (±7.8) | 98 (±1.2) |
| Model 3 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 92 (±3.2) | 92.2 (±3.1) | 92 (±3.2) | 92 (±3.4) | 78.7 (±8.7) | 98.1 (±1.1) |
| Resnet-50 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 90.6 (±2.9) | 91 (±2.7) | 90.6 (±2.9) | 90.5 (±3.1) | 75 (±7.8) | 97.7 (±1.4) |
| Combined models | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 93.5 (±3.1) | 93.7 (±2.9) | 93.5 (±3.1) | 93.4 (±3.2) | 82.7 (±8.3) | 98.8 (±1.0) |
| Model 1 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 94.9 (±4.0) | 95 (±3.7) | 94.1 (±4.7) | 94.2 (±4.7) | 86.5 (±10.6) | 99.2 (±1.3) |
| Model 2 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 94.3 (±4.1) | 94.3 (±3.7) | 93.3 (±4.9) | 93.3 (±5.0) | 84.6 (±1.11) | 99 (±1.3) |
| Model 3 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 95 (±4.0) | 95 (±3.7) | 94.2 (±4.6) | 94.2 (±4.8) | 86.7 (±10.6) | 99.1 (±1.3) |
| Resnet-50 | |||||
| Acc | P | R | F1-score | Kappa | AUC |
| 94 (±4.7) | 94.2 (±4.2) | 93 (±5.5) | 93 (±5.7) | 84 (±12.5) | 98.8 (±1.85) |
| Reference | Features/Classifier | Key Performances | Remarks |
|---|---|---|---|
| Anand R. et al. [35] | Improved ResNet-18 (ECG biomarkers) | Accuracy: 98.14%, Recall: 97%, F1: 0.97 | Weighted loss function, up/down-resampling |
| Mallikarjunamallu K. et al. [36] | DenseNet-121, hyperparameters tuning | Accuracy: 99.97% | Class imbalance compensated using SMOTE |
| Lamba et al. [37] | Ant Colony Optimization (ACo) + Bi-LSTM/CNN | Accuracy: 98.9% (ACoBi-LSTM), 99.1% (Aco-CNN) | Class imbalance compensated using SMOTE |
| Eleyan et al. [38] | FFT + CNN + LSTM | Accuracy: 97.6% | |
| Chen Z. et al. [39] | 1D Convolutional Block Attention Module + CNN | Accuracy: 98.2%, Recall: 95%, F1: 0.96 | Class imbalance compensated using amplitude scaling, weighted loss |
| Bayani A. et al. [40] | Linear deep CNN | Accuracy: 99.38% | 5 classes, 5000 samples/class after resampling |
| X. Dong, W. Si [41] | Heartbeat Dynamics feature + interpretable ML model (SVM, kNN) | Accuracy: 99.4%, Precision: 99.1%, Recall: 98.8%, F1-score: 0.99 | 5 classes, 2 leads, balanced classes using resampling/SMOTE |
| Zhou Y. et al. [42] | 2D representations + Multi-branch CNN | Accuracy: 99.6%, Recall: 98.9% | Balanced classes using SMOTE |
| Di Paolo F. [43] | 2D representations + CNN with attention | Accuracy: 98.4%, Precision: 94.5%, Recall: 80.3%, F1: 0.82 | 2 leads, balanced classes using SMOTE |
| Present paper | 2D representations + CNN | Accuracy: 98.6%, F1: 94.2%, AUC: 0.991 | Model 3 with input fusion |
| Reference | Features/Classifier | Key Performances | Remarks |
|---|---|---|---|
| Yildirim et al. [44] | DenseNet-121, hyperparameters tuning | Accuracy: 96.13% | 12 leads |
| Meqdad et al. [45] | Evolutionary CNN trees | Accuracy: 97.6% | 12 leads |
| Yoon et al. [46] | Scalogram + bimodal CNN | Accuracy: 95.7%, AUC: 0.994 | |
| Zheng J. et al. [26] | 230 ECG biomarkers + gradient boosting tree | Accuracy: 98.2%, F1: 96% | 80/20% train/test sets |
| Sepahvand M. [17] | Feature distillation | Accuracy: 96.5% | 12 leads |
| An X. et al. [47] | Knowledge distillation | Accuracy: 96.3% | wearable devices |
| Hassan et al. [48] | Capsule NN | Accuracy: 97.4%, F1: 96.6% | 12 leads |
| Present paper | 2D representations + CNN | Accuracy: 95%, F1: 98.6%, AUC: 0.999 | Resnet-50 with input fusion, combined 2D representations |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Onică, I.; Ciocoiu, I.B. Explainable Combined Spatial Representations for ECG Arrhythmia Classification. Mach. Learn. Knowl. Extr. 2026, 8, 114. https://doi.org/10.3390/make8050114
Onică I, Ciocoiu IB. Explainable Combined Spatial Representations for ECG Arrhythmia Classification. Machine Learning and Knowledge Extraction. 2026; 8(5):114. https://doi.org/10.3390/make8050114
Chicago/Turabian StyleOnică, Iulia, and Iulian B. Ciocoiu. 2026. "Explainable Combined Spatial Representations for ECG Arrhythmia Classification" Machine Learning and Knowledge Extraction 8, no. 5: 114. https://doi.org/10.3390/make8050114
APA StyleOnică, I., & Ciocoiu, I. B. (2026). Explainable Combined Spatial Representations for ECG Arrhythmia Classification. Machine Learning and Knowledge Extraction, 8(5), 114. https://doi.org/10.3390/make8050114

