TL;DR
Video Instance Segmentation (VIS) traditionally relies on heavy, complex pipelines to track and segment objects across frames. This paper introduces STC, a streamlined single-stage framework that leverages bi-directional spatio-temporal contrastive learning and dynamic filter consistency to associate instances. The result is a highly efficient model that achieves state-of-the-art speed and accuracy trade-offs without needing cumbersome 3D convolutions or RoI-align operations.
What Problem Does This Paper Address?
Video Instance Segmentation requires a model to simultaneously classify, segment, and track object instances across a video. While image instance segmentation has seen huge leaps, extending this to video introduces the difficult challenge of instance association—keeping track of the exact same object across time despite motion, occlusion, or deformation.
Existing solutions are often computationally heavy, relying on 3D convolutions, memory-hungry Transformers, or two-stage RoI-based pipelines (like MaskTrack R-CNN). Furthermore, previous methods often treat tracking as a simple multi-label classification problem. This focuses on the intrinsic features of an object but ignores the extrinsic differences between similar but distinct objects, frequently leading to identity switches when multiple similar objects are in the frame.
Methods
The authors build on CondInst, a fast, single-stage image instance segmentation model that uses dynamic filters (generating specific convolution kernels on-the-fly for each instance). To adapt this for video, they introduce three main components:
- Tracking Head: A lightweight branch added in parallel to the mask generation head to output instance-specific tracking embeddings.
- Bi-directional Spatio-Temporal Contrastive Learning: Instead of a standard classification loss for tracking, the authors use a contrastive loss. For a given object query, the model densely samples hundreds of positive and negative embeddings from reference frames. It pulls embeddings of the same instance together while explicitly pushing different instances apart. This is done bi-directionally (forward and backward in time) during training to maximize temporal context, without adding overhead during inference.
- Temporal Consistency Scheme: They apply an L2-loss constraint directly to the dynamic filter weights (kernel weights) and the predicted masks across adjacent frames. This forces the network to generate temporally coherent filters, reducing mask flickering and improving boundary stability.
Datasets
The model was trained and evaluated on three standard VIS benchmarks:
- YouTube-VIS-2019: The standard benchmark for VIS, containing 40 categories and thousands of videos.
- YouTube-VIS-2021: An updated, higher-quality version of the 2019 dataset with more videos and refined annotations.
- OVIS-2021: A newer, highly challenging dataset specifically designed with severe object occlusions to test the limits of tracking in complex, real-world scenes.
Key Insights and Ideas
- Contrastive > Classification for Tracking: Formulating instance association as a contrastive learning problem is highly effective. By actively pushing away negative samples (other objects or background stuff), the model learns much more discriminative embeddings than it would using standard multi-label classification.
- Filter-Level Consistency: Enforcing temporal consistency not just on the final pixel mask, but on the weights of the dynamic filters generating the mask, is a clever way to bake temporal priors directly into the network's parameters.
- Simplicity Wins: You don't need 3D convolutions or complex feature-aggregation memory banks to achieve top-tier VIS performance. A well-tuned single-stage image model with a smart tracking loss can outperform much heavier architectures.
Key Results
- Speed-Accuracy Trade-off: On YouTube-VIS-2019, STC (with a ResNet-50 backbone) achieves 36.7% AP at 40.3 FPS. This is a massive 6.4% AP improvement over the pioneering MaskTrack R-CNN, while running faster.
- State-of-the-Art Single-Stage: It outperforms recent strong competitors like CrossVIS by 1.9% AP with slightly faster inference speeds. Upgrading to a ResNet-101 backbone pushes performance to 37.8% AP.
- Robustness to Occlusion: On the highly challenging OVIS-2021 dataset, STC achieved the best performance among compared methods (15.5% AP), proving its contrastive tracking embeddings handle occlusions better than baseline approaches.
Limitations and Future Work
While STC achieves state-of-the-art on OVIS-2021, the absolute performance (15.5% AP) highlights that severe occlusions remain a massive, unsolved challenge for the entire field of VIS. The paper does not explicitly detail major architectural flaws but acknowledges the inherent difficulty of these complex scenes.
For future work, the authors hope STC serves as a strong, simple baseline that inspires the community to rethink embedding losses and design even more efficient, streamlined frameworks for challenging video instance segmentation tasks.
Summary updated