Boosting Automatic COVID-19 Detection Performance with Self-Supervised Learning and Batch Knowledge Ensembling

Guang Li, Ren Togo, Takahiro Ogawa, Miki Haseyama · DOI

Introduction

Chest X-rays (CXR) serve as a critical, cost-effective tool for rapid COVID-19 screening. However, manual interpretation is labor-intensive and susceptible to human error, particularly when differentiating COVID-19 from other viral pneumonias. Standard deep learning approaches often rely on supervised transfer learning, pretraining models on natural image datasets like ImageNet. This methodology is frequently suboptimal for medical imaging, as the features relevant to identifying everyday objects do not translate well to the subtle, low-contrast textures of pulmonary infections.

Furthermore, while "knowledge ensembling"—leveraging similarities between images to improve classification—has shown promise, it has historically been computationally prohibitive. Previous implementations required massive memory overhead and multiple high-end GPUs, making them difficult to scale or deploy in resource-constrained clinical environments.

Methodology

This research introduces a two-phase framework designed to learn domain-specific features efficiently while maintaining a manageable computational footprint.

Phase I: Self-Supervised Learning (SSL) Pretraining

Instead of relying on expert labels, the model first learns the inherent structural "language" of medical imaging. Using a Siamese-like architecture, the model processes two different augmented views of the same X-ray. An Online network and a Target network (updated via Exponential Moving Average) work in tandem to learn distinguished representations. This phase ensures the encoder ($E_\theta$) is tuned to CXR-specific features before any supervised training begins.

Phase II: Batch Knowledge Ensembling (BKE) Fine-tuning

The core innovation lies in the fine-tuning stage. Unlike traditional training where images are processed in isolation, BKE treats each training batch as a mini-ecosystem. The model calculates a visual feature similarity matrix for all images within a batch. If the model detects high similarity between two images, it propagates predicted category knowledge between them. This creates "soft targets" that act as an automated peer-review mechanism, filtering out noise and enforcing consistency across similar cases.

The two-phase framework: Phase I involves SSL pretraining with Online and Target networks, while Phase II introduces Batch Knowledge Ensembling (BKE) during fine-tuning.

By shifting the BKE process to the fine-tuning phase, the authors successfully reduced memory requirements, allowing the entire pipeline to run on a single 16GB NVIDIA GPU.

Experimental Setup and Datasets

The framework was evaluated on two distinct public benchmarks to test both general performance and robustness under data imbalance:

  1. Large COVID-19 CXR Dataset: Comprising approximately 21,000 images across four categories: COVID-19, Lung Opacity, Normal, and Viral Pneumonia.
  2. COVID5K Dataset: A highly unbalanced set of 5,520 images with only 520 COVID-19 positive cases, designed to test the model's ability to detect rare positive signals.
Sample chest X-ray images from the datasets, illustrating the visual complexity and subtle differences between various pulmonary conditions.

Key Results and Insights

State-of-the-Art Accuracy

Using a ResNet50 backbone, the proposed method achieved a 1.000 AUC and a classification accuracy of 96.6% on the large-scale dataset. This performance surpassed established SSL methods such as SimCLR and BYOL, as well as modern "heavyweight" Vision Transformers (ViTs) like MAE and RGMIM.

Exceptional Label Efficiency

Perhaps the most significant finding is the model's performance in low-data regimes. In experiments where only 10% of the labels were available, the BKE-enhanced model outperformed standard supervised models that had access to 100% of the labels. This capability is vital for medical AI, where high-quality expert annotations are both expensive and time-consuming to obtain.

Robustness and Stability

The framework demonstrated remarkable insensitivity to hyperparameter variations, such as changes in batch size or ensembling weights. This stability suggests that the model is well-suited for real-world clinical deployment, where data quality and environmental conditions can vary significantly.

Conclusion and Future Work

The combination of domain-specific SSL pretraining and Batch Knowledge Ensembling provides a powerful, memory-efficient solution for medical image classification. While currently optimized for Convolutional Neural Networks (CNNs), future research will focus on adapting BKE for Vision Transformer architectures and expanding the methodology to other modalities like CT and Ultrasound. Ultimately, this framework paves the way for high-efficiency, real-time detection systems within the Internet of Medical Things (IoMT).

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