Skip to main content Skip to main navigation menu Skip to site footer
Articles
Published: 2024-12-18

Bidirectional Lstm Based Hybrid Deep Learning Frame Works For Cardiac Arrhythmia Classification

Professor,Sasi Institute of Technology and Engineering, Andhra Pradesh, India
Professor,Sasi Institute of Technology and Engineering, Andhra Pradesh, India
Student,Sasi Institute of Technology and Engineering, Andhra Pradesh, India
Student,Sasi Institute of Technology and Engineering, Andhra Pradesh, India
Electro cardiogram Empirical Model Decomposition Discrete Wavelet Transform Deep Neural Networks

Abstract

In this paper, implemented a hybrid approach to ECG classification by combining a Deep Neural Network andBi-directional Long Short Term Memory (Bi-LSTM) layer. We substantially improved denoising by preprocessing ECG signals with a mix of Empirical Mode Decomposition and Discrete Wavelet Transform, resulting in higher signal quality for classification. The suggested method successfully classified ECG signals into five unique classes, with 95.3% accuracy, 96.9% sensitivity, and 98.7% specificity, respectively, using the MIT-BIH database as an evaluation benchmark. Our results show that the proposed hybrid technique outperforms existing classifiers, highlighting its potential for real-world clinical applications at cardiac arrhythmia diagnosis. Future research can concentrate on enhancing the model for real-time processing and expanding its application to different physiological datasets in order to improve its adaptability and generalizability in cardiovascular disease diagnoses.

Introduction

The electrocardiogram one of the important clinical test for analyzing significant electrical disturbances such as cardiac arrhythmia, as well as providing insights into mechanical and metabolic difficulties such as myocardial infarction and hypertrophies. Several signal processing approaches have been used to predict features from ECG data, which aid in the diagnosis of cardiac problems. These methodologies serve as the foundation for more accurate and efficient identification and classification of cardiac diseases.

Deep learning-base methods for widely used in classifying medical application to find the cardiovascular illnesses and decease classification [1]. The automatic identification of myocardial infarction [2], and detection of heart rate, rhythm, and location using ML and DL have all been effective results. ECG signal classification through CNN with Empirical Model Decomposition(EMD) techniques are implemented to measure of classification accuracy[1].Arrhythmia classification using modified features through Discrete Wavelet Transform (DWT) [4] and the combination of EMD-DWT [3]diagnosis of cardiac arrhythmia with deep learning algorithms using CNN, Recurrent RNN and CNN-RNN etc. [5].

To enhance the accuracy of wavelet-based features, methods such as kNN classifiers[7][8],wavelet packet entropy, and random forests (RF)[9] are employed. Various ECG beat classification techniques, including artificial neural networks and deep neural networks, have also been explored. K. Malik et al. [11] proposed A straightforward approach for distinguishing between normal and abnormal ECGs, using wavelet decomposition and an SVM classifier[10]. Banerjee et al.[12] sugested a unique Recurrent Neural Network (RNN) topology gives two LSTM networks. This network is designed to analyze temporal parameters like as RR and PR intervals in the ECG data.

Martiset et al. [13] investigated many ECG beats such as Normal, RBBB, LBBB, APC, and VPC. Principal Component Analysis (PCA) is used to reduce dimensionality in retrieved features. These components are fed into four-layer FFNN and Least Squares-SVM suggested for automatic pattern detection. The author presented separate bispectrum and bicoherence charts for each cardiac class.

Karthiketal.[14] devised an efficient feature extraction technique for detecting and classifying cardiac anomalies. This proposed approach is used to classify cardiac abnormalities. Runnanet al[15] explains the limitations of the standard automatic classification detection methods in cardiac disorders based on the features of medical signal.

There are various types of signals and images are applied for wavelet technique4 for decomposition of images, same as Multimodality image registration refers to applications in which moving and fixed images are captured using various imaging modalities, sometimes in distinct dimensions. Supervising and unsupervising classification algorithms are also choosen for better classification results, which are act as better far with wavelets for large data set using dimensional reduction technique with PCA and ICA algorithms[18][19][20][21].

Material and Methods

This paper developed by implemented with methodology has two phases in ECG signal extraction.

Empirical Model Decomposition EMD decomposes into intrinsic model functions (IMFs)[1]. To get upper and lower envelope, combine the maxima and minima points of the original signal (n), is a combination of oscillation components of IMFs ci(n) with zero mean and Nth residual or noisy part rN(n) which is represented as

Figure 1.

Here N=6. To reconstruct the ECG signal, bye the sum of the first three IMFs. The modified and noise free ECG signal c(n)is defined as

