SODA: Detecting COVID-19 in Chest X-Rays With Semi-Supervised Open Set Domain Adaptation

Jieli Zhou, Baoyu Jing, Zeya Wang, Hongyi Xin, Hanghang Tong

TL;DR

This paper introduces SODA, a novel semi-supervised open-set domain adaptation method for detecting COVID-19 in chest X-rays. By aligning data distributions across different domains at both general and common-label levels, SODA significantly improves classification performance and pathology localization compared to existing methods, addressing the challenges of limited COVID-19 data and domain shifts in medical imaging.

What Problem Does This Paper Address?

The COVID-19 pandemic has highlighted a critical need for rapid and accurate diagnostic tools. While RT-PCR testing is the gold standard, it faces challenges like shortages, long wait times, and potential risks to healthcare workers. Chest X-rays offer a faster, more accessible alternative, with higher sensitivity for detecting COVID-19 related lung abnormalities. However, applying deep learning models trained on large, general chest X-ray datasets to the smaller, specific COVID-19 dataset is problematic. This is due to two main issues:

  1. Domain Shift: Chest X-ray datasets from different institutions or collected under varying conditions (e.g., equipment, protocols, image quality) exhibit significant visual differences.
  2. Data Scarcity: The number of labeled COVID-19 chest X-ray images is relatively small, making it difficult to train robust models from scratch or even fine-tune existing ones without overfitting.
  3. Open-Set Nature: COVID-19 is a novel disease, meaning its specific labels are not present in large, pre-existing datasets like ChestXray14 or Chexpert. This necessitates an "open-set" approach that can handle new, unseen classes.

The paper addresses these challenges by framing the problem as Semi-Supervised Open Set Domain Adaptation (SS-OSDA).

Methods

The core of the paper is the proposed Semi-supervised Open set Domain Adversarial network (SODA). SODA employs a novel two-level alignment strategy to learn domain-invariant features:

  1. General Domain Alignment: This uses a standard domain discriminator ($D_g$) to encourage the feature extractor ($G_f$) to produce features that are indistinguishable between the source and target domains. This is a common technique in adversarial domain adaptation.
  2. Common Label Alignment: This is the key innovation. To prevent "false alignment" where features from different classes in different domains become too similar, SODA introduces a second domain discriminator ($D_c$) specifically for images associated with common labels (i.e., labels present in both source and target datasets, like "Pneumonia"). This discriminator helps align features for these shared classes.
  3. For labeled data, $D_c$ is trained to distinguish domains only for samples with common labels.
  4. For unlabeled target data, a common label recognizer ($R$) is introduced. This component predicts the probability that an unlabeled image has at least one common label. This probability is then used to re-weight the losses for $D_c$ and $D_g$, allowing the model to focus adaptation efforts more effectively.

The overall architecture includes a feature extractor ($G_f$), a multi-label classifier ($G_y$), the two domain discriminators ($D_g$, $D_c$), and the common label recognizer ($R$). The objective is a min-max game between the classifiers and discriminators.

Datasets

  • Source Domain: ChestXray-14 dataset, containing 112,120 anonymized chest X-ray images with 14 common thoracic disease labels. This serves as the large, well-annotated dataset.
  • Target Domain: COVID-ChestXray dataset, a newly collected dataset with 328 chest X-ray images. Of these, 253 are labeled as "COVID-19" (a new label not in the source) and 61 as "Pneumonia" (a common label). This dataset is smaller and represents the new, challenging domain.

The target domain data was split into 40% labeled and 60% unlabeled for the semi-supervised evaluation.

Key Insights and Ideas

  • The "Open Set" Problem is Crucial: Recognizing that COVID-19 is a new disease not present in existing large datasets is key. Standard domain adaptation methods might struggle to correctly classify these novel cases.
  • Two-Level Alignment is Better than One: Simply aligning general domain features can lead to misclassifications. Aligning features specifically for common labels, in addition to general domain alignment, is crucial for robust performance, especially when dealing with different label sets.
  • Leveraging Unlabeled Data is Essential: The common label recognizer ($R$) effectively utilizes the abundant unlabeled target data to guide the adaptation process, making the method semi-supervised and more practical.
  • Pathology Localization Matters: Beyond just classification, the ability to accurately pinpoint the affected areas in the X-ray is vital for clinical utility. SODA shows promise in this regard.

Key Results

  • Classification Performance: SODA achieved the highest average AUC-ROC scores for both COVID-19 (0.9006) and Pneumonia (0.9082) on the target domain, outperforming baseline methods like ResNet50, DenseNet121, DANN, and PADA. This demonstrates the effectiveness of the proposed two-level alignment strategy.
  • Domain Discrepancy: SODA exhibited a lower Proxy A-Distance (PAD) compared to DANN and PADA, indicating a more successful reduction in feature distribution discrepancy between domains.
  • Feature Visualization: t-SNE visualizations showed that SODA provided better separation between "COVID-19" and "Pneumonia" features in the target domain compared to baselines.
  • Pathology Localization: Grad-CAM visualizations revealed that SODA's attention was more focused and accurate on pathological regions in COVID-19 X-rays compared to other methods, receiving positive feedback from a radiologist.

Limitations and Future Work

  • Dataset Size: While SODA performs well, the COVID-ChestXray dataset is still relatively small. The authors acknowledge that larger, more diverse COVID-19 datasets would be beneficial for further validation.
  • Generalizability: The paper suggests that SODA can be generalized to other semi-supervised open-set domain adaptation scenarios with similar data characteristics (large well-annotated source, small newly available target).
  • Clinical Validation: While initial feedback from a radiologist was positive regarding localization, more rigorous clinical evaluation and validation with a larger group of experts are planned.
  • Exploration of Other Architectures: The current implementation uses DenseNet121 as the feature extractor. Future work could explore other advanced architectures.

Summary updated

BibTeX
@article{zhou2022soda,
  author = {Jieli Zhou and Baoyu Jing and Zeya Wang and Hongyi Xin and Hanghang Tong},
  title = {{SODA: Detecting COVID-19 in Chest X-Rays With Semi-Supervised Open Set Domain Adaptation}},
  journal = {IEEE ACM Trans. Comput. Biol. Bioinform.},
  year = {2022},
  doi = {10.1109/tcbb.2021.3066331},
}
Figure