Exploiting Lightweight Hierarchical ViT and Dynamic Framework for Efficient Visual Tracking

Ben Kang, Xin Chen, Jie Zhao, Chunjuan Bo, Dong Wang, Huchuan Lu · DOI

Abstract

Transformer-based visual trackers have achieved state-of-the-art accuracy but are often too computationally expensive for edge devices. This paper introduces HiT and DyHiT, a family of trackers designed for high-performance modeling on resource-constrained hardware. By employing a lightweight hierarchical Vision Transformer (ViT) backbone and a novel "Bridge Module," HiT preserves critical spatial details often lost in efficient architectures. Furthermore, DyHiT introduces a dynamic routing strategy that adapts computational effort to the difficulty of the tracking scenario. Evaluated on the NVIDIA Jetson AGX, DyHiT achieves up to 111 FPS with competitive accuracy, while the dynamic framework offers a plug-and-play speedup for existing high-performance trackers.

Introduction

While transformer-based trackers dominate accuracy leaderboards, their deployment on edge devices like drones or robots is hindered by low frame rates (often 5–13 FPS). This efficiency gap stems from two primary issues: the mismatch between hierarchical ViT downsampling and the need for fine-grained localization, and the static nature of traditional trackers that expend equal computation on "easy" and "hard" frames. This work addresses these challenges by optimizing both the architectural backbone and the inference pipeline.

Methodology

Hierarchical Tracker (HiT)

To maintain efficiency, HiT utilizes a lightweight hierarchical backbone. However, aggressive downsampling in such backbones typically leads to "attention collapse," where the model loses the ability to pinpoint small objects. To counter this, the authors introduced the Bridge Module.

Overview of the HiT architecture featuring the Lightweight Hierarchical Transformer and the Bridge Module for feature fusion.

As shown in the architecture diagram, the Bridge Module collects features from multiple transformer stages, fusing high-level semantic information with shallow, high-resolution details. Additionally, HiT employs Dual-image Position Encoding, which jointly encodes the template and search area in a diagonal arrangement to maintain unique spatial coordinates and reduce localization errors.

Dynamic Framework (DyHiT)

Building upon HiT, DyHiT incorporates a Dynamic Router—a lightweight sub-network that classifies frames as "Easy" or "Hard." In easy scenarios, the model exits early using only shallow features, saving significant energy and time. This framework is "plug-and-play," meaning it can be integrated into other state-of-the-art trackers like OSTrack or SeqTrack to provide training-free acceleration.

Experimental Results

The proposed models were evaluated across major benchmarks including LaSOT, TrackingNet, and GOT-10k. On edge-specific hardware (NVIDIA Jetson AGX), HiT-Base achieved 61 FPS with a 64.6% AUC on LaSOT, significantly outperforming existing efficient trackers.

Success Rate (AUC) vs. Speed on LaSOT benchmark, highlighting the efficiency of the HiT family on edge hardware.

The dynamic variant, DyHiT, reached an impressive 111 FPS on the same device. Beyond standalone performance, the dynamic framework demonstrated universal utility; when applied to SeqTrack-B256, it yielded a 2.68× speedup on desktop GPUs with negligible impact on accuracy.

Conclusion

HiT and DyHiT demonstrate that high-performance transformer tracking is viable on edge devices. By bridging the gap between hierarchical feature extraction and spatial precision, and by exploiting the inherent redundancy in video sequences through dynamic routing, this work sets a new standard for efficient visual tracking. Future research will focus on improving discriminative power in heavy background clutter and further optimizing the Bridge Module for ultra-low-power microcontrollers.

Summary updated

BibTeX
@article{kang2025exploiting,
  author = {Ben Kang and Xin Chen and Jie Zhao and Chunjuan Bo and Dong Wang and Huchuan Lu},
  title = {{Exploiting Lightweight Hierarchical ViT and Dynamic Framework for Efficient Visual Tracking}},
  journal = {Int. J. Comput. Vis.},
  year = {2025},
  doi = {10.1007/s11263-025-02500-9},
}
Figure