Self-Supervision Can Be a Good Few-Shot Learner

Yuning Lu, Liangjian Wen, Jianzhuang Liu, Yajing Liu, Xinmei Tian
7/19/2022
cs.CV

No official code found. Best implementation: bbbdylan/unisiam (37 stars, MIT, PyTorch, last commit 2023-03-20).

Abstract

Existing few-shot learning (FSL) methods rely on training with a large labeled dataset, which prevents them from leveraging abundant unlabeled data. From an information-theoretic perspective, we propose an effective unsupervised FSL method, learning representations with self-supervision. Following the InfoMax principle, our method learns comprehensive representations by capturing the intrinsic structure of the data. Specifically, we maximize the mutual information (MI) of instances and their representations with a low-bias MI estimator to perform self-supervised pre-training. Rather than supervised pre-training focusing on the discriminable features of the seen classes, our self-supervised model has less bias toward the seen classes, resulting in better generalization for unseen classes. We explain that supervised pre-training and self-supervised pre-training are actually maximizing different MI objectives. Extensive experiments are further conducted to analyze their FSL performance with various training settings. Surprisingly, the results show that self-supervised pre-training can outperform supervised pre-training under the appropriate conditions. Compared with state-of-the-art FSL methods, our approach achieves comparable performance on widely used FSL benchmarks without any labels of the base classes.

View on arXivView PDF

Code Implementations(1)

bbbdylan/unisiamCommunity100%
PyTorchMIT

[ECCV2022] PyTorch re-implementation of Self-Supervision Can Be a Good Few-Shot Learner

378Shell, PythonJul 19, 20223 years agoMIT
eccv2022few-shot-classificationfew-shot-learningpytorchself-supervised-learning+1 more

Cite this paper

@article{lu2022selfsupervision,
  title  = {Self-Supervision Can Be a Good Few-Shot Learner},
  author = {Yuning Lu and Liangjian Wen and Jianzhuang Liu and Yajing Liu and Xinmei Tian},
  year   = {2022},
  eprint = {2207.09176},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.09176v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.09176.svg)](https://codeofpaper.com/paper/2207.09176)

Discussion