Beyond Randomness: Understand the Order of the Noise in Diffusion

Song Yan, Min Li, Bi Xinliang, Jian Yang, Yusen Zhang, Guanye Xiong, Yunwei Lan, Tao Zhang, Wei Zhai, Zheng-Jun ZhaarXiv 2025 · DOI

Introduction

In the realm of diffusion models, users often encounter the "Seed Lottery"—the phenomenon where identical prompts yield vastly different results based solely on the initial random noise (the seed). While some seeds produce high-fidelity images perfectly aligned with the text, others result in artifacts or semantic failures. A recent study, "The Determinism of Randomness: Latent Space Degeneracy in Diffusion Model," investigates the geometric foundations of this inconsistency and introduces a training-free method to mitigate it.

The Problem: Latent Space Degeneracy

Standard diffusion models initialize sampling from an isotropic Gaussian distribution, $z_T \sim \mathcal{N}(0, I)$. Theoretically, this implies that all directions in the high-dimensional noise space are equally probable. However, the mapping from this noise to semantic content is highly anisotropic (lopsided).

The researchers identify a paradox: while the ODE flow used in sampling is a diffeomorphism—preserving dimensionality and invertibility—the resulting images collapse onto a lower-dimensional semantic manifold. This suggests that most directions in the initial noise are "semantically silent," acting as nuisance factors, while only a few "horizontal" directions govern the core semantic features. The "Seed Lottery" is won when a random seed happens to align with these rare, semantically potent directions.

Horizontal Seed Shaping

To address this mismatch, the authors propose Horizontal Seed Shaping, a three-stage, plug-and-play inference technique that requires no retraining:

  1. Semantic Erasure (Noise Latent Normalization - NLN): Multiple seeds are drawn and aggregated into a "macro-seed." This process averages out idiosyncratic "vertical" noise—directions that do not contribute to semantics—while maintaining the overall Gaussian distribution.
  2. Horizontal Injection (Temporal Prediction Weighting - TPW): By probing the pre-trained model at specific timesteps, the method estimates a "horizontal" direction—a vector in the noise space most sensitive to the text prompt. This direction is then injected into the macro-seed.
  3. Spherical Retraction: To prevent distribution shifts, the injected seed is pulled back onto the correct radius of the high-dimensional Gaussian "typical set," ensuring the model remains within its trained distribution.

Experimental Results

The method was evaluated across multiple modalities, including Text-to-Image (SDXL, FLUX.1 Dev), Text-to-Video (Wan2.1), and Text-to-3D (TRELLIS).

Quantitative Performance

On the FLUX.1 Dev backbone, Horizontal Seed Shaping improved the CLIPScore from 16.29 to 16.34 and the PickScore from 17.13 to 17.56. Human preference studies further validated these gains, with the proposed method being preferred over standard sampling 74.1% of the time for image generation and 64.5% for video.

High-fidelity generation of a luxury vehicle demonstrating improved prompt alignment.

Qualitative Consistency

The technique significantly improves the handling of "brittle" prompts, such as complex spatial relations or specific text rendering. By steering the initial noise toward semantically meaningful directions, the model achieves greater visual consistency and adherence to user intent.

Detailed rendering of a tiger in a jungle, showcasing the model's ability to maintain complex textures and lighting.

Conclusion

By treating the semantic mapping of diffusion models as a geometric submersion, this research provides a rigorous explanation for the stochastic nature of generation quality. Horizontal Seed Shaping offers a computationally efficient, training-free solution that works across various architectures and modalities. Future work may leverage these geometric insights to develop inherently more stable training objectives.

Summary updated

BibTeX
@misc{yan2025beyond,
  author = {Song Yan and Min Li and Bi Xinliang and Jian Yang and Yusen Zhang and Guanye Xiong and Yunwei Lan and Tao Zhang and Wei Zhai and Zheng-Jun Zha},
  title = {{Beyond Randomness: Understand the Order of the Noise in Diffusion}},
  year = {2025},
  eprint = {2511.07756},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.07756},
}
Figure