[Paper Review] Convolutions Die Hard: Open-Vocabulary Segmentation with Single Frozen Convolutional CLIP
FC-CLIP presents a single-stage open-vocabulary segmentation framework built on a shared frozen convolutional CLIP backbone, achieving state-of-the-art zero-shot panoptic segmentation with faster training/inference and fewer parameters compared to prior two-stage methods.
Open-vocabulary segmentation is a challenging task requiring segmenting and recognizing objects from an open set of categories. One way to address this challenge is to leverage multi-modal models, such as CLIP, to provide image and text features in a shared embedding space, which bridges the gap between closed-vocabulary and open-vocabulary recognition. Hence, existing methods often adopt a two-stage framework to tackle the problem, where the inputs first go through a mask generator and then through the CLIP model along with the predicted masks. This process involves extracting features from images multiple times, which can be ineffective and inefficient. By contrast, we propose to build everything into a single-stage framework using a shared Frozen Convolutional CLIP backbone, which not only significantly simplifies the current two-stage pipeline, but also remarkably yields a better accuracy-cost trade-off. The proposed FC-CLIP, benefits from the following observations: the frozen CLIP backbone maintains the ability of open-vocabulary classification and can also serve as a strong mask generator, and the convolutional CLIP generalizes well to a larger input resolution than the one used during contrastive image-text pretraining. When training on COCO panoptic data only and testing in a zero-shot manner, FC-CLIP achieve 26.8 PQ, 16.8 AP, and 34.1 mIoU on ADE20K, 18.2 PQ, 27.9 mIoU on Mapillary Vistas, 44.0 PQ, 26.8 AP, 56.2 mIoU on Cityscapes, outperforming the prior art by +4.2 PQ, +2.4 AP, +4.2 mIoU on ADE20K, +4.0 PQ on Mapillary Vistas and +20.1 PQ on Cityscapes, respectively. Additionally, the training and testing time of FC-CLIP is 7.5x and 6.6x significantly faster than the same prior art, while using 5.9x fewer parameters. FC-CLIP also sets a new state-of-the-art performance across various open-vocabulary semantic segmentation datasets. Code at https://github.com/bytedance/fc-clip
Motivation & Objective
- Motivate open-vocabulary segmentation capable of handling novel categories without task-specific fine-tuning.
- Propose a single-stage framework that unifies mask generation and open-vocabulary recognition on a frozen CNN-based CLIP backbone.
- Show that sharing a frozen CLIP backbone yields better generalization and efficiency than fine-tuning in open-vocabulary settings.
Proposed method
- Use a shared frozen CNN-based CLIP backbone to underpin three components: a class-agnostic mask generator, an in-vocabulary classifier, and an out-of-vocabulary classifier.
- Extend Mask2Former-style pixel decoder with multi-scale deformable attention to generate class-agnostic masks.
- Perform in-vocabulary classification by mask-pooling features with cached text embeddings in a contrastive space.
- Introduce an out-of-vocabulary classifier that uses mask-pooled frozen CLIP backbone features to preserve open-vocabulary recognition ability.
- Fuse in- and out-of-vocabulary classifier predictions via a geometric ensemble to produce final per-mask class scores.
- Train on COCO Panoptic data with standard losses; during inference, perform out-of-vocabulary scoring only at test time; apply prompt engineering for text embeddings.
Experimental results
Research questions
- RQ1Can a single-stage architecture with a frozen CLIP backbone perform open-vocabulary panoptic segmentation without degrading recognition on novel categories?
- RQ2Does a CNN-based frozen CLIP backbone generalize better to higher input resolutions than ViT-based variants for dense prediction tasks?
- RQ3What is the impact of combining in-vocabulary and out-of-vocabulary CLIP signals on open-vocabulary segmentation performance?
- RQ4How does FC-CLIP compare to prior two-stage/open-vocabulary methods in terms of accuracy and efficiency on standard benchmarks?
Key findings
- FC-CLIP achieves state-of-the-art zero-shot open-vocabulary panoptic segmentation on ADE20K, Mapillary Vistas, and Cityscapes when trained on COCO Panoptic data, outperforming prior art by substantial margins.
- On ADE20K, FC-CLIP records 26.8 PQ, 16.8 AP, and 34.1 mIoU (zero-shot with COCO training), surpassing ODISE by +4.2 PQ, +2.4 AP, and +4.2 mIoU.
- FC-CLIP trains faster and requires fewer parameters than prior work (7.5x faster training, 6.6x faster inference, with 5.9x fewer frozen total parameters than ODISE).
- FC-CLIP also achieves strong open-vocabulary semantic and instance segmentation results, outperforming SAN and ODISE on ADE20K-based benchmarks without task-specific fine-tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.