Generalized Relation Modeling for Transformer Tracking

Shenyuan Gao, Chunluan Zhou, Jun Zhang
3/1/2023

No official code found. Best implementation: Little-Podi/GRM (86 stars, MIT, PyTorch, last commit 2023-12-30).

Abstract

Compared with previous two-stream trackers, the recent one-stream tracking pipeline, which allows earlier interaction between the template and search region, has achieved a remarkable performance gain. However, existing one-stream trackers always let the template interact with all parts inside the search region throughout all the encoder layers. This could potentially lead to target-background confusion when the extracted feature representations are not sufficiently discriminative. To alleviate this issue, we propose a generalized relation modeling method based on adaptive token division. The proposed method is a generalized formulation of attention-based relation modeling for Transformer tracking, which inherits the merits of both previous two-stream and one-stream pipelines whilst enabling more flexible relation modeling by selecting appropriate search tokens to interact with template tokens. An attention masking strategy and the Gumbel-Softmax technique are introduced to facilitate the parallel computation and end-to-end learning of the token division module. Extensive experiments show that our method is superior to the two-stream and one-stream pipelines and achieves state-of-the-art performance on six challenging benchmarks with a real-time running speed. Code and models are publicly available at https://github.com/Little-Podi/GRM.

View on arXivView PDF

Code Implementations(1)

Little-Podi/GRMCommunity100%
PyTorchMIT

[CVPR'23] The official PyTorch implementation of our CVPR 2023 paper: "Generalized Relation Modeling for Transformer Tracking".

869Shell, PythonMar 23, 20232 years agoMIT
attention-mechanismcvpr2023object-trackingpytorchsingle-object-tracking+3 more

Similar Papers

Cite this paper

@article{gao2023generalized,
  title  = {Generalized Relation Modeling for Transformer Tracking},
  author = {Shenyuan Gao and Chunluan Zhou and Jun Zhang},
  year   = {2023},
  eprint = {2303.16580},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.16580},
  journal = {CVPR 2023 2023}
}

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

Discussion