Work

An Interpretable Hybrid TCN–BiGRU Framework with Adaptive Attention for ECG-based Cardiac Abnormality Recognition

Year: 2026
Type: article
Abstract: Cardiovascular disease (CVD) is among the leading causes of death in the world, and electrocardiogram (ECG) is still the most common non-invasive test employed to assess cardiac abnormalities. Manual ECG interpretation is labour-intensive and prone to inter-observer variability; thus, automated, interpretable ECG classification is warranted. This paper introduces CardioXplainAI, a hybrid, interpretable model consisting of a multi-scale Temporal Convolutional Network (TCN) branch for capturing beat morphology, a bidirectional gated recurrent unit (BiGRU) branch for handling sequential dependencies, and a feature-wise adaptive attention fusion (AAF) module for computing the gate vector to combine the two representations at the sample level. ECG areas related to each prediction are visualised using post-hoc tools, such as Grad-CAM and attention-based saliency. The study is presented as a five-class heartbeat classification task (N, S, V, F, Q) from AAMI EC57. As per a patient-independent 5-fold protocol where all beats of a subject are kept in the same partition, CardioXplainAI obtained an accuracy of 97.89 ± 0.31%, macro-averaged precision, recall and F1-score of 97.52 ± 0.34%, 97.36 ± 0.38% and 97.44 ± 0.35%, respectively, outperforming the directly reproduced 1D-CNN, Bi-LSTM, GRU, CNN-LSTM and TCN baseline models (Holm adjusted p < 0.01). On the general external test set, without fine-tuning, the model achieved 92.64% accuracy on the INCART database (AAMI classes) and 94.72% on a normal-versus-abnormal proxy task from the PTB Diagnostic ECG Database. The model has approximately 0.73 million parameters. The saliency visualisations provide qualitative evidence that the model can highlight diagnostic regions of the ECG (e.g., the QRS complex), but further clinical validation and a prospective evaluation across multiple centres are needed before it can be used in clinics. The implementation is shared openly on the GitHub repository: https://github.com/Sairam-45-hash/CardioXplainAI for reproducibility.
Institution: Mizoram University
Language: English
Field: Medicine
Open Access status: gold
Estimated APC paid: $2,490
OpenAlex ID: W7238800043
FWCI:
Cites:
Cited by:
Related to: