Abstract
High-performance Transformer trackers have shown excellent results, yet they often bear a heavy computational load. Observing that a smaller input can immediately and conveniently reduce computations without changing the model, an easy solution is to adopt the low-resolution input for efficient Transformer tracking. Albeit faster, this hurts tracking accuracy much due to information loss in low resolution tracking. In this paper, we aim to mitigate such information loss to boost the performance of the low-resolution Transformer tracking via dual knowledge distillation from a frozen high-resolution (but not a larger) Transformer tracker. The core lies in two simple yet effective distillation modules, comprising query-key-value knowledge distillation (QKV-KD) and discrimination knowledge distillation (Disc-KD), across resolutions. With the dual knowledge distillation, our Low-Resolution Transformer Tracker (LoReTrack) enjoys not only high efficiency owing to reduced computation but also enhanced accuracy by distilling knowledge from the high-resolution tracker. In extensive experiments, LoReTrack with a 256x256 resolution consistently improves baseline with the same resolution, and shows competitive or even better results compared to 384x384 high-resolution Transformer tracker, while running 52% faster and saving 56% MACs. Moreover, LoReTrack is resolution-scalable. With a 128x128 resolution, it runs 25 fps on a CPU with 64.9%/46.4% SUC scores on LaSOT/LaSOText, surpassing all other CPU real-time trackers.
Introduction
Transformer-based models have revolutionized visual object tracking, setting new records for accuracy. However, these models are computationally expensive, often requiring high-end GPUs to run in real-time. A common "quick fix" for speed is to simply downsample the input image. While this drastically reduces the number of operations (MACs), it usually significantly degrades tracking accuracy because low-resolution images result in "coarse" tokens that lose fine-grained spatial details and struggle to distinguish a small target from a cluttered background.
LoReTrack addresses this by asking: Can we maintain the speed of low-resolution inputs while "borrowing" the intelligence of a high-resolution model?
Methods: Dual Knowledge Distillation
LoReTrack is built upon OSTrack, a popular "one-stream" Transformer tracker. The core innovation is a Dual Knowledge Distillation framework used during training to transfer knowledge from a frozen high-resolution teacher to a low-resolution student.
The framework consists of two primary modules:
- Query-Key-Value Knowledge Distillation (QKV-KD): Instead of distilling final feature maps, LoReTrack distills the internal Query (Q), Key (K), and Value (V) tensors from the Transformer's last encoder layer. This forces the low-resolution student to mimic the complex feature interactions and attention patterns used by the high-resolution teacher.
- Discrimination Knowledge Distillation (Disc-KD): To help the student distinguish the target from the background, the teacher generates a "discrimination mask" identifying critical regions for target identification. The student is trained to pay extra attention to these regions, learning "where to look" even with blurry inputs.
Key Results
LoReTrack demonstrates that low-resolution tracking can be both fast and accurate.
- Efficiency vs. Accuracy: LoReTrack-256 (using $256^2$ input) is 52% faster and saves 56% MACs compared to the $384^2$ high-resolution baseline, yet it achieves nearly identical accuracy.
- CPU Real-Time Performance: LoReTrack-128 achieves a 64.9% SUC score on LaSOT while running at 25 FPS on a CPU, outperforming existing CPU-real-time trackers.
- Resolution Scalability: The model is resolution-scalable, allowing users to adjust the input size (e.g., $256^2, 192^2, 128^2$) to match hardware constraints without retraining.
Conclusion
LoReTrack effectively bridges the gap between high-resolution accuracy and low-resolution efficiency. By leveraging dual knowledge distillation, it enables high-performance Transformer tracking on resource-constrained devices, including standard CPUs, without the typical accuracy penalties associated with downsampling.
Summary updated