Prototype Completion for Few-Shot Learning

Baoquan Zhang, Xutao Li, Yunming Ye, Shanshan Feng
8/11/2021
cs.CV

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

Abstract

Few-shot learning aims to recognize novel classes with few examples. Pre-training based 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 marginal improvements. In this paper, 1) we figure out the 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 feature extractor is less meaningful; 2) instead of fine-tuning feature extractor, we focus on estimating more representative prototypes. 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 features for seen attributes as priors. Second, a part/attribute transfer network is designed to learn to infer the representative features for unseen attributes as supplementary priors. Finally, a prototype completion network is devised to learn to complete prototypes with these priors. Moreover, to avoid the prototype completion error, we further develop a Gaussian based prototype fusion strategy that fuses the mean-based and completed prototypes by exploiting the unlabeled samples. Extensive experiments show that our method: (i) obtains more accurate prototypes; (ii) achieves superior performance on both inductive and transductive FSL settings.

View on arXivView PDF

Code Implementations(1)

MIT
597PythonMar 5, 20214 years agoMIT

Similar Papers

Cite this paper

@article{zhang2021prototype,
  title  = {Prototype Completion for Few-Shot Learning},
  author = {Baoquan Zhang and Xutao Li and Yunming Ye and Shanshan Feng},
  year   = {2021},
  eprint = {2108.05010},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.05010}
}

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/2108.05010.svg)](https://codeofpaper.com/paper/2108.05010)

Discussion