Class-Weighted Convolutional Features for Visual Instance Search

Albert Jimenez, Jose M. Alvarez, Xavier Giro-i-Nieto
7/9/2017
cs.CVcs.IRcs.MM

Official code: imatge-upc/retrieval-2017-cam (224 stars, PyTorch, last commit 2019-04-19).

Abstract

Image retrieval in realistic scenarios targets large dynamic datasets of unlabeled images. In these cases, training or fine-tuning a model every time new images are added to the database is neither efficient nor scalable. Convolutional neural networks trained for image classification over large datasets have been proven effective feature extractors for image retrieval. The most successful approaches are based on encoding the activations of convolutional layers, as they convey the image spatial information. In this paper, we go beyond this spatial information and propose a local-aware encoding of convolutional features based on semantic information predicted in the target image. To this end, we obtain the most discriminative regions of an image using Class Activation Maps (CAMs). CAMs are based on the knowledge contained in the network and therefore, our approach, has the additional advantage of not requiring external information. In addition, we use CAMs to generate object proposals during an unsupervised re-ranking stage after a first fast search. Our experiments on two public available datasets for instance retrieval, Oxford5k and Paris6k, demonstrate the competitiveness of our approach outperforming the current state-of-the-art when using off-the-shelf models trained on ImageNet. The source code and model used in this paper are publicly available at http://imatge-upc.github.io/retrieval-2017-cam/.

View on arXivView PDF

Code Implementations(1)

PyTorch

Class-Weighted Convolutional Features for Image Retrieval (BMVC 2017)

22459PythonMar 21, 20167 years ago
camclass-activation-mapsconvolutional-neural-networksdeep-learningimage-retrieval+5 more

Similar Papers

Cite this paper

@article{jimenez2017classweighted,
  title  = {Class-Weighted Convolutional Features for Visual Instance Search},
  author = {Albert Jimenez and Jose M. Alvarez and Xavier Giro-i-Nieto},
  year   = {2017},
  eprint = {1707.02581},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1707.02581}
}

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

Discussion