Learning Occlusion-Robust Vision Transformers for Real-Time UAV Tracking

You Wu, Xucheng Wang, Xiangyang Yang, Mengyuan Liu, Dan Zeng, Hengzhou Ye, Shuiwang Li

Abstract

Single-stream architectures using Vision Transformer (ViT) backbones show great potential for real-time UAV tracking recently. However, frequent occlusions from obstacles like buildings and trees expose a major drawback: these models often lack strategies to handle occlusions effectively. New methods are needed to enhance the occlusion resilience of single-stream ViT models in aerial tracking. In this work, we propose to learn Occlusion-Robust Representations (ORR) based on ViTs for UAV tracking by enforcing an invariance of the feature representation of a target with respect to random masking operations modeled by a spatial Cox process. Hopefully, this random masking approximately simulates target occlusions, thereby enabling us to learn ViTs that are robust to target occlusion for UAV tracking. This framework is termed ORTrack. Additionally, to facilitate real-time applications, we propose an Adaptive Feature-Based Knowledge Distillation (AFKD) method to create a more compact tracker, which adaptively mimics the behavior of the teacher model ORTrack according to the task's difficulty. This student model, dubbed ORTrack-D, retains much of ORTrack's performance while offering higher efficiency. Extensive experiments on multiple benchmarks validate the effectiveness of our method, demonstrating its state-of-the-art performance.

Introduction

Unmanned Aerial Vehicles (UAVs) operate in dynamic environments where targets are frequently obscured by obstacles like trees or buildings. While Vision Transformers (ViTs) have become a standard for visual tracking due to their powerful feature representation, they face significant challenges in aerial applications. Specifically, standard ViTs are sensitive to occlusions because they are not explicitly trained to handle missing data. Furthermore, the high computational cost of many ViT-based trackers makes them unsuitable for real-time deployment on power-constrained drone hardware.

To address these issues, we introduce ORTrack, a framework designed for occlusion-robust and real-time UAV tracking. ORTrack leverages a spatial Cox process to simulate realistic occlusion patterns during training and employs an adaptive knowledge distillation method to achieve high efficiency without sacrificing precision.

Methodology

Occlusion-Robust Representations (ORR)

Real-world occlusions are typically clustered rather than random noise. To simulate this, ORTrack uses a spatial Cox process (a doubly stochastic Poisson process) to generate non-uniform, clustered masking patterns during training. By enforcing an invariance between the feature representations of "clean" and "masked" images using a Mean Squared Error (MSE) loss, the model learns to maintain a stable target representation even when parts of the target are obscured.

Adaptive Feature-Based Knowledge Distillation (AFKD)

To enable real-time performance, we employ a Teacher-Student distillation strategy. A powerful teacher model (ORTrack) guides a more compact student model (ORTrack-D). Unlike standard distillation, our AFKD method is adaptive; it uses the deviation of the Generalized Intersection over Union (GIoU) loss to gauge task difficulty. On "easy" frames, the student relies on its own lightweight features, while on "hard" frames (high loss deviation), it more closely mimics the teacher's complex representations.

Overview of the ORTrack framework featuring Occlusion-Robust Representations (ORR) and Adaptive Feature-Based Knowledge Distillation (AFKD).

Experiments and Results

The proposed models were trained on large-scale datasets including GOT-10k, LaSOT, COCO, and TrackingNet, and evaluated on specialized UAV benchmarks such as UAVDT, VisDrone2018, DTB70, and UAV123.

Performance and Efficiency

ORTrack demonstrates superior performance across multiple metrics. On the UAVDT benchmark, ORTrack-DeiT achieved a state-of-the-art precision of 83.4%. The distilled version, ORTrack-D-DeiT, reached an exceptional speed of 313 FPS on a GPU, making it 4 to 6 times faster than competing deep trackers like AQATrack or HIPTrack while maintaining comparable accuracy.

Comparison of precision and speed (FPS) against state-of-the-art trackers on the UAVDT benchmark.

Ablation Studies

Ablation experiments confirm the effectiveness of our components. The inclusion of ORR alone improved precision by nearly 5% on the UAVDT dataset, proving that the Cox process masking effectively prepares the model for real-world occlusion scenarios. Furthermore, the AFKD method allows the student model to retain 98-99% of the teacher's performance with significantly reduced computational overhead.

Conclusion

ORTrack successfully addresses the dual challenges of occlusion sensitivity and computational efficiency in UAV tracking. By simulating realistic occlusions through a spatial Cox process and utilizing adaptive knowledge distillation, we achieve state-of-the-art results at high frame rates. Future work will explore integrating temporal information to handle long-duration occlusions and improving performance under extreme lighting conditions.

Summary updated

BibTeX
@inproceedings{wu2025learning,
  author = {You Wu and Xucheng Wang and Xiangyang Yang and Mengyuan Liu and Dan Zeng and Hengzhou Ye and Shuiwang Li},
  title = {{Learning Occlusion-Robust Vision Transformers for Real-Time UAV Tracking}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=8ou2px3SNW},
}
Figure