UVOSAM: A Mask-free Paradigm for Unsupervised Video Object Segmentation via Segment Anything Model

Zhenghao Zhang, Zhichao Wei, Shengfan Zhang, Zuozhuo Dai, Siyu Zhu · OpenReview

Abstract

The current state-of-the-art methods for unsupervised video object segmentation (UVOS) require extensive training on video datasets with mask annotations, limiting their effectiveness in handling challenging scenarios. However, the Segment Anything Model (SAM) introduces a new prompt-driven paradigm for image segmentation, offering new possibilities. In this study, we investigate SAM's potential for UVOS through different prompt strategies. We then propose UVOSAM, a mask-free paradigm for UVOS that utilizes the STD-Net tracker. STD-Net incorporates a spatial-temporal decoupled deformable attention mechanism to establish an effective correlation between intra- and inter-frame features, remarkably enhancing the quality of box prompts in complex video scenes. Extensive experiments on the DAVIS2017-unsupervised and YoutubeVIS19&21 datasets demonstrate the superior performance of UVOSAM without mask supervision compared to existing mask-supervised methods, as well as its ability to generalize to weakly-annotated video datasets.

Introduction

Unsupervised Video Object Segmentation (UVOS) aims to automatically identify and segment the most prominent objects in a video without human guidance during inference. Traditionally, achieving high performance in this task has required massive datasets annotated with pixel-accurate masks. However, mask annotation is incredibly expensive and time-consuming, creating a significant "annotation bottleneck" that prevents models from scaling to the vast amounts of available video data.

This research introduces UVOSAM, a novel framework that addresses this challenge by achieving state-of-the-art results without requiring a single pixel-level mask for training. By leveraging the zero-shot capabilities of the Segment Anything Model (SAM) and a specialized tracking network, the authors demonstrate that high-quality segmentation can be achieved using only bounding box supervision.

The UVOSAM Framework

UVOSAM splits the segmentation problem into two distinct stages: object tracking and high-fidelity segmentation.

STD-Net: The Tracker

The core contribution is STD-Net, a tracking network trained exclusively on bounding boxes. It utilizes a novel Spatial-Temporal Decoupled Deformable Attention (STD-DA) mechanism. This mechanism independently processes spatial features (intra-frame) and temporal features (inter-frame) before fusing them via a Dynamic Attention Fusion (DAF) module. This decoupling allows the model to maintain a stable "lock" on objects during fast motion or occlusions by separately learning "what" an object looks like and "where" it is moving.

SAM: The Segmenter

The framework uses a frozen Segment Anything Model (SAM) as its foundation. SAM is world-class at segmenting objects but requires prompts to identify targets. STD-Net generates high-quality, non-overlapping bounding box trajectories which serve as the prompts for SAM to generate final, high-fidelity masks.

The architecture of UVOSAM, featuring STD-Net with its Spatial-Temporal Decoupled Deformable Attention (STD-DA) and the integration with SAM.

Experimental Results and Analysis

Prompt Strategy: Boxes vs. Points

A key insight from the study is that bounding boxes are superior prompts for video tasks compared to points. As shown in the analysis, a single bounding box prompt provides a more stable "region of interest" than multiple points, which are highly sensitive to exact coordinates. This stability is crucial for maintaining segmentation consistency across video frames.

Performance Benchmarks

Despite being "mask-free," UVOSAM outperforms many models that utilize full mask supervision:

  • DAVIS2017-unsupervised: UVOSAM achieved a J&F score of 80.9%, surpassing the previous best mask-supervised method by 2.5%.
  • YouTube-VIS: It set new records on YouTube-VIS 2019 (52.4 AP) and 2021 (48.4 AP).
  • Efficiency: The system operates at 11.7 FPS, making it practical for real-world applications.
Quantitative analysis of prompt strategies (a), comparison of different trackers paired with SAM (b), and qualitative comparison against other tracking methods (c).

Conclusion

UVOSAM demonstrates a powerful synergy between task-specific prompters and large-scale foundation models. By decoupling spatial and temporal attention in the tracking stage, the model provides high-quality box prompts that allow a frozen SAM to produce state-of-the-art video masks. This mask-free paradigm significantly reduces the cost of developing video AI while improving performance and generalization across diverse datasets.

Summary updated

BibTeX
@misc{zhang2023uvosam,
  author = {Zhenghao Zhang and Zhichao Wei and Shengfan Zhang and Zuozhuo Dai and Siyu Zhu},
  title = {{UVOSAM: A Mask-free Paradigm for Unsupervised Video Object Segmentation via Segment Anything Model}},
  year = {2023},
  eprint = {2305.12659},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.12659},
}
Figure