Skip to main content
Log in

Cardiac arrhythmia detection from ECG signal using Siamese adversarial neural network

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Heart disease is one of the most serious health issues that people faced today. Almost 50 million people worldwide suffer from cardiovascular problems. Electrocardiogram (ECG) signals are more important for diagnosing and monitoring patients with various cardiovascular diseases. This article proposes a novel SANN (Siamese Adversarial Neural Network-based Cardiac Arrhythmia Detection) CAD model for detecting different arrhythmias. First, an optimized Savitzky-Golay (OS-G) digital filter model is used to enhance and smooth the ECG signal. OS-G filtering uses a Tunicate Swarm Optimization (TSO) algorithm to adjust the polynomial order and window size to preserve the characteristics of P, Q, R, S, T, and U waves. A hybrid feature extraction process called Pathfinding Least Absolute Shrinkage and Selection Vector Regression (PLASSVR), which integrates regression analysis and pathfinding optimization, is employed to extract the significant features. The extracted features are fed to a novel Siamese neural network based on the Generative Adversarial Network (SNN-GAN) to classify the signals for arrhythmia disease detection. Furthermore, the Gannet Optimization Algorithm (GOA) is applied in the SNN-GAN model to change the hyperparameters. The proposed SANN CAD model is implemented in the Python platform via the MIT-BIH Arrhythmia Database. The performance of the SANN-CAD model is evaluated against various evaluation criteria and compared to traditional classifiers, using optimization for matching and no optimization for matching. The maximum classification accuracy that the SANN CAD model achieves is 99.74% and 98.23% for with and without optimization, and is superior to conventional classifiers.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Algorithm 1
Fig. 2
Fig. 3
Algorithm 2
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

Data availability

Data sharing is not applicable to this article.

