TL;DR
High-order numerical solvers for diffusion models often produce "divergence artifacts"—ugly, oversaturated pixels—when sampling with very few steps. This paper introduces two momentum-based techniques, Heavy Ball (HB) and Generalized Heavy Ball (GHVB), which expand the mathematical "stability regions" of these solvers. These methods enable significantly faster, high-quality image generation without the need for additional training or complex distillation.
The Problem: Divergence Artifacts in Fast Sampling
Diffusion models are the current gold standard for image generation, but they are notoriously slow because they require many iterative steps to "denoise" an image. To speed this up, researchers treat the sampling process as solving an Ordinary Differential Equation (ODE). While high-order solvers (like DPM-Solver or PLMS) can theoretically take larger steps, they often "break" when the step count is too low (e.g., 10–20 steps). This results in unrealistic, oversaturated regions known as divergence artifacts.
The authors identify the root cause as numerical instability. Every numerical solver has a "stability region"—a safe zone for the step size. As the order of the solver increases, this safe zone actually shrinks. When stepping outside this safe zone during low-step generation, the math diverges, causing pixel values to explode.
Proposed Methods: Momentum for Stability
The paper proposes two training-free techniques to "fatten" the stability regions of diffusion solvers:
- Heavy Ball (HB) Momentum Integration: Inspired by optimization techniques, the authors add a "velocity" term to existing solvers. Instead of updating the image based only on the current step's gradient, they use an exponential moving average of gradients. This smooths the sampling trajectory and significantly expands the stability region. However, a mathematical trade-off exists: adding standard HB momentum drops the solver's accuracy to 1st-order convergence.
- Generalized Heavy Ball (GHVB): To maintain high-order accuracy while gaining stability, the authors developed GHVB. This method acts as a "slider" between adjacent-order solvers (e.g., between 1st-order Euler and 2nd-order Adams-Bashforth). By tuning a damping coefficient ($\beta$), users can find the "sweet spot" that maximizes accuracy while staying within the stability region to avoid artifacts.
Key Insights
- Artifacts = Exploding Latents: The authors show that divergence artifacts are directly correlated with unusually high magnitudes in the latent variables. Brighter spots in a "latent magnitude map" predict where visual artifacts will appear in the final image.
- Stability over Accuracy: In the "low-step" regime (e.g., <15 steps), the error caused by numerical instability (divergence) is far more damaging to image quality than the error caused by using a lower-order (but more stable) approximation.
- Momentum as a Geometric Fix: Adding momentum effectively "stretches" the stability region of the solver along the real axis of the complex plane, allowing it to handle the large eigenvalues typically encountered in diffusion model Jacobians.
Results and Performance
The authors evaluated their methods across a wide variety of models and datasets, including ImageNet-256 (ADM, DiT-XL, MDT) and personalized Stable Diffusion fine-tunes (using LoRA and ControlNet).
- Artifact Suppression: Both HB and GHVB successfully eliminate artifacts in scenarios where state-of-the-art solvers like DPM-Solver++ and PLMS fail.
- Improved FID: On the ADM model (ImageNet), their GHVB 0.8 method achieved an FID of 37.43 at 10 steps, nearly doubling the performance of the standard DPM-Solver++ (FID 66.77).
- Efficiency Gains: In personalized image generation, the proposed methods reached high-quality thresholds with 16% to 42% fewer sampling steps than vanilla high-order solvers.
- Convergence: The authors provide formal proofs that HB momentum results in 1st-order convergence, while GHVB maintains the desired high-order convergence.
Limitations and Future Work
- Parameter Tuning: GHVB introduces a damping coefficient $\beta$. While the authors suggest $\beta=0.8$ as a good default, the optimal value can vary depending on the specific model and guidance scale used.
- Theoretical Gap: While the paper focuses on the stability of the ODE, diffusion sampling is often stochastic (SDE). Extending these momentum techniques to SDE solvers is a noted direction for future research.
Summary updated