用提示词引导生成更匹配的掩码,提升开放词汇分割准确率
Prompt-Guided Mask Proposal for Two-Stage Open-Vocabulary Segmentation
- 引入提示词交叉注意力机制,让掩码生成过程受文本提示引导
- 在五个数据集上实现1%~3%的mIOU提升,效果稳定且通用
- 适合需要精准语义理解的视觉分割任务,如跨场景目标识别
我们针对开放词汇分割问题,即在不同环境中识别多种类别物体,以文本提示为输入。现有方法通常采用双阶段框架:第一阶段由掩码生成器基于图像生成候选掩码,第二阶段根据查询选择目标掩码。但目标掩码可能不在生成的候选中,导致错误输出。为此,我们提出提示词引导掩码生成(PMP)方法,使掩码生成器结合输入文本提示生成更匹配的掩码。通过设计文本标记与查询标记间的交叉注意力机制,在每次解码后生成提示引导的掩码。将PMP与多个基于查询的分割骨干网络结合,在五个基准数据集上的实验表明,该方法显著优于现有两阶段模型,mIOU提升1%~3%。跨数据集的持续改进证明了该轻量级提示感知方法的有效泛化能力。
原文摘要 · Abstract (English)
We tackle the challenge of open-vocabulary segmentation, where we need to identify objects from a wide range of categories in different environments, using text prompts as our input. To overcome this challenge, existing methods often use multi-modal models like CLIP, which combine image and text features in a shared embedding space to bridge the gap between limited and extensive vocabulary recognition, resulting in a two-stage approach: In the first stage, a mask generator takes an input image to generate mask proposals, and the in the second stage the target mask is picked based on the query. However, the expected target mask may not exist in the generated mask proposals, which leads to an unexpected output mask. In our work, we propose a novel approach named Prompt-guided Mask Proposal (PMP) where the mask generator takes the input text prompts and generates masks guided by these prompts. Compared with mask proposals generated without input prompts, masks generated by PMP are better aligned with the input prompts. To realize PMP, we designed a cross-attention mechanism between text tokens and query tokens which is capable of generating prompt-guided mask proposals after each decoding. We combined our PMP with several existing works employing a query-based segmentation backbone and the experiments on five benchmark datasets demonstrate the effectiveness of this approach, showcasing significant improvements over the current two-stage models (1% ~ 3% absolute performance gain in terms of mIOU). The steady improvement in performance across these benchmarks indicates the effective generalization of our proposed lightweight prompt-aware method.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。