[Paper Review] Self-Supervised Prototypical Transfer Learning for Few-Shot Classification
This paper proposes ProtoTransfer, a self-supervised prototypical transfer learning method for few-shot classification that pre-trains a metric embedding by clustering unlabeled images and their augmentations around prototypical centers. It achieves state-of-the-art performance among unsupervised meta-learning methods on mini-ImageNet and competitive results with supervised methods—using orders of magnitude fewer labels—by enabling large-scale pre-training and parametric fine-tuning without episode-based meta-learning.
Most approaches in few-shot learning rely on costly annotated data related to the goal task domain during (pre-)training. Recently, unsupervised meta-learning methods have exchanged the annotation requirement for a reduction in few-shot classification performance. Simultaneously, in settings with realistic domain shift, common transfer learning has been shown to outperform supervised meta-learning. Building on these insights and on advances in self-supervised learning, we propose a transfer learning approach which constructs a metric embedding that clusters unlabeled prototypical samples and their augmentations closely together. This pre-trained embedding is a starting point for few-shot classification by summarizing class clusters and fine-tuning. We demonstrate that our self-supervised prototypical transfer learning approach ProtoTransfer outperforms state-of-the-art unsupervised meta-learning methods on few-shot tasks from the mini-ImageNet dataset. In few-shot experiments with domain shift, our approach even has comparable performance to supervised methods, but requires orders of magnitude fewer labels.
Motivation & Objective
- Address the high annotation cost of supervised few-shot learning by reducing reliance on labeled data during pre-training.
- Overcome the performance gap of unsupervised meta-learning methods by leveraging large-scale self-supervised pre-training with prototypical clustering.
- Enable effective transfer learning in cross-domain few-shot settings where domain shift reduces performance of standard meta-learning approaches.
- Demonstrate that non-episodic, self-supervised transfer learning can match supervised methods when combined with parametric fine-tuning and large-scale base class pre-training.
- Establish a new paradigm for few-shot learning that decouples pre-training from episodic meta-learning, enabling scalable and efficient adaptation to novel classes.
Proposed method
- Pre-train a neural embedding using a self-supervised contrastive loss that pulls together multiple augmented views of the same image and pushes them away from other images.
- Define class prototypes as the mean of embedded support examples during inference, following the prototypical network (ProtoNet) approach for nearest-neighbor classification.
- Use a pairwise distance loss inspired by prototypical loss and contrastive learning to cluster augmented views of the same image around the original image embedding.
- Apply parametric fine-tuning to the entire network (or just the final layer) on few-shot support sets using standard cross-entropy optimization.
- Train on a large set of base classes without labels, using only image augmentations to create positive pairs for contrastive learning.
- Transfer the pre-trained embedding to few-shot classification tasks by summarizing support sets into class prototypes and classifying queries via cosine similarity.
Experimental results
Research questions
- RQ1Can self-supervised pre-training with prototypical clustering outperform existing unsupervised meta-learning methods in few-shot classification?
- RQ2Does a non-episodic, transfer learning approach with large-scale base class pre-training surpass episodic meta-learning in cross-domain few-shot settings?
- RQ3To what extent can self-supervised pre-training reduce the need for labeled data while maintaining performance comparable to fully supervised methods?
- RQ4How does the scale of base classes and the use of parametric fine-tuning affect performance in few-shot learning under domain shift?
- RQ5Can a self-supervised prototypical loss be effectively used to learn discriminative representations without supervision during pre-training?
Key findings
- ProtoTransfer outperforms state-of-the-art unsupervised meta-learning methods by 4% to 8% on mini-ImageNet for 5-way 1-shot and 5-shot classification tasks.
- On the CDFSL benchmark with domain shift, ProtoTransfer achieves performance comparable to fully supervised methods, despite requiring no labels during pre-training.
- The ablation study confirms that using a larger number of base classes than typically used in episodic meta-learning significantly improves few-shot generalization.
- Parametric fine-tuning of the backbone network, rather than only fine-tuning the final layer, is crucial for matching supervised performance on cross-domain tasks.
- The method achieves strong results on Omniglot, demonstrating generalization beyond ImageNet-style datasets.
- t-SNE visualizations show that the self-supervised pre-training produces well-separated, class-consistent clusters in the embedding space, validating the effectiveness of the prototypical clustering objective.
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.