Prototype Completion with Primitive Knowledge for Few-Shot Learning

Baoquan Zhang, Xutao Li, Yunming Ye, Zhichao Huang, Lisai Zhang
9/10/2020
cs.CV

Official code: zhangbq-research/Prototype_Completion_for_FSL (59 stars, Python, MIT, last commit 2022-01-12).

Abstract

Few-shot learning is a challenging task, which aims to learn a classifier for novel classes with few examples. Pre-training based meta-learning methods effectively tackle the problem by pre-training a feature extractor and then fine-tuning it through the nearest centroid based meta-learning.

Show full abstract

However, results show that the fine-tuning step makes very marginal improvements. In this paper, 1) we figure out the key reason, i.e., in the pre-trained feature space, the base classes already form compact clusters while novel classes spread as groups with large variances, which implies that fine-tuning the feature extractor is less meaningful; 2) instead of fine-tuning the feature extractor, we focus on estimating more representative prototypes during meta-learning. Consequently, we propose a novel prototype completion based meta-learning framework. This framework first introduces primitive knowledge (i.e., class-level part or attribute annotations) and extracts representative attribute features as priors. Then, we design a prototype completion network to learn to complete prototypes with these priors. To avoid the prototype completion error caused by primitive knowledge noises or class differences, we further develop a Gaussian based prototype fusion strategy that combines the mean-based and completed prototypes by exploiting the unlabeled samples. Extensive experiments show that our method: (i) can obtain more accurate prototypes; (ii) outperforms state-of-the-art techniques by 2% - 9% in terms of classification accuracy. Our code is available online.

View on arXivView PDF

Code Implementations(1)

MIT
597PythonMar 5, 20214 years agoMIT

Similar Papers

Cite this paper

@article{zhang2020prototype,
  title  = {Prototype Completion with Primitive Knowledge for Few-Shot Learning},
  author = {Baoquan Zhang and Xutao Li and Yunming Ye and Zhichao Huang and Lisai Zhang},
  year   = {2020},
  eprint = {2009.04960},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.04960}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.04960.svg)](https://codeofpaper.com/paper/2009.04960)

Discussion