Tracking Anything in High Quality

Jiawen Zhu, Zhenyu Chen, Zeqi Hao, Shijie Chang, Lu Zhang, Dong Wang, Huchuan Lu, Bin Luo, Jun-Yan He, Jin-Peng Lan, Han-Yuan Chen, Chenyang LiarXiv 2023

Abstract

Visual object tracking is a fundamental video task in computer vision. Recently, the notably increasing power of perception algorithms allows the unification of single/multiobject and box/mask-based tracking. In this report, we propose HQTrack, a framework for High Quality Tracking anything in videos. HQTrack mainly consists of a video multi-object segmenter (VMOS) and a mask refiner (MR). Given the object to be tracked in the initial frame of a video, VMOS propagates the object masks to the current frame. To further improve the quality of tracking masks, a pretrained MR model is employed to refine the tracking results. As a compelling testament to the effectiveness of our paradigm, without employing any tricks such as test-time data augmentations and model ensemble, HQTrack ranked 2nd in the Visual Object Tracking and Segmentation (VOTS2023) challenge.

Introduction

Visual object tracking has traditionally been fragmented into specialized sub-tasks: short-term vs. long-term tracking, and bounding-box vs. mask-based output. The VOTS2023 (Visual Object Tracking and Segmentation) challenge recently unified these requirements, tasking models to track multiple objects over long sequences—sometimes exceeding 10,000 frames—using only segmentation masks.

Existing Video Object Segmentation (VOS) models often struggle with two primary issues: generalization and precision. Many are trained on "closed-set" datasets, causing them to fail in complex, real-world "corner cases." Furthermore, while they can locate an object, the resulting masks are often coarse, especially for objects with intricate structures or tiny details. HQTrack addresses these by decoupling the tracking and refinement processes.

The HQTrack Framework

HQTrack utilizes a two-stage pipeline designed to balance robust temporal propagation with high-fidelity spatial segmentation.

The HQTrack architecture consists of the Video Multi-Object Segmenter (VMOS) for mask propagation and the Mask Refiner (MR) for high-quality mask generation using HQ-SAM.

1. Video Multi-Object Segmenter (VMOS)

This stage handles the core tracking and propagation. Based on the DeAOT (Decoupled Associative Object Tracker) architecture, it employs a powerful InternImage-T backbone. To address the "small object bottleneck" common in VOS—where standard 16× downsampling discards fine details—the authors implemented a multi-scale propagation strategy. By cascading Gated Propagation Modules (GPM) at 8× and 4× scales, the model preserves the features of tiny targets. To maintain efficiency over long-term sequences, a fixed-length long-term memory is utilized.

2. Mask Refiner (MR)

The raw masks generated by VMOS can often appear "fuzzy." HQTrack polishes these results by calculating bounding boxes from the VMOS masks and using them as visual prompts for HQ-SAM (a high-quality variant of Meta’s Segment Anything Model).

A critical component of this stage is Selective Refinement. If the refined mask from HQ-SAM deviates significantly from the original VMOS mask (measured by an IoU threshold $\tau = 0.1$), the system rejects the refinement. This safeguard prevents the refiner from "jumping" to a different object in cases where the initial tracking might have been ambiguous.

Training and Datasets

The model underwent a rigorous training regime to ensure robustness:

  • Pre-training: Synthetic video sequences were generated from static image datasets to establish basic segmentation capabilities.
  • Main Training: The model was trained on a diverse collection of VOS and tracking datasets, including DAVIS, YouTubeVOS, VIPSeg, BURST, and MOTS. Notably, the OVIS dataset was included specifically to improve the model's robustness against heavy occlusions.

Experimental Results

HQTrack demonstrated exceptional performance across diverse scenarios, from high-speed sports to complex underwater environments.

Qualitative results of HQTrack across various VOTS2023 sequences, demonstrating robust tracking and high-quality segmentation for multiple objects.

VOTS2023 Performance

HQTrack achieved a Quality Score of 0.615 on the test set, securing 2nd place overall. This result is particularly significant as it was achieved without common competition "tricks" like model ensembles or test-time data augmentation.

Key Insights

  • Joint Tracking: The authors found that tracking multiple objects simultaneously in a single embedding space allows the model to better understand inter-object relationships and avoid confusing similar-looking targets.
  • Backbone Impact: Replacing a standard ResNet50 backbone with InternImage-T boosted the Success Score (AUC) from 0.576 to 0.611. The addition of multi-scale propagation further increased this to 0.650 on the validation set.
  • Refinement Gain: The HQ-SAM refinement step provided a consistent boost of approximately 0.9% in AUC, proving that generalist segmentation models can effectively polish specialist tracking results.

Limitations and Conclusion

While HQTrack sets a new standard for high-quality tracking, some limitations remain. The fixed-length memory, while efficient, may lead the model to "forget" objects during extremely long occlusions. Additionally, the computational overhead of running HQ-SAM for every frame and object may limit real-time applications. Finally, like most semi-supervised methods, the system is dependent on the quality of the initial user-provided mask.

In conclusion, HQTrack demonstrates that combining specialized temporal propagation with general-purpose high-quality segmentation is a powerful paradigm for the next generation of visual object tracking.

Summary updated

BibTeX
@misc{zhu2023tracking,
  author = {Jiawen Zhu and Zhenyu Chen and Zeqi Hao and Shijie Chang and Lu Zhang and Dong Wang and Huchuan Lu and Bin Luo and Jun-Yan He and Jin-Peng Lan and Han-Yuan Chen and Chenyang Li},
  title = {{Tracking Anything in High Quality}},
  year = {2023},
  eprint = {2307.13974},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.13974},
}
Figure