XABH-CNN-GRU: Explainable attention-based hybrid CNN-GRU model for accurate identification of common arrhythmias

Abduljabbar S. Ba Mahel , Fahad Mushabbab G. Alotaibi , Zenebe Markos Lonseko , Ni-Ni Rao

Journal of Electronic Science and Technology ›› 2025, Vol. 23 ›› Issue (3) : 100322

PDF (5775KB)
Journal of Electronic Science and Technology ›› 2025, Vol. 23 ›› Issue (3) : 100322 DOI: 10.1016/j.jnlest.2025.100322
research-article

XABH-CNN-GRU: Explainable attention-based hybrid CNN-GRU model for accurate identification of common arrhythmias

Author information +
History +
PDF (5775KB)

Abstract

Arrhythmias stand out for having irregular cardiac rhythms, and the fast diagnosis of arrhythmias holds significant clinical importance due to its potential to mitigate adverse health outcomes. Despite the progress in this field, existing research efforts have encountered limitations, necessitating innovative approaches to address diagnostic challenges effectively. The primary objective of this research is to propose an innovative classification methodology for distinguishing five distinct arrhythmia classes: Atrial premature beat (A), normal (N), ventricular premature beat (V), right bundle branch block (R), and left bundle branch block (L). The proposed methodology involves constructing a hybrid model that incorporates an attention mechanism, utilizing electrocardiogram (ECG) data from an open-source repository. Additionally, we have incorporated an explainability feature into the model, allowing for the interpretation and explanation of its predictions. This model is designed to capitalize on the unique features of arrhythmic patterns and enhance classification metrics. Innovative techniques employed within the methodology are detailed to elucidate the rationale behind their selection and their anticipated contributions to improved model performance. Findings from this study underscore the superiority of the proposed classification model over existing methodologies. Quantitative analysis demonstrates its outstanding performance. The approach, outperforming existing methods, achieves high levels of accuracy (99.16%), specificity (99.79%), recall (99.2 ​%), precision (99.20%), F1-measure (99.16 %), and AUC (99.92%). This research advances medical diagnostics by integrating advanced machine-learning techniques to enhance arrhythmia detection.

Keywords

Arrhythmias / Cardiac / Classification / Deep learning / Electrocardiogram (ECG)

Cite this article

Download citation ▾
Abduljabbar S. Ba Mahel, Fahad Mushabbab G. Alotaibi, Zenebe Markos Lonseko, Ni-Ni Rao. XABH-CNN-GRU: Explainable attention-based hybrid CNN-GRU model for accurate identification of common arrhythmias. Journal of Electronic Science and Technology, 2025, 23(3): 100322 DOI:10.1016/j.jnlest.2025.100322

登录浏览全文

4963

注册一个新账户 忘记密码

Ethical statement

All data used in this study were obtained from publicly available databases, and no human or animal subjects were directly involved in the study. Therefore, ethical approval was not required.

CRediT authorship contribution statement

Abduljabbar S. Ba Mahel: Resources, Writing – original draft, Software, Data curation, Formal analysis, Methodology, Visualization, Validation. Fahad Mushabbab G. Alotaibi: Writing – review & editing, Conceptualization, Investigation. Zenebe Markos Lonseko: Resources, Software, Visualization. Ni-Ni Rao: Supervision, Funding acquisition, Formal analysis, Project administration.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgment

This work was supported by the National Natural Science Foundation of China under Grant No. 62271127, the Medico-Engineering Cooperation Funds from University of Electronic Science and Technology of China, and the West China Hospital of Sichuan University under Grants No. ZYGX2022YGRH011 and No. HXDZ22005, the Natural Science Foundation of Sichuan, China under Grant No. 23NSFSC0627 and Sichuan Provincial Key Laboratory Fund for Ultra Sound Cardioelectrophysiology and Biomechanics, China under Grant No. 2023KFKT01.

References

[1]

S. Dattani, V. Samborska, H. Ritchie, M. Roser, Cardiovascular diseases [Online]. Available, https://ourworldindata.org/cardiovascular-diseases, May 2023.

[2]

Q.-Y. Zhao, Z.-B. Che, Interpretation research of deep learning ECG classification results based on classification contribution value, in: Proc. of SPIE, Third Intl. Conf. on Intelligent Computing and Human-Computer Interaction, Guangzhou, China , (2023), 517-524.

[3]

N.-H. Pu, Z.-X. Wu, A. Wang, H.-S. Sun, Z.-J. Liu, H. Liu, Arrhythmia classifier based on ultra-lightweight binary neural network, in: Proc. of the 15th Intl. Conf. on Electronics, Computers and Artificial Intelligence, Bucharest, Romania, (2023), 1-7.

[4]

