Abstract
Visual object tracking often fails in complex scenarios like occlusion and motion blur because traditional trackers treat video frames as independent snapshots. This paper proposes a novel Transformer-based architecture that bridges isolated frames to exploit rich temporal context. By decoupling the Transformer into an encoder for template reinforcement and a decoder for cue propagation, the authors achieve state-of-the-art results on seven major benchmarks while maintaining real-time processing speeds.
Introduction
Visual object tracking is the task of localizing a target in successive video frames given its initial position. Despite significant progress, trackers often struggle with challenges like occlusion, deformation, and motion blur. The authors identify a major gap in existing paradigms: most trackers (like Siamese networks) typically match a static initial template against a search area in the current frame, largely overlooking the rich temporal relationships between frames. While some methods use update mechanisms to refresh the template, they often lack a mechanism for mutual reasoning across the temporal sequence. This paper aims to "bridge" these isolated frames using the attention mechanisms inherent in Transformers.
Methods
The proposed transformer-assisted tracking framework can be integrated into existing pipelines like Siamese networks (TrSiam) or Discriminative Correlation Filters (TrDiMP). Key technical innovations include:
- Encoder-Decoder Separation: Unlike standard NLP Transformers that cascade the encoder and decoder, this model splits them into two parallel branches to fit the Siamese tracking structure.
- Transformer Encoder: This branch receives a set of historical template patches. It uses self-attention to mutually reinforce these features, creating a high-quality, compact representation of the target's appearance over time.
- Transformer Decoder: This branch takes the current search patch and the encoded templates. It uses cross-attention to propagate both features and spatial masks (Gaussian priors of previous target locations) to the current frame. This helps the tracker "remember" where the target was and what it looked like recently.
To maintain real-time performance, the authors "slim" the classic Transformer by removing the heavy fully-connected feed-forward layers and using a lightweight single-head attention mechanism. Additionally, Instance Normalization is used instead of standard Layer Normalization to better preserve image amplitude information across patches.
Key Insights and Results
The core "aha moment" is that Transformers are naturally suited for tracking because their attention mechanism can establish pixel-wise correspondences across different points in time. The authors found that propagating spatial masks (where the target was) is just as important as propagating features (what it looked like). This helps the decoder suppress background distractors and focus on the most likely target area.
The proposed trackers, TrSiam and TrDiMP, set several new state-of-the-art records:
- TrackingNet: TrDiMP achieved a Success score of 78.4%, surpassing previous leaders like Siam-RCNN.
- GOT-10k: TrSiam achieved an Average Overlap (AO) of 67.3%, a significant jump over the baseline Siamese tracker (62.0%).
- LaSOT: TrDiMP reached a Success score of 63.9%, outperforming the strong DiMP-50 baseline (56.5%).
Despite the added complexity, TrSiam runs at 35 FPS and TrDiMP at 26 FPS on a single Nvidia GTX 1080Ti, meeting the requirements for real-time applications.
Conclusion
By effectively bridging isolated frames through a specialized Transformer architecture, this work demonstrates the power of temporal context in visual tracking. The combination of feature reinforcement and mask propagation allows for robust localization even in the presence of similar-looking distractors. Future work will explore even more complex temporal relationships and alternative integration methods for temporal cues.
Summary updated