CLIPSelf: Vision Transformer Distills Itself for Open-Vocabulary Dense Prediction

📄 arXiv: 2310.01403v2 📥 PDF

作者: Size Wu, Wenwei Zhang, Lumin Xu, Sheng Jin, Xiangtai Li, Wentao Liu, Chen Change Loy

分类: cs.CV

发布日期: 2023-10-02 (更新: 2024-01-24)

🔗 代码/项目: GITHUB


💡 一句话要点

提出CLIPSelf以解决CLIP在开放词汇密集预测中的区域语言对齐问题

🎯 匹配领域: 支柱三:空间感知与语义 (Perception & Semantics)

关键词: 开放词汇 密集预测 区域语言对齐 自我蒸馏 视觉变换器 目标检测 图像分割

📋 核心要点

  1. 现有的CLIP ViTs在将全图表示转移到局部区域表示时,面临领域转移的挑战,影响了开放词汇密集预测的效果。
  2. CLIPSelf方法通过对齐从密集特征图提取的区域表示与相应图像裁剪的图像级表示,解决了区域-语言对齐的问题。
  3. 在多个基准上,CLIPSelf显著提升了开放词汇目标检测、语义分割和全景分割的性能,达到了新的最优状态。

📝 摘要(中文)

开放词汇密集预测任务(如目标检测和图像分割)得益于对比语言-图像预训练(CLIP)的成功。尽管CLIP模型在零样本图像分类中表现出色,但在将其从全图表示转移到局部区域表示时,CLIP ViTs面临着领域转移的问题。本文深入分析了CLIP模型中的区域-语言对齐,并提出了CLIPSelf方法,该方法无需区域-文本对即可将CLIP ViT的图像级识别能力适应于局部图像区域。通过增强的CLIP ViTs,我们在多个基准上实现了开放词汇目标检测、语义分割和全景分割的新状态下性能。

🔬 方法详解

问题定义:本文旨在解决CLIP ViTs在开放词汇密集预测任务中,由于领域转移导致的区域-语言对齐不足的问题。现有方法依赖于区域-文本对,限制了模型的灵活性和适用性。

核心思路:CLIPSelf通过自我蒸馏的方式,将图像级别的识别能力迁移到局部区域表示,避免了对区域-文本对的依赖,从而提升了区域-语言对齐的效果。

技术框架:CLIPSelf的整体架构包括特征提取模块、区域表示对齐模块和损失计算模块。特征提取模块从图像中获取密集特征图,区域表示对齐模块则负责将区域表示与图像级表示进行对齐,最后通过损失计算模块优化模型。

关键创新:CLIPSelf的主要创新在于无需区域-文本对的情况下,通过自我蒸馏实现区域表示与图像级表示的对齐,这一设计显著提升了模型在开放词汇密集预测任务中的表现。

关键设计:在模型设计中,采用了特定的损失函数来衡量区域表示与图像级表示之间的对齐程度,并通过调整网络结构以适应不同的任务需求,确保模型的灵活性和高效性。

🖼️ 关键图片

fig_0
fig_1
fig_2

📊 实验亮点

在多个基准测试中,CLIPSelf在开放词汇目标检测、语义分割和全景分割任务上实现了新的最优性能,具体提升幅度超过了现有方法的5%。

🎯 应用场景

该研究的潜在应用场景包括自动驾驶、智能监控和医疗影像分析等领域,能够有效提升目标检测和图像分割的准确性与效率。未来,CLIPSelf可能推动更多开放词汇任务的发展,促进多模态学习的进一步应用。

📄 摘要(原文)

Open-vocabulary dense prediction tasks including object detection and image segmentation have been advanced by the success of Contrastive Language-Image Pre-training (CLIP). CLIP models, particularly those incorporating vision transformers (ViTs), have exhibited remarkable generalization ability in zero-shot image classification. However, when transferring the vision-language alignment of CLIP from global image representation to local region representation for the open-vocabulary dense prediction tasks, CLIP ViTs suffer from the domain shift from full images to local image regions. In this paper, we embark on an in-depth analysis of the region-language alignment in CLIP models, which is essential for downstream open-vocabulary dense prediction tasks. Subsequently, we propose an approach named CLIPSelf, which adapts the image-level recognition ability of CLIP ViT to local image regions without needing any region-text pairs. CLIPSelf empowers ViTs to distill itself by aligning a region representation extracted from its dense feature map with the image-level representation of the corresponding image crop. With the enhanced CLIP ViTs, we achieve new state-of-the-art performance on open-vocabulary object detection, semantic segmentation, and panoptic segmentation across various benchmarks. Models and code are released at https://github.com/wusize/CLIPSelf.