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

面向零样本分割的掩码感知CLIP表示学习

Learning Mask-aware CLIP Representations for Zero-Shot Segmentation

Beijing Jiaotong University(北京交通大学);Peng Cheng Laboratory(鹏城实验室);Picsart AI Research (PAIR)(Picsart人工智能研究院(PAIR))

Siyu Jiao, Yunchao Wei, Yaowei Wang, Yao Zhao, Humphrey Shi

AI总结:

针对CLIP对掩码候选框不敏感导致零样本分割假阳性多的问题,提出掩码感知微调方法MAFT,通过IP-CLIP编码器与双损失微调学习掩码感知表示,在多个基准上大幅提升现有最优方法的未见过类别分割性能。

摘要:

近年来,预训练视觉-语言模型被越来越多地用于解决颇具挑战性的零样本分割任务。典型解决方案遵循先生成掩码候选框、再用CLIP对其分类的范式。为了保持CLIP的零样本迁移能力,以往的做法倾向于在训练期间冻结CLIP。但在本文中,我们发现CLIP对不同的掩码候选框不敏感,往往会对同一图像的各类掩码候选框输出相似的预测结果。这种不敏感性会导致掩码候选框分类时出现大量假阳性样本,该问题主要源于CLIP是在图像级监督下训练的。为缓解这一问题,我们提出了一种简单且有效的方法,名为掩码感知微调(Mask-aware Fine-tuning, MAFT)。具体而言,我们提出了图像-候选框CLIP编码器(Image-Proposals CLIP Encoder, IP-CLIP Encoder),可同时处理任意数量的图像与掩码候选框。随后,我们设计了掩码感知损失和自蒸馏损失来微调IP-CLIP编码器,确保CLIP对不同掩码候选框具备响应能力的同时不牺牲迁移性。通过这种方式,模型可以轻松学习到掩码感知表示,让真阳性样本凸显出来。值得注意的是,我们的方案可以无缝接入大多数现有方法,且微调过程中不会引入任何新参数。我们在主流零样本基准上开展了大量实验。引入MAFT后,现有最优方法的性能得到了大幅提升:在COCO数据集上,未见过类别的平均交并比(mIoU)达到50.4%(提升8.2%);在Pascal-VOC上达到81.8%(提升3.2%);在ADE20K上达到8.7%(提升4.3%)。代码已开源至https://github.com/jiaosiyu1999/MAFT.git。

英文摘要:

Recently, pre-trained vision-language models have been increasingly used to tackle the challenging zero-shot segmentation task. Typical solutions follow the paradigm of first generating mask proposals and then adopting CLIP to classify them. To maintain the CLIP's zero-shot transferability, previous practices favour to freeze CLIP during training. However, in the paper, we reveal that CLIP is insensitive to different mask proposals and tends to produce similar predictions for various mask proposals of the same image. This insensitivity results in numerous false positives when classifying mask proposals. This issue mainly relates to the fact that CLIP is trained with image-level supervision. To alleviate this issue, we propose a simple yet effective method, named Mask-aware Fine-tuning (MAFT). Specifically, Image-Proposals CLIP Encoder (IP-CLIP Encoder) is proposed to handle arbitrary numbers of image and mask proposals simultaneously. Then, mask-aware loss and self-distillation loss are designed to fine-tune IP-CLIP Encoder, ensuring CLIP is responsive to different mask proposals while not sacrificing transferability. In this way, mask-aware representations can be easily learned to make the true positives stand out. Notably, our solution can seamlessly plug into most existing methods without introducing any new parameters during the fine-tuning process. We conduct extensive experiments on the popular zero-shot benchmarks. With MAFT, the performance of the state-of-the-art methods is promoted by a large margin: 50.4% (+ 8.2%) on COCO, 81.8% (+ 3.2%) on Pascal-VOC, and 8.7% (+4.3%) on ADE20K in terms of mIoU for unseen classes. The code is available at https://github.com/jiaosiyu1999/MAFT.git.

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

↑