Papers › Enhancing Few-Shot Image Classification with Unlabelled Examples

Enhancing Few-Shot Image Classification with Unlabelled Examples

17 Jun 2020arXiv:2006.12245archive 2025-07-28

Peyman Bateni, Jarred Barber, Jan-Willem van de Meent, Frank Wood

We develop a transductive meta-learning method that uses unlabelled instances to improve few-shot image classification performance. Our approach combines a regularized Mahalanobis-distance-based soft k-means clustering procedure with a modified state of the art neural adaptive feature extractor to achieve improved test-time classification accuracy using unlabelled data. We evaluate our method on transductive few-shot learning tasks, in which the goal is to jointly predict labels for query (test) examples given a set of support (training) examples. We achieve state of the art performance on the Meta-Dataset, mini-ImageNet and tiered-ImageNet benchmarks. All trained models and code have been made publicly available at github.com/plai-group/simple-cnaps.

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="2006.12245")

Code

Syntology Ran 3 of 9 code samples harvested from 2 repositories linked to this paper; 6 have no recorded run. Of those that ran: 3 ran · our draft was wrong.

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

plai-group/simple-cnaps officialmentioned in papermentioned on GitHubtfMIT report
peymanbateni/simple-cnaps mentioned 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

9 samples harvested; 3 ran; 0 honoured the contract we drafted; 6 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.

3ran · our draft was wrong
6unverified

Licence: 0 of the 9 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 plai-group/simple-cnaps/simple-cnaps-src/resnet.py official repository ran · our draft was wrong MIT (permissive) · d9def42110729a85 · report
conv3x3 plai-group/simple-cnaps/simple-cnaps-src/resnet.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
get_log_files plai-group/simple-cnaps/simple-cnaps-src/utils.py official repository unverified MIT (permissive) · a0a71c5e26f32acd · report
mean_pooling plai-group/simple-cnaps/simple-cnaps-src/set_encoder.py official repository unverified MIT (permissive) · 083d7c12137fe0b7 · report
process_cifar plai-group/simple-cnaps/simple-cnaps-src/prepare_extra_datasets.py official repository unverified MIT (permissive) · aa122878d6a7b1b3 · report
process_mnist plai-group/simple-cnaps/simple-cnaps-src/prepare_extra_datasets.py official repository unverified MIT (permissive) · b3b6db52dd02d932 · report
resnet18 plai-group/simple-cnaps/simple-cnaps-src/resnet.py official repository unverified MIT (permissive) · b41f7957e4db84e3 · report
stack_first_dim plai-group/simple-cnaps/simple-cnaps-src/utils.py official repository unverified MIT (permissive) · 70f3ccf89a0a79b7 · report
split_first_dim_linear peymanbateni/simple-cnaps/simple-cnaps-src/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 36faaa70bb298474 · report

Tasks

ClassificationClusteringFew-Shot Image ClassificationFew-Shot LearningGeneral ClassificationImage ClassificationMeta-LearningObject Recognitionimage-classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Few-Shot Image Classification Meta-Dataset Transductive CNAPS Accuracy 70.32 #11 of 22 Archive leaderboard report
Few-Shot Image Classification Meta-Dataset Rank Transductive CNAPS Mean Rank 3.05 #2 of 13 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 10-way (1-shot) Transductive CNAPS + FETI Accuracy 68.5 #1 of 14 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 10-way (1-shot) Transductive CNAPS Accuracy 42.8 #4 of 14 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 10-way (5-shot) Transductive CNAPS + FETI Accuracy 85.9 #1 of 14 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 10-way (5-shot) Transductive CNAPS Accuracy 59.6 #4 of 14 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (1-shot) Transductive CNAPS + FETI Accuracy 79.9 #14 of 105 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (1-shot) Transductive CNAPS Accuracy 55.6 #84 of 105 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (5-shot) Transductive CNAPS + FETI Accuracy 91.5 #7 of 95 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (5-shot) Transductive CNAPS Accuracy 73.1 #73 of 95 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 10-way (1-shot) Transductive CNAPS + FETI Accuracy 65.1 #1 of 13 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 10-way (1-shot) Transductive CNAPS Accuracy 54.6 #3 of 13 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 10-way (5-shot) Transductive CNAPS + FETI Accuracy 80.6 #1 of 13 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 10-way (5-shot) Transductive CNAPS Accuracy 72.5 #3 of 13 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (1-shot) Transductive CNAPS + FETI Accuracy 73.8 #22 of 49 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (1-shot) Transductive CNAPS Accuracy 65.9 #42 of 49 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (5-shot) Transductive CNAPS + FETI Accuracy 87.7 #18 of 51 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (5-shot) Transductive CNAPS Accuracy 81.8 #41 of 51 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.

Methods

k-Means Clustering

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