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

面向扩散模型语义分割的带 Token 优化的开放词汇注意力图

Open-Vocabulary Attention Maps with Token Optimization for Semantic Segmentation in Diffusion Models

Autonomous University of Madrid(马德里自治大学);University of Barcelona(巴塞罗那大学)

Pablo Marcos-Manchón, Roberto Alcover-Couso, Juan C. SanMiguel, Jose M. Martínez

AI总结:

本文提出无需训练的 OVAM 以生成任意词语的注意力图,并通过单标注轻量 token 优化,将 Stable Diffusion 分割扩展的伪掩码 mIoU 从 52.1 提升至 86.6。

摘要:

扩散模型代表了文本到图像生成的一种新范式。除了根据文本提示生成高质量图像外,Stable Diffusion 等模型还已被成功扩展,用于联合生成语义分割伪掩码。然而,当前扩展主要依赖于提取与用于图像合成的提示词相关联的注意力。这种方法限制了由文本提示中未包含的词语 token 所派生的分割掩码的生成。在本文中,我们提出了 Open-Vocabulary Attention Maps(OVAM,开放词汇注意力图),这是一种用于文本到图像扩散模型的无需训练方法,能够为任意词语生成注意力图。此外,我们提出了一种基于 OVAM 的轻量级优化过程,用于仅借助单个标注寻找可为某个对象类别生成准确注意力图的 token。我们在现有最先进的 Stable Diffusion 扩展中评估了这些 token。表现最佳的模型在合成图像伪掩码上的 mIoU 从 52.1 提升至 86.6,表明我们优化后的 token 是在不改变架构或重新训练的情况下提升现有方法性能的有效途径。

英文摘要:

Diffusion models represent a new paradigm in text-to-image generation. Beyond generating high-quality images from text prompts, models such as Stable Diffusion have been successfully extended to the joint generation of semantic segmentation pseudo-masks. However, current extensions primarily rely on extracting attentions linked to prompt words used for image synthesis. This approach limits the generation of segmentation masks derived from word tokens not contained in the text prompt. In this work, we introduce Open-Vocabulary Attention Maps (OVAM)-a training-free method for text-to-image diffusion models that enables the generation of attention maps for any word. In addition, we propose a lightweight optimization process based on OVAM for finding tokens that generate accurate attention maps for an object class with a single annotation. We evaluate these tokens within existing state-of-the-art Stable Diffusion extensions. The best-performing model improves its mIoU from 52.1 to 86.6 for the synthetic images' pseudo-masks, demonstrating that our optimized tokens are an efficient way to improve the performance of existing methods without architectural changes or retraining.

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

↑