Figure 2.

Discrete Wavelet Transform

This transform used in many signal and image processing applications, which decomposes the information into both low and high frequency signals [16][17]. The second level approximation and detailed coefficients CA2 and CD2 are shown in Figure1, and the corresponding expressions are given in equations (3) and (4).

Figure 3.

Figure 4. Fig.1.Twoleveldecomposition of DWT

Bidirectional Long Short Term Memory Networks

Bidirectional Long Short-Term Memory (BiLSTM) Networks are an advanced type of LSTM network that processes input sequences in both forward and backward orientations. Unlike typical LSTMs, which only examine the sequence from past to future, BiLSTMs combine two distinct LSTM layers: one analyzes the sequence in the standard forward direction, while the other processes it in reverse.

The block diagram of the Bi-LSTM network is shown in Figure2.

Figure 5. Fig: 2.Bi-LSTM Architecture

The first two layers handle feature extraction, and fully connected layers handle categorization.

Methodology

This dataset has been downsampled, cropped, and segmented into 87,554 training and 21,892 testing samples, from Kaggle [17]. Figure 3 shows the workflow of the suggested categorization approach. ECG signal categorization is a three-stage technique. They include denoising, feature extraction, and classification steps.

Figure 6. Fig: 3.Work flow of the proposed classification method

The EMD algorithm [12] applied for preprocessing ECG signals for the data set, which divide as both training and testing phases. This algorithm decomposes the signal into intrinsic mode functions. The discrete wavelet transform (DWT) is applied to the reconstructed EMD signal using the Daubechies2 (Db2) wavelet at three levels. DNN has used in this study consists of five layers: a sequence input layer (with an input size of 1), a Bi-LSTM layer (with 100 hidden neurons), five fully connected layers, a softmax layer, and a classification layer. The proposed method's performance is then compared to existing techniques using evaluation metrics such as accuracy, sensitivity, precision, specificity, and F1-score.

Results and Discussion

The suggested classification method, which combines EMD and DWT features with a Deep Neural Network (DNN) classifier based on a Bi-LSTM layer, was tested on 48 ECG records. The results show how effective the technique is. A confusion plot, as depicted in Figure 4, provides extensive insights into the performance parameters by comparing the target and output classes. The overall accuracy rate of 95.3%. Table 1 shows the comparison of the proposed classifier's accuracy, sensitivity, and specificity to existing approaches, demonstrating its improved performance.

Figure 7. Figure 4.Confusioin matrix for proposed method

Figure 8. Fig: 5.Comparision results.

The performance metrics of the proposed EMD-DWT based DNN classifier are compared with theexistingstate-of-theartworksinFigure5.

Conclusion

This paper developed classification technique that combines a Deep Neural Network (DNN) with a Bi-LSTM architecture. The classification procedure is broken down into three stages: ECG signal preprocessing, feature extraction, and classification. To extract features, the ECG data is first preprocessed using Empirical Mode Decomposition (EMD) and then wavelet decomposed with the Db2 wavelet. These attributes are then supplied into a DNN with Bi-LSTM architecture, which classifies ECG data into five categories: normal (N) beats, supraventricular premature beats (S), premature ventricular contractions (V), fusion of ventricular and normal beats (F), and unclassifiable beats (Q). The proposed EMD-DWT-DNN technique performs well, with an accuracy of 95.3%, sensitivity of 94.9%, and specificity of 98.7%.

