Literature DB >> 33125051

FLANNEL (Focal Loss bAsed Neural Network EnsembLe) for COVID-19 detection.

Zhi Qiao1, Austin Bae2, Lucas M Glass2, Cao Xiao1, Jimeng Sun3.   

Abstract

OBJECTIVE: The study sought to test the possibility of differentiating chest x-ray images of coronavirus disease 2019 (COVID-19) against other pneumonia and healthy patients using deep neural networks.
MATERIALS AND METHODS: We construct the radiography (x-ray) imaging data from 2 publicly available sources, which include 5508 chest x-ray images across 2874 patients with 4 classes: normal, bacterial pneumonia, non-COVID-19 viral pneumonia, and COVID-19. To identify COVID-19, we propose a FLANNEL (Focal Loss bAsed Neural Network EnsembLe) model, a flexible module to ensemble several convolutional neural network models and fuse with a focal loss for accurate COVID-19 detection on class imbalance data.
RESULTS: FLANNEL consistently outperforms baseline models on COVID-19 identification task in all metrics. Compared with the best baseline, FLANNEL shows a higher macro-F1 score, with 6% relative increase on the COVID-19 identification task, in which it achieves precision of 0.7833 ± 0.07, recall of 0.8609 ± 0.03, and F1 score of 0.8168 ± 0.03. DISCUSSION: Ensemble learning that combines multiple independent basis classifiers can increase the robustness and accuracy. We propose a neural weighing module to learn the importance weight for each base model and combine them via weighted ensemble to get the final classification results. In order to handle the class imbalance challenge, we adapt focal loss to our multiple classification task as the loss function.
CONCLUSION: FLANNEL effectively combines state-of-the-art convolutional neural network classification models and tackles class imbalance with focal loss to achieve better performance on COVID-19 detection from x-rays.
© The Author(s) 2020. Published by Oxford University Press on behalf of the American Medical Informatics Association.

Entities:  

Keywords:  COVID-19 detection; class imbalance; computer-assisted radiographic image interpretation; neural network ensemble

Mesh:

Year:  2021        PMID: 33125051      PMCID: PMC7665533          DOI: 10.1093/jamia/ocaa280

Source DB:  PubMed          Journal:  J Am Med Inform Assoc        ISSN: 1067-5027            Impact factor:   4.497


INTRODUCTION

Objective

The novel coronavirus disease 2019 (COVID-19) is a pandemic disease that has been spreading rapidly across the world and poses a serious threat to global public health. Up to July 2020, COVID-19 had caused more than 13 million infections and 600 000 deaths across the globe. Radiology plays a fundamental role in diagnosing the disease. Although less sensitive than chest computed tomography (CT), chest radiography (x-ray) is typically the first-line imaging modality used for patients with suspected COVID-19. Owing to the international attention of the disease, there has been an increase in publicly available x-ray images of patients with COVID-19–related pneumonia. This enables us to identify patterns and construct models that could automatically detect COVID-19 from chest x-ray images. Because COVID-19 is still relatively new, naturally there are significantly less x-ray images of COVID-19 compared with non–COVID-19 diseases. This inevitably means that these datasets will be imbalanced, with few COVID-19 samples, which can hinder classification accuracy and limit model generalization. To address these challenges, we propose a FLANNEL (Focal Loss bAsed Neural Network EnsembLe) model. FLANNEL utilizes an ensemble structure, using 5 state-of-the-art convolutional neural network (CNN) classifiers as based models. The neural weight module combines each base model using a learnt weighted ensemble to get the final classification results. To handle the class-imbalanced dataset issue, the model adapts focal loss traditionally proposed for binary classification task to our multiclass classification task. This loss function back-propagates and updates the parameters of the neural weight module. We train and evaluate the proposed FLANNEL architecture on a combination of publicly available datasets. The combined data consist of 5508 chest x-ray images across 2874 patients. There are 4 types of x-ray images: normal (n = 1118), bacterial pneumonia (n = 2787), COVID-19 pneumonia (n = 100), and non–COVID-19 viral pneumonia (n = 1503). These 4 types of x-rays naturally form a 4-way classification problem, in which our focus is to make accurate prediction on COVID-19 cases without hindering the performance of other classes.

Background and significance

Convolutional neural networks

