Yan Wang, Wei-Lun Chao, Kilian Q. Weinberger, Laurens van der Maaten
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.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Image Classification | Dirichlet Mini-Imagenet (5-way, 5-shot) | 1:1 Accuracy | 80.1 | Simpleshot |
| Image Classification | Dirichlet Tiered-Imagenet (5-way, 5-shot) | 1:1 Accuracy | 84.7 | Simpleshot |
| Image Classification | Mini-Imagenet 5-way (5-shot) | Accuracy | 81.5 | SimpleShot (CL2N-DenseNet) |
| Image Classification | Dirichlet CUB-200 (5-way, 1-shot) | 1:1 Accuracy | 70.6 | Simpleshot |
| Image Classification | Dirichlet Mini-Imagenet (5-way, 1-shot) | 1:1 Accuracy | 63 | Simpleshot |
| Image Classification | Mini-Imagenet 5-way (1-shot) | Accuracy | 64.29 | SimpleShot (CL2N-DenseNet) |
| Image Classification | Dirichlet CUB-200 (5-way, 5-shot) | 1:1 Accuracy | 87.5 | Simpleshot |
| Image Classification | Dirichlet Tiered-Imagenet (5-way, 1-shot) | 1:1 Accuracy | 69.6 | Simpleshot |
| Few-Shot Image Classification | Dirichlet Mini-Imagenet (5-way, 5-shot) | 1:1 Accuracy | 80.1 | Simpleshot |
| Few-Shot Image Classification | Dirichlet Tiered-Imagenet (5-way, 5-shot) | 1:1 Accuracy | 84.7 | Simpleshot |
| Few-Shot Image Classification | Mini-Imagenet 5-way (5-shot) | Accuracy | 81.5 | SimpleShot (CL2N-DenseNet) |
| Few-Shot Image Classification | Dirichlet CUB-200 (5-way, 1-shot) | 1:1 Accuracy | 70.6 | Simpleshot |
| Few-Shot Image Classification | Dirichlet Mini-Imagenet (5-way, 1-shot) | 1:1 Accuracy | 63 | Simpleshot |
| Few-Shot Image Classification | Mini-Imagenet 5-way (1-shot) | Accuracy | 64.29 | SimpleShot (CL2N-DenseNet) |
| Few-Shot Image Classification | Dirichlet CUB-200 (5-way, 5-shot) | 1:1 Accuracy | 87.5 | Simpleshot |
| Few-Shot Image Classification | Dirichlet Tiered-Imagenet (5-way, 1-shot) | 1:1 Accuracy | 69.6 | Simpleshot |