Efficient Integrators for Diffusion Generative Models

Kushagra Pandey, Maja Rudolph, Stephan Mandt

Diffusion models have revolutionized generative AI, but their Achilles' heel remains the slow sampling process at inference time. While many techniques exist to accelerate standard diffusion models, the emerging class of augmented diffusion models—which perform diffusion in a joint space of data and auxiliary variables (like momentum)—has lacked a principled framework for fast sampling.

In this paper, researchers propose two complementary frameworks, Conjugate Integrators and Splitting Integrators, to bridge this gap and achieve state-of-the-art sampling efficiency. By combining these into a hybrid "Conjugate Splitting Integrator," they achieve a record-breaking FID of 2.11 on CIFAR-10 with only 100 network evaluations, outperforming established baselines like DDIM and DPM-Solver.

The Challenge of Augmented Diffusion Models

Generating high-quality samples from diffusion models typically requires hundreds or thousands of expensive score function evaluations (NFEs). While "fast samplers" like DDIM exist for standard models, they do not always translate well to augmented diffusion models (e.g., Phase Space Langevin Diffusion or PSLD). These augmented models often produce better samples and likelihoods by adding auxiliary variables, but their complex dynamics make them harder to solve efficiently with standard numerical methods.

The authors set out to create a principled mathematical framework for fast deterministic and stochastic sampling that works across a broader class of diffusion models, specifically targeting the low-NFE regime (50–100 steps).

Proposed Methods

The paper proposes two distinct but combinable strategies:

1. Conjugate Integrators

The core idea here is to use an invertible transformation to map the complex reverse diffusion dynamics into a "more amenable" space for numerical integration.

  • Generalizing Existing Samplers: The authors prove that existing popular samplers like DDIM and exponential integrators (DPM-Solver, DEIS) are actually special cases of this framework where the transformation is chosen to zero out certain drift components.
  • $\lambda$-DDIM: By introducing a tunable matrix $B_t$, they create $\lambda$-DDIM, which allows for better stability and lower error at large step sizes.
Illustration of conjugate integrators mapping the original space to a projected space where integration is easier.

2. Splitting Integrators

Inspired by molecular dynamics, these integrators "split" the complex differential equation into simpler sub-components (e.g., one for position, one for momentum) that can be solved independently. A naive application of splitting can be sub-optimal, so the authors propose "Reduced" versions (like RVV and ROBA) that reuse score function evaluations across steps. This saves computation and leads to the cancellation of certain error terms, significantly improving accuracy.

3. The Hybrid: Conjugate Splitting Integrators

Finally, they combine both ideas. They use splitting to handle the joint space variables and apply conjugate transformations to the individual splitting components to further reduce discretization error.

Key Insights and Results

The methods were evaluated on standard image synthesis benchmarks including CIFAR-10, CelebA-64, and AFHQv2-64, primarily using the Phase Space Langevin Diffusion (PSLD) model.

  • Stability via $\lambda$: Tuning the hyperparameter $\lambda$ in their $\lambda$-DDIM framework acts as a preconditioner for the eigenvalues of the system, making the integrator much more stable at large step sizes (low NFE).
  • Splitting Exploits Structure: In augmented spaces, splitting is naturally powerful because it exploits the physical coupling between data and auxiliary variables, which standard "black-box" ODE solvers ignore.

The proposed samplers set new performance benchmarks for augmented diffusion models:

  • Deterministic Sampling: Their CSPS-D sampler achieved an FID of 2.11 on CIFAR-10 in 100 NFEs, compared to the previous best baseline (DEIS) at 2.57.
  • Stochastic Sampling: Their SPS-S sampler reached an FID of 2.36 in 100 NFEs, outperforming the best baseline (SA-Solver) at 2.63.
  • Efficiency at Low Budgets: At very low budgets (e.g., 50 NFEs), the improvements are even more dramatic. On CIFAR-10, their method achieves an FID of 2.65 at 50 NFE, while standard DDIM lags far behind at 4.67.
Performance of lambda-DDIM compared to Euler integration, and ablation studies on tuning lambda.

Limitations and Future Work

Currently, the choice of the matrix $B_t$ and the scalar $\lambda$ is largely heuristic or requires manual tuning. A more principled way to derive optimal parameters for a given model would be beneficial. Furthermore, while the paper provides a solid framework for deterministic conjugate integrators, extending this theory to stochastic SDE solvers is left for future research. Finally, the authors found that controlling the amount of stochasticity injected during sampling is crucial for quality, but the theoretical underpinnings of this effect in diffusion models need further investigation.

Summary updated

BibTeX
@inproceedings{pandey2024efficient,
  author = {Kushagra Pandey and Maja Rudolph and Stephan Mandt},
  title = {{Efficient Integrators for Diffusion Generative Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=qA4foxO5Gf},
}
Figure