Abstract
This paper introduces Zero-Shot Instance Segmentation (ZSI), a novel and challenging task where a model must detect and segment object classes it has never seen during training. By leveraging semantic word vectors and a novel "background-aware" architecture, the authors successfully bridge the gap between seen and unseen categories. The proposed framework outperforms existing zero-shot detection methods and establishes a strong baseline for pixel-level segmentation on the MS-COCO dataset.
Introduction
Deep learning has achieved remarkable success in instance segmentation, identifying and outlining individual objects with high precision. However, these models typically require thousands of labeled examples for every category. In specialized domains such as medicine or industrial manufacturing, collecting and labeling such data is prohibitively expensive or requires rare expertise.
While "Zero-Shot Learning" (ZSL) has been explored for classification and object detection, Instance Segmentation—which requires precise, pixel-level masks—remains a frontier. The core difficulty lies in two areas:
- Visual-Semantic Mapping: Teaching a model that an unseen object (e.g., a "fork") shares visual similarities with a seen object (e.g., a "knife") while remaining semantically distinct.
- The Background Problem: In zero-shot settings, models often mistake "unseen" objects for "background" because those objects were not explicitly labeled during training.
Methods
The authors propose a framework built on a detection-segmentation pipeline, introducing four key components to handle the transition from seen to unseen classes:
Zero-Shot Detector (ZSD)
Instead of a standard classifier, the ZSD uses an encoder-decoder structure to map visual features into a semantic space defined by word vectors (e.g., word2vec). This allows the model to predict classes based on their semantic proximity to known concepts.
Semantic Mask Head (SMH)
This component is the pixel-level equivalent of the detector. It learns to align visual features with semantic word vectors to generate masks for unseen classes. It incorporates a reconstruction loss to ensure the visual-to-semantic mapping is robust and preserves spatial information.
Background Aware RPN (BA-RPN)
Traditional models use a fixed, generic representation for "background." BA-RPN learns a dynamic, image-specific background word vector. This helps the model distinguish between true background and "unseen" foreground objects that might otherwise be ignored.
Synchronized Background Strategy (Sync-bg)
To maintain consistency across the pipeline, Sync-bg ensures that the background representation used by the detector and the mask head are perfectly aligned during both training and inference.
Experimental Setup
The researchers established a new benchmark using the MS-COCO dataset (2014 version). They created two specific "splits" to test generalization:
- 48/17 Split: 48 classes used for training (seen), 17 classes reserved for testing (unseen).
- 65/15 Split: 65 classes for training, 15 for testing.
They also evaluated the model on Generalized Zero-Shot Instance Segmentation (GZSI), where the model must simultaneously segment both seen and unseen classes in the same image.
Key Insights
- Reconstruction as a Regularizer: By forcing the model to reconstruct original visual features from semantic embeddings in the mask head, the model learns a tighter mapping between visual appearance and semantic identity.
- Dynamic Backgrounds: The paper argues that "background" is context-dependent (e.g., a kitchen vs. a forest). Treating background as an adaptive vector prevents unseen objects from being "hidden" in a generic background class.
- Semantic Knowledge Transfer: The model learns the geometric logic of masking from seen classes and applies it to unseen classes by navigating the shared semantic space of word embeddings.
Results
The proposed method sets a new state-of-the-art (SOTA) for zero-shot tasks:
- Superior Detection: On the COCO 48/17 split, the model achieved a Recall@100 of 53.9%, significantly outperforming previous zero-shot detection methods like BLC (48.6%) and DSES (27.19%).
- ZSI Performance: For the new instance segmentation task, it achieved a 9.0 mAP on the 48/17 split and 10.5 mAP on the 65/15 split.
- Qualitative Success: The model successfully segments complex, unseen objects like snowboards, couches, and cups in crowded real-world scenes.
Conclusion
While the results represent a significant step forward, a gap remains between zero-shot and fully supervised performance (which typically reaches much higher mAP). Future work may involve more sophisticated semantic representations or exploring "few-shot" scenarios where limited labels are available for unseen classes. Nonetheless, this work provides a robust baseline for moving instance segmentation beyond the constraints of exhaustive manual labeling.
Summary updated