arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.06818cs.LG
收藏

重新思考CLIP的全局知识以实现无训练开放词汇语义分割

Rethinking the Global Knowledge of CLIP in Training-Free Open-Vocabulary Semantic Segmentation

Beihang University(北航大学)

Jingyun Wang, Cilin Yan, Guoliang Kang

AI总结:

本文提出GCLIP,通过重塑最后块注意力和Value嵌入来提取CLIP的全局知识,提升无训练开放词汇语义分割性能。

摘要:

近期工作通过修改CLIP实现无训练开放词汇语义分割(TF-OVSS)。在vanilla CLIP中,基于块的图像表示主要编码同质的图像级属性,阻碍了CLIP在密集预测任务中的应用。先前TF-OVSS工作牺牲全局性以增强CLIP特征的局部性,通过使每个块主要关注自身或其邻近块内的狭窄局部窗口。经过修改后,CLIP聚合全局上下文信息的能力大幅减弱。本文重新思考CLIP编码的全局知识,提出GCLIP,探讨如何提取和利用CLIP的有益全局知识以实现TF-OVSS。由于每个块的表示最终由注意力权重和Value嵌入决定,我们提出重塑最后块的注意力和Value嵌入以将有用的全局上下文聚合到最终特征中。首先,我们旨在为最后块的注意力赋予图像级属性,而不引入跨块的同质注意力模式。为此,我们融合来自全局令牌出现块的注意力与Query-Query注意力。其次,我们旨在使最后块注意力模块的Value嵌入更具语义相关性。为此,我们设计了一种新的通道抑制策略。在五个标准基准上的广泛实验表明,我们的方法在性能上始终优于先前的最先进方法。

英文摘要:

Recent works modify CLIP to perform open-vocabulary semantic segmentation in a training-free manner (TF-OVSS). In vanilla CLIP, patch-wise image representations mainly encode homogeneous image-level properties, which hinders the application of CLIP to the dense prediction task. Previous TF-OVSS works sacrifice globality to enhance the locality of CLIP features, by making each patch mainly attend to itself or its neighboring patches within a narrow local window. With their modifications,the ability of CLIP to aggregate global context information is largely weakened. Differently, in this paper, we rethink the global knowledge encoded by CLIP and propose GCLIP to answer how to extract and utilize beneficial global knowledge of CLIP for TF-OVSS. As the representation of each patch is finally determined by the attention weights and the Value embeddings, we propose to reshape the last-block attention and Value embeddings to aggregate useful global context into final features. Firstly, we aim to equip the last-block attention with image-level properties while not introducing homogeneous attention patterns across patches. To realize the goal, we fuse the attention from the global-token emerging blocks with the Query-Query attention. Secondly, we aim to make Value embeddings of the last-block attention module more semantically correlated. To realize this, we design a novel channel suppression strategy.Extensive experiments on five standard benchmarks demonstrate that our method consistently outperforms previous state-of-the-arts.

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

↑