Machine learningMachine learningMachine learningAlgorithm

Self-supervised Few-shot Learning

Also known as: SSL-FSL, self-supervised meta-learning, unsupervised few-shot learning, self-supervised prototypical learning

OriginatorGidaris, S. et al.; Su, J.-C. et al. (concurrent seminal works)Year2019Sources2Related methods3

Self-supervised Few-shot Learning (SSL-FSL) combines self-supervised pretraining on large unlabeled corpora with few-shot meta-learning so that a model can recognize new categories from only a handful of labeled examples. By learning rich, transferable representations without expensive annotation, SSL-FSL addresses the fundamental bottleneck of supervised few-shot methods: the need for labeled support data at scale.

Key highlights

  • Leverages abundant unlabeled data, drastically reducing dependence on expensive labeled examples.
  • Self-supervised pretraining produces rich, generalizable representations that transfer well across novel categories.
  • Naturally compatible with contrastive and generative SSL frameworks (SimCLR, BYOL, MAE), enabling plug-and-play backbone upgrades.
  • Reduces overfitting risk in few-shot regimes by initializing from a well-regularized pretrained state.
  • Applicable across modalities — images, text, audio, and graphs — wherever unlabeled data is abundant.
  • Can be combined with meta-learning algorithms (Prototypical Networks, MAML) for further gains.

Intuition

This section is available to Pro members. Upgrade to Pro

How it works

This section is available to Pro members. Upgrade to Pro

When to use it

Use SSL-FSL when labeled data is extremely scarce (5–20 examples per class) but unlabeled data is plentiful, such as in medical imaging, rare-event detection, or novel-category recognition. It is ideal when annotation cost is prohibitive. Avoid SSL-FSL when you have abundant labeled data — standard supervised learning will outperform it. Also avoid it when computational resources for large-scale pretraining are unavailable, or when the unlabeled pool is small, out-of-domain, or low-quality relative to the target task.

Strengths & limitations

Strengths
  • Leverages abundant unlabeled data, drastically reducing dependence on expensive labeled examples.
  • Self-supervised pretraining produces rich, generalizable representations that transfer well across novel categories.
  • Naturally compatible with contrastive and generative SSL frameworks (SimCLR, BYOL, MAE), enabling plug-and-play backbone upgrades.
  • Reduces overfitting risk in few-shot regimes by initializing from a well-regularized pretrained state.
  • Applicable across modalities — images, text, audio, and graphs — wherever unlabeled data is abundant.
  • Can be combined with meta-learning algorithms (Prototypical Networks, MAML) for further gains.
Limitations
  • Pretraining on large unlabeled corpora is computationally expensive and memory-intensive.
  • Performance degrades when the unlabeled pretraining domain is mismatched with the target few-shot domain.
  • Choosing effective SSL auxiliary tasks for non-vision modalities is non-trivial and task-specific.
  • Evaluation is sensitive to episode construction protocol; results can be hard to compare across papers.
  • Offers no interpretable coefficients; explaining individual predictions requires additional post-hoc tools.

Common pitfalls

This section is available to Pro members. Upgrade to Pro

Applications

This section is available to Pro members. Upgrade to Pro

Frequently asked

How does SSL-FSL differ from standard transfer learning?

Standard transfer learning fine-tunes a pretrained model on a (typically larger) labeled target dataset. SSL-FSL specifically targets scenarios where only a handful of labeled examples per class exist at test time, and it explicitly trains or evaluates using episodic protocols that simulate this constraint.

Which self-supervised objectives work best for few-shot learning?

Contrastive objectives (SimCLR, MoCo, BYOL) generally produce the strongest transferable representations for visual few-shot tasks. For language, masked language modeling (BERT-style) backbones are standard. The best choice depends on the modality and available compute.

Do I need a meta-learning algorithm on top of self-supervised pretraining?

Not always. Several works show that a strong self-supervised backbone with a simple nearest-centroid classifier can match or exceed sophisticated meta-learners. Meta-learning adds value when the distribution shift between base and novel classes is large.

How should I report results for SSL-FSL experiments?

Report the backbone architecture, SSL objective, pretraining dataset, episode configuration (N-way K-shot), number of test episodes, and 95% confidence intervals. Comparing against a supervised pretrained baseline is essential to isolate the contribution of self-supervision.

Is SSL-FSL suitable when I have no unlabeled data at all?

No. If no unlabeled data is available from the target domain or a related domain, the SSL pretraining step provides no benefit. In that case, standard few-shot methods with a supervised pretrained backbone on a large external dataset (e.g., ImageNet) are a more practical starting point.

Sources

  1. 1.
    Gidaris, S., Bursuc, A., Komodakis, N., Perez, P., & Cord, M. (2019). Boosting Few-Shot Visual Learning with Self-Supervision. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 8059–8068.
  2. 2.
    Su, J.-C., Maji, S., & Hariharan, B. (2020). When Does Self-Supervision Improve Few-Shot Learning? European Conference on Computer Vision (ECCV), Lecture Notes in Computer Science, vol 12371, 645–660.

You have read it. What now?

Cite this page

ScholarGate. (2026, June 3). Self-supervised Few-shot Learning. ScholarGate. https://scholargate.app/machine-learning/self-supervised-few-shot-learning