Error Propagation Mechanisms and Compensation Strategies for Quantized Diffusion Models
Abstract
Lay Summary
Diffusion models can generate high-quality images, but they are costly to deploy because they refine images through many repeated denoising steps. Post-training quantization can speed up this process by using lower-precision computation, yet the small errors it introduces at each step can accumulate over the generation process and reduce image quality. This work analyzes how these quantization errors propagate in diffusion models and derives a closed-form description of the accumulated error. Based on this analysis, we propose a timestep-aware compensation method that corrects accumulated errors during sampling. Experiments on multiple image datasets show that the method improves existing quantization approaches with minimal extra cost, achieving a 1.2 PSNR gain over SVDQuant on SDXL W4A4 while adding less than 0.5% time overhead.