SAMViTrack: A Search-Region Adaptive Mamba-ViT Tracker for Real-Time UAV Tracking

Xiaoyu Guo, Yian Li, Hao Zhang, Xucheng Wang, Dan Zeng, Feixiang He, Shuiwang LiSensors 2025 · DOI

TL;DR

This paper introduces SAMViTrack, a novel real-time UAV tracker that combines the efficiency of Mamba's attention mechanism with the powerful feature extraction of Vision Transformers (ViT). It achieves superior accuracy and speed by adaptively adjusting the search region based on target motion, making it ideal for resource-constrained UAVs.

What Problem Does This Paper Address?

Real-time Unmanned Aerial Vehicle (UAV) applications, such as surveillance and environmental monitoring, heavily rely on accurate and efficient object tracking. However, UAVs operate in dynamic environments with unpredictable target movements, occlusions, and changing conditions. Traditional trackers often use fixed search regions, which fail to adapt to these challenges, leading to tracking drift and reduced accuracy. While deep learning models like Vision Transformers (ViTs) offer better feature extraction, their high computational cost makes them unsuitable for real-time deployment on resource-limited UAVs. This paper aims to bridge this gap by developing a tracker that is both accurate and computationally efficient for UAV applications.

Methods

SAMViTrack is built upon a novel hybrid backbone that integrates Mamba and ViT. Mamba, known for its linear-time sequence modeling and efficiency, is used for its lightweight attention mechanism, reducing computational overhead. ViT, on the other hand, excels at capturing global dependencies and rich feature extraction. The paper proposes a specific Mamba-ViT configuration (3 Mamba layers followed by 3 ViT layers) that balances these strengths.

The core innovation is the Search-Region Adaptive (SA) module. This module dynamically adjusts the size of the search region based on the target's relative speed from the previous frame. Unlike other adaptive methods that might require additional training or network branches, the SA module is a plug-and-play component that operates solely during inference. This adaptive scaling helps to reduce unnecessary computations by shrinking the search area during slow motion and expanding it during fast motion or occlusions, thereby improving both efficiency and robustness.

Datasets

The paper uses several standard datasets for training and evaluation:

  • Training: GOT-10k, LaSOT, COCO, and TrackingNet.
  • Evaluation: DTB70, UAV123, VisDrone2018, UAVDT, and WebUAV-3M.

The authors note that while SAMViTrack is trained on general datasets, UAV-specific datasets like WebUAV-3M could further improve viewpoint robustness.

Key Insights and Ideas

  • Mamba + ViT Synergy: Combining Mamba's efficiency with ViT's representational power creates a potent hybrid backbone that outperforms using either architecture alone for UAV tracking.
  • Inference-Only Adaptive Search: The SA module's ability to adapt the search region without requiring additional training or model parameters is a significant advantage for real-time deployment.
  • Motion-Adaptive Search Region: Dynamically adjusting the search region based on target speed is crucial for balancing accuracy and efficiency. It prevents drift during slow motion and ensures coverage during fast motion or occlusions.
  • Generalizability of SA Module: The SA module demonstrates consistent improvements when integrated into other state-of-the-art trackers, highlighting its broad applicability beyond UAV tracking.

Key Results

  • Performance: SAMViTrack achieves state-of-the-art performance on multiple UAV tracking benchmarks, outperforming traditional and modern trackers.
  • Speed: It demonstrates remarkable efficiency, achieving approximately 340 FPS on a GPU, significantly faster than many comparable trackers. For instance, it is over 150 FPS faster than Aba-ViTrack while maintaining comparable precision.
  • Accuracy: The adaptive search region mechanism leads to improved precision and success rates, particularly in challenging scenarios like fast motion and occlusions. For example, on the fast motion subset of VisDrone2018, SAMViTrack achieved a precision of 77.4%, with its SA module improving its baseline MViTrack by 0.6%.
  • Efficiency: The SA module reduces computational overhead by minimizing image resizing operations, especially during periods of slow target motion.

Limitations and Future Work

  • One-Frame Response Delay: The adaptive search mechanism relies on motion cues from the previous frame, introducing a one-frame delay. This can affect responsiveness to abrupt accelerations or direction changes, potentially leading to temporary tracking failure if the target moves outside the contracted region.
  • Single-Target Focus: SAMViTrack currently operates in a Single-Object Tracking (SOT) paradigm and does not inherently handle multi-target scenarios or inter-target reasoning.
  • Coarse Motion Categorization: The current motion modeling is a simplified reactive approach, sacrificing long-horizon, intent-aware prediction for computational efficiency.
  • Future Directions:
    • Anticipatory Dynamics: Integrating anticipatory dynamics inspired by socially interactive and game-theoretic models could allow for preemptive search region expansion based on predicted adversarial maneuvers or outcome variance.
  • Multi-Target Extension: Extending SAMViTrack to handle multiple targets, including independent search regions, adaptive scaling, and inter-target reasoning, is a promising avenue.
  • UAV-Specific Training: Training or fine-tuning the model on UAV-specific datasets could further enhance viewpoint robustness.
BibTeX
@inproceedings{guo2025samvitrack,
  author = {Xiaoyu Guo and Yian Li and Hao Zhang and Xucheng Wang and Dan Zeng and Feixiang He and Shuiwang Li},
  title = {{SAMViTrack: A Search-Region Adaptive Mamba-ViT Tracker for Real-Time UAV Tracking}},
  booktitle = {Sensors},
  year = {2025},
  doi = {10.3390/s25247454},
}