Log in

A novel IoT-based deep neural network for COVID-19 detection using a soft-attention mechanism

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

Abstract

Learning models from COVID-19 data are conducive to understand this disease. However, the scarcity of labeled data presents certain challenges. Previous works have exploited existing deep neural network models that are pre-trained on large datasets like the ImageNet dataset. However, the generalization of the pre-trained models remains a challenge. The objective of this study is to develop an accurate and reliable model that improves diagnostic accuracy and reduces the chances of misdiagnosis. This, in turn, enables appropriate and timely medical interventions for COVID-19 patients. In this paper, a novel framework is proposed to monitor and predict COVID-19 cases that relies on (1) a layered software architecture and (2) a deep neural network model for data processing. The proposed deep neural network model is based on a pre-trained RegNet model. However, the RegNet has limitations in effectively capturing complex shapes. The receptive field may not handle enough shape. To address this issue, we construct a new block using commonly used convolutional and max-pooling layers. It also incorporates the attention mechanism. This mechanism allows us to control a large receptive field with limited computational resources, highlight relevant features and enhance the discriminative power of the model. Comparative experiments using four different benchmark datasets have shown promising results. The proposed model exhibits high efficiency in accurately distinguishing COVID-19 images, with accuracy ranging from 96.43% to 98.96%. It is advisable that future works explore our proposed framework for more detection problems.

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

Access this article

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Data Availability

The ECG signals are obtained from the ECG Images dataset of Cardiac and COVID-19 Patients. The dataset is public and available online at the following link: http://dx.doi.org/10.17632/gwbz3fsgp8.1 The original publication is referenced by [27]. CT scan images are obtained from the SARS-CoV-2 CT-scan dataset and the large COVID-19 CT scan slice dataset. The datasets are public and available online at the following links: SARS-CoV-2 CT-scan dataset: https://www.kaggle.com/datasets/plameneduardo/sarscov2-ctscan-dataset The original publication is referenced by [33] Large COVID-19 CT scan slice dataset: https://www.kaggle.com/datasets/maedemaftouni/large-covid19-ct-slice-dataset The original publication is referenced by [34]

Abbreviations

CBAM:

Convolutional Block Attention Module

CNN:

Convolutional Neural Network

CT:

Computed Tomography

CXR:

Chest X-Ray

DNN:

Deep Neural Network

ECG:

ElectroCardioGram

IoT:

Internet of Things

NLP:

Natural Language Processing

REGATT:

REGnet with ATTention mechanism

RegNet:

Regular Networks

\(\rho \) :

Pearson correlation

cov:

Covariance

\(\sigma _x\) :

Standard deviation of X

\(\sigma _y\) :

Standard deviation of Y

\(F_{C}\) :

Channel feature map

\(F_{S}\) :

Spatial feature map

E :

Estimation error

\(Z^{*}\) :

Bootstrap estimation

\(\bigotimes \) :

Element-wise multiplication

\(\bigoplus \) :

Element-wise concatenation

