Abstract
QueryTrack is a unified, end-to-end framework for Video Instance Segmentation (VIS) that treats tracking as a query-matching problem. By extending the QueryInst architecture with a contrastive tracking head, it achieves state-of-the-art performance on the YouTube-VIS benchmarks. Notably, it secured 2nd place in the 2021 challenge with a remarkably simple design that leverages the one-to-one correspondence between object queries and physical instances, avoiding the need for complex heuristic association rules or ensemble methods.
Introduction
Video Instance Segmentation (VIS) is a challenging computer vision task requiring simultaneous detection, classification, segmentation, and tracking of object instances across video sequences. Traditional approaches often "bolt on" tracking modules to existing image-based models, relying on heuristic association rules like hand-tuned overlap thresholds. These hybrid systems are sensitive to hyperparameters, difficult to train end-to-end, and dependent on complex post-processing.
QueryTrack addresses these limitations by replacing clunky pipelines with a unified, query-based approach. It leverages the natural one-to-one correspondence between object queries and physical instances to streamline the tracking process.
Methodology
QueryTrack is built upon QueryInst, where "queries" are d-dimensional vectors that learn to identify specific objects. The authors introduce two primary innovations for video:
- Contrastive Tracking Head: A dedicated branch embeds each detected instance into a latent feature space. Using contrastive learning on "key" and "reference" frames, the model learns to pull embeddings of the same instance together while pushing different instances apart.
- Contrastive Focal Loss: This specialized loss function prevents the tracking task from interfering with detection and segmentation, focusing the model on hard-to-track examples without degrading mask quality.
For Online Instance Association, QueryTrack combines learned appearance similarity with spatial consistency (Bounding Box IoU) and semantic consistency (category stability and confidence). The core insight is that if a query represents a unique instance in one frame, its refined version is the most natural way to track that identity across time.
Experimental Results
The model was evaluated on the YouTube-VIS 2019 and 2021 benchmarks. Notably, QueryTrack achieved its results without the massive external datasets (like Open-Images) often used by competitors.
Key results include:
- YouTube-VIS 2021 Challenge: Achieved 52.3 AP, securing 2nd place on the final leaderboard.
- YouTube-VIS 2019: Using a Swin-L backbone, it reached 52.7 AP, a substantial improvement over MaskProp (46.6 AP) and VisTR (40.1 AP).
- Efficiency: Even with a standard ResNet-50 backbone, QueryTrack outperformed more complex models, demonstrating the architecture's inherent efficiency.
Conclusion and Future Work
QueryTrack demonstrates that simplicity can win in complex tasks. By moving from heuristic-based tracking to a learned embedding head, the authors reduced manual hyperparameter tuning while achieving top-tier performance with a single-scale, online end-to-end model.
Future work may involve moving towards a "pure" end-to-end system that automatically learns to integrate spatial and semantic factors without manual formulas. Additionally, while QueryTrack is an efficient online model, integrating global temporal information—typical of offline models—could further enhance accuracy by correcting past mistakes using future context.
Summary updated