Skip to main content
QUICK REVIEW

[论文解读] Convolutions Die Hard: Open-Vocabulary Segmentation with Single Frozen Convolutional CLIP

Qihang Yu, Ju He|arXiv (Cornell University)|Aug 4, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 30
一句话总结

FC-CLIP 提供一个基于共享的冻结卷积 CLIP 主干的单阶段开集词汇分割框架,与先前的两阶段方法相比,在训练/推理更快、参数更少的情况下实现了最先进的零-shot 全景分割。

ABSTRACT

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

研究动机与目标

  • 激发能够在不进行任务特定微调的情况下处理新类别的开集词汇分割。
  • 提出一个单阶段框架,在冻结的基于 CNN 的 CLIP 主干上统一掩码生成和开词汇识别。
  • 展示共享冻结的 CLIP 主干在开集词汇设置中比微调具有更好的泛化性和效率。

提出的方法

  • 使用共享的冻结 CNN 基于 CLIP 主干来支撑三个组件:一个类别无关的掩码生成器、一个词汇表内分类器,以及一个词汇表外分类器。
  • 用多尺度可变形注意力扩展 Mask2Former 风格的像素解码器以生成类别无关的掩码。
  • 通过在对比空间中使用缓存的文本嵌入对掩码池化特征进行词汇表内分类。
  • 引入一个词汇表外分类器,使用掩码池化的冻结 CLIP 主干特征以保留开集词汇识别能力。
  • 通过几何集成融合词汇表内和词汇表外分类器的预测,以生成每个掩码的最终类别分数。
  • 在 COCO Panoptic 数据上使用标准损失进行训练;推理时仅在测试时执行词汇表外评分;对文本嵌入应用提示工程。

实验结果

研究问题

  • RQ1在冻结的 CLIP 主干下,单阶段架构是否可以在不降低对新类别的识别能力的前提下实现开集全景分割?
  • RQ2基于 CNN 的冻结 CLIP 主干在密集预测任务中是否比基于 ViT 的变体对更高输入分辨率具有更好的泛化能力?
  • RQ3将词汇表内和词汇表外的 CLIP 信号结合对开集分割性能有何影响?
  • RQ4在标准基准测试中,FC-CLIP 与先前的两阶段/开集方法在准确性和效率方面的比较如何?

主要发现

  • 在在 COCO Panoptic 数据上训练时,FC-CLIP 在 ADE20K、Mapillary Vistas 和 Cityscapes 上实现了最先进的零-shot 开放词汇全景分割,显著优于现有方法。
  • 在 ADE20K 上,FC-CLIP 记录 26.8 PQ、16.8 AP 和 34.1 mIoU(使用 COCO 训练的零-shot),超越 ODISE 分别高出 +4.2 PQ、+2.4 AP 和 +4.2 mIoU。
  • FC-CLIP 的训练速度比现有工作快 7.5 倍,推理速度快 6.6 倍,冻结总参数比 ODISE 少 5.9 倍,且参数更少。
  • FC-CLIP 在基于 ADE20K 的基准上也实现了强劲的开集语义分割和实例分割结果,在没有任务特定微调的情况下,优于 SAN 和 ODISE。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。