References

  1. Hasan,N.,Bhattacharjee,A,“Deeplearningapproachtocardiovasculardiseaseclassificationemploying modified ECG signal from EMD,” Bio Sig Proc and Con, vol.52,pp.128-140, 2019.
  2. Baloglu, U., Muhammed. T., Yildirim, O., & Acharya, U. R, “Classification of MI withmulti-lead ECG signals and deep CNN. Pattern Recognition Letters,” Vol. 122, pp.23-30, 2019.
  3. Malleswari, P.N., Bindu, C.H.& Prasad, K.S. (2021). Cardiac Severity Classificationusing Pretrained Neural Networks. InterdiscipSciComput Life Sci. Vol.13, 443-450,2021.
  4. Syed, M. A., Maheen, G., Muhammad, M., &Majdi, A, “Arrhythmia classification ofECGsignalsusing hybridfeatures. Comput and MathematicalMethodsin Med,2018.
  5. Swapna, G., Soman, P., &Vinayakumar, R, “Automated detection of cardiac arrhythmiausingdeep learning techniques,”Procedia ComputerScience,132, 1192-1201, 2018.
  6. Yildirim,O,“ECGbeatdetectionandclassificationsystemusingWTandonlinesequentialELM”, Journal of Mech in Med andBio, 19, 2019.
  7. Ridhi, S., Namita, B., &Puneet, B, “Classification of heart diseases from ECG signalsusingWT and kNN classifier,” ICCCA2015, pp.1208-1215, 2015.
  8. N.Alajlan, Y.Bazi, F.Melgani, S. Malek, and M.A.Bencherif, “Detection of prematureventricularcontractionarrhythmiasinelectrocardiogramsignalswithkernelmethods,”Signal, Imageand VideoProcessing,Vol.8, no.5, pp. 931-942, 2014.
  9. Taiyong, L., & Min, Z, “ECG classification using WPT entropy and Random forests.Entropy”,18, pp.1-16, 2016.
  10. Manisha., Sanjeev, K.S.,& Krishna, K, “ECG beat classifiers: A journey from ANN toDNN,”ProcComputSci, Vol.167, pp.747-759, 2020.
  11. G. K. Malik, Y. Kumar, and M.Panda, “Cardiac arrhythmia detection in ECG signals by feature Extraction and support vectormachine,”ACSIS, Vol.10,pp.241–244, 2016.
  12. R.Banerjee,A.Ghose,S.Khandelwal,“A Novel Recurrent Neural Network Architecture for Classification of Atrial Fibrillation Using Single-lead ECG,” European Signal Processing Conference(EUSIPCO), pp. 1-5, IEEE.
  13. R. J. Martis, U. R. Acharya, K.M. Mandana, A.K. Ray, and Ch.Chakraborty, “Cardiac decision making using higher-order spectra,”Biomedical Signal Processing and Control,Vol.8, no.2, pp.193-203, 2013.
  14. R.Karthik, D.Tyagi, A.Raut, S.Saxena, K.P.Bharath, and M.RajeshKumar, “Implementation of neural network and feature extraction toclassify ECG signals,”In Micro electronics, Electro magnetics and Telecommunications, pp.317-326, 2019.
  15. H.Runnan,Y.Liu,K.Wang,N.Zhao,Y.Yuan,Q.Li,Q,&andH.Zhang,“Automatic cardiac arrhythmia classification using a combination of deep residual network and bidirectional LSTM,”IEEE Access, Vol.7, pp.102119-102135.
  16. Malleswari, P. N., HimaBindu, C, &and Satya Prasad, K. “An improved denoising of electrocardiogram signals based on wavelet thresholding,” Journal of Biomimetics, Biomaterials and Biomedical Engineering, 51, 117-129, 2021.
  17. Malleswari, P. N., Bindu, C. H, & and Prasad, K. S,“A hybrid EMD-DWT based algorithm for detection of QRS complex in electrocardiogram signal,” Journal of Ambient Intelligence and Humanized Computing, 13(12), 5819-5827.
  18. T Venkatakrishnamoorthy, G Umamaheswara Reddy, “Cloud enhancement of NOAA multispectral images by using independent component analysis and principal component analysis for sustainable systems”, Computers & Electrical Engineering, 2019. Vol.74, pp.35-46.
  19. M Bharathi, D Prasad, T Venkatakrishnamoorthy, M Dharani, “Diabetes diagnostic method based on tongue image classification using machine learning algorithms”, Journal of Pharmaceutical Negative Results, 2022. Vol.13(4), pp.1247-1250.
  20. Sreelatha, G. (2024). Transfer Learning Based Bi-GRU for Intrusion Detection System in Cloud Computing. In: Satheeskumaran, S., Zhang, Y., Balas, V.E., Hong, Tp., Pelusi, D. (eds) Intelligent Computing for Sustainable Development. ICICSD 2023. Communications in Computer and Information Science, vol 2121. Springer, Cham. https://doi.org/10.1007/978-3-031-61287-9_1
  21. Dr.M.V. Sruthi, “Accurate Multimodality Registration of medical images”, International Journal of Engineering Research and Development,2012. Vol.1(3), pp.33-36.

How to Cite

Pinjala N Malleswari, T.Venkatakrishnamoorthy, Chundru Bhargavi, & S.Harish. (2024). Bidirectional Lstm Based Hybrid Deep Learning Frame Works For Cardiac Arrhythmia Classification. International Journal of Interpreting Enigma Engineers (IJIEE), 1(4), 1–6. https://doi.org/10.62674/ijiee.2024.v1i04.001

Metrics

Article Contents

Indexed In

Indexed In



Tools



Keywords