Abstract
Modern Video Object Segmentation (VOS) has largely converged on a bottom-up, pixel-level matching paradigm. While effective for simple scenes, these methods often struggle in complex environments where visually similar "distractors" lead to segmentation drift. We present Cutie (Query-based Object Transformer), a novel architecture that re-introduces high-level object reasoning into VOS. By employing an object transformer and a set of learned object queries, Cutie facilitates bidirectional communication between pixel-level features and object-level summaries. This approach yields a significant 8.7-point J&F improvement on the challenging MOSE dataset and achieves real-time performance, processing at up to 45.5 FPS.
Introduction
In semi-supervised Video Object Segmentation, the objective is to track and segment a target object across a video sequence given an initial mask. Current state-of-the-art models, such as XMem, treat this primarily as a dense correspondence problem: every pixel in a new frame is matched against a memory bank of previously seen features.
However, pixel-level matching is inherently noisy. In realistic, crowded scenes, this bottom-up approach frequently fails because it lacks a holistic understanding of the "object" as a cohesive entity. When a target object passes near a visually similar distractor, the segmentation often "bleeds" onto the wrong entity. Cutie addresses this by integrating a top-down object-level memory reading mechanism that works in tandem with traditional pixel-level matching.
Methods
The Object Transformer
At the heart of Cutie is the Object Transformer, which manages a small set of object queries (typically 16). These queries serve as a high-level representation of the target. The transformer enables two critical pathways:
- Top-Down Calibration: The object queries interact with high-resolution pixel features to refine and "clean" the feature map based on the model's high-level understanding of the object.
- Bottom-Up Update: Pixel-level features are used to update the object queries, allowing the model to adapt to changes in the object's appearance, pose, and lighting over time.
Foreground-Background Masked Attention
To prevent semantic confusion, Cutie introduces Foreground-Background Masked Attention. Unlike standard global attention, which can be diffuse, this mechanism explicitly partitions the object queries. Half of the queries are constrained to attend only to the foreground (the target object), while the other half attend only to the background. This forced separation ensures that the model maintains a clear distinction between the target and its surroundings, even in cluttered environments.
Object Memory and Efficiency
In addition to the high-resolution pixel memory used in traditional VOS, Cutie maintains a compact object memory. This stores target-specific features over long durations, which are used to initialize the object queries for each new frame. By using a small number of queries to bridge the gap between pixels, Cutie avoids the prohibitive $O(n^4)$ computational cost associated with global spatial attention, allowing it to maintain high inference speeds.
Results and Discussion
Performance on Challenging Benchmarks
The efficacy of Cutie is most evident on the MOSE (Motion-aware Object Segmentation) dataset, which is characterized by heavy occlusions and frequent distractors. Cutie-base achieved a J&F score improvement of 8.7 points over the previous state-of-the-art, XMem. It also maintained top-tier performance on standard benchmarks like DAVIS-2017 and YouTubeVOS-2019, demonstrating that its robustness in complex scenes does not compromise its accuracy on simpler tasks.
Speed and Real-time Processing
Despite the added complexity of the transformer blocks, Cutie is highly efficient. Cutie-small achieves 45.5 FPS, while the more robust Cutie-base runs at 36.4 FPS on a V100 GPU. This makes it approximately three times faster than competing models like DeAOT while providing superior segmentation quality.
Conclusion
Cutie demonstrates that "putting the object back" into video object segmentation is essential for handling the complexities of real-world video. By combining the fine-grained detail of pixel-level matching with the robust, top-down guidance of object queries, Cutie sets a new standard for both accuracy and efficiency in VOS. Future work may involve integrating 3D spatial priors to further improve performance during instances of extreme occlusion between identical-looking objects.
Summary updated