TL;DR
Fast sampling in diffusion models often relies on ordinary differential equation (ODE) solvers like the Diffusion Exponential Integrator Sampler (DEIS), which depends on a score function reparameterization to minimize polynomial extrapolation error across time steps. This paper identifies that standard DEIS reparameterization fluctuates sharply near the very end of sampling ($t \to 0$), introducing substantial integration error at low numbers of function evaluations (NFEs). By normalizing the score at inference using its empirical mean absolute value precomputed offline, the proposed method (DEIS-SN) significantly reduces this error, improving generation quality and FID scores with zero additional inference overhead.
What Problem Does This Paper Address?
Generating images with diffusion models requires reversing a continuous noising process. Solving this reverse process via probability flow ODEs typically takes tens or hundreds of sequential neural network evaluations (NFEs), which causes high latency.
Fast ODE solvers such as DEIS tackle this by separating the ODE into a linear component (which is integrated analytically) and a non-linear score component (which is approximated via polynomial extrapolation over discrete intervals $[t_{i-1}, t_i]$). To keep extrapolation errors low, DEIS reparameterizes the score function so that the integrand remains as flat and constant over time as possible. Vanilla DEIS scales the score by the forward process noise standard deviation, $\sigma_t$. However, the authors observe that this quantity is far from constant near the end of sampling ($t \to 0$). At very low NFEs (e.g., 5 to 15 steps), this late-stage fluctuation introduces severe integration errors that degrade image quality.
Methods
-
Empirical Score Normalization (DEIS-SN): Rather than reparameterizing the predicted score $s_\theta(x_t, t)$ with the analytical noise schedule scale $K_t = \sigma_t$, the authors propose setting: $$K_t = \frac{1}{\bar{s}_\theta(t)}$$ where $\bar{s}_\theta(t)$ is the empirical average absolute per-pixel score estimate at time $t$.
-
Offline Profile Extraction: $\bar{s}_\theta(t)$ is computed once offline by running high-NFE sampling (1000 uniform steps) across a small batch of 256 generated images. Continuous values across arbitrary time steps are obtained via simple linear interpolation.
- Numerical Stabilization (Truncation): As $t \to 0$, $\sigma_t \to 0$, causing empirical score estimates to surge and risk numerical instability. The authors truncate $\bar{s}_\theta(t)$ below a small threshold, enforcing $\bar{s}_\theta(t) = \bar{s}_\theta(0.005)$ for all $t < 0.005$.
- Plug-and-Play Integration: The computed $K_t$ is substituted directly into the standard time-based Adams-Bashforth version of DEIS (DEIS-tAB3) without altering network weights or adding runtime compute during generation.
Datasets
The authors evaluate the approach using standard image generation benchmarks:
- CIFAR-10 ($32 \times 32$)
- LSUN-Church ($64 \times 64$)
No new datasets or benchmarks are introduced.
Key Insights and Ideas
- The Late-Stage Drift: While $\bar{s}_\theta(t) \cdot \sigma_t$ remains virtually constant across the early and middle phases of the reverse diffusion trajectory, it shifts dramatically near $t = 0$. Because standard DEIS assumes this quantity is smooth enough for low-order polynomial extrapolation, large step sizes near the end introduce substantial integration drift.
- Zero-Inference Cost Fix: By profiling the score magnitudes offline, the normalization values $K_t$ can be precalculated. The solver coefficients $C_{ij}$ are integrated offline, meaning DEIS-SN introduces no extra neural network passes or inference latency.
- High-Frequency Detail Recovery: Because the modification only diverges from vanilla DEIS near $t \approx 0$—where high-level semantic layout is already established—the resulting improvements concentrate almost entirely on sharp, fine-grained details (e.g., crisp vehicle wheels and structural edges).
Key Results
DEIS-SN demonstrates consistent Fréchet Inception Distance (FID 50K) improvements over vanilla DEIS (DEIS-tAB3), DDIM, and Euler solvers at low NFEs:
- CIFAR-10:
- At 10 NFEs, FID drops from 6.44 (vanilla DEIS) to 5.57 (DEIS-SN).
- Both DEIS variants dramatically outperform DDIM and Euler solvers at low NFEs.
- LSUN-Church ($64 \times 64$):
- At 10 NFEs, FID improves from 5.90 (vanilla DEIS) to 4.95 (DEIS-SN).
- Asymptotic Convergence: At higher step counts (NFEs $\ge 40$), the step sizes become sufficiently small that discretization errors diminish, and DEIS-SN converges to match vanilla DEIS performance.
Limitations and Future Work
- Heuristic Truncation: To prevent instability from score explosion as $\sigma_t \to 0$, the method relies on a fixed cut-off threshold ($t < 0.005$) that must be set empirically.
- Isotropic Assumption: The current formulation is derived for isotropic noise schedules (scalar variances) and does not directly support full covariance or non-isotropic diffusion setups.
- Offline Prerequisite: Applying the method to a new model checkpoint requires generating an initial batch of 256 trajectories at high NFEs to log the score calibration statistics.
- Future Directions: The authors suggest generalizing $K_t$ to matrix transformations (such as in the frequency domain) or parameterizing and optimizing $K_t$ directly to maximize perceptual quality at ultra-low NFEs.
Summary updated