Abstract
Semi-supervised video object segmentation (VOS) aims to track designated objects from an initial frame at the pixel level. While pixel-level feature matching is standard, conventional surjective matching—where each query pixel independently finds its best reference match—often fails when background distractors resemble the target. We introduce a bijective matching mechanism that requires mutual best matches between query and reference frames, effectively filtering out distractors. Additionally, we propose a mask embedding module that utilizes multiple historic masks and coordinate information to better capture object position. Our framework, BMVOS, achieves state-of-the-art accuracy while maintaining a real-time speed of 45.9 FPS.
Introduction
Semi-supervised Video Object Segmentation (VOS) involves tracking a specific object throughout a video sequence, given a ground-truth mask for the first frame. Most modern VOS solutions rely on feature matching, comparing the features of a current "query" frame to those of "reference" frames (e.g., the first frame or the immediate predecessor).
The standard approach, surjective matching, allows multiple query pixels to map to the same high-quality foreground pixels in the reference frame. This often leads to "leaky" segmentations where background distractors visually similar to the target are incorrectly classified as foreground. To address this, we propose BMVOS, which utilizes a stricter bijective matching mechanism to ensure pixels are mutual best matches, thereby improving robustness against distractors.
Methodology
The BMVOS framework introduces two primary innovations: Bijective Matching and a Mask Embedding Module. The overall architecture integrates these components to process query frames against both initial and previous reference frames.
Bijective Matching
Unlike surjective matching, which is a one-way selection process, bijective matching functions as a two-way street. A query pixel is only associated with a reference pixel if they are among each other's top matches. This is implemented via a reference-wise top-K operation that prunes the similarity map, ensuring only the most certain connections facilitate information transfer.
As shown in Figure 1, bijective matching prevents reference pixels from being overly referenced by unrelated query pixels. In practice, BMVOS employs a hybrid strategy: surjective matching for global context (matching against the initial frame) to handle large appearance changes, and bijective matching for local context (matching against the previous frame) to suppress distractors.
Mask Embedding Module
Traditional VOS methods typically feed only the previous frame's mask into the decoder. BMVOS enhances this by using a sequence of the three most recent masks ($M^{i-1}, M^{i-2}, M^{i-3}$) concatenated with coordinate information (relative height, width, and distance from center). This allows the network to perceive motion trends and spatial context more effectively than a single snapshot.
Experiments and Results
BMVOS was evaluated on the DAVIS 2016, DAVIS 2017, and YouTube-VOS 2018 benchmarks.
Key Findings
- Strictness as a Filter: Forcing a bijective relationship naturally ignores background pixels that attempt to match with the foreground but are not reciprocated by the reference frame's features.
- Performance: BMVOS achieves a blistering 45.9 FPS on DAVIS datasets, significantly faster than many high-accuracy competitors like STM or KMN.
- Accuracy: On DAVIS 2016, it reached a $\mathcal{G}$ score of 82.2% without static image pre-training. Ablation studies show that bijective matching contributes a ~2% accuracy boost, while the multi-mask embedding adds another 3.4%.
Conclusion
BMVOS demonstrates that being more restrictive in feature matching can significantly improve VOS robustness. By combining bijective matching for local tracking with a motion-aware mask embedding module, the system achieves state-of-the-art performance at real-time speeds. Future work may explore the application of bijective matching to other tasks like optical flow or stereo matching, as well as more efficient long-term memory management.
Summary updated