Explicit Visual Prompts for Visual Object Tracking

Liangtao Shi, Bineng Zhong, Qihua Liang, Ning Li, Shengping Zhang, Xianxian Li

Abstract

Visual object tracking (VOT) faces significant challenges due to target appearance changes over time. Traditional trackers either rely on a static initial template, which is brittle, or employ dynamic template updates that require complex, error-prone decision-making. We present EVPTrack, a novel framework that bypasses the "when-and-how-to-update" dilemma by using explicit visual prompts. By propagating spatio-temporal and multi-scale tokens across frames, EVPTrack maintains a continuous target representation. Our method achieves state-of-the-art performance on major benchmarks like LaSOT and GOT-10k while maintaining high efficiency (up to 71 FPS).

Introduction: The Tracking Dilemma

The primary goal of visual object tracking is to follow a target throughout a video sequence given only its initial state. The core difficulty lies in handling appearance changes caused by rotation, deformation, occlusion, or scale variations.

Existing tracking paradigms generally fall into two categories:

  1. Initial Template Trackers: These use only the first frame's target appearance. While fast, they often fail when the target's appearance deviates significantly from the start.
  2. Dynamic Template Trackers: These attempt to update the target template periodically. However, they face a critical "gatekeeper" problem: updating with a poor-quality tracking result leads to "drift," while failing to update leads to loss of the target.
Comparison of tracking paradigms: (a) static initial template, (b) dynamic template with discrete updates, and (c) the proposed EVPTrack with continuous token propagation.

EVPTrack introduces a third way: treating temporal context as a continuous stream of "prompts" rather than discrete template updates. This approach avoids binary update decisions, opting for a continuous flow of tokens weighted by the Transformer’s attention mechanism.

Methods: EVPTrack Architecture

EVPTrack utilizes "Explicit Visual Prompts" to guide the tracking process. Unlike implicit learnable vectors used in some NLP prompting methods, these prompts are derived directly from image data and temporal context.

The EVPTrack architecture featuring the Multi-Scale Prompt Generator (MSPG), Spatio-Temporal Prompt Generator (STPG), and the Image-Prompt Encoder.

Key Components

  • Spatio-Temporal Encoder (STE): Instead of discarding information after each frame, the STE extracts tokens from the current frame and propagates them to the next. This creates a continuous "memory" of the target's state without a formal template update.
  • Prompt Generators:
    • Spatio-Temporal Prompts: Refined tokens from previous frames that provide historical context.
  • Multi-Scale Prompts: The template image is cropped at multiple resolutions (e.g., 14x14, 16x16, 18x18) to help the tracker handle targets that grow or shrink.
  • Image-Prompt Encoder: A Transformer-based backbone that fuses search tokens, template tokens, and visual prompts. The attention mechanism naturally weights these prompts, allowing the model to adapt to appearance changes without explicit update logic.

Evaluation and Results

EVPTrack was trained on large-scale datasets (LaSOT, GOT-10k, TrackingNet, COCO) and evaluated across six major benchmarks, including UAV123 and TNL2K.

Performance Highlights

  • LaSOT: Achieved a 72.7% Success Score (AUC), outperforming established models like OSTrack and SeqTrack.
  • GOT-10k: Reached 76.6% Average Overlap (AO), demonstrating strong generalization to unseen object categories.
  • Efficiency: The EVPTrack-224 variant operates at 71 FPS, making it suitable for real-time applications. It provides superior accuracy with significantly fewer FLOPs compared to competing architectures like SeqTrack-B384.

Conclusion

EVPTrack demonstrates that explicit visual prompting is a powerful alternative to traditional template update strategies in visual tracking. By replacing discrete, heuristic-based updates with a continuous flow of spatio-temporal information, the model achieves both high accuracy and robustness. Future work may explore scaling this approach with larger Vision Transformer backbones and more sophisticated prompt generation techniques for complex, cluttered environments.

Summary updated

BibTeX
@inproceedings{shi2024explicit,
  author = {Liangtao Shi and Bineng Zhong and Qihua Liang and Ning Li and Shengping Zhang and Xianxian Li},
  title = {{Explicit Visual Prompts for Visual Object Tracking}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i5.28286},
}
Figure