Abstract
Traditional Siamese trackers rely on predefined anchors, which introduces significant computational redundancy and limits flexibility for objects with varying aspect ratios. This paper presents the Anchor Free Siamese Network (AFSN), a high-performance tracker that treats object localization as a keypoint estimation task. By directly regressing the object's center, local offset, and size, AFSN achieves a remarkable balance between accuracy and speed. Evaluated on major benchmarks including VOT2018 and OTB2015, AFSN operates at 136 FPS—up to 425x faster than some anchor-based counterparts—while delivering superior tracking precision.
Introduction
Most state-of-the-art visual trackers, such as SiamRPN, utilize a Region Proposal Network (RPN) based on anchors. These anchors are a set of predefined bounding boxes with fixed scales and aspect ratios. While effective, this paradigm suffers from two primary drawbacks. First, it is computationally inefficient, requiring the classification and refinement of thousands of candidate boxes. Second, it lacks flexibility; objects with extreme aspect ratios that do not align with the predefined anchor shapes are often tracked poorly.
To overcome these limitations, we propose an anchor-free approach. By shifting from box-matching to direct regression of object properties, the tracker becomes more streamlined and robust to diverse target geometries.
Methodology
The AFSN architecture is built upon a Siamese network framework, consisting of two identical branches for processing the template image and the search region. The core innovation is the replacement of the RPN with a three-headed output structure:
- Classification Branch: This branch generates a heatmap where the peak indicates the object's center. It is trained using Focal Loss to address the foreground-background imbalance.
- Offset Branch: This branch predicts a local offset to compensate for discretization errors introduced by the network's spatial stride, ensuring precise center localization.
- Scale Branch: This branch directly regresses the width and height of the target bounding box.
Furthermore, we optimized the backbone architecture by analyzing the impact of network stride and receptive field. Our findings suggest that a smaller stride (7-9) and a receptive field covering approximately 70-80% of the exemplar image are optimal for maintaining spatial precision in tracking tasks.
Experiments and Results
AFSN was trained on the GOT-10k dataset and evaluated across five rigorous benchmarks: OTB2015, VOT2015, VOT2016, VOT2018, and TrackingNet.
Performance Metrics
- Speed: AFSN achieves a real-time processing speed of 136 FPS on a Titan Xp GPU.
- Accuracy: On the VOT2018 challenge, AFSN reached an Expected Average Overlap (EAO) of 0.398, significantly outperforming SiamRPN (0.349). On OTB2015, it demonstrated a 5.97% improvement in success rate over SiamRPN.
- Efficiency: Compared to SiamRPN++, AFSN is 3.9x faster while maintaining competitive accuracy, offering a superior efficiency-to-accuracy trade-off for real-time applications.
Discussion and Insights
Our research highlights that deeper backbones are not always beneficial for tracking. Architectures optimized for image classification often lose the fine-grained spatial information necessary for accurate localization. By optimizing the stride and eliminating the complexity of anchors, AFSN provides a more direct and effective path to high-speed tracking.
Despite its strengths, AFSN faces challenges common to Siamese trackers, such as the lack of online template updates, which can lead to drift during significant appearance changes or prolonged occlusions. Future work will explore integrating temporal memory and hardware-specific backbone optimizations.
Conclusion
The Anchor Free Siamese Network represents a significant step forward in efficient visual tracking. By discarding anchors in favor of direct regression, AFSN achieves state-of-the-art performance with unprecedented speed, making it an ideal candidate for real-world, real-time tracking scenarios.
Summary updated