TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/A Baseline for Few-Shot Image Classification

A Baseline for Few-Shot Image Classification

Guneet S. Dhillon, Pratik Chaudhari, Avinash Ravichandran, Stefano Soatto

2019-09-06ICLR 2020 1Few-Shot LearningImage ClassificationFew-Shot Image ClassificationGeneral ClassificationClassification
PaperPDFCode(official)CodeCode

Abstract

Fine-tuning a deep network trained with the standard cross-entropy loss is a strong baseline for few-shot learning. When fine-tuned transductively, this outperforms the current state-of-the-art on standard datasets such as Mini-ImageNet, Tiered-ImageNet, CIFAR-FS and FC-100 with the same hyper-parameters. The simplicity of this approach enables us to demonstrate the first few-shot learning results on the ImageNet-21k dataset. We find that using a large number of meta-training classes results in high few-shot accuracies even for a large number of few-shot classes. We do not advocate our approach as the solution for few-shot learning, but simply use the results to highlight limitations of current benchmarks and few-shot protocols. We perform extensive studies on benchmark datasets to propose a metric that quantifies the "hardness" of a few-shot episode. This metric can be used to report the performance of few-shot algorithms in a more systematic way.

Results

TaskDatasetMetricValueModel
Image ClassificationDirichlet Mini-Imagenet (5-way, 5-shot)1:1 Accuracy74.8Entropy Minimization
Image ClassificationDirichlet Tiered-Imagenet (5-way, 5-shot)1:1 Accuracy75.5Entropy Minimization
Image ClassificationDirichlet CUB-200 (5-way, 1-shot)1:1 Accuracy67.5Entropy Minimization
Image ClassificationDirichlet Mini-Imagenet (5-way, 1-shot)1:1 Accuracy58.5Entropy Minimization
Image ClassificationDirichlet CUB-200 (5-way, 5-shot)1:1 Accuracy82.9Entropy Minimization
Image ClassificationDirichlet Tiered-Imagenet (5-way, 1-shot)1:1 Accuracy61.2Entropy Minimization
Few-Shot Image ClassificationDirichlet Mini-Imagenet (5-way, 5-shot)1:1 Accuracy74.8Entropy Minimization
Few-Shot Image ClassificationDirichlet Tiered-Imagenet (5-way, 5-shot)1:1 Accuracy75.5Entropy Minimization
Few-Shot Image ClassificationDirichlet CUB-200 (5-way, 1-shot)1:1 Accuracy67.5Entropy Minimization
Few-Shot Image ClassificationDirichlet Mini-Imagenet (5-way, 1-shot)1:1 Accuracy58.5Entropy Minimization
Few-Shot Image ClassificationDirichlet CUB-200 (5-way, 5-shot)1:1 Accuracy82.9Entropy Minimization
Few-Shot Image ClassificationDirichlet Tiered-Imagenet (5-way, 1-shot)1:1 Accuracy61.2Entropy Minimization

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Efficient Calisthenics Skills Classification through Foreground Instance Selection and Depth Estimation2025-07-16Safeguarding Federated Learning-based Road Condition Classification2025-07-16