Skip to main content
QUICK REVIEW

[Paper Review] Uncovering Prototypical Knowledge for Weakly Open-Vocabulary Semantic Segmentation

Fei Zhang, Tianfei Zhou|arXiv (Cornell University)|Oct 29, 2023
Multimodal Machine Learning ApplicationsComputer Science5 citations
TL;DR

This paper proposes PGSeg, a novel framework for weakly open-vocabulary semantic segmentation that introduces non-learnable prototypical regularization (NPR) to explicitly supervise group tokens in vision transformers. By leveraging Gaussian mixture models on image and text features to generate fixed prototypes, PGSeg enhances both compactness and richness of group tokens, resolving granularity inconsistency between training and inference, and achieving state-of-the-art performance with improved segmentation quality and robustness.

ABSTRACT

This paper studies the problem of weakly open-vocabulary semantic segmentation (WOVSS), which learns to segment objects of arbitrary classes using mere image-text pairs. Existing works turn to enhance the vanilla vision transformer by introducing explicit grouping recognition, i.e., employing several group tokens/centroids to cluster the image tokens and perform the group-text alignment. Nevertheless, these methods suffer from a granularity inconsistency regarding the usage of group tokens, which are aligned in the all-to-one v.s. one-to-one manners during the training and inference phases, respectively. We argue that this discrepancy arises from the lack of elaborate supervision for each group token. To bridge this granularity gap, this paper explores explicit supervision for the group tokens from the prototypical knowledge. To this end, this paper proposes the non-learnable prototypical regularization (NPR) where non-learnable prototypes are estimated from source features to serve as supervision and enable contrastive matching of the group tokens. This regularization encourages the group tokens to segment objects with less redundancy and capture more comprehensive semantic regions, leading to increased compactness and richness. Based on NPR, we propose the prototypical guidance segmentation network (PGSeg) that incorporates multi-modal regularization by leveraging prototypical sources from both images and texts at different levels, progressively enhancing the segmentation capability with diverse prototypical patterns. Experimental results show that our proposed method achieves state-of-the-art performance on several benchmark datasets. The source code is available at https://github.com/Ferenas/PGSeg.

Motivation & Objective

  • To address the granularity inconsistency in weakly open-vocabulary semantic segmentation (WOVSS), where group tokens are trained with all-to-one alignment but infer with one-to-one alignment.
  • To improve the quality of group tokens by enforcing compactness and richness through explicit supervision.
  • To bridge the gap between weakly supervised training and zero-shot inference by introducing prototypical knowledge as a form of external supervision.
  • To explore multi-modal prototypical sources—image-level and text-level—to enrich group token representations with diverse semantic patterns.
  • To develop a practical and efficient segmentation framework that maintains strong performance with limited supervision, avoiding reliance on pixel-level annotations.

Proposed method

  • Proposes non-learnable prototypical regularization (NPR), which uses Gaussian Mixture Models (GMM) on source features to generate fixed, non-learnable prototypes as supervision for group tokens.
  • Applies contrastive matching between group tokens and GMM-derived prototypes to regularize feature learning, enhancing both compactness and richness.
  • Introduces two variants: image-level NPR (I-NPR) using low-level visual features and text-level NPR (T-NPR) using CLIP-enclosed text features to provide multi-modal supervision.
  • Designs a progressive training strategy that integrates both I-NPR and T-NPR to refine group tokens at different levels of abstraction.
  • Employs a vision transformer backbone with learnable group tokens, where the regularization is applied during feature clustering to improve segmentation fidelity.
  • Uses a contrastive loss to align group tokens with prototypes, ensuring that each group token learns to represent a coherent, noise-reduced, and semantically rich region.

Experimental results

Research questions

  • RQ1How can explicit supervision be provided to group tokens in weakly open-vocabulary semantic segmentation to resolve the granularity inconsistency between training and inference?
  • RQ2What kind of prototypical knowledge can effectively guide group tokens to achieve both compactness and richness in feature representation?
  • RQ3Can multi-modal prototypes derived from both images and text improve the generalization and robustness of group tokens in zero-shot segmentation?
  • RQ4To what extent does non-learnable prototypical regularization outperform end-to-end learned clustering in weakly supervised settings?
  • RQ5How does the integration of image-level and text-level prototypes affect the overall segmentation performance and feature diversity?

Key findings

  • PGSeg achieves state-of-the-art performance on multiple benchmark datasets, demonstrating superior segmentation quality compared to existing WOVSS methods.
  • The proposed NPR significantly improves group token compactness, reducing redundancy and noise in the feature space, as validated by visualizations and feature variance analysis.
  • The dimensional variance of group token features in PGSeg is substantially higher than in GroupViT, indicating better representation diversity and reduced dimensional collapse.
  • The model maintains a reasonable computational cost, with 13.6G FLOPs and 35.1M parameters—lower than ViT-S and only 3.2G more than GroupViT—indicating good efficiency.
  • Visual comparisons show that PGSeg effectively captures entire objects in a class-agnostic manner, achieving competitive results on intuitive categories like umbrellas and ships despite limited training data.
  • The ablation study confirms that both I-NPR and T-NPR contribute positively, with the combination yielding the best performance, highlighting the benefit of multi-modal prototypical supervision.

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.