Boosting vision transformers for image retrieval

Chull Hwan Song, Jooyoung Yoon, Shunghyun Choi, Yannis Avrithis
10/21/2022
cs.CVcs.IRcs.LG
transformer-attention

Official code: dealicious-inc/DToP (38 stars, MIT, last commit 2022-10-28).

Abstract

Vision transformers have achieved remarkable progress in vision tasks such as image classification and detection. However, in instance-level image retrieval, transformers have not yet shown good performance compared to convolutional networks.

Show full abstract

We propose a number of improvements that make transformers outperform the state of the art for the first time. (1) We show that a hybrid architecture is more effective than plain transformers, by a large margin. (2) We introduce two branches collecting global (classification token) and local (patch tokens) information, from which we form a global image representation. (3) In each branch, we collect multi-layer features from the transformer encoder, corresponding to skip connections across distant layers. (4) We enhance locality of interactions at the deeper layers of the encoder, which is the relative weakness of vision transformers. We train our model on all commonly used training sets and, for the first time, we make fair comparisons separately per training set. In all cases, we outperform previous models based on global representation. Public code is available at https://github.com/dealicious-inc/DToP.

View on arXivView PDF

Code Implementations(1)

MIT

Boosting vision transformers for image retrieval, proposed design of Deep Token Pooling(DToP)

380Oct 11, 20224 years agoMIT

Similar Papers

Cite this paper

@article{song2022boosting,
  title  = {Boosting vision transformers for image retrieval},
  author = {Chull Hwan Song and Jooyoung Yoon and Shunghyun Choi and Yannis Avrithis},
  year   = {2022},
  eprint = {2210.11909},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11909}
}

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

Discussion