Servicios
Descargas
Buscar
Idiomas
P. Completa
COVID-19 Diagnosis with Deep Learning
Hatice Catal Reis
Hatice Catal Reis
COVID-19 Diagnosis with Deep Learning
Diagnóstico de COVID-19 con Deep Learning
Ingeniería e Investigación, vol. 42, no. 1, e110, 2022
Facultad de Ingeniería, Universidad Nacional de Colombia.
resúmenes
secciones
referencias
imágenes

ABSTRACT: The coronavirus disease 2019 (COVID-19) is fatal and spreading rapidly. Early detection and diagnosis of the COVID-19 infection will prevent rapid spread. This study aims to automatically detect COVID-19 through a chest computed tomography (CT) dataset. The standard models for automatic COVID-19 detection using raw chest CT images are presented. This study uses convolutional neural network (CNN), Zeiler and Fergus network (ZFNet), and dense convolutional network-121 (DenseNet121) architectures of deep convolutional neural network models. The proposed models are presented to provide accurate diagnosis for binary classification. The datasets were obtained from a public database. This retrospective study included 757 chest CT images (360 confirmed COVID-19 and 397 non-COVID-19 chest CT images). The algorithms were coded using the Python programming language. The performance metrics used were accuracy, precision, recall, F1-score, and ROC-AUC. Comparative analyses are presented between the three models by considering hyper-parameter factors to find the best model. We obtained the best performance, with an accuracy of 94,7%, a recall of 90%, a precision of 100%, and an F1-score of 94,7% from the CNN model. As a result, the CNN algorithm is more accurate and precise than the ZFNet and DenseNet121 models. This study can present a second point of view to medical staff.

Palabras clave: COVID-19, deep learning, red neuronal convolucional, red Zeiler y Fergus, red convolucional densa-121.

RESUMEN: La enfermedad del coronavirus 2019 (COVID-19) es fatal y se está propagando rápidamente. La detección y el diagnóstico tempranos de la infección por COVID-19 evitarán la propagación rápida. Este estudio tiene como objetivo detectar COVID-19 automáticamente a partir del conjunto de datos de tomografía computarizada de tórax (TC). Se presentan los modelos estándar para la detección automática de COVID-19 utilizando imágenes de TC de tórax sin procesar. El estudio consta de arquitecturas de red neuronal convolucional (CNN), red Zeiler y Fergus (ZFNet) y red convolucional densa-121 (DenseNet121) de modelos de redes neuronales convolucionales profundas. Los modelos propuestos se presentan para proporcionar diagnósticos precisos para clasificación binaria. Los conjuntos de datos se obtuvieron de una base de datos pública. Este estudio retrospectivo incluyó 757 imágenes de TC de tórax (360 imágenes de TC de tórax COVID-19 confirmadas y 397 imágenes no COVID-19). Los algoritmos se codificaron utilizando el lenguaje de programación Python. Los parámetros de desempeño que se utilizaron fueron exactitud, precisión, recuperación, puntaje-F1 y ROC-AUC. Se presentan análisis comparativos entre los tres modelos considerando factores de hiperparámetros para encontrar el mejor modelo. Obtuvimos el mejor rendimiento, con exactitud del 94,7%, recuperación del 90%, precisión del 100% y puntuación-F1 del 94,7% del modelo de CNN. Como resultado, el algoritmo de CNN es más exacto y preciso que los modelos ZFNet y DenseNet121. Este estudio puede presentar un segundo punto de vista al personal médico.

Palabras clave: COVID-19, deep learning, red neuronal convolucional, red Zeiler y Fergus, red convolucional densa-121.

Keywords: COVID-19, deep learning, convolutional neural network, Zeiler and Fergus network, dense convolutional network-121

Carátula del artículo

Original articles

COVID-19 Diagnosis with Deep Learning

Diagnóstico de COVID-19 con Deep Learning

Hatice Catal Reis
Erzincan University, Turkey
Ingeniería e Investigación, vol. 42, no. 1, e110, 2022
Facultad de Ingeniería, Universidad Nacional de Colombia.

Received: 02 July 2020

Accepted: 20 April 2021

