[Paper Review] Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Difference
This paper investigates the impact of pre-training, meta-training, and fine-tuning in simple few-shot learning pipelines using ProtoNet. It demonstrates that external data (e.g., DINO, CLIP, ImageNet-21k) and fine-tuning significantly improve performance across Meta-Dataset, miniImageNet, and CIFAR-FS, with supervised pre-training on ImageNet-1k yielding state-of-the-art results on multiple benchmarks.
Few-shot learning (FSL) is an important and topical problem in computer vision that has motivated extensive research into numerous methods spanning from sophisticated meta-learning methods to simple transfer learning baselines. We seek to push the limits of a simple-but-effective pipeline for more realistic and practical settings of few-shot image classification. To this end, we explore few-shot learning from the perspective of neural network architecture, as well as a three stage pipeline of network updates under different data supplies, where unsupervised external data is considered for pre-training, base categories are used to simulate few-shot tasks for meta-training, and the scarcely labelled data of an novel task is taken for fine-tuning. We investigate questions such as: (1) How pre-training on external data benefits FSL? (2) How state-of-the-art transformer architectures can be exploited? and (3) How fine-tuning mitigates domain shift? Ultimately, we show that a simple transformer-based pipeline yields surprisingly good performance on standard benchmarks such as Mini-ImageNet, CIFAR-FS, CDFSL and Meta-Dataset. Our code and demo are available at https://hushell.github.io/pmf.
Motivation & Objective
- To evaluate the effectiveness of simple pipelines combining pre-training, meta-training, and fine-tuning in few-shot learning.
- To investigate how different pre-training methods (e.g., DINO, CLIP, supervised) affect few-shot generalization.
- To analyze the impact of fine-tuning hyper-parameters on model performance.
- To assess whether high-quality feature representations from self-supervised pre-training can serve as strong initializations for meta-learning.
- To compare performance across in-domain and out-of-domain few-shot benchmarks using diverse backbones and pre-training strategies.
Proposed method
- The pipeline follows the P > M > F framework: pre-training (P), meta-training with ProtoNet (M), and fine-tuning (F) on support sets.
- Pre-training is performed using DINO, BEiT, CLIP, and supervised methods on ImageNet-1k and ImageNet-21k.
- Meta-training uses ProtoNet with support set embeddings computed via the backbone network.
- Fine-tuning is applied during inference using a learning rate, number of steps, and data augmentation probability as hyper-parameters.
- T-SNE visualization is used to analyze feature space quality before and after meta-training.
- Ablation studies are conducted on fine-tuning hyper-parameters, including learning rate, gradient steps, and data augmentation probability.
Experimental results
Research questions
- RQ1How do different pre-training methods (e.g., DINO, CLIP, supervised) affect few-shot learning performance on Meta-Dataset?
- RQ2What is the impact of fine-tuning hyper-parameters—learning rate, number of steps, and data augmentation—on few-shot generalization?
- RQ3Can self-supervised pre-training (e.g., DINO) produce high-quality feature representations that improve ProtoNet performance?
- RQ4How does performance vary between in-domain and out-of-domain few-shot benchmarks?
- RQ5Does supervised pre-training on ImageNet-1k outperform other pre-training methods in few-shot learning?
Key findings
- Supervised pre-training on ImageNet-1k (Sup1k) achieves the highest average accuracy of 99.2% on miniImageNet (5-way, 1-shot) and 99.8% on 5-way, 5-shot.
- BEiT + Sup21k pre-training yields 97.5% accuracy on CIFAR-FS (5-way, 5-shot), outperforming DINO and CLIP.
- CLIP pre-training with ViT-base achieves 70.89% average accuracy on Meta-Dataset after meta-training, significantly outperforming DINO and BEiT.
- Fine-tuning with a learning rate of 0.001 and 50 gradient steps achieves optimal performance, with data augmentation probability of 0.9 being most effective.
- T-SNE visualization confirms that DINO pre-training produces well-separated semantic clusters across domains like CUB, Aircraft, and Omniglot, even without ImageNet similarity.
- Without pre-training, ProtoNet achieves only 52.8% average accuracy on Meta-Dataset, highlighting the importance of strong initialization.
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.