Adaptive Stochastic Coefficients for Accelerating Diffusion Sampling
Ruoyu Wang, Beier Zhu, Junzhi Li, Liangyu Yuan, Chi Zhang
TL;DR
This work analyzes the error dynamics of ODE- and SDE-based diffusion samplers, showing ODEs accumulate gradient error while SDEs require many steps to suppress discretization error. It introduces AdaSDE, a single-step SDE solver with an adaptive per-step stochastic coefficient $oldsymbol{\\gamma_i}$ and a process-supervision training framework, enabling efficient few-step diffusion sampling. Theoretical bounds demonstrate gradient-error contraction under AdaSDE and synthetic results validate reduced total error; empirically, AdaSDE achieves state-of-the-art FID scores at low NFEs across CIFAR-10, FFHQ, LSUN Bedroom, and MSCOCO with Stable Diffusion, while remaining a lightweight plug-in for existing solvers. These findings offer a practical path to fast, high-quality diffusion sampling with minimal additional training or parameter overhead.
Abstract
Diffusion-based generative processes, formulated as differential equation solving, frequently balance computational speed with sample quality. Our theoretical investigation of ODE- and SDE-based solvers reveals complementary weaknesses: ODE solvers accumulate irreducible gradient error along deterministic trajectories, while SDE methods suffer from amplified discretization errors when the step budget is limited. Building upon this insight, we introduce AdaSDE, a novel single-step SDE solver that aims to unify the efficiency of ODEs with the error resilience of SDEs. Specifically, we introduce a single per-step learnable coefficient, estimated via lightweight distillation, which dynamically regulates the error correction strength to accelerate diffusion sampling. Notably, our framework can be integrated with existing solvers to enhance their capabilities. Extensive experiments demonstrate state-of-the-art performance: at 5 NFE, AdaSDE achieves FID scores of 4.18 on CIFAR-10, 8.05 on FFHQ and 6.96 on LSUN Bedroom. Codes are available in https://github.com/WLU-wry02/AdaSDE.
