TL;DR
This paper investigates the synergy between Semi-Supervised Learning (SSL) and Transfer Learning by fine-tuning pre-trained models with SSL techniques. They find that SSL offers smaller gains when the pre-training domain is similar to the target domain, but significantly boosts performance when there's a domain gap, especially in medical imaging.
What Problem Does This Paper Address?
Deep learning models thrive on vast amounts of labeled data, which are often expensive and time-consuming to acquire. Semi-Supervised Learning (SSL) offers a solution by leveraging abundant unlabeled data alongside limited labeled data. Simultaneously, Transfer Learning has proven invaluable, allowing models pre-trained on large datasets (like ImageNet) to perform well on new tasks with less data. However, the question of how SSL methods perform when applied to pre-trained models, rather than training from scratch, remains underexplored. This paper aims to bridge this gap by comprehensively studying the effectiveness of various SSL techniques when fine-tuning pre-trained deep neural networks across different training strategies, model architectures, and datasets.
Methods
The authors focus on four prominent SSL methods:
- I-model: Leverages consistency regularization by introducing noise to model predictions.
- Mean Teacher: An extension of I-model that uses an exponential moving average of model weights for more stable targets.
- Virtual Adversarial Training (VAT): Employs adversarial perturbations to maximize changes in model predictions, acting as a consistency regularization.
- Pseudo-Label: Selects high-confidence predictions from unlabeled data and adds them to the training set.
They adopt a fine-tuning approach for transfer learning, meaning they take pre-trained models and update their weights using the combined labeled and unlabeled data from the target task. Their study systematically analyzes the impact of different optimizers (Adam vs. SGD), the amount of labeled data, input perturbation strategies, model architectures (ResNet-50, VGG-16, Inception-v3), and datasets.
Datasets
The paper evaluates SSL methods on three modern datasets:
- Indoor67: A scene-oriented dataset with 67 categories.
- CUB200: An object-oriented dataset featuring 200 species of birds.
- MURA: A medical imaging dataset containing X-rays of seven different human body parts, notable for its significant domain difference from ImageNet.
These datasets were chosen because they are more suitable for ImageNet-based pre-trained models compared to smaller datasets like MNIST or CIFAR.
Key Insights and Ideas
- SSL gains diminish with domain similarity: When the pre-training dataset (e.g., ImageNet) is similar to the target dataset, the benefits of SSL over a purely supervised fine-tuned model are smaller, sometimes even disappearing.
- Domain gap is where SSL shines: The most significant improvements from SSL are observed when there's a substantial domain shift between the pre-training data and the target task, particularly highlighted in the medical imaging domain (MURA).
- Pseudo-Label's surprising effectiveness: While Pseudo-Label performed poorly when training from scratch, it shows remarkable effectiveness when fine-tuning pre-trained models, especially with Adam as the optimizer. This suggests it might act as a valuable regularizer for pre-trained models.
- Optimizer choice matters: Adam generally leads to better results with Pseudo-Label, while SGD can surpass Adam when more labeled data and training iterations are available for other SSL methods.
- Perturbation strategy is key: Combining horizontal flip and random translation (F+T) yields the highest accuracy for SSL methods, whereas adding noise (N) can sometimes degrade performance.
Key Results
The paper presents a comprehensive empirical analysis, with key findings including:
- Smaller gains on similar domains: For datasets like Indoor67 and CUB200, which have some overlap with ImageNet, the performance gains from SSL over a fully-supervised baseline are modest. For instance, in Figure 3, many SSL methods offer only marginal improvements over the baseline when trained on Indoor67.
- Significant gains on domain-shifted data: On the MURA medical imaging dataset, where ImageNet pre-training offers little advantage, SSL methods, particularly Mean Teacher and VAT, show substantial improvements over the fully-supervised baseline (Figure 3c, 3f, 5g).
- Pseudo-Label's strong performance: In several experiments, Pseudo-Label with Adam optimizer achieved the best results, sometimes even outperforming the fully-supervised baseline, especially when a sufficient amount of labeled data was available (Figure 3a, 4a, 4b).
- Model architecture influence: While Inception-v3 generally performs well, its transferability can be limited. However, with SSL, especially VAT, it shows strong performance on domain-shifted datasets.
- Training iterations: Increasing training iterations helps close the performance gap between different SSL methods, with VAT and Pseudo-Label showing unstable performance with fewer than 10 epochs.
Limitations and Future Work
- Limited optimizer exploration for some methods: While Adam and SGD were compared, the paper notes that further tuning might yield different results for specific tasks.
- Standardized hyperparameters: To simulate real-world scenarios, hyperparameters were fixed across experiments, acknowledging that task-specific tuning could potentially improve performance further.
- Future work: The authors suggest exploring SSL on other well-trained models (like ResNeXt, SE-Net) and investigating the effectiveness of SSL in the medical imaging domain further, given its promising results. They also hint at the potential of Pseudo-Label as a regularizer for pre-trained models, which warrants further investigation.
Summary updated