TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Prototypical Networks for Few-shot Learning

Prototypical Networks for Few-shot Learning

Jake Snell, Kevin Swersky, Richard S. Zemel

2017-03-15NeurIPS 2017 12Few-Shot LearningMeta-LearningFew-Shot Image ClassificationOne-Shot LearningGeneral ClassificationZero-Shot Learning
PaperPDFCode(official)CodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCode

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 networks learn a metric space in which classification can be performed by computing distances to prototype representations of each class. Compared to recent approaches for few-shot learning, they reflect a simpler inductive bias that is beneficial in this limited-data regime, and achieve excellent results. We provide an analysis showing that some simple design decisions can yield substantial improvements over recent approaches involving complicated architectural choices and meta-learning. We further extend prototypical networks to zero-shot learning and achieve state-of-the-art results on the CU-Birds dataset.

Results

TaskDatasetMetricValueModel
2D Pose EstimationMP100Mean PCK@0.2 - 1shot44.78ProtoNet
Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy69.57Prototypical Net
Image ClassificationMeta-DatasetAccuracy60.573Prototypical Networks
Image ClassificationTiered ImageNet 10-way (1-shot)Accuracy38.6Prototypical Networks (Higher Way)
Image ClassificationTiered ImageNet 10-way (1-shot)Accuracy37.3Prototypical Networks
Image ClassificationDirichlet Mini-Imagenet (5-way, 5-shot)1:1 Accuracy74.2ProtoNet
Image ClassificationMini-Imagenet 10-way (5-shot)Accuracy50.1Prototypical Networks (Higher Way)
Image ClassificationMini-Imagenet 10-way (5-shot)Accuracy49.3Prototypical Networks
Image ClassificationOMNIGLOT - 1-Shot, 5-wayAccuracy98.8Prototypical Networks
Image ClassificationOMNIGLOT - 5-Shot, 5-wayAccuracy99.7Prototypical Networks
Image ClassificationMini-ImageNet-CUB 5-way (1-shot)Accuracy45.31ProtoNet (Snell et al., 2017)
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy68.2Prototypical Networks
Image ClassificationDirichlet Mini-Imagenet (5-way, 1-shot)1:1 Accuracy53.6ProtoNet
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy49.42Prototypical Networks
Image ClassificationStanford Dogs 5-way (5-shot)Accuracy48.19Prototypical Nets++
Image ClassificationMini-Imagenet 10-way (1-shot)Accuracy34.6Prototypical Networks (Higher Way)
Image ClassificationMini-Imagenet 10-way (1-shot)Accuracy32.9Prototypical Networks
Image ClassificationMeta-Dataset RankMean Rank8.5Prototypical Networks
Image ClassificationStanford Cars 5-way (5-shot)Accuracy52.93Prototypical Nets++
Image ClassificationStanford Cars 5-way (1-shot)Accuracy40.9Prototypical Nets++
Image ClassificationCUB 200 50-way (0-shot)Accuracy54.6Prototypical Networks
Image ClassificationMini-Imagenet 5-way (10-shot)Accuracy74.3Prototypical Networks
Image ClassificationTiered ImageNet 10-way (5-shot)Accuracy58.3Prototypical Networks (Higher Way)
Image ClassificationTiered ImageNet 10-way (5-shot)Accuracy57.8Prototypical Networks
Few-Shot Image ClassificationMeta-DatasetAccuracy60.573Prototypical Networks
Few-Shot Image ClassificationTiered ImageNet 10-way (1-shot)Accuracy38.6Prototypical Networks (Higher Way)
Few-Shot Image ClassificationTiered ImageNet 10-way (1-shot)Accuracy37.3Prototypical Networks
Few-Shot Image ClassificationDirichlet Mini-Imagenet (5-way, 5-shot)1:1 Accuracy74.2ProtoNet
Few-Shot Image ClassificationMini-Imagenet 10-way (5-shot)Accuracy50.1Prototypical Networks (Higher Way)
Few-Shot Image ClassificationMini-Imagenet 10-way (5-shot)Accuracy49.3Prototypical Networks
Few-Shot Image ClassificationOMNIGLOT - 1-Shot, 5-wayAccuracy98.8Prototypical Networks
Few-Shot Image ClassificationOMNIGLOT - 5-Shot, 5-wayAccuracy99.7Prototypical Networks
Few-Shot Image ClassificationMini-ImageNet-CUB 5-way (1-shot)Accuracy45.31ProtoNet (Snell et al., 2017)
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy68.2Prototypical Networks
Few-Shot Image ClassificationDirichlet Mini-Imagenet (5-way, 1-shot)1:1 Accuracy53.6ProtoNet
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy49.42Prototypical Networks
Few-Shot Image ClassificationStanford Dogs 5-way (5-shot)Accuracy48.19Prototypical Nets++
Few-Shot Image ClassificationMini-Imagenet 10-way (1-shot)Accuracy34.6Prototypical Networks (Higher Way)
Few-Shot Image ClassificationMini-Imagenet 10-way (1-shot)Accuracy32.9Prototypical Networks
Few-Shot Image ClassificationMeta-Dataset RankMean Rank8.5Prototypical Networks
Few-Shot Image ClassificationStanford Cars 5-way (5-shot)Accuracy52.93Prototypical Nets++
Few-Shot Image ClassificationStanford Cars 5-way (1-shot)Accuracy40.9Prototypical Nets++
Few-Shot Image ClassificationCUB 200 50-way (0-shot)Accuracy54.6Prototypical Networks
Few-Shot Image ClassificationMini-Imagenet 5-way (10-shot)Accuracy74.3Prototypical Networks
Few-Shot Image ClassificationTiered ImageNet 10-way (5-shot)Accuracy58.3Prototypical Networks (Higher Way)
Few-Shot Image ClassificationTiered ImageNet 10-way (5-shot)Accuracy57.8Prototypical Networks
2D ClassificationMP100Mean PCK@0.2 - 1shot44.78ProtoNet

Related Papers

GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16Imbalanced Regression Pipeline Recommendation2025-07-16CLID-MU: Cross-Layer Information Divergence Based Meta Update Strategy for Learning with Noisy Labels2025-07-16Mixture of Experts in Large Language Models2025-07-15Iceberg: Enhancing HLS Modeling with Synthetic Data2025-07-14DEARLi: Decoupled Enhancement of Recognition and Localization for Semi-supervised Panoptic Segmentation2025-07-14Meta-Reinforcement Learning for Fast and Data-Efficient Spectrum Allocation in Dynamic Wireless Networks2025-07-13