Skip to main content
QUICK REVIEW

[Paper Review] Scaling up Multi-domain Semantic Segmentation with Sentence Embeddings

Wei Yin, Yifan Liu|arXiv (Cornell University)|Feb 4, 2022
Domain Adaptation and Few-Shot LearningComputer Science7 citations
TL;DR

This paper proposes a zero-shot semantic segmentation method that replaces class labels with sentence embeddings from Wikipedia, enabling automatic merging of multi-domain datasets without manual label alignment. By training on over 2 million images from 9 diverse datasets using a heterogeneous loss, the model achieves state-of-the-art performance on 7 benchmark datasets in both zero-shot and fine-tuned settings, including 65% mIoU on PASCAL-Context and 45.5% AP on COCO instance segmentation.

ABSTRACT

We propose an approach to semantic segmentation that achieves state-of-the-art supervised performance when applied in a zero-shot setting. It thus achieves results equivalent to those of the supervised methods, on each of the major semantic segmentation datasets, without training on those datasets. This is achieved by replacing each class label with a vector-valued embedding of a short paragraph that describes the class. The generality and simplicity of this approach enables merging multiple datasets from different domains, each with varying class labels and semantics. The resulting merged semantic segmentation dataset of over 2 Million images enables training a model that achieves performance equal to that of state-of-the-art supervised methods on 7 benchmark datasets, despite not using any images therefrom. By fine-tuning the model on standard semantic segmentation datasets, we also achieve a significant improvement over the state-of-the-art supervised segmentation on NYUD-V2 and PASCAL-context at 60% and 65% mIoU, respectively. Based on the closeness of language embeddings, our method can even segment unseen labels. Extensive experiments demonstrate strong generalization to unseen image domains and unseen labels, and that the method enables impressive performance improvements in downstream applications, including depth estimation and instance segmentation.

Motivation & Objective

  • To overcome the limitations of supervised semantic segmentation models trained on single-domain datasets with fixed class sets.
  • To enable zero-shot generalization to unseen classes and image domains without retraining or manual annotation.
  • To automatically merge multiple heterogeneous semantic segmentation datasets with conflicting label taxonomies.
  • To improve downstream tasks such as depth estimation and instance segmentation using pseudo-labeled data.
  • To demonstrate that language-based label embeddings can serve as a scalable, general-purpose alternative to traditional class labels.

Proposed method

  • Replace each class label with a dense vector embedding of a descriptive sentence retrieved from Wikipedia.
  • Use CLIP's text encoder to generate sentence embeddings, avoiding image modality during embedding generation.
  • Train a segmentation model on a merged dataset of 9 diverse datasets, leveraging over 2 million images with consistent semantic labels.
  • Introduce a heterogeneous loss function to effectively utilize weakly annotated datasets (e.g., Objects365, OpenImages) and noisy annotations.
  • Enable zero-shot inference by computing the embedding of a new class description and matching it to the model's embedding space.
  • Transfer learned representations to downstream tasks by injecting language embeddings into feature maps during inference or training.

Experimental results

Research questions

  • RQ1Can sentence embeddings replace traditional class labels to enable zero-shot semantic segmentation across diverse domains?
  • RQ2Does merging multiple datasets using sentence embeddings lead to improved generalization and performance on unseen datasets?
  • RQ3Can the model generalize to unseen classes not present in any training dataset?
  • RQ4How effective is the proposed heterogeneous loss in leveraging weakly annotated and noisy datasets?
  • RQ5To what extent can this method boost performance in downstream tasks like depth estimation and instance segmentation?

Key findings

  • The model achieves 60% mIoU on NYUD-V2 and 65% mIoU on PASCAL-Context in fully supervised fine-tuning, surpassing previous SOTA.
  • On 7 cross-domain benchmark datasets, the model achieves state-of-the-art zero-shot performance without using any training images from those datasets.
  • The method enables zero-shot segmentation of previously unseen labels such as 'duck' and 'deer', as shown in qualitative examples.
  • Instance segmentation performance improves by ~4% AP when fine-tuned on COCO using pseudo-labels from Objects365, outperforming baseline CondInst even with 50% of COCO data.
  • Monocular depth estimation improves consistently across 9 zero-shot datasets when using pseudo semantic labels derived from sentence embeddings.
  • The similarity matrix of sentence embeddings reveals better semantic clustering than word embeddings, confirming improved semantic alignment.

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.