Grafy News
Try Grafy free

Precision Outweighs Steps in Efficient Diffusion Sampling

Researchers found that using more denoising steps at lower precision is more effective than fewer steps at high precision for diffusion models.

Illustration for the news story: Precision Outweighs Steps in Efficient Diffusion SamplingSource: Grafy Research Lab

Optimizing the efficiency of diffusion models requires a strategic choice between the number of sampling steps and the numerical precision of each step. New research suggests that when operating under a fixed compute budget, prioritizing more steps at lower precision is generally more effective than running fewer steps at high precision.

Why do deployed diffusion models differ from trained ones?

When a diffusion model is moved from a research environment to a production setting, it is rarely used in its original, full-precision (FP) state. According to researchers Arnab Sanyal and Sandeep P. Chinchali, models are often subjected to quantization, pruning, or distillation to make them faster and lighter. These processes turn the original model into an "approximate denoiser," meaning it introduces a small error Δ\Delta relative to the original model.

Despite these changes, most deployment pipelines continue to use the sampling schedule—the specific sequence of noise levels at which the model is evaluated—that was originally tuned for the full-precision version. This raises the question of whether these compressed models require their own unique schedules to maintain quality.

Is a new sampling schedule necessary for compressed models?

Theoretical analysis and experiments conducted by Sanyal and Chinchali suggest that re-tuning the schedule for a compressed model offers diminishing returns. The authors demonstrate that the exact strided evidence lower bound (ELBO) of a diffusion sampler is separable across steps.

They derived a mathematical relationship showing that reusing a full-precision schedule only affects the schedule-dependent part of the bound by a factor related to the coefficient of variation of the error. In practical tests on models like LLaDA-8B and SDXL, the researchers found that creating custom schedules via dynamic programming or trajectory matching provided no significant gain over existing hand-designed schedules. Essentially, the impact of the schedule is "second order," meaning it is much less significant than other optimization choices.

Should we prioritize bits or steps?

While the schedule is a secondary concern, the choice of numerical precision is a primary factor in performance. The researchers framed this as an "equal-cost" problem: if you have a limited amount of compute power, should you spend it on many steps with low precision or a few steps with high precision?

Figure 1 shows this trade-off using a PixArt-α\alpha model. With a fixed budget of 40 units, a user could choose 6 steps at FP16 precision, 10 steps with 8-bit activations, or 13 steps with MXFP4 activations. The study found that precision is "first order," meaning it has a much larger impact on the final output quality than the schedule does.

Figure 1: One budget, three ways to spend it. At a budget of B=40 units, a PixArt-α model with 4-bit weights (W4) can run 6 FP16 steps, 10 steps with 8-bit activations, o…
Figure 1. One budget, three ways to spend it. At a budget of B=40 units, a PixArt-α model with 4-bit weights (W4) can run 6 FP16 steps, 10 steps with 8-bit activations, or 13 steps with MXFP4 activations. The 8-bit chain wins on every backbone we tested (Fig. 2), and the 4-bit chain loses on both 1024-pixel backbones (PixArt-α and SDXL). Block width is proportional to the per-step cost; the thumbnails share… Figure 1 of “STORK: STeps Or Reduced-precision Kernels?” by Arnab Sanyal, Sandeep P. Chinchali (arXiv.org), CC BY 4.0.

Figure 2 illustrates this across six different text-to-image backbones. The results were consistent: choosing 8-bit activations allowed for more steps within the same budget, which decisively outperformed fewer FP16 steps. This advantage was measured using both Kernel Inception Distance (KID) and PickScore. However, the researchers noted that the advantage of 8-bit precision narrows as the total compute budget increases, and extremely low precision, such as 4-bit MXFP4 activations, can actually lead to a loss in quality on certain high-resolution backbones.

Figure 2: Bits or steps on six backbones (Chen et al., 2024b; Podell et al., 2024; Rombach et al., 2022) at B=40. Each cell is option minus FP16 at equal cost. Colour enc…
Figure 2. Bits or steps on six backbones (Chen et al., 2024b; Podell et al., 2024; Rombach et al., 2022) at B=40. Each cell is option minus FP16 at equal cost. Colour encodes the winner (crimson: the quantized option at more steps; slate: FP16 at fewer steps; symmetric-log scale), and a dot after a number marks a CI that contains 0. 8-bit activations (A8) win in all 12 cases on both metrics. MXFP6 wins on S… Figure 2 of “STORK: STeps Or Reduced-precision Kernels?” by Arnab Sanyal, Sandeep P. Chinchali (arXiv.org), CC BY 4.0.

How does quantization affect image quality metrics?

One nuance discovered in the research involves how different evaluation metrics react to quantization. The researchers noted that quantization can sometimes induce a "style shift." For example, moving to 8-bit activations might push an image toward a flatter, more illustrated style.

According to the study, this shift can cause a discrepancy between metrics; KID might reward this change, while PickScore might not. This highlights the importance of using multiple metrics when evaluating the efficiency of compressed AI models, as a single metric might not capture the full impact of the precision-versus-step trade-off.

How to explore these research topics in Grafy

For researchers looking to dive deeper into the mathematical proofs or the experimental data presented in this paper, Reader provides an ideal environment. You can upload the full PDF of the STORK paper to engage with the complex derivations regarding the strided ELBO and the square-root density law. Additionally, if you are interested in how different models perform in practice, Chat allows you to compare various model outputs side by side to observe qualitative differences in generation quality.

Frequently asked questions

Does a compressed diffusion model need a custom sampling schedule?

No, a custom schedule is generally not necessary. The research shows that the error introduced by quantization is a second-order effect on the sampling bound. Experiments on models like SDXL and LLaDA-8B demonstrated that using a standard, hand-designed schedule is nearly as effective as using schedules specifically optimized for the perturbed, approximate denoiser.

Is it better to use more steps or higher precision for a fixed budget?

It is generally better to use more steps at a lower precision, specifically 8-bit activations. The study found that at an equal compute cost, spending the budget on more denoising steps with 8-bit precision consistently outperformed fewer steps at full FP16 precision across multiple backbones, though 4-bit precision was found to be less effective.

Why does precision matter more than the sampling schedule?

Precision is considered a first-order effect, meaning it has a much more significant impact on the error bounds and final image quality than the schedule. While the schedule only affects the model's performance by a small quadratic factor, changing the activation precision can cause massive shifts in metrics like KID and PickScore, making it the dominant factor in efficiency optimization.


Source: Grafy Research Lab — STORK: STeps Or Reduced-precision Kernels?