Skip to main content
QUICK REVIEW

[Paper Review] OMS-DPM: Optimizing the Model Schedule for Diffusion Probabilistic Models

Enshu Liu, Xuefei Ning|arXiv (Cornell University)|Jun 15, 2023
Advanced Neural Network ApplicationsComputer Science6 citations
TL;DR

OMS-DPM proposes a novel method to optimize the model schedule in diffusion probabilistic models by dynamically selecting different pre-trained models across denoising steps, significantly improving both generation quality and speed. Using a predictor-based evolutionary search, it achieves 2× faster sampling than Stable Diffusion while maintaining state-of-the-art FID scores across CIFAR-10, CelebA, ImageNet, and LSUN-Church.

ABSTRACT

Diffusion probabilistic models (DPMs) are a new class of generative models that have achieved state-of-the-art generation quality in various domains. Despite the promise, one major drawback of DPMs is the slow generation speed due to the large number of neural network evaluations required in the generation process. In this paper, we reveal an overlooked dimension -- model schedule -- for optimizing the trade-off between generation quality and speed. More specifically, we observe that small models, though having worse generation quality when used alone, could outperform large models in certain generation steps. Therefore, unlike the traditional way of using a single model, using different models in different generation steps in a carefully designed \emph{model schedule} could potentially improve generation quality and speed \emph{simultaneously}. We design OMS-DPM, a predictor-based search algorithm, to optimize the model schedule given an arbitrary generation time budget and a set of pre-trained models. We demonstrate that OMS-DPM can find model schedules that improve generation quality and speed than prior state-of-the-art methods across CIFAR-10, CelebA, ImageNet, and LSUN datasets. When applied to the public checkpoints of the Stable Diffusion model, we are able to accelerate the sampling by 2$ imes$ while maintaining the generation quality.

Motivation & Objective

  • Address the slow sampling speed of diffusion probabilistic models (DPMs), which requires hundreds to thousands of neural network evaluations per generation.
  • Identify and exploit an overlooked optimization dimension—model schedule—where different models are used at different denoising steps to improve quality and speed.
  • Develop a method that finds optimal model schedules under arbitrary time budgets using only pre-trained models, without retraining.
  • Enable efficient, generalizable scheduling across diverse datasets and pre-trained models, including public checkpoints like Stable Diffusion.
  • Achieve better quality-speed trade-offs than existing methods by leveraging model heterogeneity across denoising steps.

Proposed method

  • Propose OMS-DPM, a predictor-based search algorithm that learns to predict generation quality from model schedules using a small amount of training data.
  • Train a performance predictor on a small subset of model schedules to generalize across unseen schedules, reducing the need for expensive full evaluations.
  • Use an evolutionary algorithm to efficiently explore the exponentially large model schedule search space under a given time budget.
  • Support flexible integration with existing acceleration techniques, such as DDIM step-skipping and DPM-Solver order selection, by treating them as hyperparameters in the search.
  • Design the search to assign different pre-trained models (with varying size and speed) to different denoising steps based on predicted performance.
  • Enable transferability by training the predictor on a few data points per dataset, allowing reuse across new datasets with minimal retraining.

Experimental results

Research questions

  • RQ1Can dynamically assigning different pre-trained models to different denoising steps improve both generation quality and sampling speed in DPMs?
  • RQ2How does model schedule optimization compare to traditional acceleration methods that focus only on noise schedule, discretization, or solver design?
  • RQ3What is the impact of model size and placement (early vs. late steps) on the final generation quality under constrained time budgets?
  • RQ4Can a lightweight predictor generalize across diverse model schedules and datasets to enable efficient search without full evaluation?
  • RQ5How does the structure of the optimal model schedule vary across different datasets and sampling budgets?

Key findings

  • OMS-DPM achieves a 2× speedup in sampling for the Stable Diffusion model while maintaining or improving FID scores, outperforming baseline methods.
  • On CIFAR-10, OMS-DPM reduces FID from 3.56 (baseline) to 3.19 under a 1400ms latency budget, demonstrating a significant quality-speed trade-off improvement.
  • Under tight time budgets, the optimal schedules use only the smallest, fastest models (e.g., 2–3 models), as larger models introduce error when steps are too few.
  • On LSUN-Church, the optimal strategy uses larger models earlier in the denoising process, while on ImageNet-64 and CIFAR-10, larger models are more effective later, indicating dataset-dependent scheduling patterns.
  • The predictor trained on as few as 100 data points generalizes well, enabling efficient search with minimal evaluation cost.
  • For DPM-Solver, the 1st and 2nd order solvers are preferred under tight budgets, while the 3rd order is used only when sufficient time is available, showing adaptive solver selection in optimal schedules.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.