Self-supervised Video Object Segmentation by Motion Grouping

Charig Yang, Hala Lamdouar, Erika Lu, Andrew Zisserman, Weidi Xie

Introduction

In nature, predators often rely on motion to detect prey that is otherwise perfectly camouflaged. This biological observation highlights a significant limitation in contemporary computer vision: an over-reliance on visual appearance. Most video object segmentation (VOS) systems are trained on large-scale human-annotated datasets, making them "appearance-biased" and prone to failure in complex environments where objects blend into their backgrounds.

Researchers from the University of Oxford’s Visual Geometry Group (VGG) propose a shift toward motion-centric cues. Their approach, "Self-supervised Video Object Segmentation by Motion Grouping," leverages the Gestalt principle of "common fate"—the idea that pixels moving together likely belong to the same object. By using only optical flow as input, the model avoids the pitfalls of appearance-based segmentation and eliminates the need for expensive manual annotations.

Methodology

The proposed architecture is a generative model that treats a video sequence as a composition of layers, typically a foreground object and a background.

Slot Attention and Iterative Binding

The core of the system is a Transformer-based "Slot Attention" mechanism. Unlike standard attention, Slot Attention uses a fixed number of learnable "slots" that compete to explain parts of the input features. In this context, the input is exclusively optical flow fields, which are often piecewise smooth compared to complex RGB textures.

Figure 2: The proposed self-supervised architecture. It uses an encoder-decoder structure with an iterative binding (Slot Attention) module that groups motion features into slots.

As shown in Figure 2, the model takes optical flow as input. An encoder extracts feature embeddings, which are then combined with positional encodings. The iterative binding module uses learnable queries to group these features into slots. These slots are then broadcasted and passed through a decoder to reconstruct the original flow.

Self-Supervised Objectives

The model is trained without human labels using two primary proxy tasks:

  1. Reconstruction Loss: The model must reconstruct the input optical flow from the segmented slots. This forces the competition between slots to naturally isolate the independently moving object from the background.
  2. Temporal Consistency Loss: To ensure robustness, the model enforces that segmentation masks remain consistent across different temporal gaps (e.g., 1-frame vs. 2-frame motion).

Additionally, the use of Instance Normalization allows the model to remain invariant to global camera motion, such as panning, without requiring explicit camera geometry estimation.

Experimental Results

The model was evaluated on standard benchmarks including DAVIS2016, SegTrackv2, and FBMS59, as well as the challenging Moving Camouflaged Animals (MoCA) dataset.

Performance and Efficiency

On the DAVIS2016 dataset, the model achieved a Jaccard score (J) of 68.3, a significant improvement over the previous self-supervised state-of-the-art (CIS, which scored 59.2). Remarkably, the model is highly efficient, operating at 0.012s per frame (~83 FPS). This speed is an order of magnitude faster than previous competitive self-supervised methods, making it suitable for real-time applications.

Camouflage Mastery

The model's reliance on motion cues makes it particularly effective for segmenting camouflaged objects where appearance-based models fail.

Figure 1: Qualitative results on camouflaged animals. The model successfully segments objects (e.g., lizards, snakes) that are nearly invisible in the RGB image by grouping their distinct motion patterns.

As illustrated in Figure 1, even when an animal is visually indistinguishable from its environment in the RGB image, the optical flow provides a clear signal for segmentation. In tests on the MoCA dataset, this motion-grouping approach even outperformed several top-tier supervised models that rely on appearance.

Conclusion and Future Work

This work demonstrates that motion is a powerful, naturally available cue for self-supervised object discovery. By treating segmentation as a motion-grouping problem, the researchers achieved state-of-the-art self-supervised results and superior performance on camouflaged data.

Current limitations include a focus on single-object scenes and a dependency on the quality of the underlying optical flow estimation. Future research aims to develop a two-stream approach that integrates motion with RGB appearance, allowing the system to maintain object tracks even when motion temporarily ceases.

Summary updated

BibTeX
@inproceedings{yang2021self,
  author = {Charig Yang and Hala Lamdouar and Erika Lu and Andrew Zisserman and Weidi Xie},
  title = {{Self-supervised Video Object Segmentation by Motion Grouping}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00709},
}
Figure