Improving Generalization via Scalable Neighborhood Component Analysis

Zhirong Wu, Alexei A. Efros, Stella X. Yu
8/14/2018
cs.CVcs.LG

Official code: zhirongw/snca.pytorch (8 stars, last commit 2018-08-14).

Abstract

Current major approaches to visual recognition follow an end-to-end formulation that classifies an input image into one of the pre-determined set of semantic categories. Parametric softmax classifiers are a common choice for such a closed world with fixed categories, especially when big labeled data is available during training. However, this becomes problematic for open-set scenarios where new categories are encountered with very few examples for learning a generalizable parametric classifier. We adopt a non-parametric approach for visual recognition by optimizing feature embeddings instead of parametric classifiers. We use a deep neural network to learn the visual feature that preserves the neighborhood structure in the semantic space, based on the Neighborhood Component Analysis (NCA) criterion. Limited by its computational bottlenecks, we devise a mechanism to use augmented memory to scale NCA for large datasets and very deep networks. Our experiments deliver not only remarkable performance on ImageNet classification for such a simple non-parametric method, but most importantly a more generalizable feature representation for sub-category discovery and few-shot recognition.

View on arXivView PDF

Code Implementations(1)

improving generalization via scalable neighborhood component analysis

80Aug 14, 20188 years ago
computer-visiondeep-learningfew-shot-learningimagenetnearest-neighbors+2 more

Similar Papers

Cite this paper

@article{wu2018improving,
  title  = {Improving Generalization via Scalable Neighborhood Component Analysis},
  author = {Zhirong Wu and Alexei A. Efros and Stella X. Yu},
  year   = {2018},
  eprint = {1808.04699},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.04699}
}

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

Discussion