Abstract
Cardiovascular diseases (CVDs) are a leading cause of mortality worldwide, and early detection is crucial for effective treatment and management. Electrocardiogram (ECG) signals have been widely used for CVD diagnosis due to their non-invasiveness and ease of acquisition. However, the complexity of ECG signals and the presence of multiple CVDs in a single patient make the classification task challenging. Therefore, the early detection and diagnosis of cardiovascular diseases (CVDs) using electrocardiogram (ECG) signals is critical to preventing associated complications. This article proposes a novel approach for the reduced lead ECG multi-label classification task using 2D SEResnet with an attention mechanism. The proposed approach employs a 2D CNN architecture that incorporates wide SE residual networks (SEResnet) and a self-attention mechanism to extract relevant features from ECG signals with fewer leads. By evaluating a dataset with over 88,000 ECG records, the model showed high accuracy and an F1 score for identifying various abnormalities. Also, the model includes certain demographic features, which further improve the generality of the model. Overall, the model achieved an accuracy of 42.9% and an F1-score of 0.51 for a single-lead configuration and 48% and an F1-score of 0.55 for a two-lead configuration. These results indicate that the proposed approach can effectively perform with limited ECG leads and some demographic data, which could be helpful in real-world scenarios.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Availability of supporting data
Data sharing does not apply to this article as no datasets were generated or analyzed during the current study.
References
Organization WH (2023) Cardiovascular diseases. https://www.who.int/health-topics/cardiovascular-diseases#tab=tab_1
Naghavi M, Wang H, Lozano R, Davis A, Liang X, Zhou M (2021) A systematic analysis for the global burden of disease study 2013. The Lancet 385(9963)
Wang H, Naghavi M, Allen C, Barber R, Carter A, Casey D, Charlson F, Chen A, Coates M, Coggeshall M, Dandona L (2016) A systematic analysis for the global burden of disease study 2015. The Lancet 388(10053)
Sheikh D, Vansh AR, Verma H, Chauhan N, Kumar R, Sharma R, Negi PC, Kumar Awasthi L (2021) An ecg heartbeat classification strategy using deep learning for automated cardiocare application. In: 2021 3rd International conference on advances in computing, communication control and networking (ICAC3N), pp 515–520. https://doi.org/10.1109/ICAC3N53548.2021.9725503
Huffman MD, Prabhakaran D, Osmond C, Fall CHD, Tandon N, Lakshmy R, Ramji S, Khalil A, Gera T, Prabhakaran P, Biswas SKD, Reddy KS, Bhargava SK, Sachdev HS (2011) Incidence of cardiovascular risk factors in an Indian urban cohort results from the new delhi birth cohort. J Am Coll Cardiol 57(17):1765–74. https://doi.org/10.1016/j.jacc.2010.09.083
Acharya UR, Fujita H, Sudarshan VK, Oh SL, Adam M, Koh JE, Tan JH, Ghista DN, Martis RJ, Chua CK et al (2016) Automated detection and localization of myocardial infarction using electrocardiogram: a comparative study of different leads. Knowl-Based Syst 99:146–156
Alickovic E, Subasi A (2015) Effect of multiscale pca de-noising in ecg beat classification for diagnosis of cardiovascular diseases. Circ Syst Signal Process 34:513–533
Moody G, Mark R (2001) The impact of the mit-bih arrhythmia database. IEEE Engineering in Medicine and Biology Magazine 20(3):45–50. https://doi.org/10.1109/51.932724
Yao Q, Wang R, Fan X, Liu J, Li Y (2020) Multi-class arrhythmia detection from 12-lead varied-length ecg using attention-based time-incremental convolutional neural network. Inf Fusion 53:174–182
Ullah A, Anwar SM, Bilal M, Mehmood RM (2020) Classification of arrhythmia by using deep learning with 2-d ecg spectral image representation. Remote Sens 12(10):1685
Kamaleswaran R, Mahajan R, Akbilgic O (2018) A robust deep convolutional neural network for the classification of abnormal cardiac rhythm using single lead electrocardiograms of variable length. Physiological Measurement 39(3):035006. https://doi.org/10.1088/1361-6579/aaaa9d
Hannun AY, Rajpurkar P, Haghpanahi M, Tison GH, Bourn C, Turakhia MP, Ng AY (2019) Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network. Nature Med 25(1):65–69
Cai J, Sun W, Guan J, You I (2020) Multi-ecgnet for ecg arrythmia multi-label classification. Ieee Access 8:110848–110858
Sun Z, Wang C, Zhao Y, Yan C (2020) Multi-label ecg signal classification based on ensemble classifier. IEEE Access 8:117986–117996
Li R, Zhang X, Dai H, Zhou B, Wang Z (2019) Interpretability analysis of heartbeat classification based on heartbeat activity’s global sequence features and bilstm-attention neural network. IEEE Access 7:109870–109883
Nejedly P, Ivora A, Smisek R, Viscor I, Koscova Z, Jurak P, Plesinger F (2021) Classification of ecg using ensemble of residual cnns with attention mechanism. In: 2021 Computing in cardiology (CinC), vol 48, pp 1–4. IEEE
Bruoth E, Bugata P, Gajdoš D, Horvát Š, Hudák D, Kmečová V, Staňa R, Staňková M, Szabari A, Vozáriková G et al (2021) A two-phase multilabel ecg classification using one-dimensional convolutional neural network and modified labels. In: 2021 Computing in cardiology (CinC), vol 48, pp 1–4. IEEE
Krivenko SS, Pulavskyi A, Kryvenko LS, Krylova O, Krivenko SA (2021) Using mel-frequency cepstrum and amplitude-time heart variability as xgboost handcrafted features for heart disease detection. In: 2021 Computing in cardiology (CinC), vol 48, pp 1–4. IEEE
Ganeshkumar M, Ravi V, Sowmya V, Gopalakrishnan E, Soman K (2021) Explainable deep learning-based approach for multilabel classification of electrocardiogram. IEEE Trans Eng Manag
Zhu H, Cheng C, Yin H, Li X, Zuo P, Ding J, Lin F, Wang J, Zhou B, Li Y et al (2020) Automatic multilabel electrocardiogram diagnosis of heart rhythm or conduction abnormalities with deep learning: a cohort study. The Lancet Digital Health 2(7):e348–e357
Liu Y, Xie H, Cao Q, Yan J, Wu F, Zhu H, Pan Y (2021) Multi-label classification of multi-lead ecg based on deep 1d convolutional neural networks with residual and attention mechanism. In: 2021 Computing in cardiology (CinC), vol 48, pp 1–4. IEEE
Liu Y, Li Q, Wang K, Liu J, He R, Yuan Y, Zhang H (2021) Automatic multi-label ecg classification with category imbalance and cost-sensitive thresholding. Biosensors 11(11):453
Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser L, Polosukhin I (2017) Attention is all you need. https://doi.org/10.48550/ARXIV.1706.03762arXiv:1706.03762
pytorch (2023) https://pytorch.org/. Accessed 10 March 2023
Nvidia tesla gpu p100 (2023) https://www.nvidia.com/en-us/data-center/tesla-p100/. Accessed 10 March 2023
matplotlib (2023) https://matplotlib.org/. Accessed 10 March 2023
numpy (2023) https://numpy.org/. Accessed 10 March 2023
pandas (2023) https://pandas.pydata.org/. Accessed 10 March 2023
scipy (2023) https://scipy.org/. Accessed 10 March 2023
sklearn (2023) https://scikit-learn.org/. Accessed 10 March 2023
Ben-Baruch E, Ridnik T, Zamir N, Noy A, Friedman I, Protter M, Zelnik-Manor L (2020) Asymmetric loss for multi-label classification. arXiv preprint arXiv:2009.14119
Zhang H, Cisse M, Dauphin YN, Lopez-Paz D (2017) mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412
Zhou ZH, Liu XY (2006) Training cost-sensitive neural networks with methods addressing the class imbalance problem. IEEE Trans Knowl Data Eng 18(1):63–77. https://doi.org/10.1109/TKDE.2006.17
Zheng J, Zhang J, Danioko S, Yao H, Guo H, Rakovski C (2020) A 12-lead electrocardiogram database for arrhythmia research covering more than 10,000 patients. Sci data 7(1):48
Liu F, Liu C, Zhao L, Zhang X, Wu X, Xu X, Liu Y, Ma C, Wei S, He Z et al (2018) An open access database for evaluating the algorithms of electrocardiogram rhythm and morphology abnormality detection. J Med Imaging Health Inform 8(7):1368–1373
Alday EAP, Gu A, Shah AJ, Robichaux C, Wong AKI, Liu C, Liu F, Rad AB, Elola A, Seyedi S et al (2020) Classification of 12-lead ecgs: the physionet/computing in cardiology challenge 2020. Physiol Meas 41(12):124003
Tihonenko V, Khaustov A, Ivanov S, Rivin A, Yakushenko E (2008) St petersburg incart 12-lead arrhythmia database. PhysioBank, PhysioToolkit, and PhysioNet. https://doi.org/10.13026/C2V88N
Zheng J, Chu H, Struppa D, Zhang J, Yacoub SM, El-Askary H, Chang A, Ehwerhemuepha L, Abudayyeh I, Barrett A et al (2020) Optimal multi-stage arrhythmia classification approach. Sci Rep 10(1):2898
Bousseljot R, Kreiseler D, Schnabel A (1995) Nutzung der ekg-signaldatenbank cardiodat der ptb über das internet
Wagner P, Strodthoff N, Bousseljot RD, Kreiseler D, Lunze FI, Samek W, Schaeffter T (2020) Ptb-xl, a large publicly available electrocardiography dataset. Sci Data 7(1):154
Kaggle (2023) https://www.kaggle.com/. Accessed 10 March 2023
Funding
The authors declare that no funds, grants, or other support were received during the preparation of this manuscript.
Author information
Authors and Affiliations
Contributions
Danish Sheikh: Conceptualization, Formal analysis, Investigation, Methodology, Resources, Writing: original draft, Writing: review & editing, Visualization, Validation, Software. Himanshu Verma: Supervision, Conceptualization, Formal analysis, Investigation, Visualization, Validation. Naveen Chauhan: Supervision, Investigation, Visualization, Validation.
Corresponding author
Ethics declarations
Conflicts of interest
The authors do not have any conflict of interest.
Ethical standard
Not applicable.
Consent for publication
Not applicable.
Competing interests
The authors have no relevant financial or non-financial interests to disclose.
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.
About this article
Cite this article
Sheikh, D., Verma, H. & Chauhan, N. Reduced lead ECG multi-label classification with higher generalization using 2D SEResnets with self attention. Multimed Tools Appl 83, 65315–65339 (2024). https://doi.org/10.1007/s11042-024-18116-z
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-024-18116-z