References

  1. Parvaneh S, Rubin J, Babaeizadeh S, Xu-Wilson M (2019) Cardiac arrhythmia detection using deep learning: A review. J Electrocardiol 57:S70–S74

    Article  Google Scholar 

  2. Pandey SK, Janghel RR (2019) Automatic detection of arrhythmia from imbalanced ECG database using CNN model with SMOTE. Australas Phys Eng Sci Med 42(4):1129–1139

    Article  Google Scholar 

  3. Prakash AJ, Samit A (2019) A system for automatic cardiac arrhythmia recognition using electrocardiogram signal. In: Bioelectronics and medical devices. Woodhead Publishing, pp 891–911

  4. Gupta V, Mittal M, Mittal V, Saxena NK (2021) A critical review of feature extraction techniques for ECG signal analysis. J Inst Eng (India): Ser B 102:1049–1060

    Google Scholar 

  5. Shukur BS, Mijwil MM (2023) Involving machine learning techniques in heart disease diagnosis: a performance analysis. Int J Electr Comput Eng 13(2):2177

    Google Scholar 

  6. Madhavi KR, Kora P, Reddy LV, Avanija J, Soujanya KL, Telagarapu P (2022) Cardiac arrhythmia detection using dual-tree wavelet transform and convolutional neural network. Soft Comput 26(7):3561–3571

    Article  Google Scholar 

  7. Liu T, Yang Y, Fan W, Wu C (2021) Few-shot learning for cardiac arrhythmia detection based on electrocardiogram data from wearable devices. Digit Sig Process 116:103094

    Article  Google Scholar 

  8. Liu Z, Chen Y, Zhang Y, Ran S, Cheng C, Yang G (2023) Diagnosis of arrhythmias with few abnormal ECG samples using metric-based Meta learning. Comput Biol Med 153:106465

    Article  Google Scholar 

  9. Sharma K, Masood S (2021) Deep learning-based non-invasive fetal cardiac arrhythmia detection. In: Applications of Artificial Intelligence and Machine Learning: Select Proceedings of ICAAAIML 2020. Springer Singapore, pp 511–523

  10. Sanamdikar ST, Karajanagi NM, Kowdiki KH, Kamble SB (2022) Classification of ECG Signal for Cardiac Arrhythmia Detection Using GAN Method. In: Intelligent Communication Technologies and Virtual Mobile Networks: Proceedings of ICICV 2022 271. Springer Nature Singapore, Singapore

  11. Raghu N (2020) Arrhythmia detection based on hybrid features of T-wave in electrocardiogram. In: Deep Learning Techniques and Optimization Strategies in Big Data Analytics. IGI Global, pp 1–20

  12. Hong S, Zhou Y, Shang J, Xiao C, Sun J (2020) Opportunities and challenges of deep learning methods for electrocardiogram data: A systematic review. Comput Biol Med 122:103801

    Article  Google Scholar 

  13. Taniguchi H, Takata T, Takechi M, Furukawa A, Iwasawa J, Kawamura A, Taniguchi T, Tamura Y (2021) Explainable artificial intelligence model for diagnosis of atrial fibrillation using holter electrocardiogram waveforms. Int Heart J 62(3):534–539

    Article  Google Scholar 

  14. Michel P, Ngo N, Pons JF, Delliaux S, Giorgi R (2021) A filter approach for feature selection in classification: application to automatic atrial fibrillation detection in electrocardiogram recordings. BMC Med Inform Decis Mak 21(4):1–17

    Google Scholar 

  15. Hammad M, Abd El-Latif AA, Hussain A, Abd El-Samie FE, Gupta BB, Ugail H, Sedik A (2022) Deep learning models for arrhythmia detection in IoT healthcare applications. Comput Electr Eng 100:108011

    Article  Google Scholar 

  16. He J, Rong J, Sun L, Wang H, Zhang Y, Ma J (2020) A framework for cardiac arrhythmia detection from IoT-based ECGs. World Wide Web 23:2835–2850

    Article  Google Scholar 

  17. Pławiak P, Acharya UR (2020) Novel deep genetic ensemble of classifiers for arrhythmia detection using ECG signals. Neural Comput Appl 32(15):11137–11161

    Article  Google Scholar 

  18. Król-Józaga B (2022) Atrial fibrillation detection using convolutional neural networks on 2-dimensional representation of ECG signal. Biomed Signal Process Control 74:103470

    Article  Google Scholar 

  19. Ullah A, Rehman SU, Tu S, Mehmood RM, Ehatisham-Ul-Haq M (2021) A hybrid deep CNN model for abnormal arrhythmia detection based on cardiac ECG signal. Sensors 21(3):951

    Article  Google Scholar 

  20. Gupta V, Mittal M (2020) Arrhythmia detection in ECG signal using fractional wavelet transform with principal component analysis. J Inst Eng (India): Ser B 101(5):451–461

    Google Scholar 

  21. Gupta V, Mittal M (2020) a novel method of cardiac arrhythmia detection in electrocardiogram signal. Int J Med Eng Inform 12(5):489–499

    Google Scholar 

  22. Karri M, Annavarapu CSR, Pedapenki KK (2023) A real-time cardiac arrhythmia classification using hybrid combination of delta modulation, 1D-CNN and blended LSTM. Neural Process Lett 55(2):1499–1526

    Article  Google Scholar 

  23. Ram RS, Akilandeswari J, Kumar MV (2023) HybDeepNet: a hybrid deep learning model for detecting cardiac arrhythmia from ECG signals. Inf Technol Control 52(2):433–444

    Article  Google Scholar 

  24. Pandey SK, Shukla A, Bhatia S, Gadekallu TR, Kumar A, Mashat A, Shah MA, Janghel RR (2023) Detection of arrhythmia heartbeats from ECG signal using wavelet transform-based CNN model. Int J Comput Intell Syst 16(1):80

    Article  Google Scholar 

  25. Sridevi S, Kanimozhi T, Issac K and Sudha M (2022) Quanvolution neural network to recognize arrhythmia from 2D scaleogram features of ECG signals. In: 2022 International Conference on Innovative Trends in Information Technology (ICITIIT), IEEE, pp1–5

  26. Gupta V, Mittal M, Mittal V (2022) Performance evaluation of various pre-processing techniques for R-peak detection in ECG signal. IETE J Res 68(5):3267–3282

    Article  Google Scholar 

  27. Kaur S, Awasthi LK, Sangal AL, Dhiman G (2020) Tunicate Swarm Algorithm: A new bio-inspired based metaheuristic paradigm for global optimization. Eng Appl Artif Intell 90:103541

    Article  Google Scholar 

  28. Liang J, Wang C, Zhang D, Xie Y, Zeng Y, Li T, Zuo Z, Ren J, Zhao Q (2023) VSOLassoBag: a variable-selection oriented LASSO bagging algorithm for biomarker discovery in omic-based translational research. J Genetics and Genom 50(3):151–162

    Article  Google Scholar 

  29. Zhu J, Jang-Jaccard J, Singh A, Welch I, Harith AS, Camtepe S (2022) A few-shot meta-learning based siamese neural network using entropy features for ransomware classification. Comput Secur 117:102691

    Article  Google Scholar 

  30. Ahmad B, Sun J, You Q, Palade V, Mao Z (2022) Brain tumor classification using a combination of variational autoencoders and generative adversarial networks. Biomedicines 10(2):223

    Article  Google Scholar 

  31. Pan J-S, Zhang L-G, Wang R-B, Snášel V, Chu S-C (2022) Gannet optimization algorithm: A new metaheuristic algorithm for solving engineering optimization problems. Math Comput Simul 202:343–373

    Article  MathSciNet  Google Scholar 

  32. Zhang H, Liu C, Tang F, Li M, Zhang D, Xia L, Crozier S et al (2023) Atrial fibrillation classification based on the 2D representation of minimal subset ECG and a non-deep neural network. Front Physiol 14:182

    Google Scholar 

  33. Kumar D, Puthusserypady S, Dominguez H, Sharma K, Bardram JE (2023) An investigation of the contextual distribution of false positives in a deep learning-based atrial fibrillation detection algorithm. Expert Syst Appl 211:118540

    Article  Google Scholar 

Download references

Funding

No funding is provided for the preparation of the manuscript.

Author information

Authors and Affiliations

Authors

Contributions

All authors have equal contributions in this work.

Corresponding author

Correspondence to Jyothirmai Digumarthi.

Ethics declarations

Ethical approval

This article does not contain any studies with human participants or animals performed by any authors.

Consent to participate

All the authors involved have agreed to participate in this submitted article.

Consent to publish

All the authors involved in this manuscript give full consent for publication of this submitted article.

Conflict of interest

Authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Digumarthi, J., Gayathri, V.M. & Pitchai, R. Cardiac arrhythmia detection from ECG signal using Siamese adversarial neural network. Multimed Tools Appl 83, 41457–41484 (2024). https://doi.org/10.1007/s11042-023-17071-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-17071-5

Keywords

Navigation