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

R&B:区域与边界感知的零样本接地文本到图像生成

R&B: Region and Boundary Aware Zero-shot Grounded Text-to-image Generation

Cranberry-Lemon University(蔓越莓柠檬大学);University of the Witwatersrand(威特沃特斯兰德大学)

Jiayu Xiao, Henglei Lv, Liang Li, Shuhui Wang, Qingming Huang

AI总结:

本文提出R&B方法,通过区域与边界感知的交叉注意力引导及离散采样,在无需训练或微调的情况下实现零样本接地文本到图像生成,显著提升了图像保真度、文本兼容性和布局准确性。

摘要:

近期文本到图像(T2I)扩散模型在给定文本提示作为输入生成高质量图像方面取得了显著进展。然而,这些模型无法传达由布局指令指定的恰当空间组合。在本研究中,我们探讨了利用扩散模型进行零样本接地T2I生成,即在不训练辅助模块或微调扩散模型的情况下,生成与输入布局信息相对应的图像。我们提出了一种区域与边界(R&B)感知的交叉注意力引导方法,在生成过程中逐步调节扩散模型的注意力图,并协助模型合成图像:(1)具有高保真度,(2)与文本输入高度兼容,(3)准确解释布局指令。具体而言,我们利用离散采样来弥合连续注意力图与离散布局约束之间的差距,并设计了一种区域感知损失在扩散过程中优化生成布局。我们进一步提出了一种边界感知损失,以增强对应区域内对象的区分度。实验结果表明,我们的方法在多个基准上定性和定量地大幅优于现有的最先进零样本接地T2I生成方法。

英文摘要:

Recent text-to-image (T2I) diffusion models have achieved remarkable progress in generating high-quality images given text-prompts as input. However, these models fail to convey appropriate spatial composition specified by a layout instruction. In this work, we probe into zero-shot grounded T2I generation with diffusion models, that is, generating images corresponding to the input layout information without training auxiliary modules or finetuning diffusion models. We propose a Region and Boundary (R&B) aware cross-attention guidance approach that gradually modulates the attention maps of diffusion model during generative process, and assists the model to synthesize images (1) with high fidelity, (2) highly compatible with textual input, and (3) interpreting layout instructions accurately. Specifically, we leverage the discrete sampling to bridge the gap between consecutive attention maps and discrete layout constraints, and design a region-aware loss to refine the generative layout during diffusion process. We further propose a boundary-aware loss to strengthen object discriminability within the corresponding regions. Experimental results show that our method outperforms existing state-of-the-art zero-shot grounded T2I generation methods by a large margin both qualitatively and quantitatively on several benchmarks.

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

↑