Abstract
Though denoising diffusion probabilistic models (DDPMs) have achieved remarkable generation results, the low sampling efficiency of DDPMs still limits further applications. Since DDPMs can be formulated as diffusion ordinary differential equations (ODEs), various fast sampling methods can be derived from solving diffusion ODEs. However, we notice that previous sampling methods with fixed analytical form are not robust with the error in the noise estimated from pretrained diffusion models. In this work, we construct an error-robust Adams solver (ERA-Solver), which utilizes the implicit Adams numerical method that consists of a predictor and a corrector. Different from the traditional predictor based on explicit Adams methods, we leverage a Lagrange interpolation function as the predictor, which is further enhanced with an error-robust strategy to adaptively select the Lagrange bases with lower error in the estimated noise. Experiments on Cifar10, LSUN-Church, and LSUN-Bedroom datasets demonstrate that our proposed ERA-Solver achieves 5.14, 9.42, and 9.69 Fenchel Inception Distance (FID) for image generation, with only 10 network evaluations.
Introduction
Denoising Diffusion Probabilistic Models (DDPMs) are the engines behind modern generative AI, yet their high computational cost remains a significant barrier. Generating a single high-quality image typically requires hundreds or thousands of sequential denoising steps. To accelerate this process, researchers often treat the diffusion process as an Ordinary Differential Equation (ODE). While solvers like PNDM and DPM-Solver++ allow for faster sampling by skipping steps, they rely on fixed mathematical formulas that assume high accuracy in the neural network's noise estimation. In practice, these estimates are often "noisy," particularly as the process approaches completion ($t \to 0$), leading to visual artifacts when sampling steps are minimized.
Methodology: The ERA-Solver
The ERA-Solver addresses these limitations by employing an Implicit Adams method within a flexible Predictor-Corrector framework. Unlike rigid, traditional solvers, ERA-Solver adaptively adjusts its calculations based on the reliability of previous noise estimates.
Predictor-Corrector Framework
The solver first "predicts" the next state using a Lagrange interpolation of historical steps. It then applies a "corrector" step to ensure numerical stability and higher-order accuracy. This approach provides the robustness of implicit methods without the typical computational burden of solving complex equations at every step.
Error-Robust Selection (ERS)
The core innovation is the Error-Robust Selection (ERS) strategy. The solver maintains a buffer of previous noise estimates and calculates an error metric ($\Delta \epsilon$) by comparing predicted noise to observed noise. Instead of using a fixed set of previous points, ERS adaptively selects the most reliable "bases" from the buffer. If recent estimates show high error, the solver shifts its selection to more stable points, making it "manifold-aware" and responsive to the specific dataset's error patterns.
Key Results and Discussion
ERA-Solver was evaluated across standard benchmarks including Cifar10, CelebA, and LSUN datasets. It consistently outperformed popular samplers at very low Network Function Evaluations (NFEs).
Efficiency and Robustness
- Performance: On Cifar10, ERA-Solver achieved a state-of-the-art FID of 3.54 with only 10 evaluations, significantly better than the 4.0–6.0 range typical of competing methods at that speed.
- Visual Quality: As shown in the qualitative results, ERA-Solver produces more natural textures and fewer artifacts in complex areas like hair or architectural details compared to PNDM or DEIS at low step counts (8-12 steps).
- Adaptability: The method remains robust even when additional noise is introduced, thanks to a tunable hyperparameter $\lambda$ that scales the error-robustness logic.
Conclusion
ERA-Solver represents a significant step forward in training-free fast sampling for diffusion models. By replacing fixed-coefficient solvers with an adaptive, error-robust approach, it achieves high-quality image generation in as few as 10 steps. While it introduces a minor computational overhead for buffer management, the gains in sampling efficiency and image fidelity make it a powerful tool for real-world diffusion applications.
Summary updated