Abstract
General-purpose semantic segmentation relies on backbone CNN networks to extract discriminative features, classifying pixels into 'seen' object classes or a background class. Zero-shot semantic segmentation (ZS3) is a more challenging task, requiring models to identify pixels belonging to object classes never encountered during training. A persistent challenge in ZS3 is distinguishing 'unseen' classes from the background. While some models fine-tune final classification layers for the zero-shot setting, they often struggle to learn discriminative features due to a lack of supervision. We propose a recursive training scheme that supervises the retraining of a semantic segmentation model using a pseudo-feature representation. Central to this is the Zero-Shot Maximum Mean Discrepancy (ZS-MMD) loss, which weights high-confidence outputs from the pixel classification layer to provide feedback to the generator. By closing the loop on the generator end, we provide supervision that helps the model learn more discriminative feature representations for unseen classes. Our approach achieves state-of-the-art performance on the Pascal-VOC 2012 and Pascal-Context datasets.
Introduction
Standard semantic segmentation models operate under a "closed-set" assumption: they can only identify object classes explicitly present in their training data (e.g., "dog," "car," "person"). When these models encounter a novel object, such as a "chair" that was not part of the training set, they typically misclassify those pixels as "background."
Zero-Shot Semantic Segmentation (ZS3) addresses this limitation by leveraging semantic word embeddings (such as word2vec) to bridge the gap between seen and unseen categories. By understanding that a "wolf" is semantically similar to a "dog," a model should theoretically be able to segment a wolf without having seen a labeled example. However, the core difficulty remains: without explicit labels, the features generated for unseen classes are often weak and lack the distinctiveness required to separate them from the background or other objects.
Methodology
This research proposes a "closed-loop" recursive training framework that builds upon the ZS3Net architecture to improve feature discrimination.
1. Architecture Overview
The system utilizes DeepLabv3+ with a ResNet101 backbone as the primary segmentation network. To synthesize features for unseen classes, the authors employ a Generative Moment Matching Network (GMMN). This GMMN acts as a pseudo-feature generator, taking semantic word embeddings and Gaussian noise as inputs to produce synthetic features representing the unseen classes.
2. Recursive Training Scheme
Unlike traditional ZS3 methods that follow a linear, one-pass training session (Generator → Classifier), this model implements a recursive loop. The generated pseudo-features are fed into the pixel classification layer. The model then identifies high-confidence outputs from this classifier and uses them as a form of "pseudo-label" supervision to retrain and refine the generator. This iterative process ensures the generator produces features that are increasingly optimized for the specific classification task.
3. Zero-Shot Maximum Mean Discrepancy (ZS-MMD) Loss
The primary innovation in the training process is the ZS-MMD loss. While standard MMD loss treats all samples with equal importance, ZS-MMD weights pseudo-features based on the classifier's confidence. If the model exhibits high softmax probability (τ) that a pixel belongs to an unseen class, that pixel's feature vector is given more weight during generator training. This creates a virtuous cycle: a more accurate classifier provides better supervision for the generator, which in turn produces more discriminative features for the classifier.
Experimental Results
The model was evaluated on two major benchmarks partitioned for zero-shot tasks: Pascal-VOC 2012 (20 classes) and Pascal-Context (59 classes). To test the robustness of the zero-shot capabilities, the authors withheld varying numbers of classes (2, 4, 6, 8, and 10) during the initial training phase.
Quantitative Performance
The proposed recursive training significantly outperformed previous benchmarks. On the Pascal-VOC 2012 dataset with 10 unseen classes, the model improved the mean Intersection-over-Union (mIoU) for unseen classes from 18.1 (the previous state-of-the-art, ZS3Net) to 23.9.
Qualitative Analysis
Visual results indicate that the model is significantly better at distinguishing between visually similar classes. For instance, where previous models might confuse an unseen "chair" with a seen "table," the recursive training allows the model to capture the subtle feature differences necessary for separation. Additionally, the model demonstrated improved precision in segmenting fine structural details, such as the wings of birds or the tails of airplanes.
Discussion and Conclusion
The success of this framework highlights that self-correction is a powerful tool in zero-shot learning. By using confidence as a proxy for truth, the model effectively "teaches itself" to refine its internal representations of the unknown.
However, some limitations remain. The model's performance is sensitive to hyper-parameters, specifically the confidence threshold (τ) and the loss reduction factor (γ), which currently require dataset-specific tuning. Furthermore, while recursive training mitigates the inherent bias toward "seen" classes, it does not eliminate it entirely. Future work may involve applying this recursive framework to other zero-shot domains, such as object detection and instance segmentation, to further validate its generalizability.
Summary updated