Introduction
The rapid diagnosis of COVID-19 using Computed Tomography (CT) scans is often hampered by the scarcity of labeled medical data. While deep learning models excel with large datasets, medical imaging often suffers from a "data hunger" problem, leading to poor generalization when training on small cohorts. This paper proposes a multi-stage transfer learning framework designed to bridge the massive domain gap between natural images and medical CTs, while introducing a novel self-supervised task rooted in lung anatomy.
Methodology: The Multi-Stage Pipeline
Standard transfer learning typically involves a direct jump from natural images (ImageNet) to the target medical task. However, the vast difference in visual features—from everyday objects like dogs to internal human anatomy—often limits performance. The authors propose a three-stage "stepping stone" approach to refine feature extraction progressively.
- Supervised Transfer Learning - Natural (STL-N): Initial pretraining on ImageNet to capture fundamental visual primitives like edges and textures.
- Supervised Transfer Learning - Medical (STL-M): Intermediate pretraining on the large-scale COVIDx dataset (chest X-rays). This stage adapts the model to the grayscale, high-contrast environment of medical imaging.
- Self-Supervised Transfer Learning - Medical (SSTL-M): The core innovation, utilizing unlabeled CT images to learn domain-specific structural features through a multi-scale pretext task.
Domain-Specific Self-Supervision
The SSTL-M stage employs a dual-scale pretext task to ensure the model understands both global and local lung structures without requiring manual labels.
- Image-scale Learning: A contrastive approach (similar to MoCo) where the model learns to recognize an image across different augmentations, ensuring robust feature representations.
- Region-scale Learning: The model is trained to identify the five distinct lobes of the human lung (three on the right, two on the left). By forcing the network to localize these biological structures, it gains a functional understanding of lung anatomy, which is critical for identifying COVID-19 pathologies that often present in specific regions.
The Transferability of Attention
A key finding of this research is that Self-Attention layers (ATTNs) are significantly more "transferable" than standard convolutional layers. Unlike fixed convolutional weights learned during training, attention mechanisms compute weights dynamically based on the input. This flexibility allows the model to better capture long-range dependencies and adapt more effectively when moving between disparate domains, such as from 2D X-rays to 2D CT slices.
Results and Discussion
The framework demonstrated substantial improvements over baseline models. For a ResNet-50 backbone, the integration of 5 attention layers combined with the multi-stage pipeline boosted accuracy from 88.2% to 93.9%. Furthermore, the novel lobe-based self-supervised method consistently outperformed established generic methods like MoCo and SimCLR across accuracy, F1-score, and AUC metrics.
Quantitative validation using the Log Expected Empirical Prediction (LEEP) score confirmed that architectures incorporating attention layers possess inherently higher transfer potential for medical imaging tasks compared to pure CNNs.
Conclusion
By combining multi-stage transfer learning with anatomy-aware self-supervision and flexible attention mechanisms, this framework provides a robust solution for medical image analysis in low-data regimes. While the current work focuses on 2D slices, future research may explore extending this approach to 3D volumetric data and improving lobe localization in cases of severe lung pathology.
Summary updated