arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.02773cs.CV
收藏

扩散模型实际上是一种无需训练的开放词汇语义分割器

Diffusion Model is Secretly a Training-free Open Vocabulary Semantic Segmenter

Beihang University(北京航空航天大学);The University of Hong Kong(香港大学)

Jinglong Wang, Xiawei Li, Jing Zhang, Qingyuan Xu, Qin Zhou, Qian Yu, Lu Sheng, Dong Xu

AI总结:

本文提出无需训练的DiffSegmenter,利用Stable Diffusion中自注意力与交叉注意力分别编码的形状和语义信息,实现开放词汇语义分割。

摘要:

诸如CLIP之类的预训练文本-图像判别模型已被探索用于开放词汇语义分割,但由于关键定位信息和物体形状感知的丢失,其结果并不理想。近来,人们越来越关注将生成模型的应用从生成任务扩展到语义分割。这些方法利用生成模型来生成带标注数据,或提取特征以辅助语义分割。这通常涉及生成大量合成数据,或需要额外的掩码标注。为此,我们揭示了生成式文本到图像扩散模型(例如Stable Diffusion)作为高效开放词汇语义分割器的潜力,并提出了一种名为DiffSegmenter的新型无需训练方法。其洞见在于,为了生成在语义上忠实于输入文本的逼真物体,扩散模型会隐式学习完整的物体形状及其相应语义。我们发现,物体形状由自注意力图表征,而语义则通过去噪U-Net生成的交叉注意力图指示,二者共同构成了我们分割结果的基础。此外,我们精心设计了有效的文本提示和类别过滤机制,以进一步提升分割结果。在三个基准数据集上进行的大量实验表明,所提出的DiffSegmenter在开放词汇语义分割方面取得了令人瞩目的结果。

英文摘要:

The pre-trained text-image discriminative models, such as CLIP, has been explored for open-vocabulary semantic segmentation with unsatisfactory results due to the loss of crucial localization information and awareness of object shapes. Recently, there has been a growing interest in expanding the application of generative models from generation tasks to semantic segmentation. These approaches utilize generative models either for generating annotated data or extracting features to facilitate semantic segmentation. This typically involves generating a considerable amount of synthetic data or requiring additional mask annotations. To this end, we uncover the potential of generative text-to-image diffusion models (e.g., Stable Diffusion) as highly efficient open-vocabulary semantic segmenters, and introduce a novel training-free approach named DiffSegmenter. The insight is that to generate realistic objects that are semantically faithful to the input text, both the complete object shapes and the corresponding semantics are implicitly learned by diffusion models. We discover that the object shapes are characterized by the self-attention maps while the semantics are indicated through the cross-attention maps produced by the denoising U-Net, forming the basis of our segmentation results.Additionally, we carefully design effective textual prompts and a category filtering mechanism to further enhance the segmentation results. Extensive experiments on three benchmark datasets show that the proposed DiffSegmenter achieves impressive results for open-vocabulary semantic segmentation.

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

↑