TransGeo: Transformer Is All You Need for Cross-view Image Geo-localization

Sijie Zhu, Mubarak Shah, Chen Chen
3/31/2022
cs.CV
transformer-attention

Official code: Jeff-Zilence/TransGeo2022 (166 stars, Python, MIT, last commit 2023-05-08).

Abstract

The dominant CNN-based methods for cross-view image geo-localization rely on polar transform and fail to model global correlation. We propose a pure transformer-based approach (TransGeo) to address these limitations from a different perspective.

Show full abstract

TransGeo takes full advantage of the strengths of transformer related to global information modeling and explicit position information encoding. We further leverage the flexibility of transformer input and propose an attention-guided non-uniform cropping method, so that uninformative image patches are removed with negligible drop on performance to reduce computation cost. The saved computation can be reallocated to increase resolution only for informative patches, resulting in performance improvement with no additional computation cost. This "attend and zoom-in" strategy is highly similar to human behavior when observing images. Remarkably, TransGeo achieves state-of-the-art results on both urban and rural datasets, with significantly less computation cost than CNN-based methods. It does not rely on polar transform and infers faster than CNN-based methods. Code is available at https://github.com/Jeff-Zilence/TransGeo2022.

View on arXivView PDF

Code Implementations(1)

MIT

Official repository for TransGeo: Transformer Is All You Need for Cross-view Image Geo-localization

16626Python, ShellMar 21, 20223 years agoMIT

Similar Papers

Cite this paper

@article{zhu2022transgeo,
  title  = {TransGeo: Transformer Is All You Need for Cross-view Image Geo-localization},
  author = {Sijie Zhu and Mubarak Shah and Chen Chen},
  year   = {2022},
  eprint = {2204.00097},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.00097}
}

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

Discussion