Towards Good Practices for Video Object Segmentation

Dongdong Yu, Kai Su, Hengkai Guo, Jian Wang, Kaihui Zhou, Yuanyuan Huang, Minghui Dong, Jie Shao, Changhu Wang

Abstract

Semi-supervised video object segmentation is an interesting yet challenging task in machine learning. In this work, we conduct a series of refinements with the propagation-based video object segmentation method and empirically evaluate their impact on the final model performance through ablation study. By taking all the refinements, we improve the space-time memory networks to achieve a Overall of 79.1 on the Youtube-VOS Challenge 2019.

Introduction

Video Object Segmentation (VOS) is the task of tracking and masking specific objects across all frames of a video, given only the mask of the first frame. It is notoriously difficult because objects frequently change shape, disappear behind obstacles (occlusion), or move too quickly for standard trackers to follow. Historically, researchers used propagation-based or detection-based approaches. This paper builds upon the Space-Time Memory Network (STMN), a hybrid approach that uses an attention mechanism to "read" from a memory of past frames to segment the current one.

Methodology

The authors optimize the STMN architecture through three specific "good practices":

  1. Enhanced Pre-training: Standard VOS models are often pre-trained on static images. We found that including the YouTube-VOS dataset in this initial simulation phase—treating video frames as static images—significantly boosted the model's ability to generalize.
  2. Backbone Upgrade (Refine-50): The original STMN used a standard ResNet-50. We replaced this with Refine-50, a backbone specifically designed to handle "scale variance" (objects appearing very large or very small).
  3. Inference-Time Refinements: We applied several "test-time augmentations" (TTA) including flip-testing and multi-scale testing (0.75x and 1.0x) to capture both fine details and global context.
The Space-Time Memory Network (STMN) architecture, featuring Memory and Query Encoders and a Space-Time Memory Read module.

Key Results and Ablation Study

The impact of these refinements was evaluated on the YouTube-VOS 2019 dataset. One of the most striking findings was the power of domain-specific pre-training. Simply adding YouTube-VOS data to the pre-training stage improved the score from 0.617 to 0.667.

Ablation study showing the impact of different training stages on the overall performance.

As shown in the ablation table, moving from a basic pre-training setup to a "Full-training" pipeline (including refined pre-training and main training) moved the score from 0.617 to 0.766. Furthermore, the Refine-50 backbone achieved 0.708 compared to ResNet-50’s 0.667 in the pre-training only phase. The final ensemble reached an Overall score of 0.791 on the YouTube-VOS test set, placing the model among the top performers of the 2019 challenge.

Conclusion

This work demonstrates that systematic refinements in pre-training, backbone selection, and inference strategies can significantly enhance the performance of memory-based VOS models. While training instability remains a challenge, the proposed "good practices" provide a robust recipe for achieving state-of-the-art results in video object segmentation.

Summary updated

BibTeX
@misc{yu2019towards,
  author = {Dongdong Yu and Kai Su and Hengkai Guo and Jian Wang and Kaihui Zhou and Yuanyuan Huang and Minghui Dong and Jie Shao and Changhu Wang},
  title = {{Towards Good Practices for Video Object Segmentation}},
  year = {2019},
  eprint = {1909.13583},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.13583},
}
Figure