[Paper Review] When Semi-Supervised Learning Meets Transfer Learning: Training Strategies, Models and Datasets
This paper investigates the integration of semi-supervised learning (SSL) with transfer learning by fine-tuning pre-trained models, revealing that SSL provides greater gains when the source and target domains differ significantly—especially in low-resource, domain-shifted settings like medical imaging. It demonstrates that Pseudo-Label with Adam optimizer can outperform fully supervised baselines when sufficient labeled data is available, challenging prior assumptions about SSL's limited utility on pre-trained models.
Semi-Supervised Learning (SSL) has been proved to be an effective way to leverage both labeled and unlabeled data at the same time. Recent semi-supervised approaches focus on deep neural networks and have achieved promising results on several benchmarks: CIFAR10, CIFAR100 and SVHN. However, most of their experiments are based on models trained from scratch instead of pre-trained models. On the other hand, transfer learning has demonstrated its value when the target domain has limited labeled data. Here comes the intuitive question: is it possible to incorporate SSL when fine-tuning a pre-trained model? We comprehensively study how SSL methods starting from pretrained models perform under varying conditions, including training strategies, architecture choice and datasets. From this study, we obtain several interesting and useful observations. While practitioners have had an intuitive understanding of these observations, we do a comprehensive emperical analysis and demonstrate that: (1) the gains from SSL techniques over a fully-supervised baseline are smaller when trained from a pre-trained model than when trained from random initialization, (2) when the domain of the source data used to train the pre-trained model differs significantly from the domain of the target task, the gains from SSL are significantly higher and (3) some SSL methods are able to advance fully-supervised baselines (like Pseudo-Label). We hope our studies can deepen the understanding of SSL research and facilitate the process of developing more effective SSL methods to utilize pre-trained models. Code is now available at github.
Motivation & Objective
- To investigate whether semi-supervised learning (SSL) provides additional gains when applied to models fine-tuned from pre-trained weights, especially in comparison to training from random initialization.
- To analyze how training strategies, model architectures, and dataset domain shifts affect the performance of SSL methods on pre-trained models.
- To determine under what conditions SSL enhances transfer learning, particularly when the source and target domains differ significantly.
- To evaluate the effectiveness of specific SSL methods—like Pseudo-Label, Mean Teacher, and Virtual Adversarial Training—when combined with pre-trained models.
Proposed method
- Fine-tuned pre-trained models (e.g., ResNet-50, Inception-v3, VGG-16) on target datasets using various SSL methods, including Pseudo-Label, Mean Teacher, and Virtual Adversarial Training.
- Applied data augmentations such as horizontal flip and random translation (F+T) to improve robustness and performance, while avoiding noise-based augmentations that degraded results.
- Systematically varied hyperparameters including learning rate, perturbation magnitude (ε), and smoothing coefficient (ξ) in VAT to assess their impact on SSL performance.
- Used validation error and training loss curves to analyze generalization behavior, particularly to assess regularization effects of SSL methods like Pseudo-Label.
- Conducted ablation studies on learning rate schedules and optimization settings (e.g., Adam vs. SGD) to isolate performance factors in pre-trained models.
- Evaluated models on standard benchmarks (CIFAR-10, CIFAR-100, SVHN) and domain-shifted datasets (Indoor67, CUB200, medical images) to assess transferability and domain gap effects.
Experimental results
Research questions
- RQ1Does semi-supervised learning provide measurable performance gains when applied to models fine-tuned from pre-trained weights, compared to fully supervised fine-tuning?
- RQ2How does the domain gap between the source pre-training dataset (e.g., ImageNet) and the target dataset affect the effectiveness of SSL?
- RQ3Can SSL methods like Pseudo-Label outperform fully supervised baselines when applied to pre-trained models, especially with sufficient labeled data?
- RQ4How do different data augmentations and training strategies influence the performance of SSL methods on pre-trained models?
- RQ5To what extent do hyperparameters like ε and ξ in Virtual Adversarial Training affect SSL performance when fine-tuning pre-trained models?
Key findings
- SSL gains are significantly smaller when fine-tuning from a pre-trained model on a similar domain (e.g., ImageNet to CIFAR), with performance improvements often disappearing entirely.
- SSL provides the largest gains when the source and target domains differ substantially—such as in medical imaging—where ImageNet pre-training offers little benefit and SSL fills the performance gap.
- Pseudo-Label with Adam optimizer consistently outperforms fully supervised baselines when sufficient labeled data is available, indicating it may be underappreciated in prior literature.
- The combination of horizontal flip and random translation (F+T) as data augmentations yields the best SSL performance, while noise-based augmentations degrade results.
- Increasing training iterations reduces performance variance among SSL methods, with VAT and Pseudo-Label converging to similar accuracy levels over longer training schedules.
- Learning rate is a critical hyperparameter: suboptimal choices (e.g., 5e-2) severely degrade Inception-v3 performance, while 1e-3 yields consistent and strong results across datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.