TL;DR
The paper introduces Reward-guided Trajectory Scaling (RTS), a novel test-time scaling method that unlocks the latent generative power of diffusion models without retraining. By combining a coarse-to-fine surrogate gradient search with PCA-driven curvature analysis, RTS dynamically optimizes both initial and key intermediate noises along the denoising path. This approach achieves state-of-the-art image generation quality, enabling smaller models to outperform much larger ones at inference time.
What Problem Does This Paper Address?
Test-Time Scaling (TTS) has revolutionized large language models by allocating more compute during inference to achieve better results. However, applying TTS to diffusion models remains a challenge.
Existing methods typically rely on a static, pre-defined noise pool (like Best-of-N sampling) or use zeroth-order optimization on the initial noise alone, completely ignoring the intermediate denoising steps. While some recent particle-filtering methods attempt to scale intermediate steps, they merely filter existing candidates rather than actively exploring new, high-reward regions of the noise space. Furthermore, optimizing every single step across the entire high-dimensional denoising trajectory is computationally prohibitive. RTS addresses this gap by providing an efficient way to dynamically explore and optimize the entire denoising trajectory.
Methods
The authors propose RTS (Reward-guided Trajectory Scaling), which consists of two core innovations:
- Reward-Guided Noise Optimization: Instead of relying on standard backpropagation (which is slow and requires differentiable reward models), RTS uses a coarse-to-fine alternating mechanism to estimate a surrogate gradient. In the coarse phase, it applies random spherical perturbations around a base noise to sample neighbors and evaluate their rewards, using these relative rewards to estimate a gradient direction. In the fine phase, it uses this estimated gradient to guide more targeted exploration.
- Sparse Test-Time Scaling Framework: To avoid the massive computational cost of optimizing every single denoising step, RTS uses Principal Component Analysis (PCA) via Singular Value Decomposition (SVD) to project high-dimensional latents into a 3D subspace. It calculates the local curvature along this trajectory to identify a sparse set of "key inflection points" where structural transitions are most volatile. Compute is then exclusively allocated to optimizing noise at these critical steps.
Datasets
The method was evaluated on two widely recognized text-to-image benchmarks:
- GenEval: Consists of 553 prompts focusing on fine-grained object attributes (co-occurrence, position, count, color) and spatial reasoning.
- T2I-CompBench: Consists of 1800 prompts evaluating attribute binding, object relationships, and complex compositions.
ImageReward was utilized as the primary reward model (verifier) to guide the optimization process.
Key Insights and Ideas
- Smaller Models Can Punch Above Their Weight: With proper test-time scaling, a lightweight model like Stable Diffusion v3 (2B parameters) can significantly outperform a much larger model like Flux.1 dev (12B parameters) on benchmarks like GenEval and ImageReward.
- Full-Path Optimization is Counterproductive: Surprisingly, optimizing every single denoising step degrades performance compared to a sparse approach. This is because diffusion models are phase-sensitive: early stages define global structure, while late stages refine fragile details. Forcing optimization everywhere disrupts the natural trajectory; targeting only mid-stage inflection points avoids trajectory collapse.
- Spherical Interpolation Matters: When perturbing noise vectors in high-dimensional space, maintaining the norm of the latent vector via spherical interpolation is crucial. Standard linear perturbations cause the noise to drift into low-probability regions, degrading image quality.
Key Results
- State-of-the-Art Performance: RTS consistently outperformed existing search baselines (BoN, Zeroth-Order, Feynman-Kac steering) across all major metrics.
- Quantitative Gains: On the GenEval benchmark using Flux-1.dev, RTS improved the GenEval score by 15.6% and boosted the ImageReward score by 60.4% compared to the base model without TTS.
- Efficiency: Compared to the state-of-the-art Feynman-Kac (FK) trajectory steering method, RTS achieved higher scores while reducing inference runtime (e.g., saving 31.9 seconds when applied to Qwen-Image).
Limitations and Future Work
- Dependency on Reward Quality: RTS's performance is strictly bounded by the accuracy and granularity of the verifier/reward model used. If the reward signal is weak or ambiguous (e.g., for highly complex spatial relations or rare concepts), RTS can improve overall perceptual quality but may still fail to fix underlying semantic errors.
- Future Directions: The authors suggest exploring more reliable, fine-grained reward signals, such as region-aware semantic evaluators, multi-objective feedback, or predictive reward estimation methods that infer trajectory quality without requiring a full decoding of all candidate images.
Summary updated