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

基于可微最优传输的同时多提示引导生成

Simultaneous Multiple-Prompt Guided Generation Using Differentiable Optimal Transport

Google Brain(谷歌大脑);Apple(苹果公司)

Yingtao Tian, Marco Cuturi, David Ha

摘要:

深度学习的最新进展,如强大的生成模型和联合文本图像嵌入,为计算创造力社区提供了新的工具,为艺术追求开辟了新的视角。通过从文本提示生成图像来操作的文本到图像合成方法提供了一个恰当的例子。这些图像是用一个潜向量生成的,该潜向量被逐步细化以符合文本提示。为此,在生成的图像内对补丁进行采样,并与公共文本图像嵌入空间中的文本提示进行比较;然后使用梯度下降更新潜在向量,以减少这些补丁和文本提示之间的平均距离。虽然这种方法为艺术家提供了足够的自由来定制图像的整体外观,但通过他们在生成模型中的选择,对简单标准(距离的平均值)的依赖通常会导致模式坍塌:整个图像被绘制为所有文本提示的平均值,从而失去了它们的多样性。为了解决这个问题,我们建议使用最佳运输(OT)文献中找到的匹配技术,从而产生能够忠实地反映多种多样的提示的图像。我们提供了大量的插图显示,OT避免了一些陷阱所产生的估计向量的平均距离,并证明了我们提出的方法在实验中,定性和定量表现更好的能力。

英文摘要:

Recent advances in deep learning, such as powerful generative models and joint text-image embeddings, have provided the computational creativity community with new tools, opening new perspectives for artistic pursuits. Text-to-image synthesis approaches that operate by generating images from text cues provide a case in point. These images are generated with a latent vector that is progressively refined to agree with text cues. To do so, patches are sampled within the generated image, and compared with the text prompts in the common text-image embedding space; The latent vector is then updated, using gradient descent, to reduce the mean (average) distance between these patches and text cues. While this approach provides artists with ample freedom to customize the overall appearance of images, through their choice in generative models, the reliance on a simple criterion (mean of distances) often causes mode collapse: The entire image is drawn to the average of all text cues, thereby losing their diversity. To address this issue, we propose using matching techniques found in the optimal transport (OT) literature, resulting in images that are able to reflect faithfully a wide diversity of prompts. We provide numerous illustrations showing that OT avoids some of the pitfalls arising from estimating vectors with mean distances, and demonstrate the capacity of our proposed method to perform better in experiments, qualitatively and quantitatively.

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

↑