NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scaling Inference Time Compute for Diffusion Models

Nanye Ma, Shangyuan Tong, Haolin Jia, Hexiang Hu, Yu-Chuan Su, Mingda Zhang, Xuan Yang, Yandong Li, Tommi S. Jaakkola, Xuhui Jia, Saining XieCVPR 2025

Abstract

Traditionally, diffusion models (DMs) have relied on increasing the number of denoising steps to improve image quality at inference time, a strategy that quickly reaches diminishing returns. This paper introduces a search-based framework that effectively trades additional computation for significantly higher-quality outputs. By utilizing verifiers to score candidates and search algorithms to navigate the noise space, the authors demonstrate that even smaller models can outperform massive state-of-the-art architectures through inference-time scaling.

The Challenge of Scaling Diffusion Models

In Generative AI, "Scaling Laws" typically focus on the training phase: larger models and more data lead to better performance. While Large Language Models (LLMs) have successfully adopted inference-time scaling techniques like search-based decoding, Diffusion Models have lacked a similar paradigm. Increasing the number of function evaluations (NFEs) through more denoising steps usually plateaus after a few dozen iterations. This research addresses the fundamental question: How can we effectively trade more computation for higher-quality images once a model is already trained?

Methods: Verifiers and Search Algorithms

The proposed framework structures the design space along two primary axes: Verifiers (the judges) and Algorithms (the scouts).

Verifiers

Verifiers provide feedback on generated samples to guide the search process. The authors explore several types:

  • Supervised Verifiers: Pre-trained models like CLIP or DINO score images based on prompt or class alignment.
  • Self-Supervised Verifiers: These use the model’s internal feature similarity between different denoising stages.
  • Verifier Ensembles: Combining multiple scorers helps prevent "reward hacking," where a search algorithm finds shortcuts that improve a single score but degrade overall image quality.

Search Algorithms

Algorithms are used to explore the noise space for better candidates. The three primary methods are illustrated below:

Visual representation of the three proposed search algorithms: Random Search, Zero-Order Search, and Search over Paths.
  1. Random Search (Best-of-N): Generates $N$ independent samples and selects the one with the highest verifier score.
  2. Zero-Order Search: Iteratively refines a "pivot" noise by sampling in its local neighborhood.
  3. Search over Paths: Branches out at intermediate denoising steps to explore multiple trajectories, selecting the most promising path.

Key Insights and Results

The framework was evaluated across benchmarks including ImageNet, DrawBench, and T2I-CompBench. The results consistently show that scaling compute via search is far more effective than simply increasing denoising steps.

Scaling inference compute with search vs. denoising steps across various benchmarks.

The "Small Model + Search" Advantage

A striking finding is that a smaller, efficient model like PixArt-Σ, when augmented with inference-time search, can outperform massive models like FLUX.1-dev. On DrawBench, PixArt-Σ with search achieved better results than the baseline FLUX.1-dev while using only 1/10th of the compute required for a standard FLUX generation.

Quantitative Performance

On ImageNet, the search framework led to substantial improvements in both FID (lower is better) and Inception Score (higher is better) across all tested model sizes (SiT-B, L, and XL). Furthermore, the search is complementary to other alignment techniques; a model tuned with Direct Preference Optimization (DPO) can still see significant performance boosts when search is applied at inference time.

Limitations and Future Work

While search is more efficient than training larger models, it increases latency due to multiple forward passes, making it better suited for high-quality offline generation than real-time use. Additionally, the quality of the output is capped by the "intelligence" and potential biases of the verifier. Future work includes developing more nuanced search algorithms and task-specific verifiers for video and 3D generation, as well as exploring self-supervised search that does not require external reward models.

Summary updated

BibTeX
@inproceedings{ma2025scaling,
  author = {Nanye Ma and Shangyuan Tong and Haolin Jia and Hexiang Hu and Yu-Chuan Su and Mingda Zhang and Xuan Yang and Yandong Li and Tommi S. Jaakkola and Xuhui Jia and Saining Xie},
  title = {{Scaling Inference Time Compute for Diffusion Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00241},
}
Figure