Research article

Arrhythmia classification based on multi-feature multi-path parallel deep convolutional neural networks and improved focal loss


  • Received: 22 December 2023 Revised: 08 February 2024 Accepted: 07 March 2024 Published: 22 March 2024
  • Early diagnosis of abnormal electrocardiogram (ECG) signals can provide useful information for the prevention and detection of arrhythmia diseases. Due to the similarities in Normal beat (N) and Supraventricular Premature Beat (S) categories and imbalance of ECG categories, arrhythmia classification cannot achieve satisfactory classification results under the inter-patient assessment paradigm. In this paper, a multi-path parallel deep convolutional neural network was proposed for arrhythmia classification. Furthermore, a global average RR interval was introduced to address the issue of similarities between N vs. S categories, and a weighted loss function was developed to solve the imbalance problem using the dynamically adjusted weights based on the proportion of each class in the input batch. The MIT-BIH arrhythmia dataset was used to validate the classification performances of the proposed method. Experimental results under the intra-patient evaluation paradigm and inter-patient evaluation paradigm showed that the proposed method could achieve better classification results than other methods. Among them, the accuracy, average sensitivity, average precision, and average specificity under the intra-patient paradigm were 98.73%, 94.89%, 89.38%, and 98.24%, respectively. The accuracy, average sensitivity, average precision, and average specificity under the inter-patient paradigm were 91.22%, 89.91%, 68.23%, and 95.23%, respectively.

    Citation: Zhongnan Ran, Mingfeng Jiang, Yang Li, Zhefeng Wang, Yongquan Wu, Wei Ke, Ling Xia. Arrhythmia classification based on multi-feature multi-path parallel deep convolutional neural networks and improved focal loss[J]. Mathematical Biosciences and Engineering, 2024, 21(4): 5521-5535. doi: 10.3934/mbe.2024243

    Related Papers:

  • Early diagnosis of abnormal electrocardiogram (ECG) signals can provide useful information for the prevention and detection of arrhythmia diseases. Due to the similarities in Normal beat (N) and Supraventricular Premature Beat (S) categories and imbalance of ECG categories, arrhythmia classification cannot achieve satisfactory classification results under the inter-patient assessment paradigm. In this paper, a multi-path parallel deep convolutional neural network was proposed for arrhythmia classification. Furthermore, a global average RR interval was introduced to address the issue of similarities between N vs. S categories, and a weighted loss function was developed to solve the imbalance problem using the dynamically adjusted weights based on the proportion of each class in the input batch. The MIT-BIH arrhythmia dataset was used to validate the classification performances of the proposed method. Experimental results under the intra-patient evaluation paradigm and inter-patient evaluation paradigm showed that the proposed method could achieve better classification results than other methods. Among them, the accuracy, average sensitivity, average precision, and average specificity under the intra-patient paradigm were 98.73%, 94.89%, 89.38%, and 98.24%, respectively. The accuracy, average sensitivity, average precision, and average specificity under the inter-patient paradigm were 91.22%, 89.91%, 68.23%, and 95.23%, respectively.



    加载中


    [1] World Health Organization, Cardiovascular diseases (CVDs), WHO Cardiovascular Diseases Factsheet 2021, 2021. Available from: https://www.who.int/news-room/fact-sheets/detail/cardiovascular-diseases-(cvds).
    [2] O. M. A. Ali, S. W. Kareem, A. S. Mohammed, Evaluation of electrocardiogram signals classifycation using CNN, SVM, and LSTM algorithm: A review, in 2022 8th International Engineering Conference on Sustainable Technology and Development (IEC), IEEE, (2022), 185–191. https://doi.org/10.1109/IEC54822.2022.9807511
    [3] P. S. Ignacio, J. A. Bulauan, J. R. Manzanares, A topology informed random forest classifier for ECG classification, in 2020 Computing in Cardiology, IEEE, (2020), 1–4. https://doi.org/10.22489/CinC.2020.297
    [4] B. Venkataramanaiah, J. Kamala, ECG signal processing and KNN classifier-based abnormality detection by VH-doctor for remote cardiac healthcare monitoring, Soft Comput., 24 (2020), 17457–17466. https://doi.org/10.1007/s00500-020-05191-1 doi: 10.1007/s00500-020-05191-1
    [5] S. Sahoo, A. Subudhi, M. Dash, S. Sabut, Automatic classification of cardiac arrhythmias based on hybrid features and decision tree algorithm, Int. J. Autom. Comput., 17 (2020), 551–561. https://doi.org/10.1007/s11633-019-1219-2 doi: 10.1007/s11633-019-1219-2
    [6] S. T. Aarthy, J. L. M. Iqbal, Retracted article: Time series real time naive bayes electrocardiogram signal classification for efficient disease prediction using fuzzy rules, J. Ambient Intell. Hum. Comput., 12 (2021), 5257–5267. https://doi.org/10.1007/s12652-020-02003-0 doi: 10.1007/s12652-020-02003-0
    [7] S. Faziludeen, P. V. Sabiq, ECG beat classification using wavelets and SVM, in 2013 IEEE Conference on Information & Communication Technologies, IEEE, (2013), 815–818. https://doi.org/10.1109/CICT.2013.6558206
    [8] T. Li, M. Zhou, ECG classification using wavelet packet entropy and random forests, Entropy, 18 (2016), 285. https://doi.org/10.3390/e18080285 doi: 10.3390/e18080285
    [9] C. Venkatesan, P. Karthigaikumar, R. Varatharajan, A novel LMS algorithm for ECG signal preprocessing and KNN classifier based abnormality detection, Multimedia Tools Appl., 77 (2018), 10365–10374. https://doi.org/10.1007/s11042-018-5762-6 doi: 10.1007/s11042-018-5762-6
    [10] U. R. Acharya, S. L. Oh, Y. Hagiwara, J. H. Tan, M. Adam, A. Gertych, et al., A deep convolutional neural network model to classify heartbeats, Comput. Biol. Med., 89 (2017), 389–396. https://doi.org/10.1016/j.compbiomed.2017.08.022 doi: 10.1016/j.compbiomed.2017.08.022
    [11] A. Y. Hannun, P. Rajpurkar, M. Haghpanahi, G. H. Tison, C. Bourn, M. P. Turakhia, et al., Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network, Nat. Med., 25 (2019), 65–69. https://doi.org/10.1038/s41591-018-0268-3 doi: 10.1038/s41591-018-0268-3
    [12] S. Mousavi, F. Afghah, Inter-and intra-patient ECG heartbeat classification for arrhythmia detection: A sequence to sequence deep learning approach, in ICASSP 2019–2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), IEEE, (2019), 1308–1312. https://doi.org/10.1109/ICASSP.2019.8683140
    [13] S. Sabut, O. Pandey, B. S. P. Mishra, M. Mohanty, Detection of ventricular arrhythmia using hybrid time–frequency-based features and deep neural network, Phys. Eng. Sci. Med., 44 (2021), 135–145. https://doi.org/10.1007/s13246-020-00964-2 doi: 10.1007/s13246-020-00964-2
    [14] B. Lindemann, T. Müller, H. Vietz, N. Jazdi, M. Weyrich, A survey on long short-term memory networks for time series prediction, Procedia CIRP, 99 (2021), 650–655. https://doi.org/10.1016/j.procir.2021.03.088 doi: 10.1016/j.procir.2021.03.088
    [15] H. M. Lynn, S. B. Pan, P. Kim, A deep bidirectional GRU network model for biometric electrocardiogram classification based on recurrent neural networks, IEEE Access, 7 (2019), 145395–145405. https://doi.org/10.1109/ACCESS.2019.2939947 doi: 10.1109/ACCESS.2019.2939947
    [16] Ö. Yildirim, A novel wavelet sequence based on deep bidirectional LSTM network model for ECG signal classification, Comput. Biol. Med., 96 (2018), 189–202. https://doi.org/10.1016/j.compbiomed.2018.03.016 doi: 10.1016/j.compbiomed.2018.03.016
    [17] G. B. Moody, R. G. Mark, The impact of the MIT-BIH arrhythmia database, IEEE Eng. Med. Biol. Mag., 20 (2001), 45–50. https://doi.org/10.1109/51.932724 doi: 10.1109/51.932724
    [18] American National Standard, Testing and Reporting Performance Results of Cardiac Rhythm and ST Segment Measurement Algorithms, AAMI, 2013. https://doi.org/10.2345/9781570204784.ch1
    [19] P. De Chazal, M. O'Dwyer, R. B. Reilly, Automatic classification of heartbeats using ECG morphology and heartbeat interval features, IEEE Trans. Biomed. Eng., 51 (2004), 1196–1206. https://doi.org/10.1109/TBME.2004.827359 doi: 10.1109/TBME.2004.827359
    [20] S. Ioffe, C. Szegedy, Batch normalization: Accelerating deep network training by reducing internal covariate shift, in Proceedings of the 32nd International Conference on Machine Learning, PMLR, (2015), 448–456.
    [21] K. He, X. Zhang, S. Ren, J. Sun, Deep residual learning for image recognition, in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, IEEE, (2016), 770–778.
    [22] N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, R. Salakhutdinov, Dropout: A simple way to prevent neural networks from overfitting, J. Mach. Learn. Res., 15 (2014), 1929–1958.
    [23] K. Smagulova, A. P. James, Overview of long short-term memory neural networks, in Deep Learning Classifiers with Memristive Networks: Theory and Applications, Springer, (2020), 139–153. https://doi.org/10.1007/978-3-030-14524-8_11
    [24] D. P. Kingma, J. Ba, Adam: A method for stochastic optimization, preprint, arXiv: 1412.6980.
    [25] M. Kachuee, S. Fazeli, M. Sarrafzadeh, ECG heartbeat classification: A deep transferable representation, in 2018 IEEE International Conference on Healthcare Informatics (ICHI), IEEE, (2018), 443–444. https://doi.org/10.1109/ICHI.2018.00092
    [26] T. F. Romdhane, M. A. Pr, Electrocardiogram heartbeat classification based on a deep convolutional neural network and focal loss, Comput. Biol. Med., 123 (2020), 103866. https://doi.org/10.1016/j.compbiomed.2020.103866 doi: 10.1016/j.compbiomed.2020.103866
    [27] S. K. Pandey, R. R. Janghel, Classification of electrocardiogram signal using an ensemble of deep learning models, Data Technol. Appl., 55 (2021), 446–460. https://doi.org/10.1108/DTA-05-2020-0108 doi: 10.1108/DTA-05-2020-0108
    [28] A. Shoughi, M. B. Dowlatshahi, A practical system based on CNN-BLSTM network for accurate classification of ECG heartbeats of MIT-BIH imbalanced dataset, in 2021 26th International Computer Conference, Computer Society of Iran (CSICC), IEEE, (2021), 1–6. https://doi.org/10.1109/CSICC52343.2021.9420620
    [29] G. Garcia, G. Moreira, D. Menotti, E. Luz, Inter-patient ECG heartbeat classification with temporal VCG optimized by PSO, Sci. Rep., 7 (2017), 10543. https://doi.org/10.1038/s41598-017-09837-3 doi: 10.1038/s41598-017-09837-3
    [30] J. Takalo-Mattila, J. Kiljander, J. P. Soininen, Inter-patient ECG classification using deep convolutional neural networks in 2018 21st Euromicro Conference on Digital System Design (DSD), IEEE, (2018), 421–425. https://doi.org/10.1109/DSD.2018.00077
    [31] Y. Li, R. Qian, K. Li, Inter-patient arrhythmia classification with improved deep residual convolutional neural network, Comput. Methods Programs Biomed., 214 (2022), 106582. https://doi.org/10.1016/j.cmpb.2021.106582 doi: 10.1016/j.cmpb.2021.106582
    [32] R. Siouda, M. Nemissi, H. Seridi, A random deep neural system for heartbeat classification, Evol. Syst., 14 (2023), 37–48. https://doi.org/10.1007/s12530-022-09429-1 doi: 10.1007/s12530-022-09429-1
  • Reader Comments
  • © 2024 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1036) PDF downloads(140) Cited by(0)

Article outline

Figures and Tables

Figures(3)  /  Tables(9)

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog