Introduction
Deep learning models for image segmentation typically require extensive pixel-level annotations to perform effectively. This data-hungry nature makes scaling to novel categories expensive and time-consuming. Zero-Shot Learning (ZSL) offers a potential solution by allowing models to recognize unseen categories through semantic knowledge, such as word embeddings. However, extending ZSL to complex segmentation tasks—specifically panoptic, instance, and semantic segmentation—presents significant hurdles.
This paper introduces PADing (Primitive generation and Semantic-related Alignment with feature Disentanglement), a unified framework designed to bridge the gap between visual perception and semantic understanding. By synthesizing unseen class features from a bank of fine-grained primitives and disentangling visual noise from semantic signals, PADing achieves state-of-the-art performance across all three major segmentation tasks.
The Challenges of Zero-Shot Segmentation
The authors identify three primary bottlenecks that hinder current zero-shot segmentation approaches:
- The Granularity Gap: Textual descriptions are inherently abstract, whereas images are rich in detail. Mapping a single, high-level word vector directly to a complex visual feature often results in low-quality synthetic data that fails to capture the diversity of real-world objects.
- The Domain Gap: Visual features contain significant "noise"—information regarding lighting, texture, or perspective—that has no direct counterpart in a text embedding. Forcing a direct alignment between these two disparate spaces can confuse the model.
- Seen-Class Bias: Models trained on a specific set of categories naturally gravitate toward those classes, struggling to identify or correctly label "unseen" objects within complex scenes.
The PADing Framework
To address these bottlenecks, PADing introduces three key innovations designed to improve the synthesis and alignment of visual features.
Primitive Cross-Modal Generation
Instead of relying on a direct one-to-one mapping from text to image features, PADing utilizes a Primitive Bank. This bank consists of a set of learnable vectors representing fine-grained attributes (e.g., "furry," "round," "metallic"). To generate a feature for an unseen class, such as a "cat," the generator selectively assembles these primitives based on the semantic embedding of the word. This compositional approach allows the model to synthesize much richer and more diverse features, mimicking how humans describe novel objects through shared attributes (e.g., describing a zebra as a "striped horse").
Feature Disentanglement
Not all information in a visual feature is relevant to its semantic label. PADing incorporates a disentanglement module that splits visual features into two distinct components: semantic-related (features that map directly to text) and semantic-unrelated (visual clues like background or lighting). By isolating the semantic-related portion, the model can align visual data with text embeddings more accurately, preventing the generator from being distracted by irrelevant visual noise.
Collaborative Relationship Alignment
The framework ensures that the structural relationships between classes in the visual space mirror those in the semantic space. If "dog" and "cat" are close in the word-embedding space, their synthetic visual features should maintain a similar proximity. PADing employs both intra-group (seen-to-seen) and inter-group (seen-to-unseen) constraints to enforce these relational priors, significantly improving the model's ability to generalize to novel categories.
Experimental Results
The PADing framework was evaluated on several standard benchmarks using a ResNet-50 backbone, following strict zero-shot protocols where no images of unseen classes were used during training.
- Zero-Shot Panoptic Segmentation (ZSP): On MSCOCO 2017, PADing achieved a Harmonic Mean Panoptic Quality (HM-PQ) of 22.3, significantly outperforming previous generative baselines.
- Zero-Shot Instance Segmentation (ZSI): On the MSCOCO 48/17 split, the model reached 13.9 mAP, a substantial improvement over the previous state-of-the-art of 6.7 mAP.
- Zero-Shot Semantic Segmentation (ZSS): On COCO-Stuff, it achieved 30.7 HM-IoU, outperforming the previous best-in-class model (ZegFormer) by 3.5%.
Qualitative evaluations further demonstrate the model's success, showing accurate segmentation of difficult unseen classes such as "suitcase," "frisbee," and "skateboard"—objects that baseline models frequently misclassified or missed entirely.
Conclusion and Future Work
PADing represents a significant step forward in universal zero-shot segmentation by treating class features as compositions of shared primitives and explicitly disentangling semantic information from visual noise. While the model achieves state-of-the-art results, it remains dependent on the quality of the initial class-agnostic mask proposer and the underlying semantic embeddings (e.g., CLIP). Future research may explore scaling the primitive bank or integrating more advanced vision-language models to further narrow the performance gap between zero-shot and fully supervised segmentation.
Summary updated