PMVOS: Pixel-Level Matching-Based Video Object Segmentation

Suhwan Cho, Heansung Lee, Sungmin Woo, Sungjun Jang, Sangyoun LeearXiv 2020

Abstract

Semi-supervised video object segmentation (VOS) involves tracking and segmenting target objects in a video sequence given an initial ground truth mask. A critical challenge in this field is the "speed-accuracy trade-off": high-accuracy methods often require slow online fine-tuning, while faster matching-based methods frequently struggle with appearance changes over time. We propose PMVOS (Pixel-Level Matching-Based Video Object Segmentation), a novel framework that bridges this gap. By introducing "Medial Matching" to capture information from all past frames and applying self-attention to similarity maps, PMVOS achieves state-of-the-art performance among real-time methods. On the DAVIS 2016 benchmark, PMVOS reaches a J&F score of 85.6% at 54 FPS.

The Challenge of Temporal Memory in VOS

In semi-supervised VOS, the model must learn to identify a specific object based on a single example. Most modern approaches use feature matching, comparing the current frame's features against a "template" of the target object. However, standard models typically rely on a limited memory: Global Matching (comparing to the first frame) and Local Matching (comparing to the previous frame).

This limited scope creates a "memory gap." If an object rotates, changes shape, or undergoes lighting variations, the first frame becomes an outdated reference, and the previous frame may contain accumulated errors. PMVOS addresses this by ensuring the template features evolve alongside the object's appearance throughout the entire video sequence.

The PMVOS Architecture

The PMVOS framework consists of four primary components: a ResNet-50 encoder, a Pixel-Level Matching (PM) module, a Self-Attention module, and a refinement decoder.

The PMVOS architecture featuring Medial Matching and Self-Attention modules compared to baseline approaches.

Medial Matching

The core innovation of PMVOS is the Medial Matching component within the PM module. Unlike baseline models that only use the initial ($Y^0$) and previous ($Y^{i-1}$) frames, PMVOS maintains a running average of features from all intermediate frames ($Y^{int,i}$). By using a weighted update strategy (with a decay factor $\alpha = 0.1$), the model constructs a robust temporal memory. This allows the system to "remember" the object’s various states, making it significantly more resilient to occlusions and drastic appearance changes.

Self-Attention on Similarity Maps

While many models apply self-attention to raw image features, PMVOS applies both spatial and channel self-attention to the similarity maps generated by the matching process. This design choice is strategic: it helps the network capture global dependencies across the entire frame, allowing it to better distinguish the target object from similar-looking background distractors. By reinforcing the signal of the target and suppressing noise in the similarity space, the decoder receives much cleaner input for the final mask generation.

Experimental Results and Performance

PMVOS was evaluated on three major benchmarks: DAVIS 2016, DAVIS 2017, and YouTube-VOS. The results demonstrate that PMVOS establishes a new Pareto frontier for real-time video object segmentation.

Speed vs. Accuracy trade-off on the DAVIS 2016 validation set. PMVOS (red diamond) outperforms other real-time methods in both speed and J&F score.

Key Performance Metrics:

  • DAVIS 2016: Achieved a 85.6% J&F score at 54.0 FPS. This is nearly double the speed of RANet (30.3 FPS) while providing superior accuracy.
  • DAVIS 2017: Achieved a 74.0% J&F score, with ablation studies showing that the addition of Medial Matching alone provided a 3.3% boost in accuracy.
  • YouTube-VOS: Achieved a competitive 68.2% J&F score on the largest available dataset for VOS.

Conclusion

PMVOS demonstrates that high-speed video object segmentation does not have to come at the cost of temporal robustness. By effectively utilizing information from all past frames through Medial Matching and refining those matches with self-attention, PMVOS provides a powerful, purely feed-forward solution for real-time applications. Future work may involve further closing the gap with slow online-learning methods and optimizing performance for extremely long-term occlusions.

Summary updated

BibTeX
@misc{cho2020pmvos,
  author = {Suhwan Cho and Heansung Lee and Sungmin Woo and Sungjun Jang and Sangyoun Lee},
  title = {{PMVOS: Pixel-Level Matching-Based Video Object Segmentation}},
  year = {2020},
  eprint = {2009.08855},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.08855},
}
Figure