Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Models

Yunze Tong, Didi Zhu, Zijing Hu, Jinluan Yang, Ziyu ZhaoarXiv 2025 · DOI · arXiv

Introduction: The "Bad Seed" Problem

In text-to-image (T2I) generation, users often encounter "bad seeds"—initial noise samples that fail to align with the prompt despite the model's capabilities. This paper identifies a fundamental "training–inference mismatch": while training noise is implicitly tied to specific prompts, inference noise is drawn from a generic, prompt-agnostic Gaussian distribution. To bridge this gap, the authors introduce a lightweight Noise Projector that refines initial random noise into a "prompt-aware" version in a single step.

Conceptual overview of the prompt-induced distribution shift and the noise projection approach.

The Training-Inference Mismatch

During training, the noise added to an image is naturally paired with its caption. The diffusion model learns to denoise within a prompt-conditioned distribution. However, at inference, we typically start with pure Gaussian noise $\mathcal{N}(0, I)$, which is entirely unaware of the text prompt. This gap often leads to trajectories that miss semantic details or ignore parts of the text.

Existing solutions like multi-sample selection (generating dozens of images and picking the best) are computationally expensive. Optimization-based methods that modify the denoising path at every step are slow. The Noise Projector offers a "middle way," achieving the alignment of sampling-based approaches with the efficiency of a single forward pass.

The Noise Projector Architecture

The Noise Projector is a lightweight module placed before the standard Stable Diffusion pipeline. Its architecture includes:

  • Cross-Attention: To integrate noise and text embeddings.
  • Mixture of Experts (MoE): To handle diverse semantic components within prompts.
  • UNet-style Reconstruction: To output refined noise parameters.

Instead of outputting a raw noise tensor, the projector predicts $\mu$ and $\sigma$ to transform the initial noise via the reparameterization trick. This ensures the refined noise stays within a valid Gaussian manifold, preventing the diffusion model from encountering out-of-distribution inputs.

Training Pipeline: VLM Feedback and Quasi-DPO

The projector is trained using a multi-stage pipeline:

  1. VLM Feedback: A Vision-Language Model (VLM) evaluates generated images at a token level (e.g., "How well is the 'spoon' represented?"). This provides a dense reward signal compared to simple sentence-level scores.
  2. Reward Model Distillation: These token-level scores are distilled into a smaller, efficient reward model.
  3. Quasi-DPO: The projector is optimized using a "quasi-direct preference optimization" objective, steering the initial noise toward regions the reward model identifies as high-quality for that specific prompt.

Key Results

The Noise Projector was evaluated against SDXL, LoRA-finetuned models, PAG, and AutoGuidance using DrawBench and GPT-4o generated prompts.

Qualitative comparison of the Noise Projector against baselines across various challenging prompts.
  • Improved Alignment: The method consistently outperformed baselines on unseen seeds. On DrawBench, it achieved a QwenScore of 70.55, surpassing the pretrained SDXL base (69.49).
  • Efficiency: The projector adds negligible overhead—just one extra forward pass—making it significantly faster than sampling-based selection methods.
  • Preservation of Structure: By using the initial noise as a base, the projector refines the image without destroying the underlying layout or structural characteristics of the original seed.

Conclusion and Limitations

While the Noise Projector significantly improves text-image alignment, it introduces a slight trade-off in diversity (FID/IS) as it narrows the noise distribution toward "successful" regions. However, it remains more diverse than standard model finetuning. Future work will focus on scaling with improved VLMs and enhancing generalization to out-of-distribution prompt styles.

Summary updated

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.
BibTeX
@misc{tong2025noise,
  author = {Yunze Tong and Didi Zhu and Zijing Hu and Jinluan Yang and Ziyu Zhao},
  title = {{Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Models}},
  year = {2025},
  eprint = {2510.14526},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.14526},
}
Figure