Introduction

Machine-learning (ML) techniques have been used in medical imaging and infectious disease diagnosis (Lundervold and Lundervold, 2019; Chen et al., 2016; Ardabili et al., 2020). The coronavirus disease 2019 (COVID-19), which started to spread from Wuhan (China), as of the end of December 2019 (Zhu et al., 2020; Huang et al., 2020), has affected the whole world. According to the updated data, there have been more than 134 957 021 confirmed cases and 2 918 752 confirmed deaths because of COVID-19 in 223 countries as of 11 April 2021 (WHO, 2021). Coronaviruses (CoVs) are related to zoonotic viruses that can cause disease in mammal or bird species (Tezer and Bedir Demirdag, 2020). Various medical approaches are available to diagnose and detect COVID-19 in patients, such as the transcription-polymerase chain reaction (RT-PCR) test kits (Ai et al., 2020) and chest computed tomography (CT) images. Chest CT scans have played a vital role in diagnosis during this pandemic (Akcay et al., 2020; Bao et al., 2020; Chung et al., 2020; Lei et al., 2020). Early detection, diagnosis, isolation, and treatment are critical to preventing further spread of the disease (Guner et al., 2020). In some cases, real-time polymerase chain reactions can give incorrect or inadequate information (Ai et al., 2020). It is critical to develop cost-effective and accurate detection methods that all countries can benefit from. Deep learning (DL) is a part of machine learning (Deng, 2014). Recently, this technique has shown effective performance in the field of medical image processing. DL-based research has been presented for the detection of COVID-19. This includes artificial neural networks (ANN), convolutional neural networks (CNN), recurrent neural networks (RNN, a hybrid classifier architecture) (Goreke etal., 2021); ResNet50, Incep-tionV3, and InceptionResNetV2 (Narin etal., 2020); nCOVnet (Panwar et al., 2020); DarkCovidNet (Ozturk et al., 2020); VGG-19 (Ioannis and Bessiana, 2020); COVID-NET (Wang and Wong, 2020); and Xception and ResNeXt (Jain et al., 2021) models using X-ray images. At the same time, studies that detect COVID-19 using CT images have been presented in the literature. AlexNet, VGG-16, VGG-19, SqueezeNet, GoogLeNet (Ardakani et al., 2020), ResNet-50 as a specific model (Li et al., 2020), DenseNet (Yang et al., 2020), and DenseNet201 (Jaiswal et al., 2020) algorithms have used CT images for COVID-19 detection and diagnosis. Although there are studies on the subject, there is still insufficient literature. Deep learning algorithms can help develop a new useful diagnosis and management system for COVID-19 cases. In this study, we have proposed three models for an automatic prediction of COVID-19 using DL-based using chest CT images. The proposed models have an end-to-end architecture that uses feature extraction methods and raw chest-CT images for analysis. These models are a customized CNN, ZFNet, and DenseNet121. We reached this accuracy by means of a large-size dataset and multi-layer models. Along with the customized CNN model, we proposed a small-size nonstandard dataset.

Radiologists have to be pioneers in medical imaging and interpretation during the COVID-19 pandemic, but the medical staff are currently under heavy workloads. Therefore, DL-based approaches can help contribute to the medical system and offer a secondary perspective.

This study is organized as follows: in section 2 (Materials and methods), we give a short overview of the literature in deep learning and the proposed models; we describe how we obtained the dataset, and we present architecture charts and plots. Then, we provide a statistical analysis. In section 3 (Results), we show the results of the experiment. After that, we discuss and interpret the obtained results and conclusions.

Materials and methods

In this section, we define the dataset used in the study for DL. The second part is followed by the proposed CNN, ZFNet, and DenseNet121. It compares the performance of these three models. We built DL-based platforms for automatic detection and prediction of COVID-19 (Figure 1).


Figure 1
A schematic presentation of the study.
Source: Author

