Noise Hypernetworks: Amortizing Test-Time Compute in Diffusion Models
Luca Eyring, Shyamgopal Karthik, Alexey Dosovitskiy, Nataniel Ruiz, Zeynep Akata
TL;DR
The paper addresses the inefficiency of test-time optimization in diffusion-model generation by introducing NoiseHypernetworks, which learn an optimized initial noise distribution to steer a fixed, distilled generator toward a reward-tilted output. It provides a theoretical foundation in noise space, deriving a tractable KL-based objective that reduces to an $L_2$ penalty on the noise modification and a reward term, enabling amortized optimization via a LoRA-based adapter. Empirically, the method yields substantial quality gains on redness and human-preference rewards across multiple distilled models (SD-Turbo, SANA-Sprint, FLUX-Schnell) with dramatically lower inference cost than traditional test-time approaches. The results demonstrate robust improvements across prompts and model scales, validating the approach as a practical, efficient alternative to per-sample optimization for reward-aligned diffusion. Limitations include dependence on meaningful reward signals and the need for further exploration of reward-model design and broader domain applicability.
Abstract
The new paradigm of test-time scaling has yielded remarkable breakthroughs in Large Language Models (LLMs) (e.g. reasoning models) and in generative vision models, allowing models to allocate additional computation during inference to effectively tackle increasingly complex problems. Despite the improvements of this approach, an important limitation emerges: the substantial increase in computation time makes the process slow and impractical for many applications. Given the success of this paradigm and its growing usage, we seek to preserve its benefits while eschewing the inference overhead. In this work we propose one solution to the critical problem of integrating test-time scaling knowledge into a model during post-training. Specifically, we replace reward guided test-time noise optimization in diffusion models with a Noise Hypernetwork that modulates initial input noise. We propose a theoretically grounded framework for learning this reward-tilted distribution for distilled generators, through a tractable noise-space objective that maintains fidelity to the base model while optimizing for desired characteristics. We show that our approach recovers a substantial portion of the quality gains from explicit test-time optimization at a fraction of the computational cost. Code is available at https://github.com/ExplainableML/HyperNoise
