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

改进扩散负采样以提升图像合成质量

Improving image synthesis with diffusion-negative sampling

University of California San Diego(加利福尼亚大学圣迭戈分校)

Alakh Desai, Nuno Vasconcelos

AI总结:

针对扩散模型负提示词难以寻找的问题,提出扩散负采样(DNS)策略,通过采样最不符合提示的图像并生成负提示词,提升图像生成质量,无需训练且兼容多种模型。

摘要:

对于使用扩散模型(DMs)进行图像生成,可以使用负提示词 n 来补充文本提示词 p,帮助定义合成图像中不希望出现的属性。虽然这提高了提示词遵循度和图像质量,但找到好的负提示词具有挑战性。我们认为这是由于人类与扩散模型之间存在语义差距,使得对扩散模型而言良好的负提示词对人类来说显得不直观。为弥合这一差距,我们提出了一种新的扩散负提示(DNP)策略。DNP 基于一种新程序,用于在扩散模型的分布下采样与 p 最不符合的图像,称为扩散负采样(DNS)。给定 p,采样一张这样的图像,然后由用户或字幕模型将其翻译为自然语言,以生成负提示词 n*。最后使用配对 (p, n*) 来提示扩散模型。DNS 实现简单,无需训练。实验和人工评估表明,DNP 在定量和定性方面均表现良好,并且可以轻松与多种扩散模型变体结合使用。

英文摘要:

For image generation with diffusion models (DMs), a negative prompt n can be used to complement the text prompt p, helping define properties not desired in the synthesized image. While this improves prompt adherence and image quality, finding good negative prompts is challenging. We argue that this is due to a semantic gap between humans and DMs, which makes good negative prompts for DMs appear unintuitive to humans. To bridge this gap, we propose a new diffusion-negative prompting (DNP) strategy. DNP is based on a new procedure to sample images that are least compliant with p under the distribution of the DM, denoted as diffusion-negative sampling (DNS). Given p, one such image is sampled, which is then translated into natural language by the user or a captioning model, to produce the negative prompt n*. The pair (p, n*) is finally used to prompt the DM. DNS is straightforward to implement and requires no training. Experiments and human evaluations show that DNP performs well both quantitatively and qualitatively and can be easily combined with several DM variants.

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

↑