Papers › Self-Supervision Can Be a Good Few-Shot Learner

Self-Supervision Can Be a Good Few-Shot Learner

19 Jul 2022arXiv:2207.09176archive 2025-07-28

Yuning Lu, Liangjian Wen, Jianzhuang Liu, Yajing Liu, Xinmei Tian

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2207.09176")

Code

Syntology Ran 3 of 10 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 3 ran; community (archive-listed): 2 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bbbdylan/unisiam officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 3 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran
7unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv1x1 bbbdylan/unisiam/model/resnet.py official repository ran · our draft was wrong MIT (permissive) · 2a80220dabcb742a · report
conv3x3 bbbdylan/unisiam/model/resnet.py official repository ran · our draft was wrong MIT (permissive) · 600ff2c45e0de056 · report
translate_x_rel bbbdylan/unisiam/transform/rand_augmentation.py official repository ran MIT (permissive) · a4b471197204b414 · report
accuracy bbbdylan/unisiam/util.py official repository unverified MIT (permissive) · 913d82af53065418 · report
build_transform bbbdylan/unisiam/transform/build_transform.py official repository unverified MIT (permissive) · 830d602b5d97e75d · report
resnet10 bbbdylan/unisiam/model/resnet.py official repository unverified MIT (permissive) · b8f8a709e70fae66 · report
shear_x bbbdylan/unisiam/transform/rand_augmentation.py official repository unverified MIT (permissive) · 7b4e3d0bd192b677 · report
shear_y bbbdylan/unisiam/transform/rand_augmentation.py official repository unverified MIT (permissive) · e31c4b500a240e69 · report
sigmoid yangyucheng000/MSpaper/UNet3+/eval_onnx.py community (archive-listed) unverified Apache-2.0 (permissive) · 71f6b54bb153195b · report
sigmoid yangyucheng000/MSpaper/UNet3+/postprocess.py community (archive-listed) unverified Apache-2.0 (permissive) · 35f8386d0382d374 · report

Tasks

Few-Shot Image ClassificationFew-Shot LearningUnsupervised Few-Shot Image ClassificationUnsupervised Few-Shot Learningcross-domain few-shot learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Few-Shot Image Classification Mini-Imagenet 5-way (1-shot) UniSiam Accuracy 65.55 #54 of 105 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (5-shot) UniSiam Accuracy 83.40 #35 of 95 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (1-shot) UniSiam Accuracy 69.60 #34 of 49 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (5-shot) UniSiam Accuracy 86.51 #26 of 51 Archive leaderboard report
Unsupervised Few-Shot Image Classification Mini-Imagenet 5-way (1-shot) UniSiam Accuracy 65.55 #3 of 28 Archive leaderboard report
Unsupervised Few-Shot Image Classification Mini-Imagenet 5-way (5-shot) UniSiam Accuracy 83.40 #3 of 28 Archive leaderboard report
Unsupervised Few-Shot Image Classification Tiered ImageNet 5-way (1-shot) UniSiam Accuracy 69.60 #2 of 12 Archive leaderboard report
Unsupervised Few-Shot Image Classification Tiered ImageNet 5-way (5-shot) UniSiam Accuracy 86.51 #2 of 12 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections