Enhanced Diffusion Sampling via Extrapolation with Multiple ODE Solutions

Jinyoung Choi, Junoh Kang, Bohyung Han

Introduction

Diffusion Probabilistic Models (DPMs) have established themselves as the state-of-the-art for high-quality image generation. However, their iterative sampling process requires solving complex differential equations over dozens or hundreds of steps, making them computationally expensive.

To address this bottleneck, researchers have introduced RX-DPM (Richardson Extrapolation-based Diffusion Probabilistic Models). RX-DPM is a training-free, enhanced ODE-based sampling method that significantly improves the quality of generated images by reducing numerical errors. By cleverly applying a generalized version of Richardson extrapolation to ODE solvers, the method achieves faster convergence and better results—such as lower Fréchet Inception Distance (FID) scores—without increasing the number of network evaluations.

The Problem: Speed vs. Quality

The fundamental Achilles' heel of diffusion models is speed. Generating a single image involves multiple "Number of Function Evaluations" (NFEs), where each evaluation is a computationally heavy pass through a massive neural network.

When attempting to accelerate this process by taking fewer, larger steps, the solvers introduce truncation errors. These numerical inaccuracies accumulate over the sampling trajectory, ultimately leading to blurry or distorted images. While advanced solvers like DPM-Solver or PNDM mitigate this issue, a significant gap remains between fast sampling speeds and high-fidelity visual results.

Methodology: Grid-Aware Extrapolation

RX-DPM borrows its core concept from classical numerical analysis: Richardson extrapolation. Traditionally, this technique takes two numerical solutions of the same problem—one calculated on a coarse grid and one on a finer grid—and combines them linearly to cancel out the leading error terms.

Conceptual illustration of extrapolated estimation in RX-DPM

However, standard Richardson extrapolation assumes a uniform time grid, whereas diffusion models almost exclusively rely on non-uniform schedules (taking smaller steps near the "clean" image phase). To adapt this for DPMs, the authors made several key technical contributions:

  1. Grid-Aware Formulation: They derived a novel extrapolation formula tailored to arbitrary, non-uniform time-step schedules, guided by local truncation error derived from baseline sampling methods.
  2. "Free" Extra Solutions: Extrapolation typically requires at least two different estimates, which would normally double the computational workload (NFEs). RX-DPM circumvents this by storing and reusing intermediate predictions that are already calculated during multi-step sampling processes.
  3. Broad Compatibility: The formulation seamlessly integrates into various existing solvers, including Euler (creating RX-Euler), Runge-Kutta, and Adams-Bashforth (used in PNDM).

Key Insights

  • Order Matters: By applying extrapolation to the Euler method, the authors theoretically improved the global truncation error from $O(N^{-1})$ to $O(N^{-2})$. In practical terms, as more steps are added, the error drops significantly faster than with standard methods.
  • The "Free Lunch" of Sampling: Because RX-DPM relies on linear combinations of existing predictions, the computational overhead is negligible. The method incurs only a ~0.1% to 0.4% increase in runtime and a minimal increase in VRAM usage for storing intermediate states.
  • Grid Awareness is Crucial: The paper demonstrates that "naïve" Richardson extrapolation (using fixed coefficients) performs worse than their grid-aware version, highlighting that accounting for the specific timing of diffusion steps is vital.
  • Hybrid Potential: Extrapolation proves most effective in the middle-to-late stages of denoising. In the very early stages (where the image is mostly pure noise), standard interpolation methods like Heun’s method remain slightly more stable, suggesting a hybrid approach could yield optimal results.

Results and Performance

The researchers evaluated RX-DPM across several standard benchmarks, including CIFAR-10 (32x32), FFHQ (64x64), AFHQv2 (64x64), ImageNet (64x64), and COCO2014 (for Stable Diffusion V2 text-to-image prompts).

FID vs. NFE comparison showing RX-Euler outperforming standard Euler

The quantitative improvements are striking, particularly at low NFEs (fast sampling regimes):

  • FID Improvements: On CIFAR-10 with just 10 steps, RX-Euler achieved an impressive FID of 4.35, compared to the standard Euler's 15.88.
  • Stable Diffusion: When applied to Stable Diffusion V2, RX-DDIM consistently outperformed standard DDIM in both FID and CLIP scores. Qualitatively, the generated images appear sharper with more realistic textures, such as better rendering of complex backgrounds and fine details.
  • Generalization: The method consistently improved results across different backbones (EDM, DPM-Solver, PNDM), proving its versatility across various architectures.

Limitations and Future Work

While RX-DPM offers a robust enhancement for deterministic ODE solvers, it has limitations regarding SDE (stochastic) integration. Although the authors proposed a way to apply it to the deterministic component of SDE sampling, the full effects of stochasticity are not yet entirely captured by the extrapolation.

Furthermore, the higher-order generalizations rely on simplified assumptions about error accumulation. Deriving more precise error equations could further boost performance. Finally, optimizing which solver is used at specific points in the "noise-to-image" timeline remains an open area for refining early-stage stability.

Summary updated

BibTeX
@inproceedings{choi2025enhanced,
  author = {Jinyoung Choi and Junoh Kang and Bohyung Han},
  title = {{Enhanced Diffusion Sampling via Extrapolation with Multiple ODE Solutions}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=rCGleSgNBK},
}
Figure