Deep learning is a subclass of machine learning and is the most popular approach in artificial intelligence applications (LeCun et al., 2015). DL is a method that imitates the human brain in the use of information and aims for new approaches in complex data solutions. The most important feature that distinguishes deep learning from traditional neural networks is that it has more than one hidden layer (Sejnowski and Tesauro, 1989). Generally, the architecture of convolutional neural networks consists of input, convolution, pooling, convolution, pooling, fully connected, fully connected, and output prediction (Pouyanfar et al., 2018).

The data were downloaded and used from the GitHub public database. The COVID-CT-Dataset has 360 CT images containing clinical findings of COVID-19 from 216 patients and 397 non-COVID-19 CT images (Github/UCSD-AI4H, 2020). No human and no animal rights were violated. The research was performed according to the principles of the Declaration of Helsinki. We used the Keras deep learning library with the TensorFlow backend to implement deep learning models (Figure 3). This study was done on a personal laptop equipped with an Intel 15 processor, 6 GB of RAM, and a GTX 940MX NVidia GPU with 2GB of VRAM. Table 1 shows the DL methods used and statistics of the dataset for chest CT images.

Table 1
Statistics of the dataset

Source: Author

A chest CT dataset was used (Figure 2), which was obtained with different techniques and did not have standard features. Therefore, all images were pre-processed.


Figure 2
Raw chest CT image samples.
Source: Author


Figure 3
Deep learning algorithm framework.
Source: Author

Problem solving with the help of deep learning is equivalent to optimally designing a multi-layered network structure. The raw CT dataset and 100 epochs were used as the input layer in our study (Figures 4 to 6). BatchNormalization caused the model to learn better during training, and it also positively affected the stability of the network.


Figure 4
Architecture of the customized CNN model.
Source: Author


Figure 5
Architecture of the ZFNet model.
Source: Author


Figure 6
Architecture of the DenseNet121 model.
Source: Author

CNNs have been used in imaging-based classification in various medical areas (Lakhani and Sundaram, 2017; Esteva et al., 2017). They have been significantly practiced in medical image processing to develop health research (Choe et al., 2019). CNNs are a kind of artificial neural network with multiple layers contributing to high accuracy and cost reduction in its large datasets (Panwar et al., 2020). The customized CNN's architecture contains 3 layers instead of 2 in the 2-3-4 layers (Figure 4). Therefore, we increased the model's performance in terms of accuracy.

Performance measures

This study used the receiver operating characteristic (ROC) curve to evaluate classifier output quality. ROC curve analysis is generally used in medical studies for evaluating the diagnostic accuracy of a continuous class (Kamarudin et al., 2017). The confusion matrix is based on four parameters, identified as True Positive (TP), False Positive (FP), False Negative (FN), and True Negative (TN), as shown in Table 2. Accuracy, precision, recall, F1-score, and ROC-AUC metrics were used for performance measurement (Togacar et al., 2020).

Table 2
Confusion matrix

Source: Author

Experimental results

We used CNN, ZFNet, and DenseNet121 DL algorithms to detect COVID-19 for training, validation, and testing purposes. Visual performance plots are given in Figures 7 to 9, and the evaluation results of the methods are shown in Table 3.

Table 3
Comparative results of models

Source: Author


Figure 7
Confusion matrix visualization: (top) CNN, (middle) ZFNet, (bottom) DenseNet121.
Source: Author


Figure 8
Training loss and validation loss values for CNN (top), ZFNet (middle), DenseNet121 (bottom).
Source: Author


Figure 9
ROC curve obtained for customized CNN (top), ZFNet (middle), (bottom) DenseNet121Algorithm.
Source: Author

We obtained the best performance with the customized CNN model, with an accuracy of 94,7%, a recall of 90%, a precision of 100%, and an Fl-score of 94,7%. The lowest performance values were obtained by DenseNet121 with an accuracy of 84,2%, a recall of 76,5%, a precision of 85%, and an Fl-score of 81,2%. The confusion matrix for the detection of COVID-19 obtained from the study is given in Figure 7. Accuracy, precision, recall, Fl-score, and ROC-AUC were used for performance evaluation (Table 3).

The loss function layer is used to calculate the expected results predicted by the vital features (Sriporn et al., 2020) (Figure 8).

According to the results of the ROC curve (Figure 9), we obtained the best result from the CNN model with 95%, the second best result from the ZFNet model with 86,8%, and the lowest result with the DenseNet121 model (83,5%).

