Skip to main content
QUICK REVIEW

[Paper Review] FLANNEL: Focal Loss Based Neural Network Ensemble for COVID-19 Detection

Zhi Qiao, Austin Bae|arXiv (Cornell University)|Oct 30, 2020
COVID-19 diagnosis using AIMedicine25 references5 citations
TL;DR

FLANNEL proposes a focal loss-based neural network ensemble to improve COVID-19 detection in chest X-ray images, addressing class imbalance by combining multiple CNNs with a focal loss function. It achieves a macro-F1 score of 0.8168, showing a 6% relative improvement over the best baseline on the COVID-19 identification task with 0.7833 precision and 0.8609 recall.

ABSTRACT

To test the possibility of differentiating chest x-ray images of COVID-19 against other pneumonia and healthy patients using deep neural networks. We construct the X-ray imaging data from two publicly available sources, which include 5508 chest x-ray images across 2874 patients with four classes: normal, bacterial pneumonia, non-COVID-19 viral pneumonia, and COVID-19. To identify COVID-19, we propose a Focal Loss Based Neural Ensemble Network (FLANNEL), a flexible module to ensemble several convolutional neural network (CNN) models and fuse with a focal loss for accurate COVID-19 detection on class imbalance data. 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 Covid-19 identification task where it achieves 0.7833(0.07) in Precision, 0.8609(0.03) in Recall, and 0.8168(0.03) F1 score.

Motivation & Objective

  • To address the challenge of class imbalance in COVID-19 detection using chest X-ray images.
  • To improve the accuracy of identifying COVID-19 cases among normal, bacterial pneumonia, and non-COVID-19 viral pneumonia patients.
  • To develop a flexible deep learning framework that combines multiple CNN models for enhanced generalization.
  • To evaluate the effectiveness of focal loss in improving detection performance on minority-class samples (COVID-19).
  • To provide a robust, ensemble-based solution for clinical decision support in early COVID-19 diagnosis using imaging data.

Proposed method

  • The method constructs a dataset of 5,508 chest X-ray images from two public sources, covering four classes: normal, bacterial pneumonia, non-COVID-19 viral pneumonia, and COVID-19.
  • It employs a neural network ensemble framework that integrates predictions from multiple convolutional neural network (CNN) models to improve robustness and generalization.
  • A focal loss function is applied during training to mitigate the class imbalance issue, focusing more on hard-to-classify samples, especially the minority COVID-19 class.
  • The ensemble model dynamically fuses features and predictions from individual CNNs using a weighted averaging strategy to enhance performance.
  • The architecture is trained end-to-end with cross-entropy loss modified by the focal loss to reduce the influence of easy negatives and improve learning on rare positive cases.
  • The final model is evaluated using standard metrics including precision, recall, and F1 score, with macro-averaged F1 as the primary performance indicator.

Experimental results

Research questions

  • RQ1Can a deep learning ensemble with focal loss effectively improve detection of COVID-19 in chest X-rays despite class imbalance?
  • RQ2How does the proposed FLANNEL framework compare to individual CNN models and standard loss functions in identifying COVID-19 cases?
  • RQ3To what extent does focal loss improve the F1 score for the minority COVID-19 class compared to standard cross-entropy loss?
  • RQ4Does model ensembling enhance detection performance and robustness across different types of pneumonia and healthy controls?
  • RQ5Can the FLANNEL framework generalize well to real-world clinical imaging data with imbalanced class distributions?

Key findings

  • FLANNEL achieved a macro-F1 score of 0.8168, representing a 6% relative improvement over the best baseline model on the COVID-19 identification task.
  • The model recorded a precision of 0.7833 and recall of 0.8609 for the COVID-19 class, indicating strong balance between precision and sensitivity.
  • The focal loss component significantly improved performance on the minority COVID-19 class by reducing the dominance of easy negative samples during training.
  • The ensemble architecture consistently outperformed all baseline models across all evaluation metrics, demonstrating improved robustness and generalization.
  • The method showed stable performance across all four classes, with particularly strong gains in recall, suggesting better detection of true positive COVID-19 cases.
  • The results indicate that combining focal loss with model ensembling is an effective strategy for handling long-tailed class distributions in medical imaging.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.