Introduction
Deep learning has revolutionized medical image analysis, yet its deployment in clinical settings faces two significant hurdles: the high cost of expert-labeled data and the inherent class imbalance of medical datasets. The standard approach to overcome data scarcity is Transfer Learning (TL), which involves fine-tuning a model pre-trained on natural images (e.g., ImageNet). However, a substantial "domain gap" exists between natural objects and medical scans like CT images. When the target dataset is small, standard TL often fails to bridge this gap effectively because the model's representation layers undergo only minor adjustments.
This paper introduces Pre-text Representation Transfer (PRT), a novel framework designed to adapt a model's representation layers to the medical domain using unlabeled data before performing task-specific fine-tuning.
The PRT Framework
The authors propose a three-stage training pipeline to maximize the utility of available data and improve diagnostic accuracy under imbalanced conditions.
Stage I: Pre-text Representation Transfer (Training-I)
To address the domain gap, the framework first utilizes a large pool of unlabeled CT scans. These images are clustered in a low-dimensional space to generate "pseudo-labels." A source model (such as ResNet101) is then trained to solve this clustering task. Crucially, the classification layers are kept fixed while the representation layers (the early and middle layers) are updated. This forces the model to learn the fundamental textures and structural features of CT scans before it ever encounters a specific disease label.
Stage II: Subsequent Transfer Learning (Training-II)
Once the representation layers are "medical-aware," the model is fine-tuned using a small, labeled COVID-19 dataset. Because the model has already adapted to the medical domain in Stage I, this fine-tuning step is significantly more effective than starting from a model trained solely on natural images.
Stage III: Dictionary Classifier (Training-III)
To mitigate the effects of class imbalance, the authors implement a Dictionary Classifier. The model from Stage I is used as a feature extractor to build a dictionary of features from the labeled training data. They then apply a collaborative representation-based classification (CRC) scheme. CRC is mathematically robust to imbalanced data because it utilizes a linear basis approach that does not inherently favor the majority class.
Final Fusion: At test time, the system fuses the predictions from the fine-tuned neural network (Stage II) and the dictionary classifier (Stage III) to produce a final diagnosis.
Experimental Setup
The framework was evaluated using the Covid CT Dataset (CCD), which contains 349 infected and 397 non-infected images. To test robustness, the authors created five different class-imbalance ratios by keeping only 10%, 25%, 50%, 75%, and 100% of the positive samples. For the unlabeled pre-text stage, they utilized 10,000 CT scan samples aggregated from internet repositories like MedPix.
Key Results and Insights
The PRT framework was tested across three architectures: ResNet101, VGG16, and DenseNet201.
- Consistent Performance Gains: The proposed method consistently outperformed standard Transfer Learning across all architectures and all imbalance ratios. For ResNet101, the average absolute gain in accuracy over standard TL was approximately 2.35%.
- Robustness to Data Scarcity: Even when only 10% of the positive COVID-19 samples were available for training, the PRT-enhanced models maintained significantly higher sensitivity and F1-scores compared to the baseline.
- Representation vs. Classification: The results support the argument that for medical imaging, the "body" (representation) of the network must be adapted to the domain textures first, rather than just replacing the "head" (classifier).
Conclusion and Future Work
The Pre-text Representation Transfer (PRT) method provides a robust pathway for applying deep learning to medical tasks where labeled data is scarce. By using unsupervised clustering as a bridge between natural and medical domains, the framework significantly improves performance and resilience to class imbalance.
While the three-stage process is more computationally intensive than standard fine-tuning, its success in COVID-19 detection suggests broad applicability to other medical imaging challenges. Future research may explore incorporating more advanced self-supervised tasks, such as contrastive learning, into the pre-text stage to further enhance feature representation.
Summary updated