Abstract
Standard semi-supervised learning (SSL) frameworks often struggle to achieve optimal performance when initialized with pretrained models. This difficulty arises from a "double-edged sword" effect where the initial bias of the pretrained feature extractor is magnified during self-training, leading to a feedback loop of errors. This paper introduces a Progressive Feature Adjustment strategy designed to decouple the updates of the classifier and the feature extractor. By grounding the classifier in ground-truth labels and utilizing pseudo-labels solely for feature space refinement, the proposed method—termed HCCMatch—effectively mitigates confirmation bias and improves adaptation to target datasets.
Introduction
In contemporary computer vision, the dominant paradigm involves fine-tuning models pretrained on massive datasets (e.g., ImageNet) for specific downstream tasks. When labeled data in the target domain is scarce, Semi-Supervised Learning (SSL) is typically employed to leverage unlabeled images. However, traditional SSL algorithms like FixMatch, which were primarily developed for networks trained from scratch, often yield mediocre results when applied to pretrained weights.
The core issue is the "stubbornness" of pretrained models. While pretraining provides a robust starting point, it also introduces a prediction bias inherited from the source domain. In standard SSL, the model uses its own biased predictions as pseudo-labels to guide further training. This creates a reinforcement loop where early mistakes are never corrected, preventing the model from fully adapting to the nuances of the new target dataset.
Methodology: Decoupled Feature Adjustment
To address the limitations of traditional SSL in the context of pretraining, this research proposes a shift in how pseudo-labels are utilized. The innovation lies in a decoupled training strategy that separates the final decision logic from the representation learning process.
1. Classifier Protection
Linear classifiers are highly sensitive to label noise. To prevent the "confirmation bias" that occurs when a model learns from its own incorrect pseudo-labels, the proposed method restricts the training of the linear classifier to the small set of manually labeled data only. This ensures the decision boundary remains grounded in ground-truth information.
2. Feature Adjustment and Prototypes
While the classifier is protected, the large pool of unlabeled data is used to refine the feature extractor. The model maintains a running average "prototype" for each class within the embedding space. These prototypes represent the central tendency of each class's features.
3. Progressive Loss and Momentum
The feature extractor is updated using a progressive, contrastive-style loss function. For both labeled and pseudo-labeled images, the extractor is trained to "pull" the image's representation toward its corresponding class prototype while "pushing" it away from others. These class prototypes are updated throughout training using a momentum term ($\beta$), allowing the feature space to evolve smoothly and adaptively as the model learns.
By allowing unlabeled data to influence only the feature representations and not the final classifier logic, the model becomes significantly more tolerant of the noise inherent in pseudo-labeling.
Experimental Evaluation
The authors evaluated the approach on several challenging benchmarks, with a focus on Fine-Grained Visual Categorization (FGVC), where pretrained bias is particularly problematic. Datasets included FGVC Aircraft, Stanford Cars, and CUB-200-2011, alongside the standard CIFAR-100 benchmark.
Key Results
The proposed method, HCCMatch (and its enhanced version Ours+), demonstrated substantial improvements over state-of-the-art (SOTA) methods like FixMatch:
- Stanford Cars (15% labels): Accuracy increased from 64.97% (FixMatch) to 79.70%.
- CUB-200-2011 (15% labels): Accuracy improved from 54.21% to 68.06%.
- CIFAR-100: In low-label regimes (e.g., 400 labels), the method achieved a 37.36% error rate, significantly outperforming FixMatch's 52.88%.
Furthermore, the method proved effective regardless of whether the pretraining was supervised (ImageNet) or unsupervised (MoCo v2), indicating its broad utility for various transfer learning scenarios.
Discussion and Insights
Empirical evidence suggests that standard SSL methods suffer from a poor "Error Correcting Rate" when starting from pretrained weights; they essentially stop learning to correct initial mistakes early in the training process. Qualitative analysis via t-SNE visualizations confirms that Progressive Feature Adjustment produces tighter, more distinct clusters compared to FixMatch, which often leaves features from different classes mixed due to inherited source bias.
One notable limitation is that this adjustment module does not provide significant gains when starting from a randomly initialized network. This confirms the hypothesis that the strategy is specifically a remedy for pretrained bias rather than a general-purpose SSL improvement. Future work may involve scaling this feature-only update strategy to larger foundation models like CLIP or DINOv2.
Conclusion
Progressive Feature Adjustment offers a robust solution to the challenges of semi-supervised learning with pretrained models. By decoupling the classifier from the feature extractor and focusing unlabeled data usage on representation refinement, the method overcomes the stubbornness of pretrained weights and sets a new standard for performance in label-scarce transfer learning tasks.
Summary updated