Learning to Discretize Denoising Diffusion ODEs
Vinh Tong, Hoang Trung-Dung, Anji Liu, Guy Van den Broeck, Mathias Niepert
TL;DR
This paper tackles the high computational cost of sampling from pre-trained diffusion probabilistic models by introducing LD3, a lightweight framework that learns optimal time discretization for diffusion ODE solvers. LD3 directly minimizes global truncation error via a teacher-student scheme, enhanced with a soft teacher-forcing surrogate and a memory-efficient training strategy, enabling effective discretization with minimal training overhead. Empirically, LD3 improves sample quality across multiple datasets and solvers, especially at low NFEs, and achieves competitive or superior FID scores with modest training time on a single GPU. The approach is solver-aware and model-agnostic, offering a practical route to faster, high-quality diffusion-based generation without retraining large denoising networks.
Abstract
Diffusion Probabilistic Models (DPMs) are generative models showing competitive performance in various domains, including image synthesis and 3D point cloud generation. Sampling from pre-trained DPMs involves multiple neural function evaluations (NFEs) to transform Gaussian noise samples into images, resulting in higher computational costs compared to single-step generative models such as GANs or VAEs. Therefore, reducing the number of NFEs while preserving generation quality is crucial. To address this, we propose LD3, a lightweight framework designed to learn the optimal time discretization for sampling. LD3 can be combined with various samplers and consistently improves generation quality without having to retrain resource-intensive neural networks. We demonstrate analytically and empirically that LD3 improves sampling efficiency with much less computational overhead. We evaluate our method with extensive experiments on 7 pre-trained models, covering unconditional and conditional sampling in both pixel-space and latent-space DPMs. We achieve FIDs of 2.38 (10 NFE), and 2.27 (10 NFE) on unconditional CIFAR10 and AFHQv2 in 5-10 minutes of training. LD3 offers an efficient approach to sampling from pre-trained diffusion models. Code is available at https://github.com/vinhsuhi/LD3.
