AiATrack: Attention in Attention for Transformer Visual Tracking

Shenyuan Gao, Chunluan Zhou, Chao Ma, Xinggang Wang, Junsong Yuan
7/20/2022
cs.CV
transformer-attention

Official code: Little-Podi/AiATrack (127 stars, Python, MIT, PyTorch, last commit 2023-12-30).

Abstract

Transformer trackers have achieved impressive advancements recently, where the attention mechanism plays an important role. However, the independent correlation computation in the attention mechanism could result in noisy and ambiguous attention weights, which inhibits further performance improvement.

Show full abstract

To address this issue, we propose an attention in attention (AiA) module, which enhances appropriate correlations and suppresses erroneous ones by seeking consensus among all correlation vectors. Our AiA module can be readily applied to both self-attention blocks and cross-attention blocks to facilitate feature aggregation and information propagation for visual tracking. Moreover, we propose a streamlined Transformer tracking framework, dubbed AiATrack, by introducing efficient feature reuse and target-background embeddings to make full use of temporal references. Experiments show that our tracker achieves state-of-the-art performance on six tracking benchmarks while running at a real-time speed.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

[ECCV'22] The official PyTorch implementation of our ECCV 2022 paper: "AiATrack: Attention in Attention for Transformer Visual Tracking".

12716Python, ShellJul 16, 20222 years agoMIT
attention-mechanismeccv2022object-trackingpytorchsingle-object-tracking+3 more

Similar Papers

Cite this paper

@article{gao2022aiatrack,
  title  = {AiATrack: Attention in Attention for Transformer Visual Tracking},
  author = {Shenyuan Gao and Chunluan Zhou and Chao Ma and Xinggang Wang and Junsong Yuan},
  year   = {2022},
  eprint = {2207.09603},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.09603}
}

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

Discussion