噪声投影:弥合扩散模型中文本到图像错位的提示无关差距
Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Models
AI总结:
针对扩散模型文本到图像错位问题,提出噪声投影器,通过文本条件细化初始噪声,无需修改模型,以低推理成本提升对齐性能。
摘要:
在文本到图像生成中,不同的初始噪声会引导预训练的稳定扩散(SD)模型产生不同的去噪路径。虽然这种模式可以生成多样化的图像,但其中一些图像可能无法与提示良好对齐。现有方法要么通过改变去噪动态,要么通过抽取多个噪声并进行后选择来缓解这一问题。在本文中,我们将这种错位归因于训练-推理不匹配:在训练期间,提示条件噪声位于潜在空间中特定于提示的子集内,而在推理时,噪声则从与提示无关的高斯先验中抽取。为了弥合这一差距,我们提出了一种噪声投影器,它在去噪之前对初始噪声应用文本条件细化。以提示嵌入为条件,它将噪声映射为与提示感知的对应物,该对应物更好地匹配SD训练期间观察到的分布,而无需修改SD模型。我们的框架包括以下步骤:首先,我们采样一些噪声,并从视觉-语言模型(VLM)获取其对应图像的令牌级反馈,然后将这些信号蒸馏到奖励模型中,最后通过准直接偏好优化来优化噪声投影器。我们的设计有两个优点:(i)它不需要参考图像或手工制作的先验,(ii)它产生较小的推理成本,用单次前向传播取代多样本选择。大量实验进一步表明,我们的提示感知噪声投影提高了跨多样提示的文本-图像对齐。
英文摘要:
In text-to-image generation, different initial noises induce distinct denoising paths with a pretrained Stable Diffusion (SD) model. While this pattern could output diverse images, some of them may fail to align well with the prompt. Existing methods alleviate this issue either by altering the denoising dynamics or by drawing multiple noises and conducting post-selection. In this paper, we attribute the misalignment to a training-inference mismatch: during training, prompt-conditioned noises lie in a prompt-specific subset of the latent space, whereas at inference the noise is drawn from a prompt-agnostic Gaussian prior. To close this gap, we propose a noise projector that applies text-conditioned refinement to the initial noise before denoising. Conditioned on the prompt embedding, it maps the noise to a prompt-aware counterpart that better matches the distribution observed during SD training, without modifying the SD model. Our framework consists of these steps: we first sample some noises and obtain token-level feedback for their corresponding images from a vision-language model (VLM), then distill these signals into a reward model, and finally optimize the noise projector via a quasi-direct preference optimization. Our design has two benefits: (i) it requires no reference images or handcrafted priors, and (ii) it incurs small inference cost, replacing multi-sample selection with a single forward pass. Extensive experiments further show that our prompt-aware noise projection improves text-image alignment across diverse prompts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。