Introduction
Semi-supervised learning (SSL) aims to leverage large amounts of unlabeled data alongside a small set of labeled samples. However, traditional SSL methods like FixMatch or SoftMatch often collapse when labeled data is extremely scarce—specifically, when only a single labeled sample per class is available. In such regimes, these methods fail to train robust feature extractors from scratch. While Parameter-Efficient Fine-Tuning (PEFT) using pre-trained models (e.g., ViT or CLIP) offers a path forward, current PEFT techniques often fail to effectively utilize the available unlabeled data, leading to suboptimal performance.
To address this, the authors propose FATE (Firstly Adapt, Then catEgorize), a two-stage prompt-tuning framework designed to bridge the gap between abundant unlabeled data and extreme supervision scarcity.
Methodology: The FATE Framework
FATE introduces a decoupled two-stage paradigm that works with both vision and vision-language models. Instead of updating the entire network, FATE optimizes small, learnable input vectors known as "prompts."
Stage 1: Adaptation (Learning the Distribution)
The first stage focuses on adapting the pre-trained model to the target domain using only unlabeled data. FATE learns Distribution-adaptive Prompts (DP) to align the model with the downstream task's feature distribution. For vision models, this involves contrastive learning to pull together different augmented views of the same image. For vision-language models, FATE utilizes CLIP’s zero-shot capabilities to generate high-confidence pseudo-labels, which guide the training of the DP.
Stage 2: Classification (Learning the Classes)
Once the DP is learned and frozen, FATE introduces Classification Prompts (CP). In this stage, the CP is trained using both the single labeled sample per class and the unlabeled data. FATE employs a consistency-based approach, enforcing that the model produces similar predictions for both weak and strong augmentations of the same image. This decoupling prevents the model from overfitting to the limited labels while trying to learn the domain distribution simultaneously.
Experimental Results
The authors evaluated FATE across 17 benchmarks, including general vision datasets (CIFAR-10/100, ImageNet100) and fine-grained datasets (EuroSAT, OxfordPets, etc.), under a strict 1-labeled-sample-per-class setting.
Vision Model Performance
FATE demonstrated significant improvements over traditional SSL methods. Across seven datasets, FATE achieved an average accuracy of 51.96%. In contrast, state-of-the-art SSL methods like SoftMatch failed in the 1-shot regime, scoring as low as 8.41% on ViT. This represents a performance jump of approximately 33.74%.
Vision-Language Model Performance
On ten fine-grained datasets, FATE achieved an average accuracy of 72.20%, outperforming ten other state-of-the-art PEFT methods, including CoOp, MaPLe, and TaskRes. Ablation studies further highlighted the importance of the two-stage approach; for instance, on CIFAR-100, incorporating Distribution-adaptive Prompts (DP) increased accuracy from 48.14% to 59.55%.
Conclusion
FATE proves that decoupling domain adaptation from classification is a powerful strategy for semi-supervised learning with extremely limited labels. By using unlabeled data to "prime" the model through prompt tuning, FATE retains the broad knowledge of pre-trained backbones while efficiently adapting to specific downstream tasks. While the method shows some sensitivity to pseudo-label noise in vision-language settings, it sets a new benchmark for performance in the 1-shot SSL regime.
Summary updated