Abstract
Recent advances in generative AI have highlighted the potential of "test-time scaling," where additional compute during inference leads to superior output quality. In diffusion models, this typically involves iterative noise optimization to maximize reward functions, a process that is often prohibitively slow. We introduce HyperNoise, a method that amortizes this expensive test-time optimization into a single-step hypernetwork. By training a lightweight LoRA-based module to predict reward-optimal initial noise, HyperNoise achieves high-quality, prompt-aligned image generation at a fraction of the cost of iterative search. Our approach utilizes a noise-space regularization objective that prevents the "reward hacking" common in direct fine-tuning, maintaining image integrity while significantly improving compositional reasoning.
Introduction
The frontier of diffusion model research is increasingly focused on test-time scaling—the idea that spending more compute during inference can yield better results. Currently, this is achieved through test-time noise optimization, where the starting noise is iteratively tweaked to maximize a specific reward, such as prompt alignment or aesthetic appeal. While effective, these methods are computationally expensive, often requiring hundreds of function evaluations and taking several minutes per image.
Alternative approaches like Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO) attempt to bake these improvements into the model weights. However, fine-tuning the entire model is computationally heavy and frequently leads to "reward hacking," where the model produces visual artifacts to maximize a reward score. HyperNoise offers a middle ground: it learns the "policy" of finding optimal noise, providing the benefits of optimization with the speed of a single-step forward pass.
Methodology
HyperNoise shifts the burden of optimization from inference time to a one-time post-training amortization phase. The architecture consists of two primary components: a frozen base diffusion model and a lightweight LoRA (Low-Rank Adaptation) hypernetwork.
The Noise Hypernetwork
Instead of modifying the weights of the base generator, the hypernetwork takes the initial Gaussian noise and the user prompt as input. It then predicts a "modulated" version of that noise. This modulated noise serves as the starting point for the frozen diffusion model. Because the base model remains unchanged, the generation process is physically constrained to stay within the image manifold the model already understands, which naturally suppresses the development of unnatural artifacts.
Noise-Space Regularization
The mathematical foundation of HyperNoise relies on a "reward-tilted" distribution. The goal is to find a noise distribution that produces high-reward images while remaining close to the original model's behavior. The authors prove that for small modifications, the complex Kullback–Leibler (KL) divergence in image space can be approximated by a simple $L_2$ penalty in the noise space. This tractable objective makes training stable and prevents the hypernetwork from diverging into regions of the latent space that the base model cannot interpret correctly.
Experimental Setup
The researchers evaluated HyperNoise across several state-of-the-art distilled models, including SD-Turbo, SANA-Sprint, and FLUX-Schnell.
- Training Data: The hypernetworks were trained on approximately 70,000 prompts from datasets including Pick-a-Picv2, T2I-Compbench, and the Attribute Binding (ABC-6K) dataset.
- Reward Guidance: Training was guided by an ensemble of reward models, such as ImageReward, HPSv2.1, PickScore, and CLIP-score, to ensure a balanced improvement in both aesthetics and prompt following.
- Benchmarks: The primary evaluation metric was GenEval, which specifically tests compositional reasoning (e.g., the ability to correctly render "a blue bridge and green moss"). Additional testing was performed on DPG-Bench and T2I-CompBench.
Key Results and Discussion
HyperNoise demonstrates that the search for optimal noise can be effectively learned and generalized.
Efficiency and Speed
HyperNoise recovers a substantial portion of the quality gains typically reserved for expensive test-time optimization but operates 300x faster than LLM-based prompt optimization. It also significantly outperforms iterative search methods like ReNO in terms of wall-clock time, as it requires only a single additional forward pass through the lightweight hypernetwork.
Performance Gains
On the GenEval benchmark, HyperNoise improved the Mean score of SD-Turbo from 0.49 to 0.57. Remarkably, this allows the smaller SD-Turbo model to surpass the performance of the much larger SDXL model (0.55) while maintaining a significantly lower parameter count and faster generation speed. This suggests that amortized optimization is a highly efficient way to close the gap between compact and large-scale models.
Robustness Against Reward Hacking
A critical finding of the study is the stability of noise-space optimization. In direct LoRA fine-tuning of model weights, image quality often crashes as the reward score increases—a classic sign of reward hacking. In contrast, HyperNoise maintains high image quality even as it maximizes the reward, as the frozen base model acts as a regularizer that keeps the output grounded in realistic image features.
Conclusion and Future Work
HyperNoise represents a significant step forward in making high-quality, reward-aligned diffusion models accessible for real-time applications. By amortizing the cost of test-time compute, it provides a scalable way to improve prompt following and aesthetics without the overhead of iterative optimization or the instability of weight-space fine-tuning.
Future research may focus on expanding this method to traditional multi-step (e.g., 50-step) DDPM models, which present a more complex denoising trajectory. Additionally, as reward models become more sophisticated and nuanced, HyperNoise can be retrained to capture even more subtle aspects of human preference and complex instruction following.
Summary updated