Abstract
Traditional panoptic segmentation models are typically restricted to a closed vocabulary, limiting their utility in real-world scenarios where novel objects frequently appear. We present OPSNet, a data-efficient framework designed for open-vocabulary panoptic segmentation. By dynamically modulating learned segmentation queries with general-purpose CLIP embeddings, OPSNet enables the recognition and segmentation of categories not seen during training. Our approach achieves state-of-the-art performance on cross-dataset benchmarks while maintaining high accuracy on known categories, effectively bridging the gap between specialized localization and generalized recognition.
Introduction
Most contemporary computer vision models operate under a "closed-vocabulary" assumption, meaning they can only identify and segment the specific classes present in their training data (e.g., the 80 categories in COCO). When these models encounter novel objects—such as a "kangaroo" or a "printer"—they often fail to segment them or erroneously classify them into a familiar but incorrect category.
While vision-language models like CLIP offer a potential solution for open-vocabulary recognition, integrating them into panoptic segmentation tasks presents two significant challenges. First, efficiency is often compromised; many existing methods require cropping every object proposal and passing it through a heavy CLIP encoder. Second, there is a persistent generalization trade-off: models that improve on novel objects often suffer a performance degradation on the original training set. OPSNet addresses these hurdles through a novel embedding modulation strategy and an efficient single-pass architecture.
Methodology
Embedding Modulation
The core innovation of OPSNet is the dynamic fusion of two distinct embedding types for every object proposal. The model generates a query embedding, which is learned during training and excels at localizing and classifying in-domain objects, and a CLIP embedding, extracted from a pre-trained CLIP model to provide broad semantic knowledge.
To balance these, OPSNet employs a domain similarity metric. This metric allows the model to modulate the influence of each embedding dynamically: it relies more heavily on CLIP embeddings for unfamiliar concepts and favors learned queries for familiar ones. This ensures the model retains its specialized performance on known data while gaining the ability to generalize to the "open world."
Efficient Feature Extraction
To avoid the computational overhead of processing individual object crops, OPSNet utilizes a Spatial Adapter and Mask Pooling. The Spatial Adapter is integrated into the CLIP image encoder to maintain high spatial resolution. Mask Pooling then allows the model to extract visual features for all predicted masks in a single pass. This architectural choice significantly improves inference speed compared to two-stage competitors.
Mask Filtering and Quality Control
Because CLIP is trained on general image-text pairs rather than specific object boundaries, it can struggle to distinguish between actual objects and background noise. To mitigate this, OPSNet includes an IoU (Intersection over Union) head. This component predicts the quality of each mask, allowing the system to filter out low-quality or duplicate proposals that might otherwise lead to false positives in the CLIP classification stage.
Decoupled Supervision (OPSNet+)
To further scale the model's vocabulary, the authors introduce Decoupled Supervision. This training phase utilizes image-level labels from datasets like ImageNet-21K. By leveraging these labels, the model learns to associate specific visual concepts (e.g., a "red panda") with masks without requiring expensive, pixel-level annotations for every category. This data-efficient approach allows the model to scale to thousands of categories.
Experimental Results
Cross-Dataset Generalization
OPSNet demonstrates superior generalization capabilities when tested on datasets it did not see during primary training. On the ADE20K dataset, OPSNet achieved 17.7 PQ (Panoptic Quality), a significant improvement over previous benchmarks such as MaskCLIP (15.1 PQ). When further boosted with ImageNet-21K data (OPSNet+), the model reached 25.4 mIoU, setting a new standard for data-efficient open-vocabulary segmentation.
Maintaining In-Domain Performance
Critically, OPSNet does not sacrifice performance on its base training set. It maintained a score of 52.4 PQ on COCO, matching the performance of the closed-vocabulary Mask2Former baseline. This confirms that the embedding modulation successfully manages the trade-off between specialization and generalization.
Hierarchical Understanding
By operating within the CLIP language space, OPSNet inherits hierarchical reasoning capabilities. The model can identify an object at multiple levels of granularity—for instance, correctly identifying a specific animal as a "thing," an "animal," a "cat," and a "Siamese cat" by traversing a category tree like WordNet.
Discussion and Limitations
While OPSNet represents a significant step forward, it remains bounded by the limitations of its foundation models. The recognition accuracy is ultimately tied to the pre-trained CLIP model; any biases or conceptual gaps within CLIP are inherited by OPSNet. Furthermore, while the model recognizes novel objects effectively, the geometric precision of the masks for extremely rare objects is still largely influenced by the shapes of common objects seen during training.
Conclusion
OPSNet provides a robust framework for open-vocabulary panoptic segmentation by effectively combining the localization strengths of traditional segmentation queries with the semantic breadth of CLIP. Through embedding modulation and efficient mask pooling, it achieves a high-performance, scalable solution that avoids the common pitfalls of computational inefficiency and generalization trade-offs. Future work will likely focus on integrating even larger vision-language models and exploring diverse, unlabelled data sources to further expand the model's vocabulary.
Summary updated