Efficient Diffusion Models via Time Step Optimization with Consistent Training and Inference Constraints

Binrui Wu, Zihao Cheng, Yuesen Liao, Weizhong ZhangICML 2026

Introduction

Diffusion Probabilistic Models (DPMs) represent the current gold standard in generative AI. However, their sampling process is notoriously inefficient, often requiring hundreds to thousands of iterative steps to accurately approximate the diffusion trajectory. While researchers have developed "fast solvers" (such as DDIM or DPM-Solver) to reduce this requirement to dozens of steps, two major hurdles continue to limit practical applicability:

  1. Suboptimal Scheduling: Most fast samplers rely on handcrafted rules—like uniform or log-SNR spacing—to select which timesteps to calculate. These heuristics are not optimized for specific datasets or model architectures.
  2. The Training-Inference Gap: Standard diffusion models are trained to perform well across all possible noise levels (thousands of timesteps). During fast inference, however, only a tiny fraction of these steps are used. Consequently, the model's capacity is spread thin, leaving it ill-equipped to handle the large jumps in noise that occur during accelerated sampling.

To address these challenges, this paper introduces a novel framework that simultaneously optimizes which timesteps to use during diffusion model inference and fine-tunes the model to excel specifically at those steps, significantly improving image generation quality in "few-step" scenarios (4–10 steps) without the need for expensive full-model distillation.

Methodology: Probabilistic Coreset Selection (PCS)

The authors propose Probabilistic Coreset Selection (PCS), a framework that treats timestep selection as a searchable optimization problem rather than a manual design task. Because choosing discrete timesteps is a non-differentiable combinatorial problem, the authors reparameterize the timestep scheduling through probabilistic masking. Each timestep is represented with a Bernoulli mask, transforming a discrete choice into a continuous probability that can be optimized via gradients.

To circumvent the massive memory costs associated with backpropagating through an entire diffusion chain, the framework employs policy gradient methods (akin to Reinforcement Learning) to update timestep probabilities based on final generation quality.

The core of the PCS framework is a bilevel optimization paradigm:

  • Outer Loop: Optimizes the timestep schedule via probabilistic masking and policy gradients to find the optimal "coreset" of steps based on generation quality.
  • Inner Loop: Performs lightweight fine-tuning of the model weights exclusively on the selected timesteps. This aligns the forward diffusion (training) process with the reverse denoising (inference) process.

Experimental Setup and Key Insights

The researchers evaluated their method across four standard image generation benchmarks: CIFAR-10 (32x32), FFHQ (64x64), AFHQv2 (64x64), and ImageNet (64x64). To demonstrate the method's versatility, they tested it across different ODE solvers, including DDIM and iPNDM.

Several key insights emerged from the experiments:

  • One Size Does Not Fit All: The optimal timesteps for one solver (e.g., DDIM) differ significantly from those for another (e.g., Uni-PC). Handcrafted rules consistently fail to capture this nuance.
  • Wasted Capacity: Training a model on every possible timestep limits its performance during fast sampling. By focusing the model's capacity via fine-tuning on just the steps used in inference, the authors unlocked substantial quality gains.
  • Efficiency via Initialization: By initializing the inner loop from the previous iteration's weights rather than training from scratch, the bilevel optimization becomes computationally feasible compared to traditional full-model distillation methods.

Results

The proposed PCS framework consistently outperformed existing optimization-based and handcrafted baselines across all datasets, particularly in "few-step" scenarios (4–10 steps).

Notably, on the CIFAR-10 dataset at just 4 steps (NFE=4), the PCS method with fine-tuning achieved a Fréchet Inception Distance (FID) of 21.09, a dramatic improvement over the 66.76 FID achieved by the standard EDM handcrafted schedule. The "PCS + fine-tuning" variant consistently provided the best results, proving that resolving the training-inference discrepancy is just as critical as selecting the right timesteps. Qualitatively, the optimized schedules produced significantly sharper and more coherent images at 7 steps compared to uniform or log-SNR schedules, which often yield blurry or distorted outputs at such high speeds.

Limitations and Future Work

While highly effective, the authors acknowledge a few limitations. The bilevel optimization—specifically the inner-loop fine-tuning—adds training time compared to training-free solvers, though it remains cheaper than full distillation. Additionally, the policy gradient approach requires careful tuning of learning rates to ensure the mask converges to a stable set of timesteps. Finally, scaling this bilevel approach to high-resolution models (like Stable Diffusion) will require significant GPU memory and further optimization of the inner loop. Future work may involve more complex code optimizations to bridge the gap between theoretical speedups and real-world wall-clock time.

Summary updated

BibTeX
@inproceedings{wu2026efficient,
  author = {Binrui Wu and Zihao Cheng and Yuesen Liao and WEIZHONG ZHANG},
  title = {{Efficient Diffusion Models via Time Step Optimization with Consistent Training and Inference Constraints}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=PFJEIhUh1y},
}
Figure