AlignZeg: Mitigating Objective Misalignment for Zero-shot Semantic Segmentation

Jiannan Ge, Lingxi Xie, Hongtao Xie, Pandeng Li, Xiaopeng Zhang, Yongdong Zhang, Qi Tian

TL;DR

This paper introduces AlignZeg, a novel architecture for zero-shot semantic segmentation that tackles the "objective misalignment" problem. By improving proposal extraction, classification, and bias correction, AlignZeg significantly boosts performance on unseen classes, a crucial step towards truly generalizable visual understanding.

What Problem Does This Paper Address?

Semantic segmentation is a core computer vision task that involves assigning a class label to every pixel in an image. Traditional methods rely on massive annotated datasets. However, in real-world scenarios, new classes constantly emerge, making it impractical to re-annotate everything. Zero-shot semantic segmentation (ZS3) aims to address this by enabling models trained on a set of "seen" classes to segment objects from "unseen" classes without any direct training examples.

A major hurdle in ZS3, especially at the pixel level, is "objective misalignment." This means that during training, models are optimized to perform well on the seen classes, which inadvertently leads to poor performance on the unseen classes. This is because the strong pixel-level supervision for seen classes creates a significant gap that's hard to bridge for novel categories. The paper argues that this misalignment limits the full potential of powerful vision-language models like CLIP when applied to segmentation.

Methods

AlignZeg tackles objective misalignment through a three-pronged approach:

  1. Mutually-Refined Proposal Extraction (MRPE): Standard methods often struggle to extract detailed, class-agnostic mask proposals. MRPE enhances this by enabling mask queries and visual features to interact and refine each other. This leads to more accurate and detailed proposals that are better equipped to generalize to unseen classes.
  2. Generalization-Enhanced Proposal Classification (GEPC): To prevent models from becoming overly specialized to seen classes, GEPC introduces strategies to create a more generalizable feature space. This includes:
  3. Feature Expansion Strategy: Synthesizing virtual features that lie outside the distribution of seen classes, using techniques like manifold mixup.
  4. Background Diversity Strategy: Employing multiple background prototypes to better represent diverse backgrounds, rather than relying on a single one.
  5. Predictive Bias Correction (PBC): This component is applied during inference. It uses a learned binary classifier to identify proposals that are likely to contain unseen classes. These identified proposals then undergo a post-processing step to correct their prediction scores, explicitly reducing the bias towards seen classes. This adds a novel proposal-level step to the segmentation pipeline.

Datasets

The authors evaluate AlignZeg on three standard datasets:

  • PASCAL VOC 2012: A common benchmark for semantic segmentation.
  • COCO-Stuff 164K: A larger dataset with more classes, including "stuff" categories.
  • PASCAL Context: Another dataset with a significant number of semantic classes.

They also evaluate generalization ability on five additional datasets (A-150, A-847, VOC, P-59, P-459), training on COCO-Stuff 164K with all classes.

Key Insights and Ideas

  • Objective Misalignment is Key: The paper convincingly argues that "objective misalignment" is the core problem hindering zero-shot segmentation, not just a minor issue. Their framework directly targets this.
  • Pixel-Level Supervision Exacerbates the Problem: The strong supervision signal in semantic segmentation makes the objective misalignment issue more pronounced compared to image-level tasks.
  • Proposal-Level Bias Correction is Novel and Effective: Introducing a dedicated step to identify and correct biases in individual mask proposals during inference is a novel contribution that significantly improves unseen class performance.
  • Generalization Through Diversity: The GEPC component highlights the importance of not just seeing more data, but seeing diverse data (virtual features, multiple backgrounds) to build robust models for unseen classes.

Key Results

AlignZeg demonstrates significant improvements across various benchmarks:

  • Generalized Zero-Shot Semantic Segmentation (GZS3): Achieved an average improvement of 3.8% in hIoU and a notable 7.1% increase in mIoU(U) (mean IoU for unseen classes).
  • Strict Zero-Shot Semantic Segmentation (ZS3): Achieved state-of-the-art (SOTA) performance in both pAcc and mIoU.
  • Unseen Class Performance: Specifically, the method showed a 7.1% improvement in identifying unseen classes, directly addressing the core problem.
  • Ablation Studies: Showed that each component (PBC, MRPE, FES, BDS) contributes to the overall performance, with PBC alone providing a 2.15% hIoU increase.

Qualitatively, visualizations show AlignZeg effectively correcting misclassifications of unseen classes and producing more accurate segmentation masks.

Limitations and Future Work

  • Segmentation Boundaries: While AlignZeg improves classification, some segmentation boundaries still exhibit minor inaccuracies. The authors suggest that post-processing techniques could further refine these.
  • Fixed Category Prototypes: The model's reliance on fixed category prototypes from CLIP's text encoder can limit generalization when prototypes are very close. Future work could involve adapting these prototypes.
  • Computational Cost: While not explicitly detailed as a limitation, the multi-stage nature of the proposed pipeline might imply higher computational costs compared to single-pass methods, though the paper mentions streamlining compared to some prior two-stage approaches.

Summary updated

BibTeX
@inproceedings{ge2024alignzeg,
  author = {Jiannan Ge and Lingxi Xie and Hongtao Xie and Pandeng Li and Xiaopeng Zhang and Yongdong Zhang and Qi Tian},
  title = {{AlignZeg: Mitigating Objective Misalignment for Zero-shot Semantic Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72775-7\_9},
}
Figure