Abstract
Unmanned Aerial Vehicle (UAV) tracking presents a unique challenge in computer vision, requiring high precision under severe computational constraints. While deep learning-based trackers offer superior accuracy compared to traditional Discriminative Correlation Filters (DCF), their deployment on standard UAV CPUs is often hindered by high latency. This paper introduces P-SiamFC++, a streamlined version of the SiamFC++ architecture optimized through rank-based filter pruning. By identifying and removing redundant filters using the HRank criterion, we achieve a significant reduction in model complexity. Experimental results across four major UAV benchmarks—UAV123@10fps, DTB70, UAVDT, and VisDrone2018—demonstrate that P-SiamFC++ not only increases CPU inference speed by 56.8% but also enhances tracking precision, suggesting that strategic pruning acts as an effective regularizer for aerial tracking tasks.
Introduction
UAV tracking is often described as a "Goldilocks" problem. On one end of the spectrum, Discriminative Correlation Filters (DCF) provide the speed necessary for real-time execution on limited hardware but frequently fail to handle complex motions or cluttered backgrounds. On the other end, deep learning-based trackers provide robust representational power but typically require high-end GPUs, making them impractical for edge deployment on standard drone CPUs.
The objective of this research is to bridge the gap between these two paradigms. By applying model compression techniques to a state-of-the-art Siamese network, we aim to maintain the "intelligence" of deep learning while achieving the efficiency required for real-time (>30 FPS) CPU performance.
Methodology
Base Architecture
The proposed model, P-SiamFC++, is built upon the SiamFC++ framework. This architecture utilizes a Siamese network with an AlexNet backbone and distinct branches for classification, regression, and "center-ness" (a quality assessment metric). This multi-head approach allows for precise localization and scale estimation of the target.
Rank-Based Pruning (HRank)
To reduce the computational load, we employ a "rank-based" pruning strategy known as HRank. Unlike traditional pruning methods that rely on weight magnitude, HRank evaluates the average rank of the feature maps generated by each filter. The underlying principle is that feature maps with low mathematical rank contain redundant or low-information data. By removing the filters responsible for these low-rank outputs, we can significantly compress the model without losing critical discriminative features.
Pruning Schedule
The compression follows a one-shot schedule:
- Rank Calculation: The rank of feature maps is calculated across the network.
- One-Shot Pruning: The least useful filters in both the backbone (feature extractor) and the head (decision-making branches) are removed simultaneously. The "neck" of the network is preserved to maintain the integrity of the Siamese feature fusion.
- Fine-Tuning: The pruned network undergoes a fine-tuning phase to recover and optimize performance, allowing the remaining weights to adapt to the reduced architecture.
Experimental Results
Efficiency and Speed
The pruning process successfully reduced the model size from 9.66M to 7.49M parameters (77.6% of the original size). This reduction translated into a substantial performance boost on hardware:
- CPU Performance: Average speed increased from 29.4 FPS to 46.1 FPS, a 56.8% improvement that comfortably exceeds the real-time threshold.
- GPU Performance: On high-end hardware, the model reached a blistering 258.8 FPS.
Tracking Accuracy
Evaluation on the UAVDT benchmark showed that P-SiamFC++ achieved a precision of 80.7%. This outperformed other CPU-friendly alternatives such as RACF (75.7%) and AutoTrack (72.3%). While the model trails slightly behind massive, non-real-time architectures like TransT in absolute precision, it operates approximately six times faster, offering a superior trade-off for practical deployment.
Pruning as Regularization
A significant finding of this study is that P-SiamFC++ often outperformed its uncompressed predecessor in precision. This suggests that the pruning process serves as a form of regularization. By removing "noisy" or redundant filters, the model is forced to rely on more robust features, leading to better generalization in the specific context of aerial footage, which is often characterized by motion blur and varying altitudes.
Conclusion
P-SiamFC++ demonstrates that deep learning trackers can be made viable for CPU-based UAV applications through principled model compression. By utilizing rank-based pruning, we achieved a 46.1 FPS tracking speed while improving overall precision. Future work will focus on automating the selection of pruning ratios for each layer and extending the optimization to the network's "neck." Additionally, testing on specialized embedded modules, such as ARM-based Jetson platforms, will be essential for validating the model's performance in real-world flight scenarios.
Summary updated