Robust Tracking via Mamba-based Context-aware Token Learning

Jinxia Xie, Bineng Zhong, Qihua Liang, Ning Li, Zhiyi Mo, Shuxiang Song

Introduction

Visual object tracking requires a delicate balance between robustness and computational efficiency. To handle challenges such as sudden occlusions or drastic appearance changes, modern trackers increasingly rely on temporal information. However, traditional approaches often process multiple high-resolution frames or feature maps, leading to significant computational bottlenecks (high FLOPs) and the introduction of irrelevant background noise.

The proposed TemTrack framework addresses these issues by decoupling temporal context from appearance modeling. By representing video frames as compact "track tokens" and processing them through a Mamba-based architecture, TemTrack achieves state-of-the-art performance with a nearly 3x reduction in computational complexity compared to existing top-tier temporal trackers.

Methodology: The TemTrack Architecture

TemTrack introduces several key architectural innovations to streamline temporal modeling:

  1. Track Tokens: Instead of passing entire historical images through the network, the model generates a single "track token" per frame. This token summarizes the target's appearance within the backbone network, significantly reducing the data volume.
  2. Mamba-based Temporal Module: The core of the temporal processing is a State Space Model (Mamba). Unlike standard Transformers, Mamba offers linear complexity and an autoregressive nature, making it highly efficient for modeling sequences where the current state depends on previous hidden states.
  3. Hybrid Interaction: The temporal module combines a Mamba layer for long-sequence modeling with a cross-attention layer for global perception. This allows track tokens to interact within a sliding window, capturing both movement trends and appearance shifts.
  4. Feature Guidance: The history-aware track token guides the prediction head by adjusting search features via an element-wise product, focusing the model on the most likely target location.
Figure 2: Overall architecture of TemTrack, illustrating the flow from input images to track token extraction and temporal modeling.

Experimental Evaluation

Datasets

TemTrack was trained on standard datasets including COCO, LaSOT, TrackingNet, and GOT-10k. Evaluation was conducted across diverse benchmarks: LaSOT/LaSOText (long-term), GOT-10k (generic diversity), TrackingNet (in-the-wild), UAV123 (aerial), and TNL2K (natural language).

Performance and Efficiency

TemTrack demonstrates superior efficiency without sacrificing accuracy. On the LaSOT benchmark, it achieved a 73.1% AUC, outperforming established trackers like OSTrack and ODTrack. Notably, TemTrack-384 requires only 55.7G FLOPs, a massive reduction from the 148G required by SeqTrack-B384.

Figure 1: Comparison of performance (AUC), parameters, and FLOPs on the LaSOT benchmark. TemTrack (Ours-384) shows a superior trade-off between accuracy and computational cost.

The model maintains real-time performance, running at 36–46 FPS on an NVIDIA V100. It also shows enhanced robustness in challenging scenarios, outperforming previous leaders in "Fast Motion" and "Full Occlusion" by 2.2% and 1.0% respectively.

Discussion and Conclusion

The success of TemTrack highlights that "less is more" in temporal tracking. By compressing frame information into single tokens and utilizing the linear complexity of Mamba, the model effectively separates "what" an object looks like from "how" it moves.

Current limitations include a dependency on the backbone strength and a sliding window size (typically 4-8 frames) that may not capture extremely long-term occlusions. Future work will explore lighter backbones for edge deployment and the extension of this token-based Mamba approach to Multi-Object Tracking (MOT).

Summary updated

BibTeX
@inproceedings{xie2025robust,
  author = {Jinxia Xie and Bineng Zhong and Qihua Liang and Ning Li and Zhiyi Mo and Shuxiang Song},
  title = {{Robust Tracking via Mamba-based Context-aware Token Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i8.32943},
}
Figure