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.
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:
- 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.
- Reward Model Distillation: These token-level scores are distilled into a smaller, efficient reward model.
- 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.
- 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