L. Bickmann, L. Plagwitz, J. Varghese, Post hoc sample size estimation for deep learning architectures for ECG-classification, M. Hägglund, M. Blusi, S. Bonacina,et al.(Eds.), Caring is Sharing – Exploiting the Value in Data for Health and Innovation, IOS Press, Amsterdam, ​ Netherlands, (2023), pp. 182-186.

[5]

C. Liu, S.-B. Cheng, W.-P. Ding, R. Arcucci, Spectral cross-domain neural network with soft-adaptive threshold spectral enhancement, IEEE T. Neur. Net. Lear. 36 (1) (2023) 692-703.

[6]

Q. Xiao, K. Lee, S.A. Mokhtar, et al., Deep learning-based ECG arrhythmia classification: a systematic review, Appl. Sci. 13 (8) (2023) 4964.

[7]

N. Rahuja, S.K. Valluru, A deep neural network approach to automatic multi-class classification of electrocardiogram signals, in: Proc. of 2021 Intl. Conf. on Intelligent Technologies, Hubli, India, (2021), 1-4.

[8]

A.S. Eltrass, M.B. Tayel, A.I. Ammar, Automated ECG multi-class classification system based on combining deep learning features with HRV and ECG measures, Neural Comput. Appl. 34 (11) (2022) 8755-8775.

[9]

V. Gupta, N.K. Saxena, A. Kanungo, A. Gupta, P. Kumar, Salim, A review of different ECG classification/detection techniques for improved medical applications, Int. J. Syst. Assur. Eng. 13 (3) (2022) 1037-1051.

[10]

A.A. Ahmed, W. Ali, T.A.A. Abdullah, S.J. Malebary, Classifying cardiac arrhythmia from ECG signal using 1D CNN deep learning model, Mathematics 11 (3) (2023) 562.

[11]

T.A.A. Abdullah, M.S.B.M. Zahid, T.-B. Tang, W. Ali, M. Nasser, Explainable deep learning model for cardiac arrhythmia classification, in: Proc. of 2022 Intl. Conf. on Future Trends in Smart Communities, Kuching, Malaysia, (2022), pp. 87-92.

[12]

A.M. Philip, S. Hemalatha, Identifying arrhythmias based on ECG classification using an advanced neural network method, Soft Comput. 28 (23) (2024) 13831-13842.

[13]

U.R. Acharya, H. Fujita, M. Adam, et al., Automated characterization of arrhythmias using nonlinear features from tachycardia ECG beats, in: Proc. of 2016 IEEE Intl. Conf. on Systems, Man, and Cybernetics, Budapest, Hungary, (2016), 533-538.

[14]

A.K. Dohare, V. Kumar, R. Kumar, Detection of myocardial infarction in 12 lead ECG using support vector machine, Appl. Soft Comput. 64 (2018) 138-147.

[15]

R. Alizadehsani, M.J. Hosseini, A. Khosravi, et al., Non-invasive detection of coronary artery disease in high-risk patients based on the stenosis prediction of separate coronary arteries, Comput. Meth. Prog. Bio. 162 (2018) 119-127.

[16]

L.B. Marinho, N. de M.M. Nascimento, J.W.M. Souza, M.V. Gurgel, P.P.R. Filho, V.H.C. de Albuquerque, A novel electrocardiogram feature extraction approach for cardiac arrhythmia classification, Future Gener. Comput. Syst. 97 (2019) 564-577.

[17]

G. Latif, F.Y. Al, M. Zikria, J. Alghazo, EEG-ECG signals classification for arrhythmia detection using decision trees, in: Proc. of the 4th Intl. Conf. on Inventive Systems and Control, Coimbatore, India, (2020), pp. 192-196.

[18]

Z.-Y. Zheng, Z.-C. Chen, F.-R. Hu, J.-M. Zhu, Q.-F. Tang, Y.-B. Liang, An automatic diagnosis of arrhythmias using a combination of CNN and LSTM technology, Electronics 9 (1) (2020) 121.

[19]

S.U. Hassan, M.S.M. Zahid, T.A. Abdullah, K. Husain, Classification of cardiac arrhythmia using a convolutional neural network and bi-directional long short-term memory, Digit. Health,, 8 (2022), https://doi.org/10.1177/20552076221102766.

[20]

E. Butun, O. Yildirim, M. Talo, R.-S. Tan, U.R. Acharya, 1D-CADCapsNet: one dimensional deep capsule networks for coronary artery disease detection using ECG signals, Phys. Med. 70 (2019) 39-48.

[21]

X. Xu, S. Jeong, J.-Q. Li, Interpretation of electrocardiogram (ECG) rhythm by combined CNN and BiLSTM, IEEE Access 8 (2020) 125380-125388.

[22]

