Inference-Time Scaling of Diffusion Models via Progressive Seed Pruning

California Institute of Technology
PSP teaser: examples of image generation improvement with PSP

Examples of image generation improvement with PSP. SDXL generations using a standard sampler and three gradient-free inference-time scaling strategies under a fixed compute multiplier $\bar{N}=4$: Best-of-N, FK-Steering (importance-sampling based), and our Progressive Seed Pruning (PSP). We show examples from GenEval prompts in which PSP improves on Best-of-N and FK-Steering, satisfying prompt constraints.

Abstract

Diffusion and flow-matching models dominate conditional image generation, yet inference-time scaling for these models is far less developed than for autoregressive language models. Because final quality is highly sensitive to the initial noise seed, many approaches spend extra compute on seed search or resampling under a black-box reward, but typically maintain a constant memory footprint throughout inference. We show that relaxing this constraint enables an underexplored inference-time scaling axis: by front-loading exploration, evaluating many seeds early, and pruning aggressively, we can use a fixed compute budget more effectively. Progressive Seed Pruning (PSP) scores intermediate denoised estimates and progressively narrows the candidate set so that only promising trajectories are fully denoised, while keeping the total number of model evaluations fixed. Across diffusion and flow-matching backbones, PSP consistently improves reward-guided selection and achieves higher GenEval scores (automated) and better human evaluation on prompt-alignment than best-of-$N$, importance-sampling, and tree-search baselines at matched compute.

Method

Compute allocation profiles for inference-time scaling

Compute allocation profiles for inference-time scaling. Top: example reward trajectories (ImageReward) over denoising progress for multiple candidates. Bottom: compute allocated per candidate as a function of progress. Left: Best-of-N runs $N$ full trajectories and selects the best final reward. Middle: importance-sampling-style methods (e.g., FK-Steering) maintain a constant particle count and periodically resample based on intermediate rewards (red crosses indicate discarded samples). Right: PSP starts with more candidates and prunes low-reward trajectories early, concentrating the remaining denoising budget on a shrinking survivor set. In this illustration, PSP considers twice as many initial seeds as the other methods under the same total number of denoising steps.

Key idea. Diffusion and flow-matching samplers already compute a denoised estimate $\hat{x}_0(x_t,t,c)$ at every step as a byproduct of the forward pass. PSP scores this estimate with an off-the-shelf reward model $r(\hat{x}_0,c)$ and uses it to prune the candidate pool before full denoising, spending the compute saved on exploring more initial seeds rather than repeatedly resampling a fixed-size pool.

Progressive Seed Pruning, at every denoising step $t$ from $T$ down to $1$:

  1. Predict clean: form the denoised estimate $\hat{x}_0(x_t^i,t,c)$ for each surviving candidate $x_t^i$, reusing the noise/velocity prediction already produced by the generator.
  2. Score: evaluate a black-box reward $s_t^i = r(\hat{x}_0^{i,t},c)$ on each estimate.
  3. Prune: keep only the top $k_{t-1}$ candidates by score, following a predetermined schedule.
  4. Denoise: advance the surviving candidates one step to $x_{t-1}^i$.

The default schedule starts with $2\bar{N}$ seeds, prunes to $\bar{N}$ at 25% progress, and prunes again to $\bar{N}/2$ at 50% progress, matching the total compute of running $\bar{N}$ full trajectories (e.g., Best-of-N) while exploring twice as many initial seeds. Because computing $\hat{x}_0$ reuses quantities already produced by the generator, PSP adds no extra generator forward passes over the model evaluations it is budgeted for.

Main Results

We compare standard sampling ($\bar{N}=1$), Best-of-N (BoN), our main importance-sampling (FK-Steering) and tree-search (DSearch) baselines, and other relevant inference-time compute-scaling methods for diffusion, namely Noise Trajectory Search (NTS), Rollover Budget Forcing (RBF), Breadth-First Search (BFS), and SVDD, and PSP. All results use the public implementation of each method with parameters chosen to match the computational budget, all guided by the same reward signal: ImageReward. We report the guidance reward (IR), HPS, GenEval, and human evaluation scores on final images generated from GenEval prompts, averaged over 3 random seeds. PSP achieves the best results in prompt-alignment as measured by automated scores (GenEval) and human evaluation, across all three backbones.

Sampler$T$$\bar{N}$IR ↑HPS ↑GenEval ↑Human ↑
Standard641−0.1590.2570.4340.431
Best-of-N6440.6550.2730.5420.594
FK-Steering6440.6400.2610.5310.569
DSearch6440.7830.2750.5060.514
NTS6440.4850.2720.478-
RBF6440.6700.2740.520-
BFS6440.8200.2630.564-
SVDD6440.7310.2720.489-
PSP (ours)6440.8270.2780.5740.624

Across all backbones, PSP improves over standard inference and outperforms all other methods at the same compute in prompt alignment, as measured by GenEval score and human evaluation. Although BFS outperforms PSP in reward maximization with the SDXL backbone, PSP still outperforms BFS and all methods in GenEval and human scores. This is evidence that PSP is less susceptible to reward hacking, since it focuses on seed selection rather than interfering with the inference process through reward-driven resampling. On SD 3.5, results also expose a practical weakness of resampling methods: they require stochasticity to generate diverse children, but stochasticity can degrade flow-matching generation, with Best-of-N outperforming FK-Steering. PSP remains effective with deterministic solvers because it allocates compute to seed exploration and early elimination rather than stochastic branching.

