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

通过硬绑定与软细化实现区域感知的文本到图像生成

Region-Aware Text-to-Image Generation via Hard Binding and Soft Refinement

Nanjing University(南京大学);InstantX Team(InstantX团队);Liblib AI;HKUST(香港科技大学);China Mobile(中国移动)

Zhennan Chen, Yajie Li, Haofan Wang, Zhibo Chen, Zhengkai Jiang, Jun Li, Qian Wang, Jian Yang, Ying Tai

AI总结:

本文提出区域感知文本到图像生成方法 RAG,通过区域硬绑定和区域软细化解耦多区域生成,实现精确布局组合并支持免额外修复模型的重绘,且无需调优即可增强其他框架的提示遵循能力。

摘要:

区域提示(regional prompting),即组合式生成,能够实现细粒度的空间控制,因其在实际应用中的实用性而受到越来越多的关注。然而,以往的方法要么引入额外的可训练模块,因而只适用于特定模型,要么利用注意力掩码在交叉注意力层内操纵分数图,导致当区域数量增加时控制强度有限。为了解决这些局限性,我们提出了 RAG,一种以区域描述为条件的区域感知文本到图像生成方法,用于精确的布局组合。RAG 将多区域生成解耦为两个子任务:个体区域的构建(区域硬绑定,Regional Hard Binding),确保区域提示被正确执行;以及跨区域的整体细节细化(区域软细化,Regional Soft Refinement),消除视觉边界并增强相邻区域之间的交互。此外,RAG 创新性地使重绘(repainting)成为可行,用户可以在保持所有其他区域不变的情况下修改上一次生成中特定不满意的区域,而无需依赖额外的修复(inpainting)模型。我们的方法无需调优,并且可作为对提示遵循特性的增强应用于其他框架。定量和定性实验表明,RAG 在属性绑定和物体关系方面优于以往的免调优方法。

英文摘要:

Regional prompting, or compositional generation, which enables fine-grained spatial control, has gained increasing attention for its practicality in real-world applications. However, previous methods either introduce additional trainable modules, thus only applicable to specific models, or manipulate on score maps within cross-attention layers using attention masks, resulting in limited control strength when the number of regions increases. To handle these limitations, we present RAG, a Regional-Aware text-to-image Generation method conditioned on regional descriptions for precise layout composition. RAG decouple the multi-region generation into two sub-tasks, the construction of individual region (Regional Hard Binding) that ensures the regional prompt is properly executed, and the overall detail refinement (Regional Soft Refinement) over regions that dismiss the visual boundaries and enhance adjacent interactions. Furthermore, RAG novelly makes repainting feasible, where users can modify specific unsatisfied regions in the last generation while keeping all other regions unchanged, without relying on additional inpainting models. Our approach is tuning-free and applicable to other frameworks as an enhancement to the prompt following property. Quantitative and qualitative experiments demonstrate that RAG achieves superior performance over attribute binding and object relationship than previous tuning-free methods.

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

↑