Improved Order Analysis and Design of Exponential Integrator for Diffusion Models Sampling
Qinsheng Zhang, Jiaming Song, Yongxin Chen
TL;DR
This work addresses slow diffusion-model sampling by reexamining high-order exponential-integrator solvers and identifying missing order conditions that cause degradation. It introduces Refined Exponential Solver (RES), a unified, order-condition–aware approach that leverages multiple probability-flow ODE parameterizations (notably logSNR/negative logSNR) to achieve smoother dynamics and lower discretization error. The authors derive and enforce order conditions for single-step schemes, extend the method to stochastic and multi-step samplers, and demonstrate substantial practical gains, including up to 60% reductions in numerical defects and meaningful FID improvements under suboptimal time schedules and across guided and cascaded models. Overall, RES provides a robust, generalizable improvement to diffusion-model sampling that translates to faster, more reliable image generation without retraining the model.
Abstract
Efficient differential equation solvers have significantly reduced the sampling time of diffusion models (DMs) while retaining high sampling quality. Among these solvers, exponential integrators (EI) have gained prominence by demonstrating state-of-the-art performance. However, existing high-order EI-based sampling algorithms rely on degenerate EI solvers, resulting in inferior error bounds and reduced accuracy in contrast to the theoretically anticipated results under optimal settings. This situation makes the sampling quality extremely vulnerable to seemingly innocuous design choices such as timestep schedules. For example, an inefficient timestep scheduler might necessitate twice the number of steps to achieve a quality comparable to that obtained through carefully optimized timesteps. To address this issue, we reevaluate the design of high-order differential solvers for DMs. Through a thorough order analysis, we reveal that the degeneration of existing high-order EI solvers can be attributed to the absence of essential order conditions. By reformulating the differential equations in DMs and capitalizing on the theory of exponential integrators, we propose refined EI solvers that fulfill all the order conditions, which we designate as Refined Exponential Solver (RES). Utilizing these improved solvers, RES exhibits more favorable error bounds theoretically and achieves superior sampling efficiency and stability in practical applications. For instance, a simple switch from the single-step DPM-Solver++ to our order-satisfied RES solver when Number of Function Evaluations (NFE) $=9$, results in a reduction of numerical defects by $25.2\%$ and FID improvement of $25.4\%$ (16.77 vs 12.51) on a pre-trained ImageNet diffusion model.
