Learning with Imprinted Weights

12/19/2017
by   Hang Qi, et al.
0

Human vision is able to immediately recognize novel visual categories after seeing just one or a few training examples. We describe how to add a similar capability to ConvNet classifiers by directly setting the final layer weights from novel training examples during low-shot learning. We call this process weight imprinting as it directly sets weights for a new category based on an appropriately scaled copy of the embedding layer activations for that training example. The imprinting process provides a valuable complement to training with stochastic gradient descent, as it provides immediate good classification performance and an initialization for any further fine-tuning in the future. We show how this imprinting process is related to proxy-based embeddings. However, it differs in that only a single imprinted weight vector is learned for each novel category, rather than relying on a nearest-neighbor distance to training instances as typically used with embedding methods. Our experiments show that using averaging of imprinted weights provides better generalization than using nearest-neighbor instance embeddings.

READ FULL TEXT
research
11/12/2019

SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learning

Few-shot learners aim to recognize new object classes based on a small n...
research
12/05/2022

Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibration

Pre-trained language models (PLMs) have exhibited remarkable few-shot le...
research
03/20/2020

Few-Shot Learning with Geometric Constraints

In this article, we consider the problem of few-shot learning for classi...
research
11/17/2020

Close Category Generalization

Out-of-distribution generalization is a core challenge in machine learni...
research
03/28/2019

Revisiting Local Descriptor based Image-to-Class Measure for Few-shot Learning

Few-shot learning in image classification aims to learn a classifier to ...
research
06/11/2021

Learning Compositional Shape Priors for Few-Shot 3D Reconstruction

The impressive performance of deep convolutional neural networks in sing...
research
04/17/2021

Revisiting Few-shot Relation Classification: Evaluation Data and Classification Schemes

We explore Few-Shot Learning (FSL) for Relation Classification (RC). Foc...

Please sign up or login with your details

Forgot password? Click here to reset