Learning from Pseudo Lesion: A Self-supervised Framework for COVID-19 Diagnosis

Zhongliang Li, Zhihao Jin, Xuechen Li, Linlin ShenarXiv 2021

Abstract

The rapid global spread of COVID-19 has necessitated efficient diagnostic tools, with thoracic computed tomography (CT) playing a pivotal role. While deep learning models offer high performance in medical imaging, they typically require vast amounts of annotated data, which is often scarce during a pandemic. This paper introduces a novel self-supervised framework based on Pseudo Lesion Restoration (PLR). By using Perlin noise to simulate Ground Glass Opacities (GGOs) on healthy CT scans, the model learns to identify and "heal" these lesions. This pretext task allows the model to extract high-quality features without manual labels. Fine-tuning the pretrained encoder on small labeled datasets resulted in significant performance gains, outperforming supervised models pretrained on large-scale natural images by up to 6.57%.

Introduction

Deep learning has revolutionized medical image analysis, yet its "data-hungry" nature remains a significant bottleneck. In the context of COVID-19, obtaining thousands of expert-labeled CT scans is time-consuming and expensive. Traditionally, researchers have relied on transfer learning from general datasets like ImageNet. However, the features learned from natural images (e.g., edges of everyday objects) often fail to capture the subtle, hazy textures of pulmonary lesions like Ground Glass Opacities (GGOs). To bridge this domain gap, we propose a self-supervised strategy that generates its own training signal by simulating disease patterns.

Methodology

The proposed framework, Pseudo Lesion Restoration (PLR), operates in three distinct phases: generation, restoration, and classification.

The proposed self-supervised framework involving pseudo lesion generation, restoration, and fine-tuning.

1. Pseudo Lesion Generation

To mimic the appearance of COVID-19 symptoms without labeled data, we utilize Perlin noise. Perlin noise is a gradient-based mathematical model commonly used in computer graphics to create naturalistic textures. In our framework, Perlin noise patches are generated to match the "floccus" or cloud-like morphology of GGOs. These patches are then randomly overlaid onto healthy lung regions in CT scans to create "pseudo-COVID" images.

Comparison between a real COVID-19 lesion and Perlin noise patterns.

2. The Pretext Task: Restoration

The core of the self-supervised phase is a restoration task. An encoder-decoder architecture (U-Net) is trained to take a pseudo-lesion image as input and output the original, healthy CT scan. By forcing the network to "remove" the noise and reconstruct the underlying lung structure, the model is compelled to learn deep semantic representations of both healthy tissue and lesion-like textures. This process requires no human annotation, as the "ground truth" is simply the original healthy image.

3. Downstream Classification

After pretraining, the decoder is discarded. The encoder, which has now learned robust features of lung anatomy and lesions, is fine-tuned for the specific task of COVID-19 diagnosis. Using a small set of real, labeled CT scans, the model is trained to classify images as either COVID-19 positive or negative.

Experimental Results

The framework was evaluated on two public datasets: the SARS-CoV-2 CT Scan dataset and the Jinan COVID-19 dataset.

  • Superior Accuracy: On the SARS-CoV-2 dataset, the PLR method achieved an accuracy of 93.9%, outperforming standard ImageNet pretraining by 6.02%.
  • High Sensitivity: The model demonstrated a recall of 99.35%, a critical metric for pandemic screening where missing a positive case carries high risk.
  • Data Efficiency: The method proved exceptionally robust with limited data. Using only 10% of the labeled training data, the model achieved 85.1% accuracy, rivaling other supervised models that utilized the full dataset.
  • Domain Specificity: PLR outperformed models pretrained on large X-ray datasets (e.g., PneuXray), suggesting that generating domain-specific noise is more effective than cross-modality transfer learning.

Conclusion

The Pseudo Lesion Restoration framework offers a powerful solution to the data scarcity problem in medical AI. By leveraging procedural noise to simulate disease patterns, we can pretrain models that are more sensitive to the specific textures of COVID-19 than those trained on general natural images. Future work will explore extending this framework to 3D CT volumes and adapting the noise parameters to simulate other pulmonary pathologies, such as lung cancer or bacterial pneumonia. This approach paves the way for more rapid and accurate diagnostic tools that can be deployed even when labeled data is at a premium.

Summary updated

BibTeX
@misc{li2021learning,
  author = {Zhongliang Li and Zhihao Jin and Xuechen Li and Linlin Shen},
  title = {{Learning from Pseudo Lesion: A Self-supervised Framework for COVID-19 Diagnosis}},
  year = {2021},
  eprint = {2106.12313},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.12313},
}
Figure