arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.07702cs.CVcs.AI
收藏

引导不应生成的内容:用于文本-图像对齐的自动化负提示

Guiding What Not to Generate: Automated Negative Prompting for Text-Image Alignment

Department of Electrical and Computer Engineering, Seoul National University(电子与计算机工程系,首尔国立大学);Amazon(亚马逊);IPAI, AIIS, ASRI, INMC, and ISRC, Seoul National University(IPAI、AIIS、ASRI、INMC 和 ISRC,首尔国立大学)

Sangha Park, Eunji Kim, Yeongtak Oh, Jooyoung Choi, Sungroh Yoon

AI总结:

本文提出NPC方法,通过自动化负提示生成提升文本-图像对齐效果,在GenEval++和Imagine-Bench上取得优异成绩。

摘要:

尽管在文本到图像生成方面取得了显著进展,但实现精确的文本-图像对齐仍然具有挑战性,尤其是在处理具有丰富组成结构或想象力元素的提示时。为此,我们引入了图像纠正的负提示(NPC),这是一个自动化流程,通过识别并应用抑制意外内容的负提示来提高对齐效果。我们首先分析交叉注意力模式,以解释为什么目标负提示(直接与提示的对齐误差相关)和非目标负提示(与提示无关但在生成图像中出现的token)可以增强对齐。为了发现有用的负提示,NPC使用验证-描述-提议框架生成候选提示,并通过显著的文本空间分数对它们进行排序,从而在不需额外图像合成的情况下实现有效的选择。在GenEval++和Imagine-Bench上,NPC优于强大的基线,实现了0.571 vs. 0.371的GenEval++成绩,并在Imagine-Bench上取得了最佳整体表现。通过引导不应生成的内容,NPC提供了一条原理上完整、全自动的路径,以增强扩散模型中的文本-图像对齐。代码已发布在https://github.com/wiarae/NPC。

英文摘要:

Despite substantial progress in text-to-image generation, achieving precise text-image alignment remains challenging, particularly for prompts with rich compositional structure or imaginative elements. To address this, we introduce Negative Prompting for Image Correction (NPC), an automated pipeline that improves alignment by identifying and applying negative prompts that suppress unintended content. We begin by analyzing cross-attention patterns to explain why both targeted negatives-those directly tied to the prompt's alignment error-and untargeted negatives-tokens unrelated to the prompt but present in the generated image-can enhance alignment. To discover useful negatives, NPC generates candidate prompts using a verifier-captioner-proposer framework and ranks them with a salient text-space score, enabling effective selection without requiring additional image synthesis. On GenEval++ and Imagine-Bench, NPC outperforms strong baselines, achieving 0.571 vs. 0.371 on GenEval++ and the best overall performance on Imagine-Bench. By guiding what not to generate, NPC provides a principled, fully automated route to stronger text-image alignment in diffusion models. Code is released at https://github.com/wiarae/NPC.

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

↑