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

LoCo:局部约束的免训练布局到图像合成

LoCo: Locally Constrained Training-Free Layout-to-Image Synthesis

Suzhou Institute for Advanced Research, University of Science and Technology of China(中国科学技术大学苏州高等研究院)

Peiang Zhao, Han Li, Ruiyang Jin, S. Kevin Zhou

AI总结:

本文提出免训练布局到图像合成方法 LoCo,通过引入局部注意力约束(LAC)和填充令牌约束(PTC),精确控制对象放置并提升外观与布局的一致性,在多个基准上超越现有免训练方法。

摘要:

近期的文本到图像扩散模型在生成高质量图像方面达到了前所未有的水平。然而,它们对文本提示的完全依赖往往在精确控制图像构图方面存在不足。在本文中,我们提出了 LoCo,一种用于布局到图像合成的免训练方法,擅长生成与文本提示和布局指令均对齐的高质量图像。具体而言,我们引入了局部注意力约束(LAC),利用自注意力图中像素间的语义亲和力来创建所需对象的精确表示,并有效确保对象在指定区域内的准确放置。我们进一步提出了填充令牌约束(PTC),以利用先前被忽略的填充令牌中嵌入的语义信息,提升对象外观与布局指令之间的一致性。LoCo 可无缝集成到现有的文本到图像和布局到图像模型中,增强其在空间控制方面的性能,并解决先前方法中观察到的语义失败问题。大量实验展示了我们方法的优越性,在多个基准上定性和定量地超越了现有的最先进免训练布局到图像方法。

英文摘要:

Recent text-to-image diffusion models have reached an unprecedented level in generating high-quality images. However, their exclusive reliance on textual prompts often falls short in precise control of image compositions. In this paper, we propose LoCo, a training-free approach for layout-to-image Synthesis that excels in producing high-quality images aligned with both textual prompts and layout instructions. Specifically, we introduce a Localized Attention Constraint (LAC), leveraging semantic affinity between pixels in self-attention maps to create precise representations of desired objects and effectively ensure the accurate placement of objects in designated regions. We further propose a Padding Token Constraint (PTC) to leverage the semantic information embedded in previously neglected padding tokens, improving the consistency between object appearance and layout instructions. LoCo seamlessly integrates into existing text-to-image and layout-to-image models, enhancing their performance in spatial control and addressing semantic failures observed in prior methods. Extensive experiments showcase the superiority of our approach, surpassing existing state-of-the-art training-free layout-to-image methods both qualitatively and quantitatively across multiple benchmarks.

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

↑