Abstract
Video segmentation is traditionally divided into specialized sub-tasks, including Video Instance Segmentation (VIS), Video Semantic Segmentation (VSS), Video Panoptic Segmentation (VPS), and Exemplar-guided Video Segmentation (EVS). While recent trends favor "general" models that unify these tasks under a single architecture, these models often suffer from homogenization—treating distinct tasks with identical strategies—and rely too heavily on visual appearance. This paper introduces GvSeg, a unified framework that achieves state-of-the-art performance by explicitly disentangling object appearance from shape and position. By adopting a task-oriented approach within a general architecture, GvSeg demonstrates that specialized strategies for query initialization and matching are essential for robust video perception.
Introduction
In computer vision, understanding objects in motion requires more than just identifying pixels; it requires tracking identity, shape, and category across time. Historically, this has led to a fragmented landscape of models tailored to specific tasks: VIS for tracking individuals, VSS for category-level labeling, and VPS for a comprehensive scene understanding.
Recent "universal" architectures have attempted to bridge these gaps. However, the authors of GvSeg identify a critical flaw: these models often ignore the unique requirements of each task. For instance, tracking a specific person (VIS) demands high instance-level discrimination, whereas identifying a "sidewalk" (VSS) requires broad semantic consistency. Furthermore, most models rely almost exclusively on appearance features, making them vulnerable to motion blur, low light, or occlusions. GvSeg addresses these challenges by integrating shape and spatial awareness into a task-oriented framework.
Methodology
GvSeg maintains a unified architectural design while introducing specialized components that adapt to the specific demands of different segmentation tasks.
1. Shape-Position Descriptor
To move beyond simple appearance matching, GvSeg introduces a descriptor that captures an object's geometry and location. By sampling anchor points from an object's contour and converting them into a polar coordinate histogram, the model creates a compact "fingerprint." This allows the system to recognize an object based on its structural "sketch" and its relative position within the frame, providing a crucial fallback when visual details are obscured.
2. Shape- and Position-Aware (SPA) Query Matching
These descriptors are integrated into a Transformer-based decoder. During the association phase, the model evaluates potential matches between frames not only on visual similarity but also on geometric and spatial logic. This ensures that an object’s predicted movement and shape deformation remain consistent over time.
3. Task-Oriented Initialization
GvSeg adapts its starting state based on the task at hand:
- Exemplar-guided tasks (EVS): Queries are initialized using user-provided prompts, such as a bounding box or a specific point.
- Semantic tasks (VSS): The model utilizes a global representation of categories learned across the entire dataset to ensure consistent labeling of background "stuff."
4. Long-Range Temporal Contrastive Learning (TCL)
Unlike standard models that compare objects only in adjacent frames, GvSeg uses its shape-position descriptors to sample positive and negative examples from across the entire video. This global perspective enables the model to learn representations that are invariant to long-range motion and significant deformations.
Experimental Results
The GvSeg framework was evaluated across seven major benchmarks, representing the four core video segmentation tasks. The model established new state-of-the-art (SOTA) benchmarks in every category:
- Video Panoptic Segmentation: On the VIPSeg benchmark, GvSeg achieved a 4.8% VPQ improvement over previous leaders.
- Video Instance Segmentation: In the highly challenging OVIS (Occluded Video Instance Segmentation) dataset, the model saw a 4.8% AP gain, demonstrating superior handling of overlapping objects.
- Exemplar-guided Segmentation: On the BURST dataset, GvSeg outperformed existing general solutions by 4.6% HOTA.
- Video Semantic Segmentation: Even in purely semantic tasks like VSPW, the model improved performance by 1.1% mIoU.
Qualitative analysis shows that GvSeg produces significantly more stable masks in "in-the-wild" scenarios, particularly when objects undergo rapid scale changes or temporary occlusions.
Discussion and Insights
The success of GvSeg highlights a "Paradox of Generalization": to create a truly effective general model, one must allow for task-specific strategies. By formalizing human-like cues—such as shape and spatial context—into mathematical descriptors, the model gains a level of robustness that appearance-only models lack. The ability to find positive samples across a whole video sequence, rather than just neighboring frames, allows the model to maintain a "memory" of an object's identity even after it has been hidden from view.
Conclusion and Future Work
GvSeg represents a significant step toward a unified foundation model for video perception. While it currently excels across four major tasks, challenges remain regarding extreme camera motion and prolonged, heavy occlusions. Future research will focus on expanding the framework to include tasks such as Single Object Tracking (SOT) and Referring Expression Segmentation (RES), further consolidating video understanding into a single, high-performance architecture.
Summary updated