Instance Embedding Transfer to Unsupervised Video Object Segmentation

Siyang Li, Bryan Seybold, Alexey Vorobyov, Alireza Fathi, Qin Huang, C.-c. Jay Kuo

Abstract

We propose a method for unsupervised video object segmentation by transferring the knowledge encapsulated in image-based instance embedding networks. The instance embedding network produces an embedding vector for each pixel that enables identifying all pixels belonging to the same object. Though trained on static images, the instance embeddings are stable over consecutive video frames, which allows us to link objects together over time. Thus, we adapt the instance networks trained on static images to video object segmentation and incorporate the embeddings with objectness and optical flow features, without model retraining or online fine-tuning. The proposed method outperforms state-of-the-art unsupervised segmentation methods in the DAVIS dataset and the FBMS dataset.

Introduction

Video Object Segmentation (VOS) is a fundamental computer vision task that requires generating precise pixel-level masks for objects across video sequences. In the "unsupervised" or primary setting, the algorithm must autonomously identify the most salient moving object without human intervention or a provided initial mask.

A core challenge in VOS is the high cost of producing pixel-perfect video labels, leading to relatively small datasets. Most deep learning approaches attempt to bridge this gap by pre-training on large-scale image datasets and then fine-tuning on video. However, standard networks trained for binary "foreground/background" classification often fail when the context changes—for instance, a car might be the primary subject in one scene but part of the static background in another. This paper addresses these limitations by leveraging Instance Embeddings learned from static images, treating segmentation as a non-parametric pixel-matching problem in a learned vector space.

Methodology

The proposed framework shifts the focus from direct mask prediction to learning a robust embedding space where pixels belonging to the same object instance are clustered together.

1. Feature Extraction and Embedding Space

The authors utilize a Fully Convolutional Network (FCN) trained on static images (PASCAL VOC) to map every pixel into an $E$-dimensional embedding space. In this space, the network is optimized such that pixels from the same object instance have a small Euclidean distance, while pixels from different objects are far apart. This creates a representation that is inherently more transferable than binary labels.

2. Seed Generation and Temporal Linking

To bridge the gap between static images and video, the system identifies "seeds"—representative pixels that demonstrate local consistency within the embedding space. These seeds are then linked across consecutive frames to form "seed tracks." This process provides the necessary temporal continuity to track objects over time without requiring explicit temporal training.

3. Primary Object Ranking

Since the setting is unsupervised, the algorithm must rank these seed tracks to identify the primary object. Two main criteria are used:

  • Objectness: Derived from semantic segmentation heads, this measures how likely a region is to represent a coherent, known object class.
  • Motion Saliency: Utilizing FlowNet 2.0, the algorithm calculates how much a region's motion differs from the estimated background motion.

4. Segmentation via Embedding Transfer

Once the optimal foreground track is identified, the final segmentation is performed through a non-parametric process. Every pixel in a frame is classified as foreground or background based on its distance to the representative seeds in the embedding space. Finally, a Dense Conditional Random Field (CRF) is employed to sharpen the resulting boundaries.

Overview of the embedding transfer process: from initial objectness proposals (yellow) through embedding space seed generation to final refined segmentation (green).

Key Insights

  • Robustness of Embeddings: A car remains a "car instance" in embedding space regardless of whether it is the primary subject or background. This makes embeddings a much more robust feature for transfer learning than binary foreground/background labels.
  • Temporal Stability: A significant finding is that embeddings learned on static images are remarkably stable across video frames. This stability allows for reliable tracking without the need for complex recurrent architectures or temporal training data.
  • Efficiency and Practicality: By avoiding "online fine-tuning" (re-training the network on the first frame of a new video), the method is significantly more practical for real-world, low-latency applications.

Experimental Results

The method was evaluated on three major VOS benchmarks: DAVIS 2016, FBMS (Freiburg-Berkeley Motion Segmentation), and SegTrack-v2. Crucially, the embedding network never saw these video datasets during its training phase on PASCAL VOC 2012.

  • DAVIS 2016: The method achieved a Mean J (Intersection over Union) of 78.6%, outperforming the previous best unsupervised method (LVO) by 2.7%. It even surpassed some semi-supervised methods that had access to ground truth for the first frame.
  • FBMS: The approach achieved a Mean J of 71.9%, representing a significant improvement of over 10% compared to other leading methods like ARP.

Conclusion and Future Work

This paper demonstrates that transferring instance embeddings from static images is a highly effective strategy for unsupervised video object segmentation. While the method faces challenges such as "embedding drift" in very long sequences and is currently optimized for single-object tracking, it sets a new standard for efficiency and performance in the field. Future research may focus on extending this ranking logic to robustly segment multiple independent moving objects simultaneously.

Summary updated

BibTeX
@inproceedings{li2018instance,
  author = {Siyang Li and Bryan Seybold and Alexey Vorobyov and Alireza Fathi and Qin Huang and C.-C. Jay Kuo},
  title = {{Instance Embedding Transfer to Unsupervised Video Object Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=S1bvgTbdbr},
}
Figure