Papers › A Closer Look at Few-shot Classification

A Closer Look at Few-shot Classification

8 Apr 2019ICLR 2019 5arXiv:1904.04232archive 2025-07-28

Wei-Yu Chen, Yen-Cheng Liu, Zsolt Kira, Yu-Chiang Frank Wang, Jia-Bin Huang

Few-shot classification aims to learn a classifier to recognize unseen classes during training with limited labeled examples. While significant progress has been made, the growing complexity of network designs, meta-learning algorithms, and differences in implementation details make a fair comparison difficult. In this paper, we present 1) a consistent comparative analysis of several representative few-shot classification algorithms, with results showing that deeper backbones significantly reduce the performance differences among methods on datasets with limited domain differences, 2) a modified baseline method that surprisingly achieves competitive performance when compared with the state-of-the-art on both the \miniI and the CUB datasets, and 3) a new experimental setting for evaluating the cross-domain generalization ability for few-shot classification algorithms. Our results reveal that reducing intra-class variation is an important factor when the feature backbone is shallow, but not as critical when using deeper backbones. In a realistic cross-domain evaluation setting, we show that a baseline method with a standard fine-tuning practice compares favorably against other state-of-the-art few-shot learning algorithms.

PaperPDFConference PDFCodeCode 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="1904.04232")

Code

Syntology Ran 7 of 8 code samples harvested from 4 repositories linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: community (archive-listed): 6 samples from 4 repositories, 5 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

13 repositories listed; official and paper-mentioned ones first.

wyharveychen/CloserLookFewShot officialmentioned in papermentioned on GitHubpytorchNOASSERTION report
Lieberk/Paddle-FSL-Baseline mentioned on GitHubpaddleNOASSERTION report
anujinho/trident mentioned on GitHubpytorchMIT report
caesarea38/doclangid mentioned on GitHubpytorch report
cyvius96/few-shot-meta-baseline mentioned on GitHubpytorchMIT report
hu-my/taskattributedistance mentioned on GitHubpytorch report
tjujianyu/rrl mentioned on GitHubpytorch report
vinuni-vishc/few-shot-transformer mentioned on GitHubpytorchNOASSERTION report
yinboc/few-shot-meta-baseline mentioned on GitHubpytorch report
neverCV/Baseline_FSL paddleAGPL-3.0 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

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

1ran · honoured contract
1ran · violated contract
4ran · our draft was wrong
1ran · fixture could not drive it
1unverified

Licence: 7 of the 8 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 4 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

change_model vinuni-vishc/Few-Shot-Cosine-Transformer/train_test.py community (archive-listed) ran · our draft was wrong fingerprinted licence not identified · pointer only · 021c112dc2125292 · report
direct_test vinuni-vishc/Few-Shot-Cosine-Transformer/train_test.py community (archive-listed) ran · honoured contract licence not identified · pointer only · 5c27b393f7f2a9a1 · report
mean_confidence_interval yinboc/few-shot-meta-baseline/test_few_shot.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · 3233bdb56ef8b4da · report
train vinuni-vishc/Few-Shot-Cosine-Transformer/train_test.py community (archive-listed) ran · our draft was wrong licence not identified · pointer only · 55beb8cfed8198d9 · report
transform_model_input_data_type tjujianyu/rrl/src/models.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · 70cf13356ae5b0bd · report
feature_evaluation_with_dists hu-my/taskattributedistance/plot_distance_acc.py community (archive-listed) unverified no licence file found · pointer only · 5290c92ce05cddca · report
conv1x1 identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · d9def42110729a85 · report
conv3x3 identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 160bb14bd76201b4 · report

Tasks

Domain GeneralizationFew-Shot LearningGeneral Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Few-Shot Image Classification Dirichlet CUB-200 (5-way, 1-shot) Baseline++ 1:1 Accuracy 69.4 #6 of 8 Archive leaderboard report
Few-Shot Image Classification Dirichlet CUB-200 (5-way, 5-shot) Baseline++ 1:1 Accuracy 87.5 #5 of 8 Archive leaderboard report
Few-Shot Image Classification Dirichlet Mini-Imagenet (5-way, 1-shot) Baseline ++ 1:1 Accuracy 60.4 #7 of 12 Archive leaderboard report
Few-Shot Image Classification Dirichlet Mini-Imagenet (5-way, 5-shot) Baseline++ 1:1 Accuracy 79.7 #6 of 12 Archive leaderboard report
Few-Shot Image Classification Dirichlet Tiered-Imagenet (5-way, 1-shot) Baseline++ 1:1 Accuracy 68.0 #7 of 9 Archive leaderboard report
Few-Shot Image Classification Dirichlet Tiered-Imagenet (5-way, 5-shot) Baseline++ 1:1 Accuracy 84.2 #7 of 9 Archive leaderboard report
Few-Shot Image Classification Mini-ImageNet-CUB 5-way (1-shot) Baseline++ (Chen et al., 2019) Accuracy 33.04 #12 of 12 Archive leaderboard report
Few-Shot Image Classification Mini-ImageNet-CUB 5-way (5-shot) Baseline++ (Chen et al., 2019) Accuracy 62.04 #6 of 8 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