arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.00791cs.CVcs.AI
收藏

为多对象生成获取有利布局

Obtaining Favorable Layouts for Multiple Object Generation

Faculty of Engineering, Bar Ilan University(巴伊兰大学工程学院);School of Computer Science, Tel Aviv University(特拉维夫大学计算机科学学院)

Barak Battash, Amit Rozner, Lior Wolf, Ofir Lindenbaum

AI总结:

针对扩散模型在多主体图像生成中遗漏或合并主体的问题,本文提出通过重排布局、约束交叉注意力图并引入降低熵和重叠的损失项,提升多对象生成的准确性和保真度。

摘要:

基于文本提示生成高质量、多样化图像的大规模文本到图像模型已取得显著成功。这些模型最终旨在创建复杂场景,而解决多主体生成挑战是实现这一目标的关键一步。然而,现有最先进的扩散模型在生成涉及多个主体的图像时面临困难。当输入包含多个主体的提示时,这些模型可能会遗漏某些主体或将它们合并在一起。为应对这一挑战,我们提出了一种基于指导原则的新方法。我们允许扩散模型先提出一个布局,然后重新排列布局网格。这是通过强制交叉注意力图(XAMs)遵循所提出的掩码,并将像素从潜在图迁移到由我们确定的新位置来实现的。我们引入了新的损失项,旨在降低XAM熵以获得更清晰的主体空间定义,减少XAM之间的重叠,并确保XAM与其各自的掩码对齐。我们将我们的方法与几种替代方法进行了对比,并表明它在各种文本提示中更忠实地捕捉了所需概念。

英文摘要:

Large-scale text-to-image models that can generate high-quality and diverse images based on textual prompts have shown remarkable success. These models aim ultimately to create complex scenes, and addressing the challenge of multi-subject generation is a critical step towards this goal. However, the existing state-of-the-art diffusion models face difficulty when generating images that involve multiple subjects. When presented with a prompt containing more than one subject, these models may omit some subjects or merge them together. To address this challenge, we propose a novel approach based on a guiding principle. We allow the diffusion model to initially propose a layout, and then we rearrange the layout grid. This is achieved by enforcing cross-attention maps (XAMs) to adhere to proposed masks and by migrating pixels from latent maps to new locations determined by us. We introduce new loss terms aimed at reducing XAM entropy for clearer spatial definition of subjects, reduce the overlap between XAMs, and ensure that XAMs align with their respective masks. We contrast our approach with several alternative methods and show that it more faithfully captures the desired concepts across a variety of text prompts.

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

↑