Boosting automatic COVID-19 detection performance with self-supervised learning and batch knowledge ensembling

Guang Li, Ren Togo, Takahiro Ogawa, Miki Haseyama

TL;DR

This paper presents a two-phase framework that significantly boosts COVID-19 detection from chest X-rays (CXR) by combining self-supervised pretraining with a novel "Batch Knowledge Ensembling" (BKE) fine-tuning strategy. The approach achieves state-of-the-art accuracy and remains remarkably robust even when labeled training data is extremely scarce (e.g., using only 1% of available labels).

What Problem Does This Paper Address?

While chest X-rays are a fast and cost-effective tool for COVID-19 screening, manual interpretation is time-consuming and prone to human error, especially when distinguishing COVID-19 from other types of pneumonia.

Existing deep learning models typically rely on supervised transfer learning, where a model is pretrained on natural images (like ImageNet) and then "fine-tuned" on medical scans. This is suboptimal because the features of a cat or a car don't translate well to the subtle textures of a lung infection. Furthermore, previous attempts to use "knowledge ensembling"—which leverages similarities between images—were computationally expensive and memory-intensive, often requiring multiple high-end GPUs.

Methods

The authors propose a two-phase pipeline designed to learn domain-specific features efficiently:

  1. Phase I: Self-Supervised Learning (SSL) Pretraining: Instead of using labels, the model learns by looking at two different "augmented" views of the same X-ray. It uses a Siamese-like architecture (an Online network and a Target network updated via Exponential Moving Average) to learn distinguished representations of CXR features. This ensures the model understands the "language" of medical imaging before it ever sees a label.
  2. Phase II: Batch Knowledge Ensembling (BKE) Fine-tuning: This is the core innovation. During the supervised fine-tuning stage, the model doesn't just look at images in isolation. It calculates a visual feature similarity matrix for all images within a training batch. If the model identifies that Image A and Image B look very similar, it "propagates" the predicted category knowledge between them. This creates "soft targets" that guide the model to be more consistent and accurate, effectively acting as a sophisticated form of automated peer-review during training.

By moving the BKE process to the fine-tuning phase (rather than the pretraining phase used in their previous work), the authors reduced memory requirements enough to run the model on a single 16GB NVIDIA GPU.

Datasets

The researchers evaluated their method on two public benchmarks:

  • Large COVID-19 CXR Dataset: A comprehensive set of ~21,000 images across four classes: COVID-19, Lung Opacity, Normal, and Viral Pneumonia.
  • COVID5K Dataset: A highly unbalanced dataset consisting of 5,520 images, where only 520 are COVID-19 positive, testing the model's ability to handle "needle-in-a-haystack" scenarios.

Key Insights and Ideas

  • Domain-Specific Pretraining is King: The results confirm that learning the inherent structure of X-rays through SSL is far superior to starting with weights from natural image datasets.
  • The Power of the Batch: Traditional training treats each image as an independent data point. BKE treats the batch as a mini-ecosystem where similar images help "teach" each other, which filters out noise and improves the model's confidence.
  • Label Efficiency: One of the most striking "aha" moments is the model's performance with limited data. Even with only 10% of the labels, the proposed method outperformed standard models that had access to 100% of the labels. This is critical for medical AI, where high-quality expert annotations are expensive and slow to acquire.

Key Results

  • State-of-the-Art Performance: On the large dataset using a ResNet50 backbone, the model achieved a 1.000 AUC and a classification accuracy of 96.6%, outperforming other SSL methods like SimCLR and BYOL.
  • Superiority over Transformers: The method outperformed recent "heavyweight" Vision Transformer models (like MAE and RGMIM), particularly in low-data settings.
  • Robustness: The model proved insensitive to changes in hyperparameters (like batch size or ensembling weight), suggesting it would be stable in real-world clinical deployments where conditions vary.

Limitations and Future Work

The authors acknowledge a few areas for growth:

  • Architecture Constraints: The current BKE implementation is designed for Convolutional Neural Networks (CNNs). The authors plan to explore how to migrate this logic to newer Vision Transformer (ViT) structures.
  • Modality Expansion: While highly effective for X-rays, the method hasn't yet been tested on CT scans or Ultrasound images, which may have different noise profiles.
  • Real-world Deployment: Future work will focus on integrating these algorithms into "Internet of Medical Things" (IoMT) systems for high-efficiency, real-time detection in hospitals.

Summary updated

BibTeX
@article{li2023boosting,
  author = {Guang Li and Ren Togo and Takahiro Ogawa and Miki Haseyama},
  title = {{Boosting automatic COVID-19 detection performance with self-supervised learning and batch knowledge ensembling}},
  journal = {Computers in Biology and Medicine},
  year = {2023},
  doi = {10.1016/j.compbiomed.2023.106877},
}
Figure