TL;DR
MoSA (Motion-Grounded Segment Anything) is a scalable unsupervised framework that learns to segment objects by watching unlabeled videos. By using motion as a natural supervisory signal and a novel contrastive learning objective, MoSA achieves zero-shot segmentation performance on static images comparable to the fully supervised Segment Anything Model (SAM), without requiring a single manual annotation.
What Problem Does This Paper Address?
The computer vision community has been revolutionized by the Segment Anything Model (SAM), but SAM’s success is built on the backs of millions of manual annotations (the SA-1B dataset). This reliance on human labor creates a massive bottleneck for scaling.
While researchers have tried unsupervised methods, they usually fall into two traps:
- Static Bias: Methods using self-supervised features (like DINO) rely on texture and color, missing the deep "objectness" priors humans gain from seeing the world move.
- Motion Overfitting: Previous video-based methods often overfit to only moving entities. They struggle to segment static objects and usually fail to understand multi-granularity—the idea that an object can be a "part" (a wheel) or a "whole" (a car).
MoSA aims to bridge this gap, learning a generalized concept of objects from motion that transfers perfectly to static images.
Methods
MoSA operates in three progressive stages, moving from raw video to a high-resolution "segment anything" model:
- Multi-Granularity Motion Segmentation (MGMS): The system first learns to extract motion cues from unlabeled video using optical flow. It uses two parallel modules: a Rigid Object Segmentation Module (ROSM) to find parts and rigid entities, and a Motion Foreground Segmentation Module (MFSM) to capture entire non-rigid moving objects (like a walking person). The MGMS pipeline extracts bidirectional optical flow to generate multi-granularity pseudo-labels.
- Perceptual Grouping Model (PGM): This is the core "aha" stage. The authors train a Vision Transformer (ViT) on the motion pseudo-labels using a new objective called Perceptual Grouping Contrastive Learning (PGCL). Instead of just predicting a mask, the model learns to group pixels with similar features together and push away dissimilar ones. This allows the model to internalize "objectness" based on appearance, enabling it to recognize objects even when they are static. PGCL uses anchor patches to enforce feature compactness within objects and separability between them.
- Adaptation to Segment Anything: Finally, the PGM is used to generate high-quality masks on a small subset (1%) of unlabeled static images. These masks are then used to train standard promptable architectures (like Mask2Former or Semantic-SAM) to achieve high-resolution, interactive segmentation.
Datasets
- Video Training: A massive 10,000-hour corpus compiled from Kinetics-700, BDD100K, and YouTube-8M. No manual labels from these sets were used.
- Image Adaptation: A 1% unlabeled subset of the SA-1B dataset.
- Evaluation: The model was tested across seven major benchmarks: COCO, LVIS, ADE20K, EntitySeg, SA-1B, PartImageNet, and PACO.
Key Insights and Ideas
- Motion as the Ultimate Teacher: The paper proves that large-scale unlabeled motion is a viable alternative to manual annotation. By watching things move, the model learns the boundaries of "things" naturally.
- Breaking the Motion Bias: The contrastive learning (PGCL) is crucial. It prevents the model from just becoming a "motion detector." By forcing the model to group features by appearance similarity within a motion-defined mask, it learns to segment the same objects when they are standing still.
- Multi-Granularity is Key: By specifically designing modules for both rigid parts and moving wholes, MoSA avoids the "binary mask" trap of earlier unsupervised methods, allowing it to understand complex hierarchies (e.g., a rider vs. a horse). MoSA provides stable, multi-granularity labels even in challenging scenarios like a person riding a horse.
Key Results
- Comparable to SAM: Despite zero manual labels, MoSA achieved an Average Recall (AR) of 42.1% on whole-image segmentation, exactly matching the performance of the fully supervised SAM (ViT-B).
- SOTA Unsupervised Performance: MoSA significantly outperformed previous unsupervised leaders like UnSAM (39.2% AR) and CutLER (21.8% AR).
- Superior Part Segmentation: On datasets focused on fine-grained parts (PartImageNet and PACO), MoSA actually surpassed the supervised SAM by 24.4% and 10.3% respectively, suggesting that motion provides better cues for "parts" than human annotators often do.
- Scaling Laws: The authors found a strong positive correlation between the amount of video data and performance (16.8% AR at 100h vs. 36.6% AR at 10,000h), suggesting that simply adding more video could lead to even more powerful models.
Limitations and Future Work
- Low-Light Failure: The model relies on optical flow for its initial pseudo-labels. In very dark or low-contrast scenes, optical flow becomes unreliable, which can lead to poor segmentation of subtle structures (like thin legs in a dark environment).
- Static Inference: While the model learns from motion, the current evaluation is focused on static images. The authors suggest that future work will extend MoSA to handle dynamic video segmentation and temporal consistency directly.
- Computational Cost: Generating pseudo-labels from 10,000 hours of video is computationally intensive, though the authors argue this is a one-time cost that replaces the recurring cost of human labeling.
Summary updated