Skip to main content
QUICK REVIEW

[Paper Review] Semantic Segmentation In-the-Wild Without Seeing Any Segmentation Examples

Nir Zabari, Yedid Hoshen|arXiv (Cornell University)|Dec 6, 2021
Multimodal Machine Learning ApplicationsComputer Science7 citations
TL;DR

This paper proposes a zero-shot semantic segmentation method that generates high-quality segmentation masks without any pixel-level annotations by leveraging CLIP's vision-language embeddings and test-time augmentation to produce pseudo-labels from image-level class descriptions. The approach outperforms existing weakly supervised methods, especially on rare and unseen categories, by using refined relevance maps as pseudo-supervision for single-image segmentation models.

ABSTRACT

Semantic segmentation is a key computer vision task that has been actively researched for decades. In recent years, supervised methods have reached unprecedented accuracy, however they require many pixel-level annotations for every new class category which is very time-consuming and expensive. Additionally, the ability of current semantic segmentation networks to handle a large number of categories is limited. That means that images containing rare class categories are unlikely to be well segmented by current methods. In this paper we propose a novel approach for creating semantic segmentation masks for every object, without the need for training segmentation networks or seeing any segmentation masks. Our method takes as input the image-level labels of the class categories present in the image; they can be obtained automatically or manually. We utilize a vision-language embedding model (specifically CLIP) to create a rough segmentation map for each class, using model interpretability methods. We refine the maps using a test-time augmentation technique. The output of this stage provides pixel-level pseudo-labels, instead of the manual pixel-level labels required by supervised methods. Given the pseudo-labels, we utilize single-image segmentation techniques to obtain high-quality output segmentation masks. Our method is shown quantitatively and qualitatively to outperform methods that use a similar amount of supervision. Our results are particularly remarkable for images containing rare categories.

Motivation & Objective

  • To address the high cost and scalability limitations of supervised semantic segmentation, which require extensive pixel-level annotations for each new class.
  • To enable semantic segmentation of rare or unseen object categories where annotated training data are unavailable.
  • To develop a method that generates accurate segmentation masks using only image-level labels and pre-trained vision-language models, eliminating the need for manual pixel annotations.
  • To improve performance on long-tailed and rare class distributions by replacing manual supervision with automatically generated pseudo-labels.

Proposed method

  • The method uses CLIP to generate per-class relevance maps by interpreting the attention activations between image features and text prompts describing each category.
  • It applies test-time augmentation (TTA) with multiple image views (e.g., crop, flip, contrast) to refine the noisy relevance maps and improve localization accuracy.
  • The refined per-class relevance maps are combined into a multi-class segmentation map, which serves as a pixel-wise pseudo-label for downstream segmentation.
  • These pseudo-labels are used to initialize either unsupervised clustering or interactive segmentation models, replacing manual annotations.
  • Stochastic sampling is used instead of hard binarization to better handle uncertainty in the relevance maps, improving segmentation quality.
  • The method is compatible with any single-image segmentation model, serving as a plug-in pseudo-supervision module.

Experimental results

Research questions

  • RQ1Can vision-language models like CLIP be effectively leveraged to generate accurate pseudo-segmentation masks without any pixel-level supervision?
  • RQ2How does test-time augmentation improve the quality of relevance maps derived from CLIP's attention mechanisms?
  • RQ3Can refined CLIP-based relevance maps serve as effective pseudo-supervision for single-image segmentation models?
  • RQ4How does the method perform on rare or long-tailed categories compared to existing weakly supervised or few-shot methods?
  • RQ5What design choices—such as augmentation strategy, binarization threshold, or sampling method—most significantly impact segmentation performance?

Key findings

  • The method achieves superior quantitative performance on standard benchmarks compared to other methods using similar levels of supervision, particularly on rare categories.
  • Test-time augmentation significantly improves segmentation quality, with crop views yielding the highest contribution, and using all views together further boosting performance.
  • Stochastic sampling of pseudo-labels outperforms hard binarization, as it better handles the uncertainty and noise in CLIP's relevance maps.
  • Interactive segmentation with 3 automatically generated clicks achieves better results than unsupervised clustering, and both methods benefit substantially from the pseudo-supervision.
  • The method is robust to rare and unique categories, as demonstrated by qualitative results on PASCAL VOC and in-the-wild images with uncommon classes.
  • Ablation studies confirm that both the CLIP-based relevance map generation and the TTA refinement are critical components for high performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.