Skip to main content
QUICK REVIEW

[Paper Review] Few-Shot Image Classification via Contrastive Self-Supervised Learning

Jianyi Li, Guizhong Liu|arXiv (Cornell University)|Aug 23, 2020
Domain Adaptation and Few-Shot LearningComputer Science4 references10 citations
TL;DR

This paper proposes a novel unsupervised few-shot learning paradigm, CSSL-FSL, that replaces meta-training with contrastive self-supervised learning to pre-train a generalizable feature extractor. It then trains a task-specific classifier using graph aggregation, self-distillation, and manifold augmentation, achieving state-of-the-art performance across diverse few-shot settings without requiring labeled base classes or task-specific meta-training.

ABSTRACT

Most previous few-shot learning algorithms are based on meta-training with fake few-shot tasks as training samples, where large labeled base classes are required. The trained model is also limited by the type of tasks. In this paper we propose a new paradigm of unsupervised few-shot learning to repair the deficiencies. We solve the few-shot tasks in two phases: meta-training a transferable feature extractor via contrastive self-supervised learning and training a classifier using graph aggregation, self-distillation and manifold augmentation. Once meta-trained, the model can be used in any type of tasks with a task-dependent classifier training. Our method achieves state of-the-art performance in a variety of established few-shot tasks on the standard few-shot visual classification datasets, with an 8- 28% increase compared to the available unsupervised few-shot learning methods.

Motivation & Objective

  • Address the limitations of existing few-shot learning methods that require large labeled base classes for meta-training.
  • Overcome the constraint that meta-trained models are limited to specific N-way k-shot task configurations.
  • Develop a unified, transferable feature extractor that generalizes across diverse few-shot task types without retraining.
  • Enable high-performance few-shot classification using only unlabeled data during pretraining and minimal supervision during fine-tuning.

Proposed method

  • Pre-train a feature extractor using contrastive self-supervised learning on a large set of unlabeled images, replacing traditional meta-training with fake few-shot tasks.
  • Use the pre-trained backbone to extract features from both support and query sets in a real few-shot task.
  • Apply a task-specific graph to aggregate features, enabling interaction between support and query features through graph convolutional operations.
  • Train a fully connected classifier on the aggregated support features using self-distillation to improve generalization.
  • Apply manifold data augmentation to synthesize new training samples by combining semantic features from multiple images.
  • Fine-tune the classifier using a two-stage training process: first with augmented data, then with self-distillation to refine predictions.

Experimental results

Research questions

  • RQ1Can contrastive self-supervised learning replace meta-training with fake few-shot tasks to pre-train a generalizable feature extractor?
  • RQ2Does a single pre-trained model generalize effectively across multiple N-way k-shot task configurations without retraining?
  • RQ3How do self-distillation and manifold augmentation contribute to improving few-shot classification accuracy?
  • RQ4Can unsupervised pretraining achieve performance comparable to or better than supervised few-shot methods that rely on large labeled base classes?

Key findings

  • CSSL-FSL achieves state-of-the-art performance on miniImageNet, improving unsupervised few-shot learning methods by 8–28% in accuracy.
  • On 5-way 1-shot and 5-way 5-shot tasks, CSSL-FSL outperforms even some supervised methods like [5] and [2] by 1–8% when pre-trained on large datasets.
  • The method generalizes across task types: accuracy increases from 54.17% (1-shot) to 80.83% (30-shot), while EGNN, a meta-training-based method, degrades at higher k values.
  • Self-distillation improves accuracy by 0.4–0.9%, and manifold augmentation contributes an additional 0.8–2% gain, with ablation showing a 3% drop when both are removed in 1-shot settings.
  • Performance improves significantly with larger pretraining datasets, confirming the scalability of contrastive self-supervised learning.
  • The model achieves strong zero-shot generalization: one pretraining phase enables deployment on any N-way k-shot task without retraining.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.