Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Models
Yunze Tong, Didi Zhu, Zijing Hu, Jinluan Yang, Ziyu Zhao
TL;DR
The paper addresses text–image misalignment in diffusion-based generation by identifying a training–inference mismatch: prompt-conditioned noises during training occupy a prompt-specific subspace, while inference samples come from a prompt-agnostic Gaussian prior. It introduces a noise projector that, guided by the full prompt embedding, refines the initial noise before denoising, aligning its distribution with SD training without modifying the backbone. A reinforcement-learning–style framework trains the projector using token-level rewards predicted by a compact reward model that mimics a vision–language model, enabling dense feedback via quasi-direct preference optimization. The approach yields improved prompt–image alignment in both single- and multi-prompt settings, with lower inference cost than multi-sample methods and without the need for reference images. These results demonstrate a practical, scalable path to robust text-to-image alignment in diffusion models.
Abstract
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.
