Robust Screening of COVID-19 from Chest X-ray via Discriminative Cost-Sensitive Learning

Tianyang Li, Zhongyi Han, Benzheng Wei, Yuanjie Zheng, Yanfei Hong, Jinyu CongarXiv 2020 · arXiv

Introduction

Early in the COVID-19 pandemic, the medical community sought rapid screening tools to supplement PCR testing. Chest X-rays (CXR) emerged as a viable option, but automated diagnosis faced two significant challenges: feature overlap and unequal error costs. COVID-19 often presents similarly to other viral or bacterial pneumonias, making it a fine-grained classification problem. Furthermore, in a clinical setting, a false negative (missing a COVID-19 case) is far more dangerous than a false positive.

To address these issues, researchers developed the Discriminative Cost-Sensitive Learning (DCSL) framework. This approach combines advanced feature discrimination with a clinical cost-weighting mechanism to ensure high sensitivity for the virus.

The DCSL Framework

The DCSL framework utilizes a VGG16 backbone and introduces two core innovations to improve diagnostic reliability. As shown in the architecture diagram, the model processes clinical X-rays through shared parameters to extract discriminative features.

The DCSL framework architecture, highlighting the integration of conditional center loss and score-level costs.

1. Conditional Center Loss (CCL)

Standard classification models often struggle with subtle variations between similar classes. DCSL employs Conditional Center Loss (CCL) to enhance feature discriminability. Unlike standard softmax loss, CCL learns a central representation for each class in the feature space and penalizes the distance between individual samples and their respective class centers. This increases "intra-class compactness" and "inter-class separation," effectively forcing the model to learn the subtle patterns that distinguish COVID-19 from other pneumonias.

2. Score-Level Cost-Sensitive Learning

To prioritize patient safety, the framework incorporates a cost matrix applied at the score level. This matrix encodes clinical priorities by assigning higher "costs" to dangerous misclassifications.

The clinical cost matrix used to weight classification errors, prioritizing the detection of COVID-19.

As shown in the cost matrix, the cost of misclassifying a COVID-19 patient as "Normal" (2.0) is significantly higher than misclassifying a healthy patient as having COVID-19 (1.3). By applying these weights to the final output scores, the model is "nudged" toward a COVID-19 diagnosis whenever there is ambiguity, minimizing life-threatening false negatives.

Experimental Results

The model was evaluated on a dataset of 2,239 chest X-rays, including 239 COVID-19 cases, 1,000 other pneumonias, and 1,000 healthy controls. Utilizing transfer learning from ImageNet, the DCSL algorithm achieved:

  • Overall Accuracy: 97.01%
  • Sensitivity (Recall): 97.09%
  • Precision: 97.00%

In specific ablation studies focused on safety, the cost-sensitive module enabled the model to reach 100% sensitivity for COVID-19, ensuring no cases were missed in the test set.

Conclusion

The DCSL framework demonstrates that treating medical screening as a fine-grained, cost-sensitive task significantly improves performance over general-purpose AI models. While the initial dataset was limited, the success of the conditional center loss and score-level cost weighting provides a robust template for future AI-driven diagnostic tools in public health crises.

Summary updated

Abstract

This paper addresses the new problem of automated screening of coronavirus disease 2019 (COVID-19) based on chest X-rays, which is urgently demanded toward fast stopping the pandemic. However, robust and accurate screening of COVID-19 from chest X-rays is still a globally recognized challenge because of two bottlenecks: 1) imaging features of COVID-19 share some similarities with other pneumonia on chest X-rays, and 2) the misdiagnosis rate of COVID-19 is very high, and the misdiagnosis cost is expensive. While a few pioneering works have made much progress, they underestimate both crucial bottlenecks. In this paper, we report our solution, discriminative cost-sensitive learning (DCSL), which should be the choice if the clinical needs the assisted screening of COVID-19 from chest X-rays. DCSL combines both advantages from fine-grained classification and cost-sensitive learning. Firstly, DCSL develops a conditional center loss that learns deep discriminative representation. Secondly, DCSL establishes score-level cost-sensitive learning that can adaptively enlarge the cost of misclassifying COVID-19 examples into other classes. DCSL is so flexible that it can apply in any deep neural network. We collected a large-scale multi-class dataset comprised of 2,239 chest X-ray examples: 239 examples from confirmed COVID-19 cases, 1,000 examples with confirmed bacterial or viral pneumonia cases, and 1,000 examples of healthy people. Extensive experiments on the three-class classification show that our algorithm remarkably outperforms state-of-the-art algorithms. It achieves an accuracy of 97.01%, a precision of 97%, a sensitivity of 97.09%, and an F1-score of 96.98%. These results endow our algorithm as an efficient tool for the fast large-scale screening of COVID-19.
BibTeX
@misc{li2020robust,
  author = {Tianyang Li and Zhongyi Han and Benzheng Wei and Yuanjie Zheng and Yanfei Hong and Jinyu Cong},
  title = {{Robust Screening of COVID-19 from Chest X-ray via Discriminative Cost-Sensitive Learning}},
  year = {2020},
  eprint = {2004.12592},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.12592},
}
Figure