FocusTrack: A Self-Adaptive Local Sampling Algorithm for Efficient Anti-UAV Tracking

Ying Wang, Tingfa Xu, Jianan Li · DOI

Abstract

Tracking Unmanned Aerial Vehicles (UAVs) in Thermal Infrared (TIR) sequences is challenging due to small target sizes, low resolution, and cluttered backgrounds. Existing local trackers are efficient but fragile under abrupt motion, while global trackers are robust but computationally prohibitive for real-time applications. This paper presents FocusTrack, a novel framework that bridges this gap using a self-adaptive Search Region Adjustment (SRA) strategy and a hierarchical Attention-to-Mask (ATM) module. FocusTrack achieves state-of-the-art accuracy on infrared benchmarks (67.7% AUC on AntiUAV) while maintaining real-time performance up to 143 FPS.

Introduction: The Tracking Dilemma

UAV tracking, particularly in the TIR spectrum, often involves targets that are low-resolution and easily lost against complex backgrounds. Current tracking paradigms face a "Goldilocks" dilemma. Global-based trackers scan entire frames, providing robustness against camera jerks but at the cost of high computational overhead (often running at sub-real-time speeds like 8 FPS). Conversely, local-based trackers utilize small search windows for high speed but fail when targets "jump" out of the frame due to abrupt motion or camera jitter.

Motivation for self-adaptive local sampling in UAV tracking.

FocusTrack addresses this by providing the efficiency of a local tracker with the reacquisition capabilities of a global one through dynamic search area management.

Proposed Methodology

The FocusTrack architecture is built upon a Transformer-based backbone and introduces two primary innovations to handle non-smooth motion and feature degradation:

Search Region Adjustment (SRA)

Instead of a static search window, FocusTrack employs a learnable CLS_Token to estimate target presence probability. When confidence drops—indicating the target may have moved out of the current crop—the SRA module incrementally expands the search factor. Once the target is reacquired, the system "zooms back in" to maintain precision and minimize background noise.

Attention-to-Mask (ATM) Module

Expanding the search region naturally decreases the target's relative feature proportion, leading to feature degradation. The ATM module counteracts this by integrating hierarchical information from multiple backbone layers to generate a segmentation mask. This mask serves as an attention weight, suppressing background noise and sharpening the target representation even when it occupies a tiny fraction of the search area.

The FocusTrack architecture featuring SRA and ATM modules.

Training Strategy

To optimize the SRA module, the authors utilized a Contrastive Frame Sampling strategy. The model was trained on both positive (target present) and negative (target absent) pairs, ensuring the CLS_Token could reliably trigger search area expansion when the target is missing from the local crop.

Experimental Results and Insights

FocusTrack was evaluated on the AntiUAV and AntiUAV410 benchmarks, which emphasize complex real-world TIR tracking scenarios.

Performance Metrics

  • Accuracy: FocusTrack achieved 67.7% AUC on AntiUAV and 62.8% AUC on AntiUAV410, outperforming baseline local trackers by approximately 8.5% to 9.1%.
  • Efficiency: The full model runs at 44 FPS, while a streamlined SRA-only version reaches a blistering 143 FPS.
  • Computational Cost: Requiring only 30G MACs, FocusTrack offers a nearly 8x reduction in computational load compared to high-performing global trackers like SiamDT (225G MACs).

Key Insights

The study highlights that simply "zooming out" (increasing the search window) is insufficient because it introduces excessive background clutter that can confuse the tracker. The ATM module is critical for maintaining feature quality during expansion. FocusTrack treats the search area as a dynamic state responding to tracking confidence, allowing for a "Dynamic Field of View" that balances efficiency and robustness.

Conclusion

FocusTrack successfully combines the speed of local tracking with the robustness of global search. By dynamically adjusting the search region and enhancing features through attention masks, it handles challenging scenarios like thermal crossover and out-of-view motion. While the current ATM module uses pseudo ground-truth masks generated from bounding boxes, future work may involve leveraging pixel-level segmentation datasets to further refine target discrimination in extreme clutter.

Summary updated

BibTeX
@article{wang2025focustrack,
  author = {Ying Wang and Tingfa Xu and Jianan Li},
  title = {{FocusTrack: A Self-Adaptive Local Sampling Algorithm for Efficient Anti-UAV Tracking}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2025},
  doi = {10.1109/tgrs.2025.3562958},
}
Figure