G.B. Moody, R.G. Mark, The impact of the MIT-BIH arrhythmia database, IEEE Eng. Med. Biol. 20 (3) (2001) 45-50.

[23]

M. Alfaras, M.C. Soriano, S. Ortín, A fast machine learning model for ECG-based heartbeat classification and arrhythmia detection, Front. Physiol. 7 (2019) 103.

[24]

C.R. Meyer, H.N. Keiser, Electrocardiogram baseline noise estimation and removal using cubic splines and state-space computation techniques, Comput. Biomed. Res. 10 (5) (1977) 459-470.

[25]

D. Clifford Gari, Azuaje Francisco, Patrick E. McSharry, Eds: advanced methods and tools for ECG analysis, Biomed. Eng. Online 6 (1) (2007) 18.

[26]

A. Zyout, H. Alquran, W.A. Mustafa, A.M. Alqudah, Advanced time-frequency methods for ECG waves recognition, Diagnostics 13 (2) (2023) 308.

[27]

S.-H. Feng, J.-Y. Xu, H.-B. Shen, Artificial intelligence in bioinformatics: automated methodology development for protein residue contact map prediction, D.D. Feng (Ed.), Biomedical Information Technology (second ed.), Academic Press, Cambridge, USA, (2020), pp. 217-237.

[28]

K.-Y. Ding, K.-D. Ma, S.-Q. Wang, E.P. Simoncelli, Comparison of full-reference image quality models for optimization of image processing systems, Int. J. Comput. Vis. 129 (4) (2021) 1258-1281.

[29]

W. Chan, D. Park, C. Lee, Y. Zhang, Q. Le, M. Norouzi, SpeechStew: simply mix all available speech recognition data to train one large neural network [Online]. Available, https://arxiv.org/abs/2104.02133, January 2024.

[30]

Y. Yu, S.-W. Liang, B. Samali, et al., Torsional capacity evaluation of RC beams using an improved bird swarm algorithm optimised 2D convolutional neural network, Eng. Struct. 273 (2022) 115066.

[31]

Y. Yu, B. Samali, M. Rashidi, M. Mohammadi, T.N. Nguyen, G. Zhang, Vision-based concrete crack detection using a hybrid framework considering noise effect, J. Build. Eng. 61 (2022) 105246.

[32]

S. Kiranyaz, O. Avci, O. Abdeljaber, T. Ince, M. Gabbouj, D.J. Inman, 1D convolutional neural networks and applications: a survey, Mech. Syst. Signal Process. 151 (2021) 107398.

[33]

R.R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, D. Batra, Grad-CAM: visual explanations from deep networks via gradient-based localization, Int. J. Comput. Vis. 128 (2) (2016) 336-359.

[34]

R. Bousseljot, D. Kreiseler, A. Schnabel, Nutzung der EKG-signaldatenbank CARDIODAT der PTB über das Internet, Biomed. Tech. 40 (S1) (1995) 317-318.

[35]

A.L. Goldberger, L.A. Amaral, L. Glass, et al., PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals, Circulation 101 (23) (2000) e215-e220.

[36]

N. Keskes, S. Fakhfakh, O. Kanoun, N. Derbel, Representativeness consideration in the selection of classification algorithms for the ECG signal quality assessment, Biomed. Signal Process. 76 (2022) 103686.

[37]

Y.-R. Jin, Z.-Y. Li, C.-J. Qin, et al., A novel attentional deep neural network-based assessment method for ECG quality, Biomed. Signal Process. 79 (2023) 104064.

[38]

N.D. Gai, ECG beat classification using machine learning and pre-trained convolutional neural networks [Online]. Available, https://arxiv.org/abs/2207.06408, March 2024.

[39]

T.F. Romdhane, H. Alhichri, R. Ouni, M. Atri, Electrocardiogram heartbeat classification based on a deep convolutional neural network and focal loss, Comput. Biol. Med. 123 (2020) 103866.

[40]

L. Guo, G. Sim, B. Matuszewski, Inter-patient ECG classification with convolutional and recurrent neural networks, Biocybern. Biomed. Eng. 39 (3) (2019) 868-879.

[41]

E. Essa, X.-H. Xie, An ensemble of deep learning-based multi-model for ECG heartbeats arrhythmia classification, IEEE Access 9 (2021) 103452-103464.

[42]

X.-Y. Zhao, R. Zhou, L. Ning, Q.-Q. Guo, Y. Liang, J. Yang, Atrial fibrillation detection with single-lead electrocardiogram based on temporal convolutional network–ResNet, Sensors 24 (2) (2024) 398.

AI Summary AI Mindmap
PDF (5775KB)

48

Accesses

0

Citation

Detail

Sections
Recommended

AI思维导图

/