CNNs have established themselves as the gold standard for most computer vision tasks such as image classification and object detection. For the specific COVID-19 challenge, some works based on CNNs have been created for various imaging data. Most of them focus on region segmentation and COVID-19 diagnosis. For example, Karanam et al designed and developed a contactless patient positioning system for scanning patients in a completely remote and contactless fashion. Chest CT-based COVID-19 case identification or localization segmentation tasks have been studied by other authors. Roy et al presented a deep learning method for COVID-19 classification based on lung ultrasound data. Several of them made prediction on 3-dimensional images (sequential CT slice/ultrasound slice).,, In contrast to those existing works, we focus on an identification task in x-ray images, which are 2-dimensional (2D) images, as they are more commonly used in routine clinical visits. As the first-line imaging modality for assessing patients with suspected COVID-19, 2D chest x-ray is less sensitive than chest CT and hence posts a bigger technical challenge. The most related work is COVID-Net, a neural network architecture for x-ray–based COVID-19 cases detection. We added COVID-Net and AI-COVID as baselines in the experiments. Moreover we adopted several state-of-the-art CNN architectures as base models in FLANNEL for x-ray–based COVID-19 detection. Owing to the limited number of COVID-19 x-ray images that exist in training data, each of these models alone could suffer from high error and variance. In order to solve this issue and improve reliability, we utilize the power of ensemble methods.

Ensemble models

Ensemble learning is a process of combining different independent classifiers, called base learners, to increase the robustness and accuracy of the final classification. As long as these base learners are diverse and able to capture the patterns in the data independently, the ensemble model is able to generalize significantly better by reducing individual errors. Instead of training a complex single neural network with a large number of layers and parameters, decomposing the architecture into smaller and simpler individual base models has been shown to be more accurate and require less time and memory for training., The individual base learners in neural network ensembles capture patterns over different regions or granularities of the input space, which contributes to its higher overall performance. Instead of relying on traditional methods of ensemble voting such as bagging, our proposed model introduces a neural ensemble layer to adopt a heterogeneous ensemble strategy that uses different state-of-the-art CNNs as base learners to get better accuracy compared with the individual classifiers.

Class imbalance challenge

Class imbalance in datasets is a very common but significant problem that often hinders model performance and generalization. Resampling, via undersampling or oversampling, is a common tactic to solve the imbalance issue. However, oversampling tends to be error prone due to overfitting or added noise, and undersampling reduces the amount of training data that the model can learn from, causing both methods to be ineffective in our setting. Focal loss is a special loss function proposed for an imbalance binary classification task, in which the standard cross-entropy loss of the model is reshaped, such that the well-classified examples are downweighted, and it can focus on learning the hard imbalanced negatives. In this study, we adapt focal loss to our multiple classification task.

MATERIALS AND METHODS

Study design