References

  1. Joshi R, Singla R, Mishra A, Kumar M, Singh R, Singh AK, Bansal S, Sharma AR, Sarma P, Prakash A, Medhi B (2022) A systematic review on sars-cov-2 remission: an emerging challenge for its management, treatment, immunization strategies, and post-treatment guidelines. New microbes new infect 45. https://doi.org/10.1016/j.nmni.2022.100949

  2. Guo T, Fan Y, Chen M, ** research of intelligent. Cognit Comput 14

  3. Aggarwal P, Mishra NK, Fatimah B, Singh P, Gupta A, Joshi SD (2022) Covid-19 image classification using deep learning: Advances, challenges and opportunities. Comput Biol Med 144. https://doi.org/10.1016/j.compbiomed.2022.105350

  4. (2021) Simulated annealing-based image reconstruction for patients with covid-19 as a model for ultralow-dose computed tomography. Front Physiol 12 https://doi.org/10.3389/fphys.2021.737233

  5. Arash H, Nima JN, Mehmet U, Shiva T (2022) The covid-19 epidemic analysis and diagnosis using deep learning: A systematic literature review and future directions. Comput Biol Med 141. https://doi.org/10.1016/j.compbiomed.2021.105141

  6. Swapnarekha H, Behera HS, Nayak J, Naik B (2020) Role of intelligent computing in covid-19 prognosis: A state-of-the-art review. Chaos, Solitons & Fractals 138. https://doi.org/10.1016/j.chaos.2020.109947

  7. Sufian A, Ghosh A, Sadiq AS, Smarandache F (2020) A survey on deep transfer learning to edge computing for mitigating the covid-19 pandemic. J Syst Archit 108. https://doi.org/10.1016/j.sysarc.2020.101830

  8. Kumar A, Gupta PK, Srivastava A (2020) A review of modern technologies for tackling covid-19 pandemic. Diabetes Metab Syndr: Clin Res Rev 14. https://doi.org/10.1016/j.dsx.2020.05.008

  9. Beşler MS, Arslan H (2020) Acute myocarditis associated with covid-19 infection. Am J Emerg Med 38. https://doi.org/10.1016/j.ajem.2020.05.100

  10. Qureshi SA, Raza SEA, Hussain L, Malibari AA, Nour MK, Rehman Au, Al-Wesabi FN, Hilal AM (2022) Intelligent ultra-light deep learning model for multi-class brain tumor detection. Appl Sci 12. https://doi.org/10.3390/app12083715

  11. Raj Bhatele Kirti, Anand Jha DTMBSSMRMSS (2022) Covid-19 detection: A systematic review of machine and deep learning-based approaches utilizing chest x-rays and ct scans. Cognit Comput. https://doi.org/10.1007/s12559-020-09776-8

  12. Tahir AM, Qiblawey Y, Khandakar A, Rahman T, Khurshid U, Musharavati F, Islam MT, Kiranyaz S, Al-Maadeed S, Chowdhury MEH (2022) Deep learning for reliable classification of covid-19, mers, and sars from chest x-ray images. Cognit Comput 14. https://doi.org/10.1007/s12559-021-09955-1

  13. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) https://doi.org/10.1109/CVPR.2016.90

  14. Szegedy C, Liu W, Jia Y, Sermanet P, Reed S, Anguelov D, Erhan D, Vanhoucke V, Rabinovich A (2015) Going deeper with convolutions. In: 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Los Alamitos, CA, USA https://doi.org/10.1109/CVPR.2015.7298594

  15. Otovic E, Njirjak M, Jozinovic D, Mausa G, Michelini A, Stajduhar I (2022) Intra-domain and cross-domain transfer learning for time series data-how transferable are the features? Knowl Based Syst 239. https://doi.org/10.1016/j.knosys.2021.107976

  16. Radosavovic I, Kosaraju RP, Girshick R, He K, Dollar P (2020) Designing network design spaces. In: 2020 IEEE/CVF Conf. on Comp. Vis. and Patt. Recog. (CVPR). IEEE Computer Society, Los Alamitos, CA, USA

  17. Shaik NS, Cherukuri TK (2022) Transfer learning based novel ensemble classifier for covid-19 detection from chest ct-scans. Comput Biol Med 141. https://doi.org/10.1016/j.compbiomed.2021.105127

  18. Çinare Oğuz, Yağanoğlu M, (2022) Detection of covid-19 using deep learning techniques and classification methods. Inf Process Manage 59. https://doi.org/10.1016/j.ipm.2022.103025

  19. Sadik F, Dastider AG, Subah MR, Mahmud T, Fattah SA (2022) A dual-stage deep convolutional neural network for automatic diagnosis of covid-19 and pneumonia from chest ct images. Comput Biol Med 149. https://doi.org/10.1016/j.compbiomed.2022.105806

  20. Yang D, Martinez C, Visuña L, Khandhar H, Chintan B, Carretero J (2021) Detection and analysis of covid-19 in medical images using deep learning techniques. Sci Rep 11. https://doi.org/10.1038/s41598-021-99015-3

  21. Attallah O (2022) Ecg-biconet: An ecg-based pipeline for covid-19 diagnosis using bi-layers of deep features integration. Comput Biol Med 142. https://doi.org/10.1016/j.compbiomed.2022.105210

  22. Pal A, Srivastva R, Singh YN (2021) Cardionet: An efficient ecg arrhythmia classification system using transfer learning. Big Data Res 26. https://doi.org/10.1016/j.bdr.2021.100271

  23. Ardakani AA, Kanafi AR, Acharya UR, Khadem N, Mohammadi A (2020) Application of deep learning technique to manage covid-19 in routine clinical practice using ct images: Results of 10 convolutional neural networks. Comput. Biol. Med 121. https://doi.org/10.1016/j.compbiomed.2020.103795

  24. Jun M, Cheng G, Yixin W, **ngle A, Jiantao G, Ziqi Y, Minqing Z, **n L, Xueyuan D, Shucheng C, Hao W, Sen M, **aoyu Y, Ziwei N, Chen L, Lu T, Yuntao Z, Qiongjie Z, Guoqiang D, Jian H (2020) Covid-19 ct lung and infection segmentation dataset

  25. Zhang K, Liu X, Shen J, Li Z, Sang Y, Wu X, Zha Y, Liang W, Wang C, Wang K, Ye L, Gao M, Zhou Z, Li L, Wang J, Yang Z, Cai H, Xu J, Yang L, Cai W, Xu W, Wu S, Zhang W, Jiang S, Zheng L, Zhang X, Wang L, Lu L, Li J, Yin H, Wang W, Li O, Zhang C, Liang L, Wu T, Deng R, Wei K, Zhou Y, Chen T, Lau JYN, Fok M, He J, Lin T, Li W, Wang G (2020) Clinically applicable ai system for accurate diagnosis, quantitative measurements, and prognosis of covid-19 pneumonia using computed tomography. Cell 181. https://doi.org/10.1016/j.cell.2020.04.045

  26. Khan AH, Hussain M, Malik MK (2021) Ecg images dataset of cardiac and covid-19 patients. Data in Brief 34. https://doi.org/10.1016/j.dib.2021.106762

  27. Hefeda MM (2020) Ct chest findings in patients infected with covid-19: review of literature. J Radiol Nucl Med 51(1):1–5. https://doi.org/10.1186/2Fs43055-020-00355-3

  28. Karimian M, Azam M (2021) Chest computed tomography scan findings of coronavirus disease 2019 (covid-19) patients: a comprehensive systematic review and meta-analysis. Pol J Radiol 86. https://doi.org/10.5114/pjr.2021.103379

  29. Bao C, Liu X, Zhang H, Li Y, Liu J (2020) Coronavirus disease 2019 (covid-19) ct findings: a systematic review and meta-analysis. J Am Coll Radiol 17. https://doi.org/10.1016/j.jacr.2020.03.006

  30. Hodler J, von Schulthess G, Zollikofer C (2017) Diseases of the Heart, Chest & Breast: Diagnostic Imaging and Interventional. Techniques. https://doi.org/10.1007/978-88-470-0633-1

  31. Hansell DM, Bankier A, MacMahon H, McLoud TC, Müller NL, Remy J (2008) Fleischner society: glossary of terms for thoracic imaging. Radiology 246. https://doi.org/10.1148/radiol.2462070712

  32. Soares E, Angelov P, Biaso S, Froes MH, Abe DK (2020) Sars-cov-2 ct-scan dataset: A large dataset of real patients ct scans for sars-cov-2 identification. medRxiv https://doi.org/10.1101/2020.04.24.20078584

  33. Maftouni M, Chee LAC, Bo S, Yangze Z, Ayoobi YN, Kong ZJ (2021) A robust ensemble-deep learning model for covid-19 diagnosis based on an integrated ct scan images database. In: Proceedings of the 2021 Industrial and Systems Engineering Conference https://www.researchgate.net/publication/352296409_A_Robust_Ensemble-Deep_Learning_Model_for_COVID-19_Diagnosis_based_on_an_Integrated_CT_Scan_Images_Database

  34. Fki Z, Ammar B, Fendri H, Daoued E, Mnif Z, Ben Ayed M (2022) Covid-19-chu-sfax https://doi.org/10.21227/ahtr-rh57

  35. Yousefi S, Karimipour H, Derakhshan F (2021) Data aggregation mechanisms on the internet of things: A systematic literature review. Internet of Things 15. https://doi.org/10.1016/j.iot.2021.100427

  36. Madureira ALR, Araujo FRC, Sampaio LN (2020) On supporting iot data aggregation through programmable data planes. Comput Netw 177. https://doi.org/10.1016/j.comnet.2020.107330

  37. Zoubir AM, Iskander DR (2007) Bootstrap methods and applications. IEEE Signal Process Mag 24(4):10–19

  38. Xu J, Pan Y, Pan X, Hoi S, Yi Z, Xu Z (2022) Regnet: Self-regulated network for image classification. IEEE Transactions on Neural Networks and Learning Systems 1–6. https://doi.org/10.1109/TNNLS.2022.3158966

  39. Woo S, Park J, Lee JY, Kweon IS (2018) Cbam: Convolutional block attention module. In: Computer Vision – ECCV 2018, Cham https://doi.org/10.1007/978-3-030-01234-2_1

  40. Nettleton D (2014) Chapter 6 - selection of variables and factor derivation https://doi.org/10.1016/B978-0-12-416602-8.00006-6

  41. Rahman T, Akinbi A, Chowdhury MEH, Rashid TA, Şengür A, Khandakar A, Islam KR, Ismael AM (2022) Cov-ecgnet: Covid-19 detection using ecg trace images with deep convolutional neural network. Health Inf. Sci Syst 10. https://doi.org/10.1007/s13755-021-00169-1

  42. Irmak E (2022) Covid-19 disease diagnosis from paper-based ecg trace image data using a novel convolutional neural network model. Phys Eng Sci Med 45. https://doi.org/10.1007/s13246-022-01102-w

  43. Carvalho ED, Silva RRV, Araujo FHD, de Andrade Lira Rabelo R, de Carvalho Filho AO, (2021) An approach to the classification of covid-19 based on ct scans using convolutional features and genetic algorithms. Comput Biol Med 136. https://doi.org/10.1016/j.compbiomed.2021.104744

  44. Huang ML, Liao YC (2022) A lightweight cnn-based network on covid-19 detection using x-ray and ct images. Comput. Biol. Med 146. https://doi.org/10.1016/j.compbiomed.2022.105604

  45. Basu A, Sheikh KH, Cuevas E, Sarkar R (2022) Covid-19 detection from ct scans using a two-stage framework. Expert Syst Appl 193:116377. https://doi.org/10.1016/j.eswa.2021.116377

  46. Ahamed KU, Islam M, Uddin A, Akhter A, Paul BK, Yousuf MA, Uddin S, Quinn J, Moni MA (2021) A deep learning approach using effective preprocessing techniques to detect covid-19 from chest ct-scan and x-ray images. Comput Biol Med 139. https://doi.org/10.1016/j.compbiomed.2021.105014

  47. Zhao J, Zhang Y, He X, **e P (2020) Covid-ct-dataset: A CT scan dataset about COVID-19. CoRR abs/2003.13865 https://arxiv.org/abs/2003.13865

  48. Fki Z, Ammar B, Ayed MB (2023) Towards automated optimization of residual convolutional neural networks for electrocardiogram classification. Cogn Comput. https://doi.org/10.1007/s12559-022-10103-6

