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

CONFORM:高保真文本到图像扩散模型只需对比

CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models

Virginia Tech(弗吉尼亚理工大学);ETH Zürich(苏黎世联邦理工学院);Google(谷歌)

Tuna Han Salih Meral, Enis Simsar, Federico Tombari, Pinar Yanardag

AI总结:

本文提出 CONFORM,利用对比机制分离注意力图中的对象并保持相关属性接近,以提升文本到图像扩散模型对复杂提示的语义保真度。

摘要:

文本到图像扩散模型生成的图像可能并不总是忠实地表达所给文本提示的语义意图,模型可能会忽略或完全无法生成某些对象。现有解决方案通常需要针对每一种问题定制专门的函数,导致结果次优,尤其是在处理复杂提示时。我们的工作通过在对比语境中应对这一挑战,提出了一种新颖视角。我们的方法直观地促进注意力图中不同对象的分离,同时保持成对的相关属性彼此接近。我们在多种场景下进行了大量实验,每个场景都包含对象、属性和场景的独特组合。这些实验有效展示了本方法在适配潜在扩散模型和基于像素的扩散模型(包括 Stable Diffusion 和 Imagen)时所具有的多功能性、效率与灵活性。此外,我们公开发布源代码,以促进后续研究。

英文摘要:

Images produced by text-to-image diffusion models might not always faithfully represent the semantic intent of the provided text prompt, where the model might overlook or entirely fail to produce certain objects. Existing solutions often require customly tailored functions for each of these problems, leading to sub-optimal results, especially for complex prompts. Our work introduces a novel perspective by tackling this challenge in a contrastive context. Our approach intuitively promotes the segregation of objects in attention maps while also maintaining that pairs of related attributes are kept close to each other. We conduct extensive experiments across a wide variety of scenarios, each involving unique combinations of objects, attributes, and scenes. These experiments effectively showcase the versatility, efficiency, and flexibility of our method in working with both latent and pixel-based diffusion models, including Stable Diffusion and Imagen. Moreover, we publicly share our source code to facilitate further research.

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

↑