Abstract
Visual Object Tracking (VOT) has traditionally relied on hybrid architectures where Convolutional Neural Networks (CNNs) extract features and Transformers fuse them. However, CNNs, optimized for classification, often discard fine-grained spatial dependencies crucial for precise matching. This paper introduces DualTFR, the first pure, dual-branch Transformer framework for VOT. By utilizing a hierarchy of local, global, and cross-attention mechanisms, DualTFR learns representations specifically "for matching." Our approach achieves state-of-the-art performance on major benchmarks, such as a 73.5% AO on GOT-10k, while maintaining real-time speeds of 40 FPS.
Introduction
In Visual Object Tracking, the objective is to locate a target template within a larger search image. Conventional pipelines typically employ a two-step process: feature extraction via a pre-trained CNN (e.g., ResNet) followed by feature fusion using correlation or Transformers.
The authors argue that CNNs represent a fundamental bottleneck. Designed for image classification, CNNs prioritize identifying the presence of an object over understanding the structural relationships between disparate images. Consequently, by the time data reaches the fusion stage, critical spatial dependencies may have been lost. DualTFR addresses this by employing Transformers from the initial pixel input to the final prediction, ensuring that features are task-aligned for matching from the start.
Methodology: The DualTFR Architecture
DualTFR (Dual-branch TransFormeR) consists of two identical, weight-sharing branches for the template and search images. The architecture is built on several key components:
- Patch Partitioning: Images are decomposed into non-overlapping patches, serving as input tokens for the Transformer.
- Hierarchical Attention: To balance computational efficiency with global context, the model uses Local Attention Blocks (LAB) in early high-resolution stages and Global Attention Blocks (GAB) in later stages after patch merging. This hybrid attention strategy allows the model to handle high-resolution data without the quadratic computational explosion of standard global attention.
- Cross Attention Block (CAB): This critical stage facilitates interaction between the two branches. Search tokens attend to template tokens (and vice versa), refining features based on the specific target-search relationship.
- Prediction Heads: Simple Multi-Layer Perceptrons (MLPs) process the final tokens to output bounding box coordinates and classification scores.
Experiments and Results
The model was pre-trained on ImageNet-1K and fine-tuned on diverse tracking datasets including LaSOT, GOT-10k, and TrackingNet.
Key Performance Metrics
DualTFR demonstrates superior performance across multiple benchmarks:
- GOT-10k: Achieved an Average Overlap (AO) of 73.5%, surpassing the previous state-of-the-art hybrid model, TransT, by 1.2 points.
- VOT2020: Recorded an Expected Average Overlap (EAO) of 0.528, a significant improvement over STARK-S50's 0.462.
- UAV123: Outperformed recent trackers like SiamRN and STMTrack by over 3.4 points in Success Rate (AUC).
Key Insights
A crucial finding was the necessity of ImageNet pre-training; without it, performance on GOT-10k plummeted from 73.5% to 48.5%. Furthermore, visualization indicates that DualTFR possesses higher instance-discriminative power, effectively distinguishing the target from similar-looking distractors where CNN-based models often fire on any object of the same class.
Conclusion
DualTFR proves that a pure Transformer architecture is not only viable for visual tracking but superior to hybrid CNN-Transformer models. By integrating local and global attention, the framework achieves a "sweet spot" of high accuracy and real-time efficiency (40 FPS). Future work will focus on reducing model redundancy and exploring more lightweight Transformer variants for mobile deployment.
Summary updated