Download references

Acknowledgements

The authors would like to thank the anonymous reviewers for their insightful comments and suggestions. Additionally, the authors extend their thanks to Associate Professor Hela Ltifi, who served as the scientific advisor. This work was supported by the Ministry of Higher Education and Scientific Research of Tunisia under grant agreement number LR11ES48. Professor Amir Hussain acknowledges the support of the UK Engineering and Physical Sciences Research Council (EPSRC) - Grants Ref. EP/M026981/1, EP/T021063/1, EP/T024917/1.

Author information

Authors and Affiliations

Authors

Contributions

Zeineb Fki: Conception and design of the study, acquisition of data, analysis and interpretation of data, and drafting the article. Boudour Ammar: Conception and design of the study, acquisition of data, and revising the article critically for important intellectual content. Rahma Fourati: Analysis and interpretation of data, and revising the article critically for important intellectual content. Hela Fendri: Acquisition of data, and revising the article critically for important intellectual content. Amir Hussain: Analysis and interpretation of data, and revising the article critically for important intellectual content. Mounir Ben Ayed: Conception and design of the study, and revising the article critically for important intellectual content. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Zeineb Fki.

Ethics declarations

Conflict of Interest

The authors declare no conflict of interest.

Ethics approval

Ethics approval to conduct this research was obtained from the Faculty of Medicine of Sfax in coordination with the imaging department of Hedi Chaker University Hospital.

Informed consent

Informed consent was obtained from all individual participants included in the study.

Consent to participate

Not applicable

Consent for publication

Not applicable

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

Fki, Z., Ammar, B., Fourati, R. et al. A novel IoT-based deep neural network for COVID-19 detection using a soft-attention mechanism. Multimed Tools Appl 83, 54989–55009 (2024). https://doi.org/10.1007/s11042-023-17642-6

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-17642-6

Keywords

Navigation