Zero-shot Unsupervised Transfer Instance Segmentation

Gyungin Shin, Samuel Albanie, Weidi Xie

Introduction

Instance segmentation represents one of the most challenging tasks in computer vision, requiring models to not only classify pixels but also distinguish between individual object instances. Traditionally, this has required exhaustive human annotation—often taking up to 90 minutes per image for complex datasets like Cityscapes. While unsupervised semantic segmentation has made strides in grouping pixels by category (e.g., "grass" vs. "sky"), it often fails to separate individual objects of the same class. Furthermore, most existing unsupervised methods are limited by their reliance on the target data distribution during training.

ZUTIS (Zero-shot Unsupervised Transfer Instance Segmentation) addresses these challenges by providing a framework that identifies and segments individual instances without human-annotated labels or prior exposure to the target dataset. By leveraging vision-language models and innovative training strategies, ZUTIS establishes a new state-of-the-art for open-vocabulary, label-free segmentation.

Methodology

The ZUTIS framework is built upon three core technical pillars designed to bridge the gap between semantic understanding and instance-level localization.

1. Leveraging Foundation Models

ZUTIS utilizes CLIP (Contrastive Language-Image Pre-training), a vision-language model trained on vast internet-scale data. To maintain the model's broad conceptual knowledge, the CLIP text encoder remains frozen during training. The image encoder is fine-tuned to generate dense features that are strictly aligned with the text embeddings, ensuring the model retains its "open-vocabulary" capabilities while gaining the spatial resolution necessary for segmentation.

2. Pseudo-Label Pipeline and Data Augmentation

To facilitate training without manual labels, ZUTIS employs a retrieval-based pseudo-labeling strategy. Images are retrieved from an unlabeled pool using CLIP. An unsupervised saliency detector, SelfMask, is then used to generate initial "pseudo-masks" for these objects. To simulate the complexity of real-world scenes, the framework uses copy-paste augmentation, where these isolated objects are stitched together to create synthetic, multi-object training images. This allows the model to learn instance boundaries in complex environments without ever seeing a real labeled scene.

3. The Stop-Gradient Mechanism

A critical architectural innovation in ZUTIS is the use of a stop-gradient between the mask decoder and the image encoder. The authors discovered a fundamental tension: the geometric requirements of finding an object's boundaries can conflict with the semantic requirements of matching that object to a text description. Backpropagating mask loss directly into the image encoder was found to destroy the semantic alignment with text embeddings. By implementing a stop-gradient, the model can learn the geometric task of proposing object masks (instance-level) without compromising its ability to classify those objects (semantic-level).

Experimental Results

The researchers evaluated ZUTIS across several benchmarks, including COCO-20K, ImageNet-S (919 categories), and fine-grained datasets like CUB-200-2011.

Instance Segmentation Performance

On the COCO-20K benchmark, ZUTIS achieved 5.7 APmk. This represents a significant improvement over the previous zero-shot baseline, MaskCLIP, which achieved only 1.3 APmk. This nearly four-fold increase demonstrates the effectiveness of the pseudo-labeling and stop-gradient approach in capturing instance-level details.

Semantic Segmentation and Generalization

On the large-scale ImageNet-S dataset, ZUTIS reached 37.4 mIoU, substantially outperforming the previous state-of-the-art, NamedMask (22.9 mIoU), by 14.5 points. Because the model is anchored in CLIP’s text space, it exhibits remarkable open-vocabulary generalization. For instance, a model trained on general categories can successfully segment specific bird breeds (e.g., an "Anna Hummingbird") simply by updating the text prompt at inference time.

Efficiency

Despite the complexity of the framework, ZUTIS maintains competitive throughput. Depending on the backbone used, the model processes between 43 (ViT-B/16) and 76 (ViT-B/32) images per second, making it viable for practical applications.

Discussion and Limitations

The success of ZUTIS highlights the synergy between instance and semantic segmentation. However, the model's performance is inherently tied to the "knowledge ceiling" of the underlying CLIP model. If a concept is not well-represented in CLIP’s pretraining data, ZUTIS will struggle to segment it accurately. Additionally, noise in the retrieval process—where the saliency detector might include background elements or associated objects (like a rider on a bike) in a pseudo-mask—remains a challenge for future refinement.

Conclusion

ZUTIS demonstrates that high-quality instance segmentation is possible without the need for expensive human labels or target-specific training. By combining the semantic power of vision-language models with unsupervised geometric priors, it paves the way for more flexible and scalable scene understanding systems. Future research will explore extending this label-free philosophy to video segmentation, where temporal cues could further enhance unsupervised learning.

Summary updated

BibTeX
@inproceedings{shin2023zero,
  author = {Gyungin Shin and Samuel Albanie and Weidi Xie},
  title = {{Zero-shot Unsupervised Transfer Instance Segmentation}},
  booktitle = {Workshops @ CVPR},
  year = {2023},
}
Figure