English

Generalized Relation Modeling for Transformer Tracking

Computer Vision and Pattern Recognition 2023-04-24 v3

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.

Keywords

Cite

@article{arxiv.2303.16580,
  title  = {Generalized Relation Modeling for Transformer Tracking},
  author = {Shenyuan Gao and Chunluan Zhou and Jun Zhang},
  journal= {arXiv preprint arXiv:2303.16580},
  year   = {2023}
}

Comments

Accepted by CVPR 2023. v3: fix a typo in equation (7). Code and models are publicly available at https://github.com/Little-Podi/GRM

R2 v1 2026-06-28T09:39:35.605Z