arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.15869cs.CV
收藏

自校准CLIP用于无训练开放词汇分割

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

Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Department of Automation, Tsinghua University(清华大学自动化系)

Sule Bai, Yong Liu, Yifei Han, Haoji Zhang, Yansong Tang, Jie Zhou, Jiwen Lu

AI总结:

本文提出自校准CLIP,通过消除异常token影响,提升CLIP在开放词汇分割中的表现,实现更精细的特征表示和语义一致性。

摘要:

近期预训练视觉-语言模型如CLIP的进步使开放词汇分割任务成为可能。CLIP在各种需要整体图像理解的下游任务中表现出色。然而,由于图像级对比学习和全全局特征交互,基于ViT的CLIP难以捕捉局部细节,导致分割任务性能不佳。我们的分析表明,ViT-based CLIP在前向过程中会产生异常token,吸引正常patch token过多注意力,从而降低空间意识。为了解决这一问题,我们提出了自校准CLIP(SC-CLIP),一种无需训练的方法,通过校准CLIP生成更精细的表示,同时保持其原有的泛化能力,不引入新参数或依赖额外骨干网络。具体来说,我们从两个互补的角度缓解异常token的负面影响。首先,我们明确识别异常token并基于局部上下文替换它们。其次,我们通过增强特征判别性和注意力相关性来减少它们对正常token的影响,利用CLIP中层特征内固有的语义一致性。此外,我们引入了两步策略,有效整合多级特征,在无训练设置下丰富局部细节。这些策略共同提升了CLIP的特征表示,使其具有改进的粒度和语义一致性。实验结果表明,SC-CLIP的有效性,所有数据集上均达到最先进结果,比先前方法提升9.5%。值得注意的是,SC-CLIP将vanilla CLIP ViT-L/14的性能提升6.8倍。我们的源代码可在https://github.com/SuleBai/SC-CLIP获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