Skip to main content
QUICK REVIEW

[Paper Review] Scaling Open-Vocabulary Image Segmentation with Image-Level Labels

Golnaz Ghiasi, Xiuye Gu|arXiv (Cornell University)|Dec 22, 2021
Multimodal Machine Learning ApplicationsComputer Science10 citations
TL;DR

OpenSeg proposes a scalable open-vocabulary image segmentation framework that uses image-level captions to train a model to segment arbitrary text queries. It first predicts class-agnostic segmentation masks, then aligns words in captions to these masks via region-level features, achieving a 19.9 mIoU gain over LSeg on PASCAL VOC by leveraging weakly supervised, large-scale caption data.

ABSTRACT

We design an open-vocabulary image segmentation model to organize an image into meaningful regions indicated by arbitrary texts. Recent works (CLIP and ALIGN), despite attaining impressive open-vocabulary classification accuracy with image-level caption labels, are unable to segment visual concepts with pixels. We argue that these models miss an important step of visual grouping, which organizes pixels into groups before learning visual-semantic alignments. We propose OpenSeg to address the above issue while still making use of scalable image-level supervision of captions. First, it learns to propose segmentation masks for possible organizations. Then it learns visual-semantic alignments by aligning each word in a caption to one or a few predicted masks. We find the mask representations are the key to support learning image segmentation from captions, making it possible to scale up the dataset and vocabulary sizes. OpenSeg significantly outperforms the recent open-vocabulary method of LSeg by +19.9 mIoU on PASCAL dataset, thanks to its scalability.

Motivation & Objective

  • To enable image segmentation for arbitrary text queries beyond closed-set categories.
  • To overcome the limitation of vision-language models like CLIP and ALIGN, which lack pixel-level localization due to single-image feature representations.
  • To scale training data and vocabulary size using weakly supervised image-level captions instead of costly pixel-level annotations.
  • To learn visual-semantic alignments after mid-level visual grouping, improving localization accuracy.
  • To enable zero-shot transfer performance across datasets using language as a unified interface.

Proposed method

  • The model uses a class-agnostic segmentation head with region-to-image cross-attention to predict a set of candidate segmentation masks.
  • It performs mask-based feature pooling to generate location-aware region features from pixels within each predicted mask.
  • Visual-semantic alignment is learned by matching words in image captions to predicted masks using contrastive loss on region and word embeddings.
  • The method leverages pre-trained CLIP/ALIGN text encoders and initializes the vision backbone from a large-scale ALIGN checkpoint for better initialization.
  • Text filtering is applied to captions, retaining only nouns and adjectives to reduce noise during training.
  • During inference, predicted masks are used as proposals to guide per-pixel segmentation via dot product between feature maps and word embeddings.

Experimental results

Research questions

  • RQ1Can visual-semantic alignment for open-vocabulary segmentation be effectively learned from image-level captions rather than pixel-level annotations?
  • RQ2Does learning visual-semantic alignment after mid-level visual grouping (via mask proposals) improve localization accuracy compared to end-to-end alignment on global image features?
  • RQ3How does the scalability of weak supervision via image captions affect performance and generalization across datasets?
  • RQ4What is the impact of text filtering (e.g., retaining only nouns and adjectives) on model robustness and performance?
  • RQ5Can a model trained on large-scale weakly supervised data achieve strong zero-shot transfer performance on held-out segmentation benchmarks?

Key findings

  • OpenSeg achieves a 19.9 mIoU improvement over the strongest LSeg model on the PASCAL VOC dataset, demonstrating superior zero-shot generalization.
  • Using the ALIGN pre-trained vision encoder for initialization yields better performance than random or NoisyStudent initialization, though the gap is small.
  • Inference without mask proposals degrades mIoU by 10.0 points on PC-59, showing that mask proposals are essential for accurate localization.
  • Using ground-truth masks as proposals increases mIoU to 49.3 on PC-59, indicating that current mask prediction is suboptimal and a key bottleneck.
  • Filtering captions to include only nouns and adjectives yields the best performance, with mIoU improvements of up to 1.1 points over using all words.
  • The model generalizes well to held-out datasets, demonstrating the feasibility of training a generalist segmentation model using language as a unified interface.

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.