Sample-Efficient Deep Learning for COVID-19 Diagnosis Based on CT Scans

Xuehai He, Xingyi Yang, Shanghang Zhang, Jinyu Zhao, Yichen Zhang, Eric P. Xing, Pengtao XiemedRxiv 2020

Abstract

Coronavirus disease 2019 (COVID-19) has infected more than 1.3 million individuals all over the world and caused more than 106,000 deaths. One major hurdle in controlling the spreading of this disease is the inefficiency and shortage of medical tests. There have been increasing efforts on developing deep learning methods to diagnose COVID-19 based on CT scans. However, these works are difficult to reproduce and adopt since the CT data used in their studies are not publicly available. Besides, these works require a large number of CTs to train accurate diagnosis models, which are difficult to obtain. In this paper, we aim to address these two problems. We build a publicly-available dataset containing hundreds of CT scans positive for COVID-19 and develop sample-efficient deep learning methods that can achieve high diagnosis accuracy of COVID-19 from CT scans even when the number of training CT images are limited. Specifically, we propose a Self-Trans approach, which synergistically integrates contrastive self-supervised learning with transfer learning to learn powerful and unbiased feature representations for reducing the risk of overfitting. Extensive experiments demonstrate the superior performance of our proposed Self-Trans approach compared with several state-of-the-art baselines. Our approach achieves an F1 of 0.85 and an AUC of 0.94 in diagnosing COVID-19 from CT scans, even though the number of training CTs is just a few hundred.

Introduction

In the early stages of the COVID-19 pandemic, rapid and accurate diagnosis was critical for controlling the spread of the virus. While Reverse Transcription Polymerase Chain Reaction (RT-PCR) tests were the gold standard, they suffered from low sensitivity and long turnaround times in many regions. Computed Tomography (CT) scans emerged as a viable alternative for screening, but manual interpretation by radiologists is time-consuming and prone to error under high-pressure clinical environments.

Artificial intelligence, specifically deep learning, offered a promising solution for automated screening. However, researchers faced two significant hurdles: the lack of publicly available, high-quality datasets due to privacy concerns, and the "data-hungry" nature of deep learning models. Standard models typically require thousands of labeled images to perform reliably without overfitting—a scenario where a model memorizes training data rather than learning generalizable patterns. This paper addresses these challenges by introducing a new open-source dataset and a sample-efficient learning framework.

The COVID19-CT Dataset

To facilitate open research, the authors curated the COVID19-CT dataset. This dataset contains 349 CT scans positive for COVID-19, collected from 216 patients, and 397 negative scans. These images were meticulously extracted from COVID-19-related preprints on medRxiv and bioRxiv by scraping figures and captions from scientific publications.

Examples of COVID-19 positive CT scans from the curated dataset showing various infection patterns.

While these images vary in resolution and quality compared to raw DICOM files from a hospital, they provided a crucial resource for the research community at a time when data was scarce.

Methodology: The Self-Trans Approach

The core technical contribution is Self-Trans (Self-supervised Transfer learning). This method aims to learn robust feature representations from limited data by combining two paradigms:

  1. Transfer Learning: Models are initialized with weights pre-trained on ImageNet. This provides a baseline understanding of low-level visual features like edges and textures from millions of natural images.
  2. Contrastive Self-Supervised Learning (CSSL): To bridge the "domain gap" between natural images (like cats and dogs) and medical CT scans, the authors employ a technique based on MoCo (Momentum Contrast). The model is trained on an auxiliary task: identifying that different augmentations (e.g., random cropping, flipping) of the same CT scan represent the same underlying image, while versions of different scans do not.

By performing this self-supervised task on unlabeled lung CT data (from the LUNA dataset) before fine-tuning on the COVID-19 diagnostic task, the model learns "unbiased" features specific to medical imaging. This significantly reduces the risk of overfitting when training on the small COVID19-CT dataset.

Results and Discussion

The Self-Trans approach was evaluated across several popular architectures, including ResNet, DenseNet, and EfficientNet. The results consistently showed that Self-Trans outperformed standard transfer learning.

  • Performance Metrics: Using a DenseNet-169 backbone with Self-Trans, the authors achieved an F1-score of 0.85, an AUC of 0.94, and an Accuracy of 0.86.
  • Model Interpretability: Using Grad-CAM visualizations, the authors demonstrated that models trained with Self-Trans focus more accurately on infected lung regions compared to models with random initialization, which often fixated on irrelevant image artifacts or edges.
  • Architecture Efficiency: The study also introduced a lightweight architecture called CRNet. While larger models like DenseNet-169 performed best, CRNet achieved competitive results, suggesting that massive parameter counts are not always necessary for specialized medical tasks if the learning process is efficient.

Conclusion

This work demonstrates that high-performing diagnostic tools for COVID-19 can be developed even with limited data. By combining self-supervised pre-training on in-domain medical data with traditional transfer learning, the Self-Trans approach effectively mitigates overfitting. The release of the COVID19-CT dataset further supports the global research effort in combating the pandemic. Future work involves expanding the dataset and exploring more sophisticated self-supervised tasks to further enhance diagnostic accuracy and clinical reliability.

Note: This research is a contribution to the scientific community and is not intended for direct clinical use without further medical validation.

Summary updated

BibTeX
@misc{he2020sample,
  author = {Xuehai He and Xingyi Yang and Shanghang Zhang and Jinyu Zhao and Yichen Zhang and Eric P. Xing and Pengtao Xie},
  title = {{Sample-Efficient Deep Learning for COVID-19 Diagnosis Based on CT Scans}},
  year = {2020},
  doi = {10.1101/2020.04.13.20063941},
  howpublished = {medRxiv},
}
Figure