Skip to main content

Res_1D_CNN and BiLSTM with Attention Mechanism Integration for Arrhythmia Diagnosis

  • Conference paper
  • First Online:
Advances in Computational Collective Intelligence (ICCCI 2023)

Abstract

An electrocardiogram (ECG) is the most common test used to diagnose an arrhythmia, which arrhythmia is related to abnormal electrical activities of the heart that can be reflected by the ECG which plays the main role in heart disease analysis. However, it is still a challenge to detect arrhythmia based on ECG basic characteristics because of the non-stationary nature of ECG signal even cardiologists faced challenges in arrhythmia diagnosis. Therefore, automatic arrhythmia detection-based ECG signals with height accuracy is a serious and indispensable task. Hence In this paper, we propose a new deep learning-based approach which is a combination of Res 1D CNN for spatial feature extraction and BiLSTM to learn temporal features in two directions with an attention layer to focus only on informative information. A comprehensive experimental study has been made in this research, which shows that the proposed approach offers the most efficient tool for accurate classification and ranks top of the list of recently published algorithms on the MIT-BIH arrhythmia dataset based on the AMII standard. A 5-fold cross-validation is carried out. The proposed model achieved an accuracy, recall, precision, and F1-score of 97.17%, 83.48%, 92.25%, and 87.08%, respectively. The proposed model provides a robust tool for the early detection of arrhythmias.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Benjamin, E.J., et al.: Heart disease and stroke statistics-2019 update: a report from the American heart association. Circulation 139(10), e56–e528 (2019)

    Article  Google Scholar 

  2. Brenyo, A., Aktas, M.K.: Review of complementary and alternative medical treatment of arrhythmias. Am. J. Cardiol. 113(5), 897–903 (2014)

    Article  Google Scholar 

  3. Midani, W., Fki, Z., BenAyed, M.: Online anomaly detection in ECG signal using hierarchical temporal memory. In: 2019 Fifth International Conference on Advances in Biomedical Engineering (ICABME), pp. 1–4 IEEE (2019)

    Google Scholar 

  4. Liu, F., Zhou, X., Cao, J., Wang, Z., Wang, H., Zhang, Y.: Arrhythmias classification by integrating stacked bidirectional LSTM and two-dimensional CNN. In: Yang, Q., Zhou, Z.-H., Gong, Z., Zhang, M.-L., Huang, S.-J. (eds.) PAKDD 2019. LNCS (LNAI), Part II, vol. 11440, pp. 136–149. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-16145-3_11

    Chapter  Google Scholar 

  5. Gtif, I., et al.: Oxidative stress markers-driven prognostic model to predict post-discharge mortality in heart failure with reduced ejection fraction. Front. Cardiovasc. Med. 9, 1017673 (2022)

    Google Scholar 

  6. Chang, P.-C., Lin, J.-J., Hsieh, J.-C., Weng, J.: Myocardial infarction classification with multi-lead ECG using hidden Markov models and gaussian mixture models. Appl. Soft Comput. 12(10), 3165–3175 (2012)

    Article  Google Scholar 

  7. Javadi, M., Arani, S.A.A.A., Sajedin, A., Ebrahimpour, R.: Classification of ECG arrhythmia by a modular neural network based on mixture of experts and negatively correlated learning. Biomed. Signal Process. Control 8(3), 289–296 (2013)

    Article  Google Scholar 

  8. Khalaf, A.F., Owis, M.I., Yassine, I.A.: A novel technique for cardiac arrhythmia classification using spectral correlation and support vector machines. Expert Syst. Appl. 42(21), 8361–8368 (2015)

    Article  Google Scholar 

  9. Kutlu, Y., Kuntalp, D.: Feature extraction for ECG heartbeats using higher order statistics of WPD coefficients. Comput. Meth. Programs Biomed. 105(3), 257–267 (2012)

    Article  Google Scholar 

  10. Elhaj, F.A., Salim, N., Harris, A.R., Swee, T.T., Ahmed, T.: Arrhythmia recognition and classification using combined linear and nonlinear features of ECG signals. Comput. Meth. Programs Biomed. 127, 52–63 (2016)

    Article  Google Scholar 

  11. Martis, R.J., Acharya, U.R., Min, L.C.: ECG beat classification using PCA, LDA, ICA and discrete wavelet transform. Biomed. Signal Process. Control 8(5), 437–448 (2013)

    Article  Google Scholar 

  12. Wang, Z., Zhou, X., Zhao, W., Liu, F., Ni, H., Yu, Z.: Assessing the severity of sleep apnea syndrome based on ballistocardiogram. PLoS ONE 12(4), e0175351 (2017)

    Article  Google Scholar 

  13. Liu, F., Zhou, X., Wang, Z., Ni, H., Wang, T.: OSA-weigher: an automated computational framework for identifying obstructive sleep apnea based on event phase segmentation, Journal of Ambient Intelligence and Humanized. Computing 10, 1937–1954 (2019)

    Google Scholar 

  14. Yeh, Y.-C., Chiou, C.W., Lin, H.-J.: Analyzing ECG for cardiac arrhythmia using cluster analysis. Expert Syst. Appl. 39(1), 1000–1010 (2012)

    Article  Google Scholar 

  15. Liu, F., Zhou, X., Wang, Z., Wang, T., Ni, H., Yang, J.: Identifying obstructive sleep apnea by exploiting fine-grained BCG features based on event phase segmentation. In: 2016 IEEE 16th International Conference on Bioinformatics and Bioengineering (BIBE), pp. 293–300. IEEE (2016)

    Google Scholar 

  16. Midani, W., Ouarda, W., Ayed, M.B.: DeepArr: an investigative tool for arrhythmia detection using a contextual deep neural network from electrocardiograms (ECG) signals. Biomed. Signal Process. Control 85, 104954 (2023)

    Article  Google Scholar 

  17. Tmamna, J., Ayed, E.B., Ayed, M.B.: Deep learning for internet of things in fog computing: survey and open issues. In: 2020 5th International Conference on Advanced Technologies for Signal and Image Processing (ATSIP), pp. 1–6. IEEE (2020)

    Google Scholar 

  18. Ben Ahmed, I., Ouarda, W., Ben Amar, C.: Hybrid UNET model segmentation for an early breast cancer detection using ultrasound images. In: Nguyen, N.T., Manolopoulos, Y., Chbeir, R., Kozierkiewicz, A., Trawiński, B. (eds.) ICCCI 2022. Lecture Notes in Computer Science, vol. 13501, pp. 464–476. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-16014-1_37

    Chapter  Google Scholar 

  19. Hannun, A.Y., et al.: Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network. Nat. Med. 25(1), 65–69 (2019)

    Article  Google Scholar 

  20. Liu, Z., Zhang, X.: ECG-based heart arrhythmia diagnosis through attentional convolutional neural networks. In: 2021 IEEE International Conference on Internet of Things and Intelligence Systems (IoTaIS), pp. 156–162. IEEE (2021)

    Google Scholar 

  21. Hong, J., Li, H.-J., Yang, C.-C., Han, C.-L., Hsieh, J.-C.: A clinical study on atrial fibrillation, premature ventricular contraction, and premature atrial contraction screening based on an ECG deep learning model. Appl. Soft Comput. 126, 109213 (2022)

    Article  Google Scholar 

  22. Liu, S., Wang, A., Deng, X., Yang, C.: MGNN: a multiscale grouped convolutional neural network for efficient atrial fibrillation detection. Comput. Biol. Med. 148, 105863 (2022)

    Article  Google Scholar 

  23. Sassi, A., Ouarda, W., Amar, C.B.: Deep content information retrieval for COVID-19 detection from chromatic CT scans. Arab. J. Sci. Eng. 48(2), 1935–1945 (2023)

    Article  Google Scholar 

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

    Article  Google Scholar 

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

    Article  Google Scholar 

  26. Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) Computer Vision-ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, 11–14 October 2016, Proceedings, Part IV, vol. 9908, Springer, Cham (2016)

    Google Scholar 

  27. Liu, J., Song, S., Sun, G., Fu, Yu.: Classification of ECG arrhythmia using CNN, SVM and LDA. In: Sun, X., Pan, Z., Bertino, E. (eds.) ICAIS 2019. LNCS, vol. 11633, pp. 191–201. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-24265-7_17

    Chapter  Google Scholar 

  28. Shi, H., Wang, H., Huang, Y., Zhao, L., Qin, C., Liu, C.: A hierarchical method based on weighted extreme gradient boosting in ECG heartbeat classification. Comput. Meth. Programs Biomed. 171, 1–10 (2019)

    Article  Google Scholar 

  29. Wang, H., et al.: A high-precision arrhythmia classification method based on dual fully connected neural network. Biomed. Signal Process. Control 58, 101874 (2020)

    Article  Google Scholar 

  30. Wang, L.-H., et al.: Three-heartbeat multilead ECG recognition method for arrhythmia classification. IEEE Access 10, 44046–44061 (2022)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wissal Midani .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Midani, W., Ouarda, W., Ayed, M.B. (2023). Res_1D_CNN and BiLSTM with Attention Mechanism Integration for Arrhythmia Diagnosis. In: Nguyen, N.T., et al. Advances in Computational Collective Intelligence. ICCCI 2023. Communications in Computer and Information Science, vol 1864. Springer, Cham. https://doi.org/10.1007/978-3-031-41774-0_59

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-41774-0_59

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-41773-3

  • Online ISBN: 978-3-031-41774-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics