从错误中学习:用于文本到图像扩散模型训练的迭代提示重标记
Learning from Mistakes: Iterative Prompt Relabeling for Text-to-Image Diffusion Model Training
AI总结:
针对文本到图像扩散模型遵循自然语言指令能力不足的问题,提出迭代提示重标记算法IPR,通过迭代采样与分类器反馈重标记实现图文对齐,在SDv2、SDXL的VISOR基准上最高提升15.22%,优于现有RL方法。
摘要:
扩散模型已在诸多领域展现出令人瞩目的性能。然而,模型遵循自然语言指令(例如物体间的空间关系、生成复杂场景)的能力仍不尽如人意。在本研究中,我们提出了迭代提示重标记(Iterative Prompt Relabeling, IPR),这是一种通过迭代图像采样与带反馈的提示重标记实现图像与文本对齐的新算法。IPR首先基于文本采样一批图像,随后利用分类器反馈对不匹配的文本-图像对的文本提示进行重标记。我们在SDv2和SDXL上开展了全面实验,测试它们在空间关系方面的指令遵循能力。借助IPR,我们在具有挑战性的空间关系VISOR基准上取得了最高15.22%的(绝对)提升,表现出优于以往强化学习方法的性能。我们的代码已公开于https://github.com/xinyan-cxy/IPR-RLDF。
英文摘要:
Diffusion models have shown impressive performance in many domains. However, the model's capability to follow natural language instructions (e.g., spatial relationships between objects, generating complex scenes) is still unsatisfactory. In this work, we propose Iterative Prompt Relabeling (IPR), a novel algorithm that aligns images to text through iterative image sampling and prompt relabeling with feedback. IPR first samples a batch of images conditioned on the text, then relabels the text prompts of unmatched text-image pairs with classifier feedback. We conduct thorough experiments on SDv2 and SDXL, testing their capability to follow instructions on spatial relations. With IPR, we improved up to 15.22% (absolute improvement) on the challenging spatial relation VISOR benchmark, demonstrating superior performance compared to previous RL methods. Our code is publicly available at https://github.com/xinyan-cxy/IPR-RLDF.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。