HyperAIHyperAI

Command Palette

Search for a command to run...

a month ago

Prototypical Networks for Few-shot Learning

Snell Jake Swersky Kevin Zemel Richard S.

Prototypical Networks for Few-shot Learning

Abstract

We propose prototypical networks for the problem of few-shot classification,where a classifier must generalize to new classes not seen in the training set,given only a small number of examples of each new class. Prototypical networkslearn a metric space in which classification can be performed by computingdistances to prototype representations of each class. Compared to recentapproaches for few-shot learning, they reflect a simpler inductive bias that isbeneficial in this limited-data regime, and achieve excellent results. Weprovide an analysis showing that some simple design decisions can yieldsubstantial improvements over recent approaches involving complicatedarchitectural choices and meta-learning. We further extend prototypicalnetworks to zero-shot learning and achieve state-of-the-art results on theCU-Birds dataset.

Code Repositories

jsalbert/prototypical-networks
pytorch
Mentioned in GitHub
goldblum/AdversarialQuerying
pytorch
Mentioned in GitHub
WangTianduo/Prototypical-Networks
pytorch
Mentioned in GitHub
lif31up/prototypical-network
pytorch
Mentioned in GitHub
amazon-research/dse
pytorch
Mentioned in GitHub
joshfp/fellowship.ai
pytorch
Mentioned in GitHub
RongKaiWeskerMA/INSTA
pytorch
Mentioned in GitHub
msfuxian/DualAttentionNet
mindspore
Mentioned in GitHub
maxstrobel/HCN-PrototypeLoss-PyTorch
pytorch
Mentioned in GitHub
joshfp/one-shot-learning
pytorch
Mentioned in GitHub
ash3n/Latent-Similarity
tf
Mentioned in GitHub
DrMMZ/ProtoNet
tf
Mentioned in GitHub
HenryCWoo/LTLProject
pytorch
Mentioned in GitHub
COAOX/Cifar-Prototypical
pytorch
Mentioned in GitHub
Hsankesara/DeepResearch
pytorch
Mentioned in GitHub
akshatgarg99/FewShotLearning
pytorch
Mentioned in GitHub
ash3n/Prototypical-Network-TF
tf
Mentioned in GitHub
Michedev/Prototypical-Networks
pytorch
Mentioned in GitHub
yredwood/fewshot_blogpost
tf
Mentioned in GitHub
oscarknagg/few-shot
pytorch
Mentioned in GitHub
cyvius96/prototypical-network-pytorch
pytorch
Mentioned in GitHub
andrewbo29/mtm-meta-learning-sa
pytorch
Mentioned in GitHub
ajfisch/few-shot-cp
pytorch
Mentioned in GitHub
ebadrian/metadl
tf
Mentioned in GitHub
minseop-aitrics/FewshotLearning
tf
Mentioned in GitHub
KamalM8/Few-Shot-learning-Fashion
pytorch
Mentioned in GitHub
mariehane/prototypical-networks
pytorch
Mentioned in GitHub
Sha-Lab/FEAT
pytorch
Mentioned in GitHub
cnielly/prototypical-networks-omniglot
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
category-agnostic-pose-estimation-on-mp100ProtoNet
Mean PCK@0.2 - 1shot: 44.78
few-shot-image-classification-on-cub-200-50Prototypical Networks
Accuracy: 54.6
few-shot-image-classification-on-dirichletProtoNet
1:1 Accuracy: 53.6
few-shot-image-classification-on-dirichlet-1ProtoNet
1:1 Accuracy: 74.2
few-shot-image-classification-on-meta-datasetPrototypical Networks
Accuracy: 60.573
few-shot-image-classification-on-meta-dataset-1Prototypical Networks
Mean Rank: 8.5
few-shot-image-classification-on-mini-12Prototypical Networks
Accuracy: 32.9
few-shot-image-classification-on-mini-12Prototypical Networks (Higher Way)
Accuracy: 34.6
few-shot-image-classification-on-mini-13Prototypical Networks (Higher Way)
Accuracy: 50.1
few-shot-image-classification-on-mini-13Prototypical Networks
Accuracy: 49.3
few-shot-image-classification-on-mini-2Prototypical Networks
Accuracy: 49.42
few-shot-image-classification-on-mini-3Prototypical Networks
Accuracy: 68.20
few-shot-image-classification-on-mini-4Prototypical Networks
Accuracy: 74.3
few-shot-image-classification-on-mini-5ProtoNet (Snell et al., 2017)
Accuracy: 45.31
few-shot-image-classification-on-omniglot-1-1Prototypical Networks
Accuracy: 96%
few-shot-image-classification-on-omniglot-1-2Prototypical Networks
Accuracy: 98.8
few-shot-image-classification-on-omniglot-5-1Prototypical Networks
Accuracy: 98.9%
few-shot-image-classification-on-omniglot-5-2Prototypical Networks
Accuracy: 99.7
few-shot-image-classification-on-stanford-1Prototypical Nets++
Accuracy: 48.19
few-shot-image-classification-on-stanford-2Prototypical Nets++
Accuracy: 40.90
few-shot-image-classification-on-stanford-3Prototypical Nets++
Accuracy: 52.93
few-shot-image-classification-on-tiered-2Prototypical Networks (Higher Way)
Accuracy: 38.6
few-shot-image-classification-on-tiered-2Prototypical Networks
Accuracy: 37.3
few-shot-image-classification-on-tiered-3Prototypical Networks (Higher Way)
Accuracy: 58.3
few-shot-image-classification-on-tiered-3Prototypical Networks
Accuracy: 57.8
image-classification-on-tiered-imagenet-5-wayPrototypical Net
Accuracy: 69.57

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
Prototypical Networks for Few-shot Learning | Papers | HyperAI