Adaptive Prototypical Networks

Manas Gogoi, Sambhavi Tiwari, Shekhar Verma
11/22/2022
cs.CVcs.LG

Official code: manasgg44/improved_proto (0 stars, Python, last commit 2023-04-08).

Abstract

Prototypical network for Few shot learning tries to learn an embedding function in the encoder that embeds images with similar features close to one another in the embedding space. However, in this process, the support set samples for a task are embedded independently of one other, and hence, the inter-class closeness is not taken into account.

Show full abstract

Thus, in the presence of similar-looking classes in a task, the embeddings will tend to be close to each other in the embedding space and even possibly overlap in some regions, which is not desirable for classification. In this paper, we propose an approach that intuitively pushes the embeddings of each of the classes away from the others in the meta-testing phase, thereby grouping them closely based on the distinct class labels rather than only the similarity of spatial features. This is achieved by training the encoder network for classification using the support set samples and labels of the new task. Extensive experiments conducted on benchmark data sets show improvements in meta-testing accuracy when compared with Prototypical Networks and also other standard few-shot learning models.

View on arXivView PDF

Code Implementations(1)

An approach for improving prototypical networks

00PythonOct 30, 20223 years ago

Similar Papers

Cite this paper

@article{gogoi2022adaptive,
  title  = {Adaptive Prototypical Networks},
  author = {Manas Gogoi and Sambhavi Tiwari and Shekhar Verma},
  year   = {2022},
  eprint = {2211.12479},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.12479}
}

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

Discussion