English

Trainable Class Prototypes for Few-Shot Learning

Computer Vision and Pattern Recognition 2021-06-22 v1 Artificial Intelligence Machine Learning

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.

Keywords

Cite

@article{arxiv.2106.10846,
  title  = {Trainable Class Prototypes for Few-Shot Learning},
  author = {Jianyi Li and Guizhong Liu},
  journal= {arXiv preprint arXiv:2106.10846},
  year   = {2021}
}

Comments

8 pages, 2 figures,and 3 Tables. arXiv admin note: substantial text overlap with arXiv:2008.09942

R2 v1 2026-06-24T03:24:36.228Z