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/Trainable Class Prototypes for Few-Shot Learning

Trainable Class Prototypes for Few-Shot Learning

Jianyi Li, Guizhong Liu

2021-06-21Few-Shot LearningUnsupervised Few-Shot Image ClassificationMetric LearningSelf-Supervised Learning
PaperPDF

Abstract

Metric learning is a widely used method for few shot learning in which the quality of prototypes plays a key role in the algorithm. In this paper we propose the trainable prototypes for distance measure instead of the artificial ones within the meta-training and task-training framework. Also to avoid the disadvantages that the episodic meta-training brought, we adopt non-episodic meta-training based on self-supervised learning. Overall we solve the few-shot tasks in two phases: meta-training a transferable feature extractor via self-supervised learning and training the prototypes for metric classification. In addition, the simple attention mechanism is used in both meta-training and task-training. Our method achieves state-of-the-art performance in a variety of established few-shot tasks on the standard few-shot visual classification dataset, with about 20% increase compared to the available unsupervised few-shot learning methods.

Results

TaskDatasetMetricValueModel
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy58.92TrainProto
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy73.94TrainProto
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy58.92TrainProto
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy73.94TrainProto

Related Papers

GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Unsupervised Ground Metric Learning2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16Self-supervised Learning on Camera Trap Footage Yields a Strong Universal Face Embedder2025-07-14$\texttt{Droid}$: A Resource Suite for AI-Generated Code Detection2025-07-11Doodle Your Keypoints: Sketch-Based Few-Shot Keypoint Detection2025-07-10An Enhanced Privacy-preserving Federated Few-shot Learning Framework for Respiratory Disease Diagnosis2025-07-10