Pixel-Level Bijective Matching for Video Object Segmentation

Suhwan Cho, Heansung Lee, Minjung Kim, Sungjun Jang, Sangyoun Lee

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 widely used, conventional surjective matching often fails when background distractors resemble the target object. We introduce a bijective matching mechanism that enforces mutual best-matches between query and reference frames to eliminate these distractors. Additionally, we propose a mask embedding module that utilizes multiple historic masks and coordinate information to better capture object position. Our method, BMVOS, achieves state-of-the-art accuracy while maintaining a real-time speed of 45.9 FPS.

Introduction

Video Object Segmentation (VOS) is a fundamental computer vision task with applications ranging from autonomous driving to video editing. The goal is to track a specific object throughout a video sequence given only its initial mask. A significant challenge in VOS is the "distractor" problem: background elements that share visual similarities with the target object can cause tracking algorithms to drift or "bleed" masks onto the background.

Most modern VOS systems employ surjective matching, where every pixel in a query frame identifies its best match in a reference frame. Because multiple query pixels can point to the same reference pixel, background clutter often incorrectly receives high foreground scores, leading to tracking failures.

Proposed Methodology

To address the limitations of surjective matching, we propose a hybrid framework that incorporates a novel bijective matching mechanism and an enhanced mask embedding module.

Overview of the BMVOS architecture, highlighting the hybrid matching strategy and mask embedding module.

Bijective Matching

The core innovation is bijective matching. Unlike surjective matching, this approach implements a "Top K" operation along the query frame dimension before the standard matching step. This ensures a strict one-to-one relationship: a pixel pair is connected only if they are mutual best matches. This exclusivity effectively filters out background noise that might otherwise "greedily" reference target object features.

Hybrid Matching and Mask Embedding

We employ a hybrid strategy to balance robustness and precision. Surjective matching is used for the initial frame (global matching) to handle large appearance variations over time. Bijective matching is applied to the previous frame (local matching), where appearance is more consistent, to maintain mask cleanliness.

Furthermore, our Mask Embedding Module improves upon traditional single-frame propagation. By feeding the last three masks ($M^{i-1}, M^{i-2}, M^{i-3}$) along with spatial coordinate information (height, width, and distance from center) into the decoder, the network gains a better understanding of the object's trajectory and likely position.

Key Insights: The Role of Strictness

The effectiveness of bijective matching is controlled by the parameter $K$. By tuning $K$ in the Top-K operation, we can adjust the "strictness" of the tracker.

Visual demonstration of how varying K affects background noise. Lower K values (more bijective) produce cleaner masks by filtering out distractors.

As shown above, when $K$ is small (highly bijective), the resulting heatmaps are remarkably clean. As $K$ increases toward infinity (reverting to surjective matching), background distractors begin to introduce significant noise. Our experiments show that switching to bijective matching for local frames provides a ~2% accuracy boost solely by reducing this background interference.

Experimental Results

BMVOS was evaluated on standard benchmarks including DAVIS 2016, DAVIS 2017, and YouTube-VOS 2018.

  • Efficiency: The model achieves a smooth 45.9 FPS on a single GPU, significantly outperforming competitors like STM (6.25 FPS) and KMN (8.33 FPS).
  • Accuracy: On DAVIS 2016, BMVOS reached an overall $\mathcal{G}$ score of 82.2% without requiring additional static image pre-training.

Conclusion

By shifting from surjective to bijective matching for local frame tracking, we significantly mitigate the impact of background distractors in VOS. Combined with a multi-mask embedding module that leverages spatial awareness, BMVOS provides a high-performance, real-time solution for precise pixel-level tracking. Future work may explore adaptive $K$ values to dynamically adjust matching strictness based on scene complexity.

Summary updated

BibTeX
@inproceedings{cho2022pixel,
  author = {Suhwan Cho and Heansung Lee and Minjung Kim and Sungjun Jang and Sangyoun Lee},
  title = {{Pixel-Level Bijective Matching for Video Object Segmentation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=Obt70uc1dp},
}
Figure