Command Palette
Search for a command to run...
SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learning
Yan Wang Wei-Lun Chao Kilian Q. Weinberger Laurens van der Maaten

Abstract
Few-shot learners aim to recognize new object classes based on a small number of labeled training examples. To prevent overfitting, state-of-the-art few-shot learners use meta-learning on convolutional-network features and perform classification using a nearest-neighbor classifier. This paper studies the accuracy of nearest-neighbor baselines without meta-learning. Surprisingly, we find simple feature transformations suffice to obtain competitive few-shot learning accuracies. For example, we find that a nearest-neighbor classifier used in combination with mean-subtraction and L2-normalization outperforms prior results in three out of five settings on the miniImageNet dataset.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| few-shot-image-classification-on-dirichlet | Simpleshot | 1:1 Accuracy: 63.0 |
| few-shot-image-classification-on-dirichlet-1 | Simpleshot | 1:1 Accuracy: 80.1 |
| few-shot-image-classification-on-dirichlet-2 | Simpleshot | 1:1 Accuracy: 69.6 |
| few-shot-image-classification-on-dirichlet-3 | Simpleshot | 1:1 Accuracy: 84.7 |
| few-shot-image-classification-on-dirichlet-4 | Simpleshot | 1:1 Accuracy: 70.6 |
| few-shot-image-classification-on-dirichlet-5 | Simpleshot | 1:1 Accuracy: 87.5 |
| few-shot-image-classification-on-mini-2 | SimpleShot (CL2N-DenseNet) | Accuracy: 64.29 |
| few-shot-image-classification-on-mini-3 | SimpleShot (CL2N-DenseNet) | Accuracy: 81.5 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.