Skip to content
Open access

COMPARATIVE EVALUATION OF DEEP LEARNING MODELS AND EXPLAINABILITY METHODS FOR ECG HEARTBEAT CLASSIFICATION

Oct 2026 · RECIMA21 - Revista Científica Multidisciplinar - ISSN 2675-6218 · 0 citations · 12 references

Abstract

This study compared a 1D-CNN architecture and a hybrid CNN-BiLSTM-Attention model for multiclass electrocardiographic heartbeat classification, incorporating Explainable Artificial Intelligence techniques to evaluate the faithfulness and temporal distribution of the evidence used by the models. Experiments used a dataset derived from the MIT-BIH Arrhythmia Database, organized into the Normal, Supraventricular, Ventricular, Fusion, and Unclassified classes. The protocol employed five-fold stratified cross-validation exclusively on the training set, epoch selection based on Macro F1 in an internal validation partition, and final evaluation on an untouched holdout test set. The 1D-CNN achieved a test Macro F1 of 0.8681 versus 0.8140 for the CNN-BiLSTM-Attention model, whereas the hybrid model achieved higher Balanced Accuracy, 0.9441 versus 0.9264, indicating higher average class-wise recall. Explainability analysis employed 1D Grad-CAM, Integrated Gradients, and temporal attention on a class-balanced subset of samples correctly classified by both architectures. Under the adopted perturbation protocol, Integrated Gradients showed positive mean faithfulness gains across all classes for both architectures, whereas Grad-CAM and temporal attention exhibited more class-dependent behavior. Low-to-moderate agreement among the methods indicated that different techniques may emphasize distinct temporal regions for the same correct prediction. Within this experimental setting, the additional complexity of the hybrid model did not translate into uniformly better predictive performance, supporting the complementary evaluation of predictive performance and explainability in ECG classification.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.