arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.03179cs.CVcs.LG
收藏

SLiMe: 像我一样分割

SLiMe: Segment Like Me

Autodesk Research(欧特克研究院);School of Computing Science, Simon Fraser University(西蒙菲莎大学计算科学学院)

Aliasghar Khani, Saeid Asgari Taghanaki, Aditya Sanghi, Ali Mahdavi Amiri, Ghassan Hamarneh

AI总结:

SLiMe利用Stable Diffusion的注意力图优化文本嵌入,实现单样本或少样本的任意粒度图像分割,性能优于现有方法。

摘要:

利用大型视觉-语言模型(如Stable Diffusion (SD))在下游任务(包括图像编辑、图像对应和3D形状生成)方面已取得了重大进展。受这些进展的启发,我们探索利用这些广泛的视觉-语言模型,通过提出SLiMe,使用仅一个标注样本即可在任意所需粒度下分割图像。SLiMe将此问题构建为优化任务。具体来说,给定单个训练图像及其分割掩码,我们首先从SD先验中提取注意力图,包括我们新颖的“加权累积自注意力图”。然后,利用提取的注意力图,优化Stable Diffusion的文本嵌入,使得每个嵌入学习训练图像中的单个分割区域。这些学习到的嵌入随后在注意力图中突出显示分割区域,进而可用于导出分割图。这使得SLiMe能够在推理时仅使用一个示例,以训练图像中分割区域的粒度分割任何真实世界图像。此外,当有额外训练数据可用时(即少样本),利用这些数据可提高SLiMe的性能。我们进行了一系列知识丰富的实验,考察了各种设计因素,并表明SLiMe优于其他现有的一次性(one-shot)和少样本(few-shot)分割方法。

英文摘要:

Significant strides have been made using large vision-language models, like Stable Diffusion (SD), for a variety of downstream tasks, including image editing, image correspondence, and 3D shape generation. Inspired by these advancements, we explore leveraging these extensive vision-language models for segmenting images at any desired granularity using as few as one annotated sample by proposing SLiMe. SLiMe frames this problem as an optimization task. Specifically, given a single training image and its segmentation mask, we first extract attention maps, including our novel "weighted accumulated self-attention map" from the SD prior. Then, using the extracted attention maps, the text embeddings of Stable Diffusion are optimized such that, each of them, learn about a single segmented region from the training image. These learned embeddings then highlight the segmented region in the attention maps, which in turn can then be used to derive the segmentation map. This enables SLiMe to segment any real-world image during inference with the granularity of the segmented region in the training image, using just one example. Moreover, leveraging additional training data when available, i.e. few-shot, improves the performance of SLiMe. We carried out a knowledge-rich set of experiments examining various design factors and showed that SLiMe outperforms other existing one-shot and few-shot segmentation methods.

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

↑