YouTube-VOS: Sequence-to-Sequence Video Object Segmentation

Ning Xu, Linjie Yang, Yuchen Fan, Jianchao Yang, Dingcheng Yue, Yuchen Liang, Brian L. Price, Scott Cohen, Thomas S. Huang

Video Object Segmentation (VOS) is the task of tracking and segmenting a specific object throughout a video sequence, given only its initial mask. Historically, this field has been constrained by a lack of large-scale training data and an architectural reliance on static image techniques or error-prone optical flow. This paper introduces YouTube-VOS, a massive dataset that shifts the paradigm toward end-to-end sequence learning.

The Data Bottleneck

Before YouTube-VOS, the primary benchmark for VOS was DAVIS 2017, which contained only 90 video clips. This scarcity made it nearly impossible to train deep models to learn complex temporal patterns from scratch. Instead, researchers relied on "one-shot" learning—fine-tuning a model on the first frame of every test video—which is computationally expensive and slow during inference.

Comparison of YouTube-VOS with existing datasets, highlighting the massive increase in scale across videos, categories, and annotations.

As shown in the table above, YouTube-VOS provides 3,252 clips and over 130,000 annotations across 78 categories. This scale allows for robust training of deep networks that can generalize to "unseen" categories not present in the training set.

Sequence-to-Sequence Architecture

To leverage this data, the authors propose a novel Sequence-to-Sequence (seq2seq) network. Unlike previous methods that treated VOS as a series of independent frames or a motion-warping problem, this architecture treats it as a temporal memory problem.

The proposed seq2seq architecture featuring an Initializer, Encoder, ConvLSTM, and Decoder modules.

The model consists of three main components:

  1. The Initializer: A VGG-16 based module that processes the first frame and its ground-truth mask to set the initial hidden state and memory cell of the LSTM.
  2. The Encoder-Decoder Core: For each subsequent frame, an encoder extracts spatial features which are then passed to a Convolutional LSTM (ConvLSTM). The ConvLSTM maintains a "memory" of the object's appearance and position over time.
  3. End-to-End Learning: The entire system is trained to maintain temporal consistency directly from raw video data, bypassing the need for separate, pre-trained optical flow models.

Key Results and Insights

The seq2seq model demonstrates significant improvements in both accuracy and robustness:

  • Superior Performance: On the YouTube-VOS benchmark, the model achieved a mean region similarity (J) of 66.9% for seen categories and 66.8% for unseen categories, outperforming the previous state-of-the-art (OSVOS) by approximately 8%.
  • Reduced Performance Decay: A common failure mode in VOS is "decay," where accuracy drops as the video progresses. By actively updating its internal representation via the ConvLSTM, this model maintains much higher consistency over long sequences.
  • The Power of Scale: Experiments showed that training on only 25% of the YouTube-VOS dataset led to a 30% drop in performance, confirming that large-scale data is the primary driver of progress in modern VOS.

Conclusion

YouTube-VOS addresses the two biggest hurdles in video object segmentation: the lack of data and the lack of temporal-aware architectures. By providing a dataset 50x larger than previous benchmarks and a seq2seq model that treats VOS as a memory problem, this work paves the way for more efficient and robust video understanding systems.

Summary updated

BibTeX
@inproceedings{xu2018youtube,
  author = {Ning Xu and Linjie Yang and Yuchen Fan and Jianchao Yang and Dingcheng Yue and Yuchen Liang and Brian L. Price and Scott Cohen and Thomas S. Huang},
  title = {{YouTube-VOS: Sequence-to-Sequence Video Object Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01228-1\_36},
}
Figure