ReCLIP++: 学习校正CLIP的偏差以实现无监督语义分割
ReCLIP++: Learn to Rectify the Bias of CLIP for Unsupervised Semantic Segmentation
AI总结:
本文提出ReCLIP++,通过显式建模和校正CLIP中的偏差以提升无监督语义分割性能,设计了参考提示和位置嵌入投影来分别编码类别偏好和空间偏好偏差,并通过矩阵乘法生成偏差logit图,再通过元素级减法校正logits,最后利用Gumbel-Softmax操作生成分割掩码。
摘要:
近期工作利用CLIP执行具有挑战性的无监督语义分割任务,其中只有未标注的图像可用。然而,我们发现当将CLIP应用于像素级理解任务时,会出现意外的偏差(包括类别偏好偏差和空间偏好偏差)。先前工作未显式建模该偏差,这在很大程度上限制了分割性能。本文提出显式建模和校正CLIP中存在偏差以促进无监督语义分割任务。具体来说,我们设计了一个可学习的
英文摘要:
Recent works utilize CLIP to perform the challenging unsupervised semantic segmentation task where only images without annotations are available. However, we observe that when adopting CLIP to such a pixel-level understanding task, unexpected bias (including class-preference bias and space-preference bias) occurs. Previous works don't explicitly model the bias, which largely constrains the segmentation performance. In this paper, we propose to explicitly model and rectify the bias existing in CLIP to facilitate the unsupervised semantic segmentation task. Specifically, we design a learnable "Reference" prompt to encode class-preference bias and a projection of the positional embedding in the vision transformer to encode space-preference bias respectively. To avoid interference, two kinds of biases are firstly independently encoded into different features, i.e., the Reference feature and the positional feature. Via a matrix multiplication between the Reference feature and the positional feature, a bias logit map is generated to explicitly represent two kinds of biases. Then we rectify the logits of CLIP via a simple element-wise subtraction. To make the rectified results smoother and more contextual, we design a mask decoder which takes the feature of CLIP and the rectified logits as input and outputs a rectified segmentation mask with the help of Gumbel-Softmax operation. A contrastive loss based on the masked visual features and the text features of different classes is imposed, which makes the bias modeling and rectification process meaningful and effective. Extensive experiments on various benchmarks including PASCAL VOC, PASCAL Context, ADE20K, Cityscapes, and COCO Stuff demonstrate that our method performs favorably against previous state-of-the-arts. The implementation is available at: https://github.com/dogehhh/ReCLIP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。