Error Propagation Mechanisms and Compensation Strategies for Quantized Diffusion Models
Songwei Liu, Chao Zeng, Chenqian Yan, Xurui Peng, Wang, Fangmin Chen, Xing Mei
Overview
Diffusion models have revolutionized generative artificial intelligence, achieving state-of-the-art results across image and video synthesis tasks. However, their inference pipelines are computationally intensive and memory-heavy, requiring numerous sequential model evaluations to generate a single sample. To make deployment feasible in resource-constrained environments, post-training quantization (PTQ) is commonly applied to reduce weight and activation bit-widths. Unfortunately, aggressive low-bit quantization—such as W4A4 (4-bit weights and 4-bit activations)—frequently introduces noticeable artifacts, degrades texture fidelity, blurs edges, and distorts local structures.

Key moments
- 0:00 Introduction and overview of diffusion model quantization
- 1:33 Motivation: challenges of low-bit quantization in diffusion models
- 2:30 Problem analysis: error accumulation and trajectory drift
- 3:28 Key definitions: per-step error and cumulative drift
- 4:16 TCEC method: lightweight online correction framework
- 5:32 Empirical analysis and observations on quantization errors
- 6:28 Visual and quantitative results for images and videos
- 7:31 Conclusion and summary of findings
Error Propagation Mechanisms and Compensation Strategies for Quantized Diffusion Models
Speakers: Songwei Liu; Chao Zeng; Chenqian Yan; Xurui Peng; Wang; Fangmin Chen; Xing Mei
Conference: ICML
YouTube: https://slideslive.com/39083614
Overview
Diffusion models have revolutionized generative artificial intelligence, achieving state-of-the-art results across image and video synthesis tasks. However, their inference pipelines are computationally intensive and memory-heavy, requiring numerous sequential model evaluations to generate a single sample. To make deployment feasible in resource-constrained environments, post-training quantization (PTQ) is commonly applied to reduce weight and activation bit-widths. Unfortunately, aggressive low-bit quantization—such as W4A4 (4-bit weights and 4-bit activations)—frequently introduces noticeable artifacts, degrades texture fidelity, blurs edges, and distorts local structures.
This talk addresses a fundamental limitation in existing low-bit quantization approaches for diffusion models. Traditional PTQ methods evaluate and minimize error on a per-step basis, treating each denoising iteration as an independent optimization problem. This paper demonstrates that quantization error in iterative diffusion sampling is path-dependent and cumulative; an error introduced at an early time step shifts the latent state, causing subsequent steps to evaluate the quantized model on corrupted, out-of-distribution inputs. To solve this, the authors introduce TCEC, a lightweight online correction framework that models path-level cumulative error and applies real-time compensation without retraining the underlying diffusion model.
Background
▶ Watch: Introduction and overview of diffusion model quantization (0:00)
The systems and machine learning communities have heavily invested in accelerating generative models through low-bit quantization. While weight-only quantization is mature, quantizing both weights and activations (W4A4 or W8A8) yields substantial memory bandwidth reductions and computational speedups on modern hardware accelerators. Applying these techniques to autoregressive models or standard feedforward networks is well-studied, but diffusion models present unique systemic challenges due to their recursive sampling architecture.
In standard diffusion sampling, generation proceeds via an iterative reverse stochastic differential equation or ordinary differential equation solver. Each denoising step depends directly on the output of the previous step. Prior post-training quantization techniques for diffusion models have predominantly focused on local objectives—minimizing the discrepancy between full-precision and quantized outputs for a single model call. While this reduces immediate prediction noise, it ignores the recursive nature of the sampler. When a quantized model call outputs a slightly shifted prediction, the updated latent state deviates from the clean full-precision trajectory. As sampling continues, these deviations compound, causing the trajectory to drift significantly away from the ideal path. Mitigating this drift without incurring prohibitive computational overhead has remained an open challenge in efficient ML systems design.
Key Findings
▶ Watch: Problem analysis: error accumulation and trajectory drift (2:30)
The primary finding of this work is that quantization error in diffusion models is not purely stochastic or isolated to individual steps; rather, it exhibits structured accumulation along the sampling trajectory. Key discoveries and results include:
- Structured Error Propagation: Quantization errors across denoising steps are not random noise. They display deterministic patterns tied to the temporal dynamics of the sampling process, heavily concentrating in high-frequency regions such as edges, fine textures, and small objects.
- Trajectory Drift: A local per-step quantization error alters the subsequent latent state, shifting future evaluations off the clean full-precision trajectory and compounding error over the long horizon of the reverse process.
- Quantitative Improvements on SDXL: Applying TCEC to SDXL (Stable Diffusion XL) under aggressive W4A4 quantization improves Peak Signal-to-Noise Ratio (PSNR) from approximately 21.0 to 21.9, indicating significantly higher fidelity to full-precision outputs.
- Video Diffusion Gains: For video generation models, W8A8 quantization paired with TCEC improves quality scores by approximately 2.08 points, while W4A8 configurations yield an improvement of roughly 3.9 points.
- Near-Zero Latency Overhead: The proposed online correction mechanism adds less than 0.5% extra latency to the inference pipeline, preserving the speed and memory advantages of low-bit quantization.
Technical Deep Dive
▶ Watch: TCEC method: lightweight online correction framework (4:16)
To analyze and rectify trajectory drift, the authors formalize the mechanics of error propagation using three core mathematical quantities:
- Per-step Quantization Error ($\epsilon$): The instantaneous difference between the output of the quantized model and the full-precision model at a single time step.
- Cumulative Error ($\delta$): The total divergence between the latent state produced by the quantized sampler and the latent state produced by the full-precision sampler, encapsulating the compounded effects of all preceding steps.
- Correction Term ($\Delta$): An opposite adjustment applied during sampling to counteract the estimated cumulative error and pull the latent trajectory back toward the full-precision path.
The recursive accumulation of error is governed by the propagation of previous latent shifts combined with the newly injected per-step quantization error. While an exact closed-form expression for the cumulative error can theoretically be derived, calculating it directly requires evaluating expensive recursive matrix products, Jacobian-related terms, and long-horizon summations across numerous time steps. Computing these terms precisely during real-time inference would negate the speedups gained from quantization.
To make the approach practical, the authors design TCEC with two key approximations:
- Local Temporal Weighting: Exploiting the empirical observation that temporally adjacent time steps exert the strongest influence on current error dynamics.
- Cached Channel-Wise Factors: Estimating per-step errors using lightweight, pre-computed channel-wise scaling factors that require minimal storage and negligible computational cycles.
This design enables TCEC to operate entirely online during the sampling loop. It requires no retraining or fine-tuning of the diffusion backbone and integrates seamlessly into existing low-bit inference pipelines.
Experimental Setup & Results
▶ Watch: Empirical analysis and observations on quantization errors (5:32)
The evaluation spans both image and video diffusion architectures, validating the versatility of the TCEC framework across distinct generative modalities.
- Datasets and Models: The image experiments utilize SDXL evaluated under W4A4 quantization. Video experiments test temporal diffusion pipelines under W8A8 and W4A8 quantization schemes.
- Metrics: Fidelity to full-precision generation is measured using PSNR (Peak Signal-to-Noise Ratio) for image tasks and standardized imaging quality score metrics for video generation tasks. Computational overhead is quantified via end-to-end latency impact.
- Headline Results:
- On SDXL (W4A4), TCEC raises PSNR from ~21.0 to 21.9.
- On video diffusion models under W8A8 quantization, quality scores improve by ~2.08.
- On video diffusion models under W4A8 quantization, quality scores improve by ~3.9.
- Ablation & Overhead Analysis: Visual evaluations confirm that uncorrected low-bit models suffer from degraded textures, blurred edges, and structural collapse, particularly in high-frequency visual zones. Integrating TCEC recovers structural stability and preserves fine details. Crucially, the runtime overhead of the correction mechanism is strictly bounded below 0.5%, demonstrating that path-level error compensation can be achieved with almost no compromise to hardware throughput.
Practical Implications
▶ Watch: Conclusion and summary of findings (7:31)
For infrastructure teams, model builders, and systems engineers deploying generative AI at scale, these findings offer a critical shift in perspective. Post-training quantization pipelines for diffusion models can no longer rely solely on greedy, single-step error minimization. When targeting extreme low-bit regimes like W4A4 for edge devices or high-throughput cloud servers, addressing cumulative trajectory drift is essential to prevent severe visual degradation.
TCEC provides a practical blueprint for systems designers: it demonstrates that path-level corrections can be modeled efficiently without heavy matrix operations or model retraining. By decoupling error correction from model training, engineering teams can apply this framework as a plug-and-play wrapper over existing quantized kernels, unlocking maximum memory bandwidth reduction and hardware acceleration while maintaining production-grade generation quality.
Key Takeaways
- Path-Dependent Accumulation: Quantization error in diffusion models is not isolated to individual steps; small local errors compound recursively, causing the sampling trajectory to drift away from the clean full-precision path.
- High-Frequency Sensitivity: Structured errors concentrate heavily in high-frequency image regions (edges, textures, small details), making low-bit quantization artifacts immediately visible to human observers.
- Plug-and-Play Correction: TCEC models cumulative drift and applies lightweight online corrections without requiring model retraining or altering core sampling loops.
- Significant Quality Recovery: The method successfully boosts PSNR on SDXL under W4A4 quantization and improves video generation quality scores by up to 3.9 points under W8A8/W4A8 configurations.
- Near-Zero Latency Cost: The computational overhead of the correction mechanism remains under 0.5%, preserving the hardware speedup and memory efficiency of low-bit quantization.
About the Speaker(s)
Authors: Songwei Liu, Chao Zeng, Chenqian Yan, Xurui Peng, Wang, Fangmin Chen, Xing Mei.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026