Vol. 16, no.2, 2024
РусскийEnglish

MEDICAL PHYSICS



A Novel and Efficient Framework for Diagnosing ECG Signals Based on the Digital Signal Processing and Optimized Transformer Model

Anas Fouad Ahmed

Al-Iraqia University, College of Engineering, Electrical Engineering Department, https://en.aliraqia.edu.iq/
Al Adhmia-Haiba Khaton, 6029, Baghdad, Iraq
E-mail: anas.ahmed@aliraqia.edu.iq
Khalida S.Rijab
University of Technology, Electrical Engineering Department, https://uotechnology.edu.iq/
Al wehada-Neighborhood, 19006, Baghdad, Iraq
E-mail: khalida.s.rijab@uotechnology.edu.iq
Ahmed Talal Kamil
Al-Iraqia University, College of Engineering, Computer Engineering Department,
Al Adhmia - Haiba Khaton, 6029, Baghdad, Iraq
E-mail: ahmed.talal@aliraqia.edu.iq

Received February 13, 2024, peer-reviewed February 29, 2024, accepted March 04, 2024, published April 25, 2024


Abstract: Heartbeat disorders are considered one of the main maladies that cause mortality. Therefore, their precocious diagnosis via ECG signal is critical for introducing prompt therapy. The advanced automatic classification of ECG signals has the potential to save cardiologists a tremendous amount of time while simultaneously decreasing the chance of misdiagnosis. The dilemma of massive parameters is troubling the current methods of ECG signal classification. Most recent methods exhibit inadequate performance for diagnosing ECG signals in the inter-patient mode. In an attempt to deal with the above limitations, this study offers an innovative, efficient, and end-to-end model. The suggested model uses the optimized transformer framework to classify the heartbeats according to the "Association for the Advancement of Medical Instrumentation, AAMI," and obeys the inter-patient setting. We constructed an efficient architecture called the optimized network to substitute the Self Attention Unit (SAU) in the encoder part of the transformer model. The suggested model, which includes an optimized network, outperforms the SAU-based transformer model and requires fewer computations. A robust embedding architecture based on a Convolutional Neural Network (CNN) with a Squeeze and Excitation (SE) network-based attention scheme that has been used for weighting the Local Heartbeat Shape Pattern (LHSP) features is presented. The introduced model exceeds the state-of-the-art. An extensive test has been done to compare the achievements of the suggested model with those of the cardiologists. The results proved the closeness of their performances.

Keywords: End-to-End; ECG Classification; Transformer Architecture; Squeeze and Excitation (SE); Depth Wise Convolution (DWC)

UDC 53.047:57(075.8)

RENSIT, 2024, 16(2):239-248e DOI: 10.17725/j.rensit.2024.16.239

Full-text electronic version of this article - web site http://en.rensit.ru/vypuski/article/552/16(2)239-248e.pdf