RTracker: Recoverable Tracking via PN Tree Structured Memory

Yuqing Huang, Xin Li, Zikun Zhou, Yaowei Wang, Zhenyu He, Ming-Hsuan Yang

Abstract

Visual object tracking often fails when targets are fully occluded or leave the field of view. RTracker introduces a novel framework to address this "lost target" problem using a Positive-Negative (PN) Tree-structured memory. By maintaining a chronological history of target appearances (positive branch) and distractors (negative branch), RTracker implements a relative distance-based criterion for target presence. This allows the system to reliably pause tracking when a target is lost and re-initialize via a global detector upon reappearance. RTracker demonstrates superior performance on long-term benchmarks, including a 63.2% AUC on VideoCube.

Introduction

Visual tracking is fundamental to computer vision, yet standard trackers struggle with complete target disappearance. Once a target is lost due to occlusion or leaving the frame, most trackers either drift onto background noise or fail to recover. Existing recovery methods often rely on fixed similarity thresholds, which are frequently too rigid to handle appearance changes over time. RTracker solves this by bridging local tracking and global detection through a specialized memory structure.

Qualitative comparison of RTracker against other state-of-the-art trackers in scenarios of full occlusion, out-of-view, and viewpoint change.

Methodology

The core of RTracker is the PN Tree Structured Memory. Unlike traditional single-template trackers, RTracker utilizes a binary tree where the positive branch stores historical target snapshots and the negative branch stores "hard negatives"—distractors that resemble the target.

The system operates through three adaptive control flows:

  1. Normal Case: The tracker follows the target and updates the PN tree with new positive samples.
  2. Missing Target Case: If the PN tree determines the target is lost, tracking pauses and a global detector is activated. The failed tracking result is added to the negative branch to prevent future errors.
  3. Recovering Target Case: The detector scans the frame, and the PN tree validates candidates to re-initialize tracking.
The overall architecture of RTracker, illustrating the control flow between tracking and detection modes guided by the PN Tree memory.

Target presence is determined by a "walking rule" through the tree, comparing candidate patches against both positive and negative nodes. This relative distance criterion is significantly more robust than absolute thresholds because it considers what the target is not as much as what it is.

Experiments and Results

RTracker was evaluated on major benchmarks including VideoCube, LaSOT, and GOT-10k. It achieved a 63.2% AUC on VideoCube (a 2.4% improvement over MixViT) and 74.7% AUC on LaSOT. In "out-of-view" scenarios, it outperformed competitors by 3.2%. A key strength is its recovery speed; while other trackers may take dozens of frames to relocate a target, RTracker often succeeds within 2-5 frames of reappearance.

Conclusion

By shifting from absolute similarity to relative distance via a PN Tree memory, RTracker provides a robust solution for long-term tracking. While it introduces a slight computational overhead (running at ~0.75x base speed), its ability to learn from failure and re-initialize tracking sets a new standard for recoverable visual tracking. Future work will explore semantic descriptors to handle extreme appearance changes where visual similarity alone is insufficient.

Summary updated

BibTeX
@inproceedings{huang2024rtracker,
  author = {Yuqing Huang and Xin Li and Zikun Zhou and Yaowei Wang and Zhenyu He and Ming-Hsuan Yang},
  title = {{RTracker: Recoverable Tracking via PN Tree Structured Memory}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure