arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.06345cs.CV
收藏

寻求咒语:通过提示工程实现精准的文本到图像扩散合成

Seek for Incantations: Towards Accurate Text-to-Image Diffusion Synthesis through Prompt Engineering

Huawei(华为)

Chang Yu, Junran Peng, Xiangyu Zhu, Zhaoxiang Zhang, Qi Tian, Zhen Lei

AI总结:

本文针对扩散模型在复杂文本到图像合成中的混淆问题,提出通过提示学习自动学习恰当文本描述的框架,利用质量与语义引导提升图文匹配度。

摘要:

扩散模型在文本到图像合成方面近期展现出生成高质量图像的卓越性能。尽管对于简单文本表现良好,但当面对包含多个对象或空间关系的复杂文本时,模型可能会产生混淆。为了获得期望的图像,一种可行的方法是手动调整文本描述,即改写文本或添加一些词语,但这一过程耗费人力。本文提出一个框架,通过提示学习来为扩散模型学习恰当的文本描述。利用从预训练扩散模型中得到的质量引导和语义引导,我们的方法能够有效地学习提示,以改善输入文本与生成图像之间的匹配程度。大量实验和分析验证了所提方法的有效性。

英文摘要:

The text-to-image synthesis by diffusion models has recently shown remarkable performance in generating high-quality images. Although performs well for simple texts, the models may get confused when faced with complex texts that contain multiple objects or spatial relationships. To get the desired images, a feasible way is to manually adjust the textual descriptions, i.e., narrating the texts or adding some words, which is labor-consuming. In this paper, we propose a framework to learn the proper textual descriptions for diffusion models through prompt learning. By utilizing the quality guidance and the semantic guidance derived from the pre-trained diffusion model, our method can effectively learn the prompts to improve the matches between the input text and the generated images. Extensive experiments and analyses have validated the effectiveness of the proposed method.

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

↑