Introduction
Deep learning models typically require vast amounts of human-labeled data to achieve state-of-the-art performance. However, labeling is expensive and time-consuming, whereas unlabeled data is often abundant. Semi-supervised learning (SSL) seeks to bridge this gap. A common SSL technique is self-training, where a model is trained on a small labeled set, generates "pseudo-labels" for unlabeled data, and is then retrained on the augmented dataset. A major challenge in this process is "confirmation bias," where the model's initial errors are reinforced in subsequent iterations.
This paper investigates whether integrating self-supervision—where a model learns features by solving an automatically generated "pretext task" (such as predicting image rotation)—can make self-training more robust and accurate.
Methodology
The researchers proposed and compared three strategies for injecting self-supervision into the self-training pipeline:
- Combined Training (CT): The model jointly optimizes for the primary classification task and a pretext task (predicting geometric transformations like rotations or flips) in every iteration.
- Self-supervised Pretraining (SS-Pretrain): The model is first pretrained on the pretext task using all available data before proceeding with standard self-training.
- Single-Step Combined Training (STSSC): The model performs joint training (classification + pretext task) only in the first iteration of self-training. Subsequent iterations follow standard self-training procedures.
Additionally, the study compared two supervised loss functions: standard Cross-Entropy and Triplet Loss (a metric learning approach).
Experimental Setup
The methods were evaluated on several benchmarks, including SVHN (1,000 labels), CIFAR-10 (4,000 labels), and the PlantVillage crop disease dataset at multiple resolutions (32x32, 64x64, and 96x96). Experiments were conducted using both randomly initialized weights and weights pretrained on ImageNet.
Key Insights and Results
The Efficiency of STSSC
The most significant finding is that self-supervision is most effective when applied only during the initial stage of training. The STSSC method emerged as the clear winner, providing the best balance of high performance and computational efficiency. By forcing the model to solve a pretext task early on, it learns more robust, generalizable features, which prevents over-specialization on the small labeled set and reduces confirmation bias during pseudo-labeling.
Performance Gains
- Accuracy Boost: On CIFAR-10 with random weights, the STSSC approach achieved approximately 87.1% accuracy, compared to 83.05% for simple self-training without self-supervision.
- Superiority over CT: STSSC consistently outperformed the more computationally expensive Combined Training (CT). For example, on the PlantVillage 96x96 dataset (random weights), STSSC reached 84.71% accuracy, while CT only reached 79.24%.
- ImageNet Synergy: Even when starting with ImageNet-pretrained weights, STSSC provided measurable accuracy gains, demonstrating that self-supervision captures task-specific features that general pretraining might miss.
Loss Function Comparison
Despite the theoretical advantages of metric learning, the authors found that Cross-Entropy generally provided more consistent improvements than Triplet Loss within this specific self-training framework.
Conclusion
Integrating self-supervised pretext tasks into the first iteration of self-training (STSSC) significantly enhances image classification performance in semi-supervised settings. This approach is not only more accurate than standard self-training but also more efficient than continuous joint training. Future research may explore more complex self-supervised tasks, such as contrastive learning, to further push the boundaries of this technique.
Summary updated