HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learning

Yan Wang Wei-Lun Chao Kilian Q. Weinberger Laurens van der Maaten

SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learning

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

yhu01/PT-MAP
pytorch
Mentioned in GitHub
yhu01/bms
pytorch
Mentioned in GitHub
mileyan/simple_shot
Official
pytorch
Mentioned in GitHub
mbonto/fewshot_generalization
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-image-classification-on-dirichletSimpleshot
1:1 Accuracy: 63.0
few-shot-image-classification-on-dirichlet-1Simpleshot
1:1 Accuracy: 80.1
few-shot-image-classification-on-dirichlet-2Simpleshot
1:1 Accuracy: 69.6
few-shot-image-classification-on-dirichlet-3Simpleshot
1:1 Accuracy: 84.7
few-shot-image-classification-on-dirichlet-4Simpleshot
1:1 Accuracy: 70.6
few-shot-image-classification-on-dirichlet-5Simpleshot
1:1 Accuracy: 87.5
few-shot-image-classification-on-mini-2SimpleShot (CL2N-DenseNet)
Accuracy: 64.29
few-shot-image-classification-on-mini-3SimpleShot (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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learning | Papers | HyperAI