Conclusions

In this study, we focused on the detection and prediction of COVID-19 using chest CT imaging. As a result, the CNN algorithm gave more satisfactory and higher accuracy than ZFNet and DenseNet121. The additional layers we applied for the CNN model increased the study's performance (while the standard CNN ROC-AUC value was 94%, it increased to 95% with the customized method). We presented a different perspective to the standard CNN approach. According to the results, the customized CNN model can be used to automatically predict the COVID-19 disease.

A major limitation of this study is the use of a limited number of COVID-19 chest CT images; it can offer radiologists and medical staff a second perspective. COVID-19 diagnosis performed using DL-based algorithms can help medical staff with reporting and interpreting. In future work, studies with more datasets and different machine learning methods will be presented.

Supplementary material
Appendices
Appendix

Table A1
Parameters of the customized CNN model for binary classification

Source: Author

Table A2
Parameters of the ZFNet model for binary classification

Source: Author

Table A3
Parameters of the DenseNet121 model for binary classification

Source: Author

Acknowledgments

We would like to thank Veysel Turk and Serhat Kaya for their technical contribution.

References
Ai, T., Yang, Z., Hou, H., Zhan, C., Chen, C., Lv, W., Tao, Q., Sun, Ziyong, and Xia, L. (2020). Correlation of chest CT and RT-PCR testing in coronavirus disease 2019 (COVID-19) in China: a report of 1014 cases. Radiology, 296(2), E32-E40. 10.1148/radiol.2020200642
Akcay, S., Ozlu, T., and Yilmaz, A. (2020). Radiological approaches to COVID-19 pneumonia. Turkish Journal of Medical Sciences, 50(SI-1), 604-610. 10.3906/sag-2004-160
Ardabili, S., Mosavi, A., Ghamisi, P., Ferdinand, F., Varkonyi-Koczy, A. R., and Reuter, U. R. (2020). COVID-19 outbreak prediction with machine learning. Algorithms, 73(10), 249. 10.3390/a13100249
Ardakani, A. A., Kanafi, A. R., Acharya, U. R., Khadem, N., and 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. Computers in Biology and Medicine, 727, 103795. 10.1016/j.compbiomed.2020.103795
Bao, C., Liu, X., Zhang, H., Li, Y., and Liu, J. (2020). Coronavirus disease 2019 (COVID-19) CT findings: A systematic review and meta-analysis. Journal of the American College of Radiology, 77(6), 701-709. 10.1016/j.jacr.2020.03.006
Chen, X., Wang, Z. J., and McKeown, M. (2016). Joint blind source separation for neurophysiological data analysis: multiset and multimodal methods. IEEE Signal Processing Magazine, 33(3), 86-107. 10.1109/MSP.2016.2521870
Choe, J., Lee, S. M., Do, K-.H., Lee, G., Lee, J-.G., Lee, S. M., and Deo, J. B. (2019). Deep learning-based image conversion of CT reconstruction kernels improves radionics reproducibility for pulmonary nodules or masses. Radiology, 292(2), 365-373. 10.1148/radiol.2019181960
Chung, M., Bernheim, A., Mei, X., Zhang, N., Huang, M., Zeng, X., Cui, J., Yang, Y., Fayad, Z. A., Jacobi, A., Li, K., Li, S., and Shan, H. (2020). CT imaging features of 2019 novel coronavirus (2019-ncov). Radiology, 295, 202-207. 10.1148/radiol.2020200230
Deng, L. (2014). A tutorial survey of architectures, algorithms, and applications for deep learning. APSIPA Transactions on Signal and Information Processing, 3, 1-29. 10.1017/at-sip.2013.9
Esteva, A., Kuprel , B., Novoa, R. A., Ko, J., Swetter, S. M., Blau, H. M., and Thrun, S. (2017). Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542, 115-118.10.1038/nature21056
GitHub/UCSD-AI4H. (2020, April 20). COVID CT. https://github.com/UCSD-AI4H/COVID-CT
Goreke, V., Sari, V., and Kockanat, S. (2021). A novel classifier architecture based on deep neural network for COVID-19 detection using laboratory findings. Applied Soft Computing Journal, 706, 107329.10.1016/j.asoc.2021.107329
Guner, R., Hasanoglu, I., and Aktas, F. (2020). COVID-19: Prevention and control measures in community. Turkish Journal of Medical Sciences, 50(S1-1), 571-577.10.3906/sag-2004-146
Huang, C., Wang, Y., Li, X., Ren, L., Zhao, J., Hu, Y., Zhang, L., Fan, G., Xu, J., Gu, X., Cheng, Z., Yu, T., Xia, J., Wei, Y., Wu, W., Xie, X., Yin, W., Li, H., Liu, M. . . . Cao, B. (2020). Clinical features ofpatients infected with 2019 novel coronavirus in Wuhan, China. The Lancet, 395(10223), 497-506. 10.1016/S0140-6736(20)30183-5
Ioannis, D. A. and Bessiana, B. (2020). COVID-79: Automatic Detection from X-Ray Images Utilizing Transfer Learning with Convolutional Neural Networks. https://arxiv.org/ftp/arxiv/papers/2003/2003.11617.pdf
Jain, R., Gupta, M., Taneja, S., and Hemanth, D. J. (2021). Deep learning based detection and analysis of COVID-19 on chest X-ray images. Applied Intelligence, 57, 1690-1700. 10.1007/s10489-020-01902-1
Jaiswal, A., Gianchandani, N., Singh, D., Kumar, V., and Kaur, M. (2020). Classification of the COVID-19 infected patients using DenseNet201 based deep transfer learning. Journal of Biomolecular Structure and Dynamics, 38, 1-8. 10.1080/07391102.2020.1788642
Kamarudin, A. N., Cox, T., and Kolamunnage-Dona, R. (2017). Time-dependent ROC curve analysis in medical research: current methods and applications. BMC Medical Research Methodology, 77(1), 53. 10.1186/s12874-017-0332-6
Lakhani, P. and Sundaram, B. (2017). Deep learning at chest radiography: automated classification of pulmonary tuberculosis by using convolutional neural networks. Radiology, 284(2). 574-582. 10.1148/radiol.2017162326
LeCun, Y., Bengio, Y., and Hinton, G. (2015). Deep learning. Nature, 527, 436-444.10.1038/nature14539
Lei, J., Li, J., Li, X., and Qi, X. (2020). CT imaging of the 2019 novel coronavirus (2019-ncov) pneumonia. Radiology, 295(1), 18. 10.1148/radiol.2020200236
Li, L., Qin, L., Xu, Z., Yin, Y., Wang, X., Kong, B., Bai, J., Lu, Y., Fang, Z., Song, Q., Cao, K., Liu, D., Wang, G., Xu, Q., Fang, X. Zhang, S., Xia, J., and Xia, J. (2020). Artificial intelligence distinguishesCOVID-19 from community acquired pneumonia on chest CT. Radiology, 296(2). 10.1148/radiol.2020200905
Lundervold, A. S. and Lundervold, A. (2019). An overview of deep learning in medical imaging focusing on MRI. Zeitschrift fur Medizinische Physik, 29(2), 102-127. 10.1016/j.zemedi.2018.11.002
Narin, A., Kaya, C., and Pamuk, Z. (2020). Automatic Detection of Coronavirus Disease (COVID- 79) Using X-Ray Images and Deep Convolutional Neural Networks. https://arxiv.org/ftp/arxiv/papers/2003/2003.10849.pdf
Ozturk, T., Talo, M., Yildirim, E. A., Baloglu, U. B., Yildirim, O., and Acharya , U. J. (2020). Automated detection of COVID-19 cases using deep neural networks with X-ray images. Computers in Biology and Medicine, 727, 103792. 10.1016/j.compbiomed.2020.103792
Panwar, H., Gupta, P. K., Siddiqui, M. K., Morales-Menendez, R., and Singh, V. (2020). Application of deep learning for fast detection of COVID-19 in X-Rays using nCOVnet. Chaos, Solitons and Fractals, 738, 109944. 10.1016/j.chaos.2020.109944
Pouyanfar, S., Sadiq, S., Yan, Y., Tian, H., Tao, Y., Presa-Reyes, M., Shyu, M-.L., Chen, S-.C., and Iyengar, S. S. (2018). A survey on deep learning: Algorithms, techniques, and applications. ACM Computing Surveys, 57 (5), 92.10.1145/3234150
Sejnowski, T. and Tesauro, G. (1989). The Hebbian rule for synaptic plasticity algorithms and implementations. In J. H. Byme and W. O. Berry (Eds.). Neural models of plasticity (pp. 94-103). California Academic Press.
Sriporn, K., Tsai, C. F., Tsai, C. E., and Wang, P. (2020). Analyzing lung disease using highly effective deep learning techniques. Healthcare, 8(107), 1-21. 10.3390/healthcare8020107
Tezer, H. and Bedir Demirdag, T. (2020). Novel coronavirus disease (COVID-19) in children. Turkish Journal of Medical Sciences, 50(SI-1), 592-603.10.3906/sag-2004-174
Togacar, M., Ergen, B., and Comert, Z. (2020). BrainMRNet: Brain tumor detection using magnetic resonance images with a novel convolutional neural network model. Medical Hypotheses, 734, 109531.10.1016/j.mehy.2019.109531
Wang, L. and Wong, A. (2020). COVID-Net: A Tailored Deep Convolutional Neural Network Design for Detection of COVID-79 Cases from Chest Radiography Images. https://arxiv.org/pdf/2003.09871.pdf
World Health Organization (WHO) (2021, April 11). World Health Organization. https://www.who.int/emergencies/diseases/novel-coronavirus-2019
Yang, S., Jiang, L., Cao, Z., Wang, L., Cao, J., Feng, R., Zhang, Z., Xue, X., Shi, Y., and Shan, F. (2020). Deep learning for detecting corona virus disease 2019 (COVID-19) on high-resolution computed tomography: a pilot study. Annals of Translational Medicine, 8(7), 50. 10.21037/atm.2020.03.132
Zhu, N., Zhang, D., Wang, W. J., Li, X., Yang, B., Song, J., Zhao, X., Huang, B., Shi, W., Lu, R., Niu, P., Zhan, F., Ma, X., Wang, D., Xu, W., Wu, G., Gao, G. F., and Tan, W. (2020). A novel coronavirus from patients with pneumonia in China, 2019. The New England Journal of Medicine, 382(8), 727-733. 10.1056/NEJMoa2001017
Notes
Notes
How to cite: Catal Reis, H. (2022). COVID-19 Diagnosis with Deep Learning. Ingeniería e Investigación, 42(1), e88825. 10.15446/ing.investig.v42n1.88825
Conflict of interest declaration
Conflict of interest disclosure The author hereby declares that there is no conflict of interest.

Figure 1
A schematic presentation of the study.
Source: Author
Table 1
Statistics of the dataset

Source: Author

Figure 2
Raw chest CT image samples.
Source: Author

Figure 3
Deep learning algorithm framework.
Source: Author

Figure 4
Architecture of the customized CNN model.
Source: Author

Figure 5
Architecture of the ZFNet model.
Source: Author

Figure 6
Architecture of the DenseNet121 model.
Source: Author
Table 2
Confusion matrix

Source: Author
Table 3
Comparative results of models

Source: Author

Figure 7
Confusion matrix visualization: (top) CNN, (middle) ZFNet, (bottom) DenseNet121.
Source: Author

Figure 8
Training loss and validation loss values for CNN (top), ZFNet (middle), DenseNet121 (bottom).
Source: Author

Figure 9
ROC curve obtained for customized CNN (top), ZFNet (middle), (bottom) DenseNet121Algorithm.
Source: Author
Table A1
Parameters of the customized CNN model for binary classification

Source: Author
Table A2
Parameters of the ZFNet model for binary classification

Source: Author
Table A3
Parameters of the DenseNet121 model for binary classification

Source: Author
Buscar:
Contexto
Descargar
Todas
Imágenes
Scientific article viewer generated from XML JATS by Redalyc