Human evaluation. Results were obtained from 249 online annotators (Prolific, prior AI-evaluation experience) who answered “Does the image align with the prompt?” on 8,295 images (553 per method/backbone pair, the number of GenEval prompts), with majority vote over 3 ratings per image (24,885 ratings total, 80.3% annotator agreement). To our knowledge, this is the first human evaluation of these inference-time scaling methods for text-to-image tasks. PSP was the best-evaluated method on all three backbones.

Scaling with Compute

Scaling behavior of PSP

Scaling behavior of PSP. Left: final guidance reward versus compute multiplier $\bar{N}$, comparing PSP to Best-of-N at matched compute; PSP continues to improve with increasing $\bar{N}$ and consistently outperforms Best-of-N. Middle: regret of PSP relative to Best-of-N with double compute that would select the best seed among all $2\bar{N}$ candidates after full denoising; regret decreases with $\bar{N}$, indicating pruning becomes increasingly safe at larger budgets. Right: reward versus approximate FLOPs, showing that inference-time scaling can allow smaller models with larger $\bar{N}$ to match or surpass larger backbones under similar compute.

Computational Overhead

PSP adds computational overhead over Best-of-N because its intermediate samples must be decoded by the VAE and scored by the reward model. We quantify this overhead on a single H200, comparing PSP, equivalent Best-of-N ($\bar{N}{=}4$), and double-compute Best-of-N ($\bar{N}{=}8$) under the same setup as the main results table. Across all backbones, PSP adds little runtime over Best-of-N ($\bar{N}{=}4$) and is close to $2\times$ faster than Best-of-N ($\bar{N}{=}8$). Relative overhead diminishes with model size, as each diffusion step becomes proportionally more expensive.

Model Runtime (s) Peak VRAM (GiB)
BoN
$\bar{N}=4$
PSP
$\bar{N}=4$
BoN
$\bar{N}=8$
BoN
$\bar{N}=4$
PSP
$\bar{N}=4$
BoN
$\bar{N}=8$
SD v1.52.652.994.704.295.305.31
SDXL12.4813.7423.908.2813.2710.79
SD 3.535.9737.5971.7129.8534.8533.86

Tuning the Pruning Strategy

Tuning the pruning strategy improves PSP

Tuning the pruning strategy improves PSP. Left: we compare our default, off-the-shelf schedule (solid) to the best schedule found by grid search under the same compute budget (hatched), for IR, HPS, and GenEval. We search on prompts from the IR Benchmark and report results on prompts from GenEval, using IR as the guidance signal. Right: visualization of all schedules in the grid search, colored by their performance on the IR Benchmark. Better schedules appear higher, with jitter added for visualization and the best and default schedules highlighted.

Tuned schedules show little to no improvement over our simple default schedule, indicating that the default halving strategy is already a good off-the-shelf configuration that requires no per-task hyperparameter search.

Comparison to Finetuned Models

Reward models can also be used to finetune generators, amortizing reward optimization across many future inference calls. We compare against DPO-finetuned backbones trained on the Pick-a-Pic dataset. PSP applied to a non-finetuned backbone with a modest compute multiplier already outperforms standard inference on a finetuned backbone, and PSP and finetuning are complementary: applying PSP on a finetuned backbone yields further improvements and outperforms Best-of-N under similar compute. Thus, whenever additional inference-time compute is available, PSP remains beneficial even in the presence of finetuned models.

DPOSampler$T$$N$IR ↑GenEval ↑
Standard641−0.0220.454
Best-of-N6440.7510.562
PSP (ours)6440.8270.574
PSP (ours)6440.9070.593

PSP over Multiple Prompts

Although our primary focus is seed search, PSP applies to any discrete pool of candidates available at inference time. A practical example is prompt selection: modern systems often rewrite user prompts to expand and add detail, and different rewrites can substantially change the quality of the outcome. We apply PSP to select among multiple prompt rewrites for a fixed noise seed, generating rewrites once per prompt with an LLM and treating them as the initial candidate set. PSP outperforms Best-of-N at equal compute in this setting, highlighting another practical advantage over resampling-based methods: importance sampling over prompts would require a stochastic “prompt mutation” kernel that repeatedly queries an LLM during inference, whereas PSP only requires a fixed candidate set generated once.

Sampler$T$$N$IR ↑GenEval ↑
Standard641−0.2300.391
Best-of-N6440.6410.512
PSP (ours)6440.7820.533

Predicted Clean Images ($\hat{x}_0$)

PSP relies on scoring the predicted clean image $\hat{x}_0$ at intermediate denoising steps. These visualizations show, for the prompt “a photo of a cow left of a stop sign”, both the noisy latent $x_t$ (top row) and the corresponding predicted clean estimate $\hat{x}_0$ (bottom row) at several points along the denoising trajectory, together with the ImageReward score of $\hat{x}_0$ at each step. Predicted clean images are far more interpretable than the noisy samples suggest, and their coarse features, which are the ones most relevant for prompt alignment, are already largely defined early in the denoising process. This is why off-the-shelf reward models trained on clean images remain effective when applied to $\hat{x}_0$ at intermediate steps.

BibTeX

@article{guimaraes2026psp,
  title={Inference-Time Scaling of Diffusion Models via Progressive Seed Pruning},
  author={Guimaraes, Rogerio and Perona, Pietro},
  journal={arXiv preprint arXiv:2607.21591},
  year={2026}
}