A Baseline for Few-Shot Image Classification
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Few-shot classification | tieredImageNet (test) | Accuracy85.5 | 282 | |
| Few-shot Image Classification | Mini-Imagenet (test) | Accuracy78.4 | 235 | |
| 5-way Classification | miniImageNet (test) | -- | 231 | |
| Image Classification | ImageNet | Accuracy61.8 | 184 | |
| Few-shot classification | Mini-ImageNet | 1-shot Acc65.7 | 175 | |
| 5-way Few-shot Classification | MiniImagenet | Accuracy (5-shot)78.4 | 150 | |
| 5-way Few-shot Classification | Mini-Imagenet (test) | 1-shot Accuracy68.11 | 141 | |
| Few-shot classification | miniImageNet standard (test) | -- | 138 | |
| 5-way Image Classification | tieredImageNet 5-way (test) | 1-shot Acc73.34 | 117 | |
| Few-shot Image Classification | miniImageNet (test) | Accuracy78.63 | 111 |