[Paper Review] Masked Unsupervised Self-training for Label-free Image Classification
This paper proposes Masked Unsupervised Self-Training (MUST), a method that improves zero-shot vision models like CLIP through unsupervised fine-tuning on unlabeled data by jointly optimizing pseudo-labeling and masked image modeling. MUST achieves 77.7% top-1 accuracy on ImageNet with ViT-B, a +9.4% improvement over CLIP and +6.2% over 16-shot supervised adaptation.
State-of-the-art computer vision models are mostly trained with supervised learning using human-labeled images, which limits their scalability due to the expensive annotation cost. While self-supervised representation learning has achieved impressive progress, it still requires a second stage of finetuning on labeled data. On the other hand, models pre-trained with large-scale text-image supervision (e.g., CLIP) have enabled zero-shot transfer to downstream image classification tasks. However, the zero-shot performance of CLIP-like models are often insufficient for real-world adoption. In this paper, we aim to leverage the abundant unlabeled data from a target domain to improve the performance of a pre-trained zero-shot classifier, by unsupervised finetuning of the pre-trained model. We propose Masked Unsupervised Self-Training (MUST), a new unsupervised adaptation method which leverages two different and complementary sources of training signals: pseudo-labels and raw images. MUST jointly optimizes three objectives to learn both class-level global feature and pixel-level local feature and enforces a regularization between the two. We demonstrate the efficacy of MUST on a variety of downstream tasks, where it improves upon CLIP by a large margin. MUST also outperforms supervised few-shot adaptation methods. It achieves a top-1 accuracy of 77.7% on ImageNet using ViT-B, +9.4% higher than CLIP, and +6.2% higher than 16-shot CLIP adaptation. Our code is available at https://github.com/salesforce/MUST.
Motivation & Objective
- Address the gap in zero-shot performance of CLIP-like models, which often underperforms compared to supervised models despite their scalability.
- Leverage abundant unlabeled data from downstream domains to improve pre-trained zero-shot classifiers without requiring human annotations.
- Overcome limitations of self-training (reliance on noisy pseudo-labels) and self-supervised learning (need for downstream fine-tuning) by combining both supervision signals.
- Develop a unified framework that aligns global class-level features with local pixel-level representations through a regularization objective.
- Enable practical deployment of vision models in low-resource labeling scenarios by achieving high performance with purely unsupervised adaptation.
Proposed method
- MUST performs unsupervised fine-tuning on a pre-trained zero-shot classifier (e.g., CLIP) using only unlabeled images from the target domain.
- It jointly optimizes three objectives: (1) self-training with pseudo-labels generated from a teacher model, (2) masked image modeling (MAE-style) to reconstruct masked patches, and (3) global-local feature alignment to regularize the representation learning.
- The self-training objective uses consistency regularization and entropy minimization to produce confident, sharp predictions on perturbed inputs.
- The masked image modeling objective trains the model to reconstruct missing image patches, enhancing local feature learning.
- The global-local alignment objective enforces a structural relationship between the global classification head and the local representation, improving feature quality.
- An EMA (exponential moving average) update strategy is applied to the student model’s online network to stabilize training.
Experimental results
Research questions
- RQ1Can combining pseudo-labeling and masked image modeling improve zero-shot classification performance without any labeled data?
- RQ2How does the proposed global-local feature alignment objective enhance model generalization compared to using either supervision signal alone?
- RQ3To what extent can unsupervised adaptation with MUST close the performance gap between zero-shot and fully supervised models?
- RQ4Does MUST improve robustness to distribution shift compared to standard fine-tuning or CLIP’s zero-shot performance?
- RQ5Can transductive learning with MUST further improve robustness on out-of-distribution datasets like ImageNet-R and ImageNet-A?
Key findings
- MUST achieves 77.7% top-1 accuracy on ImageNet using ViT-B, a +9.4% improvement over CLIP’s zero-shot performance.
- On the same benchmark, MUST outperforms 16-shot supervised fine-tuning of CLIP by 6.2 percentage points.
- On ImageNet-V2, MUST improves accuracy by 7.0% over CLIP, demonstrating improved generalization to natural distribution shifts.
- Transductive MUST with ImageNet warm-up achieves 87.6% accuracy on ImageNet-R, a +9.9% improvement over CLIP, showing strong robustness to distribution shift.
- Extensive ablation studies confirm that both pseudo-labeling and masked image modeling contribute significantly to performance, with the alignment objective providing additional gains.
- MUST achieves performance comparable to fully supervised methods on certain benchmarks, despite using no labeled data during adaptation.
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.