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

Be Yourself:面向多主体文本到图像生成的有界注意力

Be Yourself: Bounded Attention for Multi-Subject Text-to-Image Generation

Tel Aviv University(特拉维夫大学);Snap Research(Snap 研究部)

Omer Dahary, Or Patashnik, Kfir Aberman, Daniel Cohen-Or

AI总结:

本文针对多主体文本到图像生成中的语义泄漏问题,提出无训练方法 Bounded Attention,通过限制采样过程中的信息流来防止主体间特征混合,从而提升生成图像与给定提示词及布局的对齐度。

摘要:

文本到图像扩散模型具有前所未有的生成多样且高质量图像的能力。然而,当面对包含多个主体的复杂输入提示词时,它们往往难以忠实地捕捉其预期语义。最近,许多布局到图像的扩展方法被引入以改善用户控制,旨在定位由特定 token 表示的主体。然而,这些方法经常生成语义不准确的图像,特别是在处理多个语义或视觉上相似的主体时。在这项工作中,我们研究并分析了这些局限性的成因。我们的探索表明,主要问题源于去噪过程中主体之间无意的语义泄漏。这种泄漏归因于扩散模型的注意力层,这些层倾向于混合不同主体的视觉特征。为了解决这些问题,我们引入了 Bounded Attention,一种在采样过程中限制信息流的无训练方法。Bounded Attention 防止了主体之间有害的泄漏,并能够引导生成以促进每个主体的个性,即使在复杂的多主体条件下也是如此。通过大量实验,我们证明了我们的方法能够生成多个主体,且更好地与给定的提示词和布局对齐。

英文摘要:

Text-to-image diffusion models have an unprecedented ability to generate diverse and high-quality images. However, they often struggle to faithfully capture the intended semantics of complex input prompts that include multiple subjects. Recently, numerous layout-to-image extensions have been introduced to improve user control, aiming to localize subjects represented by specific tokens. Yet, these methods often produce semantically inaccurate images, especially when dealing with multiple semantically or visually similar subjects. In this work, we study and analyze the causes of these limitations. Our exploration reveals that the primary issue stems from inadvertent semantic leakage between subjects in the denoising process. This leakage is attributed to the diffusion model's attention layers, which tend to blend the visual features of different subjects. To address these issues, we introduce Bounded Attention, a training-free method for bounding the information flow in the sampling process. Bounded Attention prevents detrimental leakage among subjects and enables guiding the generation to promote each subject's individuality, even with complex multi-subject conditioning. Through extensive experimentation, we demonstrate that our method empowers the generation of multiple subjects that better align with given prompts and layouts.

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

↑