Abstract: UniVS is a novel architecture that unifies major video segmentation tasks—ranging from category-specified tracking (VIS, VSS, VPS) to prompt-specified identification (VOS, RefVOS, PVOS)—into a single "prompts-as-queries" framework. By treating predicted masks from previous frames as visual prompts for the current one, UniVS eliminates the need for complex, heuristic inter-frame matching. The model achieves state-of-the-art performance on several universal benchmarks, including VSPW and VIPSeg, demonstrating the power of a unified approach to video understanding.
Introduction: Bridging the Gap in Video Segmentation
Video segmentation (VS) is currently a fragmented field, typically divided into two distinct paradigms. Category-specified tasks (e.g., VIS, VSS, VPS) require detecting and tracking objects from a predefined list, often utilizing Hungarian matching for temporal association. Prompt-specified tasks (e.g., VOS, RefVOS, PVOS) focus on re-identifying specific targets based on visual or linguistic prompts.
Existing "unified" models often struggle to handle both paradigms simultaneously or rely on heavy post-processing. UniVS addresses this by proposing a universal architecture where every target is treated as a query generated from a prompt.
Methods: Prompts as Queries
The core philosophy of UniVS is to simplify tracking by converting it into a "re-segmentation" problem guided by prompts.
Architectural Components
- Prompt Encoder: This module converts various inputs—points, boxes, masks, or text—into a common embedding space, leveraging frozen CLIP text encoders for open-vocabulary capability.
- Target-wise Prompt Cross-Attention (ProCA): UniVS maintains a memory pool of prompt features. The ProCA layer allows the mask decoder to attend to these specific features, helping the model differentiate between similar-looking targets and reducing "mask spilling."
- Unified Video Mask Decoder: The decoder uses the mean of prompt features as an initial query and features Separated Self-Attention (Sep-SA) to isolate interactions between learnable queries (for new objects) and prompt queries (for tracked objects).
Pseudo-Visual Prompts
To handle category-specified tasks without heuristic matching, UniVS treats its own predictions from previous frames as "visual prompts" for the next frame. This effectively converts a tracking problem into a prompt-guided segmentation problem.
Experimental Results
UniVS was evaluated on 10 challenging benchmarks across 6 different VS tasks. The results demonstrate a remarkable balance between specialized performance and general universality.
- State-of-the-Art (SOTA): UniVS sets new records for Video Semantic Segmentation (VSS) and Video Panoptic Segmentation (VPS), achieving 48.2 mIoU on VSPW and 45.8 STQ on VIPSeg.
- Competitive Tracking: On the OVIS dataset, known for heavy occlusions, it reaches 41.7 mAP with a Swin-L backbone, outperforming many specialized models.
- Robust Prompting: On RefVOS (text-guided), it achieves 58.0 J&F on RefYT, proving its multimodal strength.
Conclusion
UniVS demonstrates that unification through simplification is a viable path for video segmentation. By bypassing the "matching" bottleneck and utilizing a memory-enhanced prompt-query system, it provides a robust, universal framework. Future work will explore scaling object queries and improving the handling of "stuff" categories through more diverse training data and longer-term temporal propagation.
Summary updated