Abstract
Several unsupervised image segmentation approaches have been proposed which eliminate the need for dense manually-annotated segmentation masks; current models separately handle either semantic segmentation (e.g., STEGO) or class-agnostic instance segmentation (e.g., CutLER), but not both (i.e., panoptic segmentation). We propose an Unsupervised Universal Segmentation model (U2Seg) adept at performing various image segmentation tasks -- instance, semantic and panoptic -- using a novel unified framework. U2Seg generates pseudo semantic labels for these segmentation tasks via leveraging self-supervised models followed by clustering; each cluster represents different semantic and/or instance membership of pixels. We then self-train the model on these pseudo semantic labels, yielding substantial performance gains over specialized methods tailored to each task: a +2.6 AP$^{\text{box}}$ boost vs. CutLER in unsupervised instance segmentation on COCO and a +7.0 PixelAcc increase (vs. STEGO) in unsupervised semantic segmentation on COCOStuff. Moreover, our method sets up a new baseline for unsupervised panoptic segmentation, which has not been previously explored. U2Seg is also a strong pretrained model for few-shot segmentation, surpassing CutLER by +5.0 AP$^{\text{mask}}$ when trained on a low-data regime, e.g., only 1% COCO labels. We hope our simple yet effective method can inspire more research on unsupervised universal image segmentation.
Introduction
Image segmentation typically requires massive amounts of human-annotated data. While unsupervised methods have emerged, they are usually specialized. Unsupervised Semantic Segmentation (e.g., STEGO) focuses on "stuff" (uncountable regions like sky or grass) but lacks the ability to distinguish between individual instances of the same class. Conversely, Unsupervised Instance Segmentation (e.g., CutLER) focuses on "things" (countable objects) but is usually class-agnostic, identifying objects without semantic labels.
The missing link is Unsupervised Panoptic Segmentation, which requires identifying both "stuff" and "things" simultaneously while assigning semantic labels. U2Seg bridges this gap, creating a "universal" model that handles all three tasks in one framework.
Methodology
The U2Seg pipeline consists of three main stages:
- Pseudo-Label Generation for "Things": MaskCut is utilized to find objects using self-supervised DINO features. K-Means clustering is then applied to the features within these masks to assign "pseudo-semantic" labels, grouping similar-looking objects together.
- Merging "Things" and "Stuff": These semantic instance masks are integrated with "stuff" predictions from STEGO. Instance labels take priority over "stuff" labels at the pixel level.
- Self-Training with Semantic-Aware Copy-Paste: To address the challenge of overlapping objects of the same class, U2Seg employs a Semantic-aware Copy-Paste augmentation. Instances from the same pseudo-cluster are pasted onto new backgrounds, forcing the model to learn boundaries between similar objects. A standard Panoptic Cascade Mask R-CNN is then trained on these generated pseudo-labels.
Key Insights and Results
U2Seg demonstrates that a single model for all tasks (multi-task learning) yields better results than specialized models. The shared feature space benefits from the constraints of both pixel-level "stuff" and object-level "things." Furthermore, the use of high-granularity over-clustering (e.g., 300 to 2911 clusters) helps the model learn more discriminative features that map effectively to ground-truth categories.
Evaluated on datasets like COCO, Cityscapes, and UVO, U2Seg sets new benchmarks:
- Instance Segmentation: +2.6 AP$^{box}$ boost over CutLER on COCO.
- Semantic Segmentation: +7.0 PixelAcc increase over STEGO on COCOStuff.
- Panoptic Segmentation: Established a new state-of-the-art baseline, outperforming a naive combination of previous methods by +5.2 PQ on Cityscapes and +3.7 PQ on COCO.
- Label-Efficient Learning: When fine-tuned on just 1% of COCO labels, U2Seg outperformed CutLER by +5.0 AP$^{mask}$, proving its efficacy as a pre-training strategy.
Conclusion
U2Seg introduces the first unified framework for Unsupervised Universal Image Segmentation. While it sets new benchmarks, a slight performance gap remains compared to models heavily optimized for single sub-tasks. Future work includes scaling with larger unlabeled datasets and extending the framework to video or 3D scene understanding.
Summary updated