[Paper Review] Self-Supervised Learning For Few-Shot Image Classification
This paper proposes a self-supervised learning (SSL) pre-training strategy for few-shot image classification, using a large embedding network to learn robust, transferable representations from unlabeled data before fine-tuning via meta-learning. The method achieves state-of-the-art performance on MiniImageNet and CUB, improving 1-shot accuracy by nearly 9% on CUB and 15% on cross-domain benchmarks by leveraging large-scale unlabeled data during SSL pre-training.
Few-shot image classification aims to classify unseen classes with limited labelled samples. Recent works benefit from the meta-learning process with episodic tasks and can fast adapt to class from training to testing. Due to the limited number of samples for each task, the initial embedding network for meta-learning becomes an essential component and can largely affect the performance in practice. To this end, most of the existing methods highly rely on the efficient embedding network. Due to the limited labelled data, the scale of embedding network is constrained under a supervised learning(SL) manner which becomes a bottleneck of the few-shot learning methods. In this paper, we proposed to train a more generalized embedding network with self-supervised learning (SSL) which can provide robust representation for downstream tasks by learning from the data itself. We evaluate our work by extensive comparisons with previous baseline methods on two few-shot classification datasets ({\em i.e.,} MiniImageNet and CUB) and achieve better performance over baselines. Tests on four datasets in cross-domain few-shot learning classification show that the proposed method achieves state-of-the-art results and further prove the robustness of the proposed model. Our code is available at \hyperref[https://github.com/phecy/SSL-FEW-SHOT.]{https://github.com/phecy/SSL-FEW-SHOT.}
Motivation & Objective
- To address the performance bottleneck in few-shot learning caused by overfitting in small-supervised datasets when training deep embedding networks.
- To improve the generalization and transferability of embedding networks for few-shot classification by replacing supervised pre-training with self-supervised learning (SSL).
- To investigate whether large-scale SSL pre-training enables better adaptation to unseen classes in both in-domain and cross-domain few-shot learning scenarios.
- To demonstrate that SSL pre-training allows larger, more expressive networks to be effectively used in few-shot learning, overcoming limitations of supervised fine-tuning.
Proposed method
- Pre-train a deep embedding network using self-supervised learning (SSL) on large-scale unlabeled data, with a contrastive pretext task that maximizes mutual information between augmented views of the same image.
- Use a large network architecture (e.g., ResNet-12 or wider variants) for the embedding backbone, made feasible by SSL pre-training to avoid overfitting.
- Fine-tune the pre-trained embedding network using episodic meta-learning, where each episode simulates a few-shot classification task with support and query sets.
- Apply metric learning during meta-learning by computing class centroids from support set embeddings and classifying query samples via nearest neighbor prediction in the embedding space.
- Extend the framework to cross-domain few-shot learning by transferring the SSL-learned embedding from one domain (e.g., MiniImageNet) to others (e.g., ISIC, EuroSAT) without additional fine-tuning.
- Evaluate the impact of pre-training data scale by varying the amount of unlabeled data used in the SSL phase, showing consistent performance gains.
Experimental results
Research questions
- RQ1Can self-supervised learning pre-training enable the use of larger, more powerful embedding networks in few-shot image classification without overfitting?
- RQ2How does SSL pre-training compare to supervised pre-training in terms of generalization and transferability for few-shot learning?
- RQ3Does the proposed method achieve state-of-the-art performance on standard few-shot benchmarks like MiniImageNet and CUB?
- RQ4Can the SSL-learned embedding be effectively transferred to cross-domain few-shot learning settings with domain gaps?
Key findings
- The proposed method improves 1-shot and 5-shot accuracy on MiniImageNet by nearly 3% and 4% respectively, and on CUB by nearly 9% and 3% over strong baselines.
- With increased unlabeled data during SSL pre-training, the method achieves a 15% improvement on 1-shot and 13% on 5-shot tasks in the MiniImageNet setting.
- In cross-domain few-shot learning across four datasets (ChestX, ISIC, EuroSAT, CropDiseases), the method achieves 69.69% average accuracy, surpassing the previous SOTA of 68.14%.
- The SSL pre-trained model outperforms supervised pre-training even with larger network capacity, confirming that SSL mitigates overfitting and enables better generalization.
- Direct nearest neighbor classification using the pre-trained SSL network performs poorly, demonstrating that meta-learning fine-tuning is essential for optimal few-shot performance.
- Transfer from ImageNet-pretrained SSL embedding to CUB achieves a 15% and 8% improvement on 1-shot and 5-shot tasks, confirming strong transferability.
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.