arXiv:2411.15869cs.CV2024-11中稿 · IEEE TIP被引 49

不训练即可提升CLIP分割精度,解决模型忽略局部细节的问题。

Self-Calibrated CLIP for Training-Free Open-Vocabulary Segmentation

  • 通过识别并替换异常令牌,增强局部特征表达
  • 在无额外参数下实现9.5%性能提升,最大增益达6.8倍
  • 适合希望零样本改进分割效果的研究者

基于ViT的CLIP在开放词汇分割中表现出色,但受限于图像级对比学习和全局特征交互,难以捕捉局部细节。分析发现,前向传播中会生成异常令牌,吸引过多关注,削弱空间感知能力。为此提出无需训练的Self-Calibrated CLIP(SC-CLIP),通过双重策略缓解该问题:一是显式识别并基于局部上下文替换异常令牌;二是增强特征可区分性与注意力相关性,利用中层特征内在语义一致性降低异常令牌影响。此外引入双遍策略,融合多层级特征以丰富局部信息。实验表明,SC-CLIP在所有数据集上均达领先水平,相较之前方法提升9.5%,使原版CLIP ViT-L/14性能提高6.8倍。

原文摘要 · Abstract (English)

Recent advancements in pre-trained vision-language models like CLIP have enabled the task of open-vocabulary segmentation. CLIP demonstrates impressive zero-shot capabilities in various downstream tasks that require holistic image understanding. However, due to the image-level contrastive learning and fully global feature interaction, ViT-based CLIP struggles to capture local details, resulting in poor performance in segmentation tasks. Our analysis of ViT-based CLIP reveals that anomaly tokens emerge during the forward process, attracting disproportionate attention from normal patch tokens and thereby diminishing spatial awareness. To address this issue, we propose Self-Calibrated CLIP (SC-CLIP), a training-free method that calibrates CLIP to generate finer representations while preserving its original generalization ability-without introducing new parameters or relying on additional backbones. Specifically, we mitigate the negative impact of anomaly tokens from two complementary perspectives. First, we explicitly identify the anomaly tokens and replace them based on local context. Second, we reduce their influence on normal tokens by enhancing feature discriminability and attention correlation, leveraging the inherent semantic consistency within CLIP's mid-level features. In addition, we introduce a two-pass strategy that effectively integrates multi-level features to enrich local details under the training-free setting. Together, these strategies enhance CLIP's feature representations with improved granularity and semantic coherence. Experimental results demonstrate the effectiveness of SC-CLIP, achieving state-of-the-art results across all datasets and surpassing previous methods by 9.5%. Notably, SC-CLIP boosts the performance of vanilla CLIP ViT-L/14 by 6.8 times. Our source code is available at https://github.com/SuleBai/SC-CLIP.

开放词汇分割CLIP零样本视觉语言模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。