NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Weakly Supervised Instance Segmentation using Motion Information via Optical Flow

Jun Ikeda, Junichiro MoriarXiv 2022

Introduction

Instance segmentation is a critical computer vision task that requires models to both detect objects and delineate their exact pixel-level boundaries. However, generating high-quality mask annotations for training is labor-intensive and costly. Weakly Supervised Instance Segmentation (WSIS), particularly "box-supervised" learning, addresses this by using only bounding box labels.

Despite their efficiency, existing box-supervised methods like BoxInst primarily rely on color similarity for foreground-background separation. This approach often fails in scenarios with low contrast—where objects are camouflaged against their surroundings—or when background elements share the same color as the target object. This paper proposes leveraging motion information from video sequences to overcome these challenges.

Proposed Methodology

The core hypothesis of this work is that motion provides a physical boundary cue that is often more reliable than color. Even if an object is visually similar to its background, it typically moves independently, creating a distinct signal in the temporal domain.

Two-Stream Encoder Architecture

To incorporate temporal data, the authors developed a two-stream encoder that processes both appearance and motion features.

The proposed two-stream architecture integrates RGB appearance and optical flow motion features through a shared backbone and task-specific fusion.

As illustrated in the architecture diagram, the model utilizes:

  • Appearance Stream: Extracts features from standard RGB frames.
  • Motion Stream: Extracts features from optical flow maps, which represent the apparent motion between consecutive frames.

The features are processed through a shared ResNet backbone with a Feature Pyramid Network (FPN). A key finding in the study was the importance of fusion specificity: features are summed for the object detection head but concatenated for the mask-generating head, allowing the segmentation process to more effectively utilize motion cues for boundary refinement.

Motion-Aware Pairwise Loss

The researchers refined the standard pairwise loss used in box-supervised learning. While previous methods assumed neighboring pixels with similar colors belong to the same object, this model adds a motion similarity constraint. By requiring both color and motion vectors to align, the model significantly reduces "mask leaking" into background regions that are stationary or moving differently than the foreground object.

Experimental Evaluation

The model was evaluated on the YouTube-VIS 2019 benchmark, using a custom split of 1,847 training videos and 391 validation videos. Optical flow was estimated using a pre-trained Global Motion Aggregation (GMA) model.

Quantitative Results

The proposed method demonstrated substantial improvements over the state-of-the-art BoxInst baseline across multiple metrics.

Quantitative comparison on the YouTube-VIS benchmark showing the proposed method's superiority over BoxInst across different backbones.

With a ResNet-50 backbone, the method achieved 29.0 AP, representing a 3.1-point improvement over BoxInst. The performance gain was even more significant on the stricter $AP_{75}$ metric, which requires high mask accuracy, showing a 4.0-point increase. These results validate that motion information is a powerful tool for sharpening object boundaries in weakly supervised settings.

Conclusion and Future Work

By integrating optical flow into a two-stream framework, this research successfully demonstrates that motion can act as a "tie-breaker" in complex segmentation scenarios where color information is ambiguous. While the approach introduces additional computational cost and depends on object movement, it sets a new standard for box-supervised instance segmentation in video. Future research may explore the inclusion of negative samples in the pairwise loss and methods to improve efficiency for real-time applications.

Summary updated

BibTeX
@misc{ikeda2022weakly,
  author = {Jun Ikeda and Junichiro Mori},
  title = {{Weakly Supervised Instance Segmentation using Motion Information via Optical Flow}},
  year = {2022},
  eprint = {2202.13006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.13006},
}
Figure