Our main task is to differentiate between chest x-ray images of COVID-19 patients and chest x-ray images from other pneumonia and healthy patients, which can be considered as a multiple classification task. We combined 2 publicly available datasets to generate the experimental data: (1) COVID Chest X-ray dataset (https://github.com/ieee8023/covid-chestxray-dataset) and (2) Kaggle Chest X-ray images (pneumonia) dataset (https://www.kaggle.com/paultimothymooney/chest-xray-pneumonia). The choice of these 2 datasets for our experiment was guided by the fact that both are open source and fully accessible to the research community and the general public. As these public datasets grow, the model can continue to improve and scale continuously. The detailed statistics are shown in Table 1.
Table 1.

Experimental data description

SourceTotalCOVID-19ViralBacterialNormal
Original dataCCX data1191001171
KCX data53890149227801117
View distributionAP view541324149227801117
PA view95761171
Training/test splitsTraining44067711942237898
Testing110223309550220
Total5508100150327871118

AP: anteroposterior; CCX: COVID Chest X-ray; COVID-19: coronavirus disease 2019; KCX: COVID Chest X-ray; PA: posteroanterior.

Experimental data description AP: anteroposterior; CCX: COVID Chest X-ray; COVID-19: coronavirus disease 2019; KCX: COVID Chest X-ray; PA: posteroanterior. The FLANNEL algorithm Input: X-ray Images, Class Labels Base Models {Learner1, Learner2, …, Learnern} (Define B as batch size) Stage 1: Fine-tune all base models with respect to inputs images and labels. Stage 2: For each batch () from inputs images and labels do --> Step1: Get prediction values from all Base Models --> Step2: Get learner weights --> Step3: Linear Combination for Prediction = (where represents i-th column of ) --> Step4: Loss = Back-propagate on Loss and update parameters End For All Kaggle Chest X-ray images and most COVID Chest X-ray images are based on anteroposterior (AP) or posteroanterior (PA) views. For consistency purposes, we only included images with both AP and PA views in our final experimental dataset. The dataset comprises a total of 5508 chest x-ray images across 2874 independent patient cases. Because AP and PA are 2 different types of x-ray views, we introduced horizontal flips and random noise to convert PA view into AP view. This method of data preprocessing allows us to train the same model for both views and allows the model to be view-independent. We used a train-test split ratio of 4:1 to randomly generate the training and testing set to be used in the model. We furthermore used 5-fold cross-validation on training data to acquire 5 resulting models, and then recorded ensemble (average) performance of these 5 models on testing data. The reason we did this instead of 1-time standard train, validation, and test splits is that we wanted to maximize the sample usage because of the limited samples in this study. The detailed statistics of experimental data are shown in Table 1. For image preprocessing, we resized the original input images first to size 256 × 256 and then randomly cropped them in the center to size 224 × 224. The original x-ray images had some symbols in the corners correlated with our labels that could lead to feature leakage, so we introduced a crop around the center to mask that. The resolution size of 224 × 224 was chosen, as it is the default input size for all of our base models. Although this downsampling in resolution may lead to loss of image details, it allows a simpler model that is easier to train and less prone to overfitting. Most state-of-the-art CNNs adopt this resolution for the same reason. The data are then augmented using random flip and noise and normalized before entering the model. From Table 1, we can find that COVID-19 x-ray images are very rare compared with that of non–COVID-19 pneumonia because it is such a new disease with limited data.

Methods

As shown in Figure 1, our proposed FLANNEL model is composed of 2 stages. First, several base learners are independently trained for COVID-19 classification. Second, the resulting weights from all base learners are used to train the overall ensemble model. We also provide pseudocode in Table 2 to elaborate on the algorithm in detail.
Figure 1.

Framework of FLANNEL (Focal Loss bAsed Neural Network EnsembLe).

Table 2.

Performance comparison on F1 score: Class-specific F1 score is calculated using 1 class vs the rest strategy

COVID-19Pneumonia virusPneumonia bacteriaNormalMacro-F1
Base learners
InceptionV3 0.5904 (0.27)0.5864 (0.05)0.8056 (0.01)0.8771 (0.04)0.7149 (0.09)
Vgg19_bn 0.6160 (0.06)0.5349 (0.04)0.7967 (0.02)0.8691 (0.03)0.7042 (0.02)
ResNeXt101 0.6378 (0.12)0.5649 (0.03)0.7959 (0.01)0.8537 (0.02)0.7140 (0.03)
Resnet152 0.6277 (0.11)0.5506 (0.02)0.7988 (0.01)0.8700 (0.01)0.7110 (0.03)
Densenet161 0.6880 (0.07)0.5930 (0.02)0.8017 (0.01)0.8953 (0.01)0.7445 (0.02)
Additional baselines
COVID-Net [20] 0.7179 (0.13)0.5592 (0.04)0.8095 (0.02)0.8787 (0.03)0.7413 (0.03)
AI-Covid [22] 0.6391 (0.16)0.5238 (0.07)0.7504 (0.02)0.7223 (0.03)0.6589 (0.07)
Ensemble learning
Voting 0.7684 (0.04)0.6005 (0.03)0.8214 (0.03)0.9079 (0.01)0.7745 (0.01)
Ensemble_MLP_l1 0.6247 (0.07)0.6042 (0.03)0.8185 (0.01)0.9161 (0.01)0.7409 (0.02)
Ensemble_MLP_l2 0.3735 (0.23)0.6030 (0.02)0.8206 (0.00)0.9128 (0.01)0.6775 (0.05)
Variant FLANNEL
FLANNEL_w/o_Focal 0.7671 (0.06)0.6001 (0.03)0.8238 (0.01)0.9135 (0.01)0.7761 (0.01)
FLANNEL_w/o_Focal + Sampling 0.7837 (0.04)0.5953 (0.04)0.8245 (0.01)0.9131 (0.01)0.7791 (0.02)
FLANNEL 0.8168 (0.03)0.6063 (0.02)0.8267 (0.00)0.9144 (0.01)0.7910 (0.01)

The values in parentheses are the standard deviations.

Framework of FLANNEL (Focal Loss bAsed Neural Network EnsembLe). Performance comparison on F1 score: Class-specific F1 score is calculated using 1 class vs the rest strategy The values in parentheses are the standard deviations.

Stage 1: Base learner training

CNNs have been widely used in image classification and get huge successes. Here, we choose 5 popular and state-of-the-art CNN classification models as base learners to model the COVID-19 identification task. These following models were chosen due to their flexibility and high performance with general image classification. Inception v3: It is the third edition of Google's Inception CNN., VGG19-bn: The model architecture is from VGG group with batch normalization and consists of 19 layers. ResNeXt101: This 101-layer architecture is designed by the ResNeXt group. Resnet152: This is a 152-layer Deep Residual Neural Network that learns the residual representation functions. Densenet161: This is a Densely Connected Convolutional Network with 161 layers. Owing to the limited amount of training data of x-ray images, we use the listed pretrained models from the ImageNet Large Scale Visual Recognition Challenge (http://www.image-net.org/challenges/LSVRC/) and fine-tune each model with respect to the COVID-19 identification task. For fine-tuning, all parameters of the models were retrained with no layer being frozen. This method of fine-tuning models pretrained on a general image set speeds up the training process and also helps with generalization. We modify the last classification layer for each base learner such that it produces a 4-length vector for 4-way classification.

Stage 2: Ensemble model learning

We then take all the N (number of pretrained base learners and here is 5) M-length vectors (denoted as ) and simply concatenate them (denoted as ) and feed it into the neural weight module to learn base learner weights, as shown in Figure 1. For the neural weight module, we first construct feature interaction via outer production to capture more latent information. This is then flattened and fed through a Dense and Tanh layer to map features into base learner weights. Because the outputs of the Tanh function can output negative values, such weights allow the model to discount inaccurate predictions of the classifier. We then take the linear combination of the base learner predictions using the resulting base learner weights (denoted as w) to get final prediction . Rather than relying on traditional methods of ensemble voting, we allow FLANNEL to self-learn the optimal combination between the output of the base learners. The neural weight module could be easily extended to accommodate more complex output formats of the base learners. Then we define loss function for model training. The standard loss function used for training multiclass neural networks is cross-entropy loss as following, where represents the number of classes. Both and are -length vectors and represent the predicted value and ground truth of class distribution, respectively. However, heavy class imbalances in the data during training will overwhelm and dominate the gradient, making optimal parameter updates difficult. Focal loss is a loss function proposed for binary classification tasks, in which the well-classified examples are downweighted and can focus on learning the hard imbalanced examples. Here, we extend focal loss to multiclass classification in our model to address these imbalance issues. For each image, we define the focal loss as: where is a modulating factor with a tunable focusing parameter and represents a weight factor vector that balances the importance of the different classes. When an example is misclassified and is small, the modulating factor is close to 1 and the loss is unaffected. As →1, the factor goes to 0 and the loss for well-classified examples is downweighted. can be adjusted to tune the rate of this downweighting. As it increases, the effect of the modulating factor is likewise increased (we found =3 to work best in our experiments). For , we can set the bigger value for the minority class and the smaller value for the majority class to make all classes contribute equally to our loss. When and , focal loss is equivalent to cross-entropy loss. In our experiments, is set to be inverse class frequency of each class. The resulting loss is then back-propagated to update the weights for the neural weighing module in the ensemble. During this stage, the parameters of the 5 base learners are frozen and not updated.

RESULTS

Baseline models for performance comparison

First, we compare FLANNEL with the chosen 5 base learners of FLANNEL framework (Resnet152, Densenet161, InceptionV3, VGG19-bn, and ResNeXt101). All of these models were fine-tuned using their default parameter settings and by using the Adam optimizer. Furthermore, we also compare FLANNEL with 2 recent COVID-19 deep learning models, COVID-Net and AI-COVID. COVID-Net is a tailored deep convolutional neural network design for COVID-19 cases detection. AI-COVID presented a deep network framework for sequential CT slice imaging, and hence we just use slice-level classification networks for our identification task because we only have 1 x-ray image per sample in our dataset. To verify the advantages of FLANNEL on ensemble learning, we also selected 2 traditional ensemble strategies voting and stacking to ensemble the 5 chosen base learners. These will be denoted as Voting and Ensemble_MLP. For Ensemble_MLP, the concatenated prediction values from base models are fed into the multilayer perceptron for final prediction. Here, we use separately Ensemble_MLP_l1 for 1-layer MLP and Ensemble_MLP_l2 for 2-layer MLP. To verify the advantages of FLANNEL for the imbalanced datasets, we compare it to a version of FLANNEL that replaces the Focal Loss with multiclass standard cross-entropy loss (denoted as FLANNEL_w/o_focal). Another comparison model adds on top of FLANNEL_w/o_focal and utilizes resampling strategies commonly used for class balancing (denoted as FLANNEL_w/o_focal_sampling).

Implementation details

All the base models and FLANNEL are implemented in PyTorch and trained on 3 NVIDIA Tesla P100 GPUs (NVIDIA, Santa Clara, CA) over 200 epochs. The 5 base models (InceptionV3, Densenet161, Resnet152, ResNeXt101, and Vgg19_bn) are fine-tuned using the respective pretrained models with the default model architecture. The data are augmented with random flips, crops ,and scaling during the fine-tuning process. After all the base models are trained separately, FLANNEL is trained by passing in the concatenated output layers of the base models as the input features.

Evaluation strategy

In order to overall verify the prediction accuracy, we first measure the overall accuracy of the model in distinguishing the 4 classes (COVID-19 viral pneumonia, non–COVID-19 viral pneumonia, bacterial pneumonia, and normal images). The main intention of the study is the detection of COVID-19 among kinds of respiratory-related x-ray images. For each class of images, the classification metric F1 score, which conveys the balance between the precision and the recall, is recorded.

Experimental results

In this section, we present the experimental results to show the performance of our proposed FLANNEL and all baseline methods. First, we note that overall accuracy is not a great metric for evaluation the model. Because the classes in our dataset are heavily unbalanced in favor of non–COVID-19 pneumonia images, even a significant increase in COVID-19 detection performance will not affect overall accuracy very much. Therefore, we present the F1 score for COVID-19 vs the rest, comparing different models in . Obviously, it shows that FLANNEL outperforms other state-of-the-art models in detecting COVID-19 cases.
Figure 2.

Illustrates the COVID-19 (coronavirus disease 2019) F1 score vs rest comparing different models. The error bars are from 5-fold cross-validation.

Illustrates the COVID-19 (coronavirus disease 2019) F1 score vs rest comparing different models. The error bars are from 5-fold cross-validation. Moreover, we also present F1 score for each disease classification and macro-F1 score for all classes of the label set, which is shown in Table 2. From Table 2, we can observe that COVID-Net achieves better performance than other baseline models, as it is specifically designed for COVID-19 detection. AI-COVID does not show apparent performance improvement on COVID-19 detection. It is probably because AI-COVID mainly focuses on fast features extraction followed by multislice ensemble for final 3-dimensional CT image prediction, not specifically for 2D image classification. A multilayer perceptron–based ensemble strategy can improve detection performance on other majority classes but has poor performance on minority class (COVID class). Further, COVID-19 detection accuracy degrades with employment of more layers. More fully connected layers cannot effectively model limited features (concatenated outputs from base learners) specifically for this class-imbalance challenge. From Table 2, FLANNEL shows a higher macro-F1 score, with a 2% increase, especially a 6% relative increase for COVID-19 cases over the best-performing baseline model. Compared with FLANNEL_w/o_Focal just using cross-entropy loss instead of focal loss, FLANNEL shows an increase of almost 6% in F1 score for COVID-19 cases. It is also clear that resampling strategies help improve performance in case of class imbalance. Traditional resampling strategies (FLANNEL_w/o_Focal + Sampling) increased F1 score for COVID-19 cases by almost 2%, while still almost 4% behind compared with FLANNEL. Also most importantly, FLANNEL was able to increase the performance of COVID-19 classification without negatively impacting the performance for other classes. In order to understand the trade-off in COVID-19 classification performance for different threshold values, we also introduce the plot curves. A popular metric for classification systems is the receiving-operating characteristic (ROC), which can be summarized by its area under the curve. Because ROC curves can be misleading when the class distribution is imbalanced, we also show the precision-recall (PR) curve. The focus of the PR curve on the minority class deems it an effective diagnostic for imbalanced binary classification models. The experimental results are shown in Figure 3, in which the PR curve and ROC curve are separately used to show the diagnostic ability of compared models.
Figure 3.

The diagnostic ability of the compared models for COVID-19 (coronavirus disease 2019) classification. Panel A shows the precision-recall curve, while Panel B shows the receiver-operating characteristic curve. FLANNEL: Focal Loss bAsed Neural Network EnsembLe; PR: precision-recall; ROC: receiver-operating characteristic.

The diagnostic ability of the compared models for COVID-19 (coronavirus disease 2019) classification. Panel A shows the precision-recall curve, while Panel B shows the receiver-operating characteristic curve. FLANNEL: Focal Loss bAsed Neural Network EnsembLe; PR: precision-recall; ROC: receiver-operating characteristic. Finally, we also provide the visual description of FLANNEL performance, via confusion matrix, shown in Figure 4. It shows that (1) the cases predicted as pneumonia are mainly from the GroundTruth pneumonia-related cases and (2) for COVID-19 identification, FLANNEL has higher precision and recall than the other 2 types of pneumonia. It means FLANNEL can distinguish pneumonia images from normal images and differentiate chest x-ray images of COVID-19 against other pneumonia images.
Figure 4.

Confusion matrix (instance counts). COVID-19: coronavirus disease 2019.

Confusion matrix (instance counts). COVID-19: coronavirus disease 2019. In order to verify model performance under single-view condition, we show performance evaluation (specifically for F1 score for COVID-19 vs the rest) on AP-view x-ray images in Figure 5. From Figure 5, we find that all models have performance degradation because of heavier imbalance, with fewer samples with the COVID-19 label. Nevertheless, our proposed FLANNEL still has the best F1 score compared with all the baselines.
Figure 5.

Performance verification (F1 score for COVID-19 [coronavirus disease 2019] vs rest) on anteroposterior view images comparing different models. FLANNEL: Focal Loss bAsed Neural Network EnsembLe.

Performance verification (F1 score for COVID-19 [coronavirus disease 2019] vs rest) on anteroposterior view images comparing different models. FLANNEL: Focal Loss bAsed Neural Network EnsembLe. Then, presents the visual explanations for the classification results. We use class activation mapping to visualize the models’ attention over inputs. The visual results are shown subsequently. Here, we show each of the 5 base models’ visual attention heatmaps. We observe that FLANNEL can pay more attention to specific regions in base model parameters, which allows it to make the correct overall prediction.
Figure 6.

Visual explanations for the classification results. FLANNEL: Focal Loss bAsed Neural Network EnsembLe;

Visual explanations for the classification results. FLANNEL: Focal Loss bAsed Neural Network EnsembLe;

DISCUSSION

The most notable observation from the base models is that most of them perform poorly at detecting the pneumonia caused by viruses (both COVID-19 and non–COVID-19). This poor performance is likely due to the fact that (1) there are more bacterial and normal than viral images in our dataset and (2) the addition of the COVID-19 x-ray images makes it more difficult to differentiate between the 2 different classes of viral pneumonia because they are more similar to each other than they are to others. Our proposed FLANNEL model has the possibility of differentiating chest x-ray images of COVID-19 against those of other pneumonia and healthy patients. Moreover, the significant feature of the proposed FLANNEL model is that it manages to sharply enhance COVID-19 identification performance without decreasing that of other classes. In fact, FLANNEL had the highest F1 score of every single category except the normal class. However, owing to the limited specific COVID-19 pneumonia–related images, it is inevitable to combine multiple source data from different datasets to construct experimental data as described in detail in the Materials and Methods. Even standard x-ray images look slightly different depending on the data source. However, it is still a challenge to conduct source agnostic image classification that utilizes big-scale data from multiple data sources to learn class features and mapping rules to infer the classification task without considering the different data source impacts. Source-free classification for COVID-19 is future work that might significantly improve the performance of the model. Another direction to consider is to incorporate hierarchical classification. In our case, we can consider first separating healthy from sick patients based on their x-rays, then further separating bacteria, viral pneumonia, and COVID-19 among the sick. The naïve approach requires training multiple models at different levels, which can create challenges at the granular level (eg, viral pneumonia vs COVID-19) due to the small sample size. Multiple models also introduce more computation and maintenance challenges in the long run. We consider this topic as an important future work.

CONCLUSION

COVID-19 is an acute resolved pneumonia disease with high fatality rate. As the most commonly ordered imaging study for patients with respiratory complaints, x-ray can help COVID-19 diagnosis. Hence, it is significant to study automatic diagnosis of the disease. Our objective is to explore effective deep learning methods to model x-ray images and improve prediction performance in identifying COVID-19 from other pneumonia images and healthy images. With the power of ensemble learning, FLANNEL has the ability to detect and diagnose COVID-19 from pneumonia x-ray images with high accuracy, even when trained on just around 100 available COVID-19 x-ray images. We have shown that it is able to automatically combine and use the outputs of individual base learners as features to create a more accurate global model. Focal loss allows us to use all the training samples effectively without having to sample our already limited imbalanced dataset and solves the imbalance problem that hinders other traditional loss functions such as cross-entropy loss. FLANNEL vastly outperforms all other state-of-the art CNN architectures, especially on the COVID-19 detection, without much added model complexity or parameters. This model could be used to supplement current COVID-19 diagnosis kits to improve testing availability and alleviate supply shortages through just examining x-ray images. With millions of confirmed cases only expected to grow in the future, neural networks could make a real impact in limiting the spread of the disease.

AUTHOR CONTRIBUTIONS

ZQ implemented the method and conducted the experiments. All authors were involved in developing the ideas and writing the paper.

CONFLICT OF INTEREST STATEMENT

The authors have no competing interests to declare.
Box 1.

The FLANNEL algorithm

Algorithm 1 FLANNEL Training

Input:

X-ray Images, Class Labels

Base Models {Learner1, Learner2, …, Learnern}

(Define B as batch size)

Stage 1:

Fine-tune all base models with respect to inputs images and labels.

Stage 2:

For each batch (XRB×1×224×224, YRB×4) from inputs images and labels do

--> Step1: Get prediction values from all Base Models

Pi=LearneriXRB×4,where i=1,,n

--> Step2: Get learner weights

W=NeuralWeightModule([Pi, i=1,, n]) RB×5  

--> Step3: Linear Combination for Prediction

Y=Softmax(i=1nWiPi)RB×4  

  (where Wi represents i-th column of W)

--> Step4:

 Loss = FocalLoss(Y^, Y)

 Back-propagate on Loss and update parameters

End For

  13 in total

1.  Focal Loss for Dense Object Detection.

Authors:  Tsung-Yi Lin; Priya Goyal; Ross Girshick; Kaiming He; Piotr Dollar
Journal:  IEEE Trans Pattern Anal Mach Intell       Date:  2018-07-23       Impact factor: 6.226

2.  Towards Contactless Patient Positioning.

Authors:  Srikrishna Karanam; Ren Li; Fan Yang; Wei Hu; Terrence Chen; Ziyan Wu
Journal:  IEEE Trans Med Imaging       Date:  2020-05-01       Impact factor: 10.048

3.  Artificial intelligence-enabled rapid diagnosis of patients with COVID-19.

Authors:  Xueyan Mei; Hao-Chih Lee; Kai-Yue Diao; Mingqian Huang; Bin Lin; Chenyu Liu; Zongyu Xie; Yixuan Ma; Philip M Robson; Michael Chung; Adam Bernheim; Venkatesh Mani; Claudia Calcagno; Kunwei Li; Shaolin Li; Hong Shan; Jian Lv; Tongtong Zhao; Junli Xia; Qihua Long; Sharon Steinberger; Adam Jacobi; Timothy Deyer; Marta Luksza; Fang Liu; Brent P Little; Zahi A Fayad; Yang Yang
Journal:  Nat Med       Date:  2020-05-19       Impact factor: 53.440

4.  Diagnosis of Coronavirus Disease 2019 (COVID-19) With Structured Latent Multi-View Representation Learning.

Authors:  Hengyuan Kang; Liming Xia; Fuhua Yan; Zhibin Wan; Feng Shi; Huan Yuan; Huiting Jiang; Dijia Wu; He Sui; Changqing Zhang; Dinggang Shen
Journal:  IEEE Trans Med Imaging       Date:  2020-05-05       Impact factor: 10.048

5.  A Noise-Robust Framework for Automatic Segmentation of COVID-19 Pneumonia Lesions From CT Images.

Authors:  Guotai Wang; Xinglong Liu; Chaoping Li; Zhiyong Xu; Jiugen Ruan; Haifeng Zhu; Tao Meng; Kang Li; Ning Huang; Shaoting Zhang
Journal:  IEEE Trans Med Imaging       Date:  2020-08       Impact factor: 10.048

6.  A Weakly-Supervised Framework for COVID-19 Classification and Lesion Localization From Chest CT.

Authors:  Xinggang Wang; Xianbo Deng; Qing Fu; Qiang Zhou; Jiapei Feng; Hui Ma; Wenyu Liu; Chuansheng Zheng
Journal:  IEEE Trans Med Imaging       Date:  2020-08       Impact factor: 10.048

7.  Deep Learning COVID-19 Features on CXR Using Limited Training Data Sets.

Authors:  Yujin Oh; Sangjoon Park; Jong Chul Ye
Journal:  IEEE Trans Med Imaging       Date:  2020-05-08       Impact factor: 10.048

8.  Frequency and Distribution of Chest Radiographic Findings in Patients Positive for COVID-19.

Authors:  Ho Yuen Frank Wong; Hiu Yin Sonia Lam; Ambrose Ho-Tung Fong; Siu Ting Leung; Thomas Wing-Yan Chin; Christine Shing Yen Lo; Macy Mei-Sze Lui; Jonan Chun Yin Lee; Keith Wan-Hang Chiu; Tom Wai-Hin Chung; Elaine Yuen Phin Lee; Eric Yuk Fai Wan; Ivan Fan Ngai Hung; Tina Poy Wing Lam; Michael D Kuo; Ming-Yen Ng
Journal:  Radiology       Date:  2020-03-27       Impact factor: 11.105

9.  COVID-Net: a tailored deep convolutional neural network design for detection of COVID-19 cases from chest X-ray images.

Authors:  Linda Wang; Zhong Qiu Lin; Alexander Wong
Journal:  Sci Rep       Date:  2020-11-11       Impact factor: 4.379

View more
  7 in total

1.  FWLICM-Deep Learning: Fuzzy Weighted Local Information C-Means Clustering-Based Lung Lobe Segmentation with Deep Learning for COVID-19 Detection.

Authors:  R Rajeswari; Veerraju Gampala; Balajee Maram; R Cristin
Journal:  J Digit Imaging       Date:  2022-07-05       Impact factor: 4.903

2.  An Interpretation Architecture for Deep Learning Models with the Application of COVID-19 Diagnosis.

Authors:  Yuchai Wan; Hongen Zhou; Xun Zhang
Journal:  Entropy (Basel)       Date:  2021-02-07       Impact factor: 2.524

3.  The prediction of the lifetime of the new coronavirus in the USA using mathematical models.

Authors:  K Selvakumar; S Lokesh
Journal:  Soft comput       Date:  2021-03-10       Impact factor: 3.732

4.  Inverted bell-curve-based ensemble of deep learning models for detection of COVID-19 from chest X-rays.

Authors:  Ashis Paul; Arpan Basu; Mufti Mahmud; M Shamim Kaiser; Ram Sarkar
Journal:  Neural Comput Appl       Date:  2022-01-05       Impact factor: 5.606

5.  Novel loss functions for ensemble-based medical image classification.

Authors:  Sivaramakrishnan Rajaraman; Ghada Zamzmi; Sameer K Antani
Journal:  PLoS One       Date:  2021-12-30       Impact factor: 3.240

6.  A Novel Deep Learning and Ensemble Learning Mechanism for Delta-Type COVID-19 Detection.

Authors:  Habib Ullah Khan; Sulaiman Khan; Shah Nazir
Journal:  Front Public Health       Date:  2022-07-08

7.  Multi-texture features and optimized DeepNet for COVID-19 detection using chest x-ray images.

Authors:  Anandbabu Gopatoti; Vijayalakshmi P
Journal:  Concurr Comput       Date:  2022-08-01       Impact factor: 1.831

  7 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.