| Literature DB >> 36188336 |
Jingdong Yang1, Lei Zhang1, Xinjun Tang2, Man Han3.
Abstract
The application of Convolutional Neural Network (CNN) on the detection of COVID-19 infection has yielded favorable results. However, with excessive model parameters, the CNN detection of COVID-19 is low in recall, highly complex in computation. In this paper, a novel lightweight CNN model, CodnNet is proposed for quick detection of COVID-19 infection. CodnNet builds a more effective dense connections based on DenseNet network to make features highly reusable and enhances interactivity of local and global features. It also uses depthwise separable convolution with large convolution kernels instead of traditional convolution to improve the range of receptive field and enhances classification performance while reducing model complexity. The 5-Fold cross validation results on Kaggle's COVID-19 Dataset showed that CodnNet has an average precision of 97.9%, recall of 97.4%, F1score of 97.7%, accuracy of 98.5%, mAP of 99.3%, and mAUC of 99.7%. Compared to the typical CNNs, CodnNet with fewer parameters and lower computational complexity has achieved better classification accuracy and generalization performance. Therefore, the CodnNet model provides a good reference for quick detection of COVID-19 infection.Entities:
Keywords: COVID-19; DenseNet; Depthwise separable convolution; Lightweight CNN
Year: 2022 PMID: 36188336 PMCID: PMC9508701 DOI: 10.1016/j.asoc.2022.109656
Source DB: PubMed Journal: Appl Soft Comput ISSN: 1568-4946 Impact factor: 8.263
Representative works for CXR images based on the detection of COVID-19 Infection.
| Author | Method | Dataset | Result |
|---|---|---|---|
| C. Ouchicha et al. | CvdNet | Kaggle’sCOVID-19 Radiography Database | Average accuracy of 97.20% for detecting COVID-19 and an average accuracy of 96.69% for three-class classification |
| M. Nour et al. | A Novel Medical Diagnosis model based on Deep Features and Bayesian Optimization | Kaggle’sCOVID-19 Radiography Database | Accuracy of 98.97%, recall of 89.39%, specificity of 99.75%, and F-score of 96.72% |
| N. Chowdhury et al. | A Parallel-Dilated Convolutional Neural Network Architecture | Kaggle’sCOVID-19 Radiography Database | Accuracy, precision, recall, and F1 scores reach 96.58%,96.58%,96.59% and 96.58% |
| T. Mahmud et al. | CovxNet | 1583normal X-rays, 1493 non-COVID viral pneumonia X-rays and 2780 bacterial pneumonia X-rays | Accuracy of 97.4% for COVID/Normal, 96.9% for COVID/Viral pneumonia, 94.7% for COVID/Bacterial pneumonia, and 90.2% for multiclass COVID/normal/Viral/Bacterial pneumonias |
| M. Heidari et al. | Chest X-ray images with preprocessing algorithms | 415 images depict with the confirmed COVID-19 disease, 5179 with other community-acquired non-COVID-19 infected pneumonia, and 2880 normal (non-pneumonia) cases | Accuracy of 94.5% (2404/2544) with a 95% confidence interval of [0.93,0.96] in classifying 3 classes 98.4% recall (124/126) and 98.0% specificity (2371/2418) in classifying cases with and without COVID-19 infection |
| H. Panwar et al. | VGG | 673 radiology images of 342 unique patients | Recall and specificity of the proposed model is 76.19%, and 97.22% |
| R. Karthik et al. | Channel-shuffled dual-branched CNN | 558 COVID-19 Chest X-rays | F1score of 97.20% and an accuracy of 99.80% on the COVID-19 X-ray set |
| K. Shibly et al. | COVID faster R-CNN | COVID chest X-ray dataset curated by Dr. Joseph Cohen | Accuracy of 97.36%, recall of 97.65%, and a precision of 99.28% |
| V. Arora et al. | MobileNet | The COVID-CT-Dataset contained 349 COVID-19 CT images, and 463 non-COVID-19 CTs. In SARS-COV-2 CT, of the total 2482 images, the non-COVID-19 subjects accounted for 1230 CT scans. | The recall of 96.11% and 100% respectively; precision of 96.11% and 100% respectively; F-1 scores of 96.11% and 100% respectively; and accuracy of 94.12% and 100% respectively. |
| L. Wang et al. | COVID-NET | 358 CXR images | Accuracy of 93.3%, recall of 91.0% |
| A. Khan et al. | CoroNet | 290 COVID-19 chest Radiography images,1203 normal, 660 bacterial Pneumonia and 931 viral Pneumonia cases | Accuracy of 89.6% and precision and recall rate for COVID-19 cases are 93% and 98.2% |
| G. Jia et al. | MobileNet, ResNet | 1170 COVID-19 CXR images, COVIDx-CT dataset which consists of 143,778 training images | Accuracy of 99.6% on the five-category CXR image dataset and accuracy of 99.3% on the CT image dataset |
Fig. 1Kaggle’s COVID-19 radiography database.
The distribution of Kaggle’s COVID-19 radiography database.
| Class | # of samples | Train | Valid | Test |
|---|---|---|---|---|
| COVID-19 | 3616 | 2533 | 361 | 722 |
| NORMAL | 10 192 | 7135 | 1019 | 2038 |
| Viral Pneumonia | 1345 | 943 | 134 | 268 |
| Total | 15 153 | 10 611 | 1514 | 3028 |
Fig. 2Data augmentation where (a)(d) refers to original image of COVID-19, (g) is original image of Normal, (j) is original image of Viral Pneumonia, (b)(e)(h)(k) refers to randomly horizontal flip, and (c)(f)(i)(l) refers to randomly rotation in range of (−10°, 10°) respectively.
Fig. 3Focus layer.
Fig. 4Improvement of initial feature extraction layer.
Fig. 5Improvement of DenseBlock convolutional layer.
Fig. 6Improvement of transition layer.
Fig. 7The diagram of the CodnBlock architecture.
Fig. 8The change of input image.
Fig. 9The architecture of CodnNet model.
The implementation details of the CodnNet model.
Impact of model width on CodnNet and DenseNet13.
| Growth rate (g) | Initial feature cannels (I) | ||||||
|---|---|---|---|---|---|---|---|
| CodnNet | DenseNet13 | ||||||
| I | I | I | I | I | I | ||
| g | Precision | 0.977 | 0.980 | 0.977 | 0.975 | 0.977 | 0.973 |
| Recall | 0.973 | 0.969 | 0.974 | 0.972 | 0.964 | 0.963 | |
| F1score | 0.975 | 0.974 | 0.975 | 0.974 | 0.970 | 0.968 | |
| Accuracy | 0.985 | 0.984 | 0.984 | 0.981 | 0.979 | 0.978 | |
| g | Precision | 0.977 | 0.976 | 0.970 | 0.978 | 0.965 | 0.961 |
| Recall | 0.971 | 0.978 | 0.967 | 0.971 | 0.956 | 0.953 | |
| F1score | 0.974 | 0.977 | 0.968 | 0.975 | 0.960 | 0.957 | |
| Accuracy | 0.983 | 0.983 | 0.980 | 0.981 | 0.972 | 0.970 | |
| g | Precision | 0.969 | 0.973 | 0.943 | 0.965 | 0.961 | 0.953 |
| Recall | 0.973 | 0.962 | 0.972 | 0.962 | 0.953 | 0.958 | |
| F1score | 0.972 | 0.967 | 0.957 | 0.963 | 0.957 | 0.955 | |
| Accuracy | 0.979 | 0.978 | 0.970 | 0.972 | 0.970 | 0.967 | |
Fig. 10Impact of different depthwise separable convolution kernels.
Fig. 11Impact of each major module.
Fig. 12Visualization of the attention of different module features.
Average evaluation metrics of various models for 3-class CXR images.
| Models | Precision | Recall | F1score | Accuracy | mAP | mAUC |
|---|---|---|---|---|---|---|
| DenseNet201 | 0.982 ± 0.003 | 0.975 ± 0.003 | 0.978 ± 0.002 | 0.985 ± 0.002 | 0.994 ± 0.001 | 0.997 ± 0.001 |
| DenseNet121 | 0.979 ± 0.004 | 0.972 ± 0.005 | 0.975 ± 0.004 | 0.983 ± 0.003 | 0.993 ± 0.001 | 0.997 ± 0.001 |
| DenseNet13 | 0.976 ± 0.003 | 0.970 ± 0.004 | 0.973 ± 0.003 | 0.981 ± 0.003 | 0.992 ± 0.001 | 0.997 ± 0.001 |
| MobileNetV2 | 0.976 ± 0.003 | 0.971 ± 0.003 | 0.974 ± 0.002 | 0.982 ± 0.001 | 0.993 ± 0.001 | 0.997 ± 0.001 |
| MobileNetV3L | 0.978 ± 0.002 | 0.972 ± 0.005 | 0.975 ± 0.003 | 0.983 ± 0.002 | 0.995 ± 0.001 | 0.998 ± 0.001 |
| MobileNetV3S | 0.976 ± 0.002 | 0.970 ± 0.005 | 0.973 ± 0.003 | 0.981 ± 0.003 | 0.993 ± 0.001 | 0.997 ± 0.001 |
| CodnNet | 0.979 ± 0.004 | 0.974 ± 0.003 | 0.977 ± 0.003 | 0.985 ± 0.002 | 0.993 ± 0.001 | 0.997 ± 0.001 |
Fig. 13F1score results for different models.
Fig. 14Accuracy results of different models.
Performance of CodnNet after 5-fold Cross-validation for 3-class CXR images.
| FOLD | Precision | Recall | F1score | Accuracy | mAP | mAUC |
|---|---|---|---|---|---|---|
| FOLD 1 | 0.977 | 0.974 | 0.975 | 0.984 | 0.992 | 0.997 |
| FOLD 2 | 0.984 | 0.973 | 0.978 | 0.988 | 0.994 | 0.998 |
| FOLD 3 | 0.980 | 0.976 | 0.978 | 0.984 | 0.994 | 0.997 |
| FOLD 4 | 0.983 | 0.980 | 0.982 | 0.989 | 0.995 | 0.999 |
| FOLD 5 | 0.972 | 0.969 | 0.970 | 0.980 | 0.989 | 0.996 |
Fig. 15Performance of CodnNet for 3-class CXR Images, where (a)(c)(e)(g)(i) refers to P-R curve, and (b)(d)(f)(h)(j) is ROC Curve Respectively.
Performance of the various models on each fold for COVID-19 detection.
| Models | Precision | Recall | F1score | AP | AUC |
|---|---|---|---|---|---|
| DenseNet201 | 0.983 | 0.973 | 0.978 | 0.992 | 0.997 |
| DenseNet121 | 0.980 | 0.973 | 0.977 | 0.991 | 0.997 |
| DenseNet13 | 0.977 | 0.968 | 0.973 | 0.990 | 0.996 |
| MobileNetV2 | 0.977 | 0.969 | 0.973 | 0.992 | 0.996 |
| MobileNetV3L | 0.982 | 0.971 | 0.977 | 0.994 | 0.997 |
| MobileNetV3S | 0.975 | 0.966 | 0.970 | 0.991 | 0.996 |
| CodnNet | 0.982 | 0.976 | 0.978 | 0.992 | 0.997 |
The parameters and computational complexity of various models.
| Model | Input resolution | MACs (G) | Params (M) |
|---|---|---|---|
| DenseNet201 | 256 × 256 | 4.37 | 18.10 |
| DenseNet121 | 256 × 256 | 2.88 | 6.96 |
| DenseNet13 | 256 × 256 | 0.33 | 0.19 |
| MobileNetV2 | 256 × 256 | 0.32 | 2.23 |
| MobileNetV3L | 256 × 256 | 0.23 | 4.21 |
| MobileNetV3S | 256 × 256 | 0.06 | 1.52 |
| CodnNet | 256 × 256 | 0.06 | 0.26 |
Fig. 16Scatter plot of MACs and accuracy.
Fig. 17Scatter plot of params and accuracy.
Fig. 18The attention feature of various models for 3-class classification based on GRAD-CAM.