PromptEnhancer:一种通过思维链提示重写增强文本到图像模型的简单方法
PromptEnhancer: A Simple Approach to Enhance Text-to-Image Models via Chain-of-Thought Prompt Rewriting
AI总结:
本文提出 PromptEnhancer 框架,通过强化学习训练思维链提示重写器,并利用基于 24 个关键点的 AlignEvaluator 奖励模型提供细粒度反馈,在不修改 T2I 模型权重的情况下显著提升图像与文本的对齐效果。
摘要:
近年来,文本到图像(T2I)扩散模型取得了显著进展,展现出生成高保真图像的强大能力。然而,这些模型在忠实呈现复杂用户提示方面往往存在困难,尤其是在属性绑定、否定表达和组合关系等方面。这导致用户意图与生成输出之间存在明显的不匹配。为应对这一挑战,我们提出了 PromptEnhancer,这是一种新颖且通用的提示重写框架,无需修改任何预训练 T2I 模型的权重即可增强其性能。与依赖模型特定微调或图像奖励分数等隐式奖励信号的先前方法不同,我们的框架将重写器与生成器解耦。我们通过强化学习训练一个思维链(CoT)重写器,并由一个我们称之为 AlignEvaluator 的专用奖励模型进行引导。AlignEvaluator 经过训练,能够基于对常见 T2I 失败模式的全面分析所得到的 24 个关键点系统分类法,提供明确且细粒度的反馈。通过优化 CoT 重写器以最大化来自 AlignEvaluator 的奖励,我们的框架学会生成能被 T2I 模型更精确解释的提示。在 HunyuanImage 2.1 模型上的大量实验表明,PromptEnhancer 在广泛的语义和组合挑战中显著改善了图像与文本的对齐。此外,我们引入了一个新的高质量人类偏好基准,以促进该方向的未来研究。
英文摘要:
Recent advancements in text-to-image (T2I) diffusion models have demonstrated remarkable capabilities in generating high-fidelity images. However, these models often struggle to faithfully render complex user prompts, particularly in aspects like attribute binding, negation, and compositional relationships. This leads to a significant mismatch between user intent and the generated output. To address this challenge, we introduce PromptEnhancer, a novel and universal prompt rewriting framework that enhances any pretrained T2I model without requiring modifications to its weights. Unlike prior methods that rely on model-specific fine-tuning or implicit reward signals like image-reward scores, our framework decouples the rewriter from the generator. We achieve this by training a Chain-of-Thought (CoT) rewriter through reinforcement learning, guided by a dedicated reward model we term the AlignEvaluator. The AlignEvaluator is trained to provide explicit and fine-grained feedback based on a systematic taxonomy of 24 key points, which are derived from a comprehensive analysis of common T2I failure modes. By optimizing the CoT rewriter to maximize the reward from our AlignEvaluator, our framework learns to generate prompts that are more precisely interpreted by T2I models. Extensive experiments on the HunyuanImage 2.1 model demonstrate that PromptEnhancer significantly improves image-text alignment across a wide range of semantic and compositional challenges. Furthermore, we introduce a new, high-quality human preference benchmark to facilitate future research in this direction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。