NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AccuQuant: Simulating Multiple Denoising Steps for Quantizing Diffusion Models

Seunghoon Lee, Jeongwoo Choi, Byunggwan Son, Jaehyeon Moon, Jeimin Jeon, Bumsub Ham

Introduction

Diffusion models have revolutionized generative AI, enabling high-fidelity image synthesis across various domains. However, their iterative nature—requiring dozens or hundreds of forward passes through a neural network—makes them computationally expensive and memory-intensive. Post-Training Quantization (PTQ) is a common strategy to mitigate these costs by reducing weight and activation precision (e.g., from 32-bit floating point to 4-bit or 8-bit integers).

While PTQ has been successful in traditional discriminative models, it faces a unique challenge in diffusion: error accumulation. Standard PTQ methods typically calibrate quantization parameters by looking at a single denoising step in isolation. In practice, however, a small quantization error at one step is fed back into the model in the next, causing errors to "snowball" over the sampling trajectory. AccuQuant addresses this by simulating multiple denoising steps during calibration, achieving state-of-the-art results with a constant $O(1)$ memory footprint.

The Problem: Accumulated Error

Diffusion models generate images by iteratively removing noise. The authors demonstrate that while the "step error" (the error introduced within a single denoising operation) remains relatively constant throughout the process, the "accumulated error" grows drastically. Because standard PTQ ignores the sequential dependencies of the denoising chain, the quantized model's output often drifts significantly from the full-precision (FP32) trajectory, leading to visual artifacts and poor FID scores.

The AccuQuant Method

AccuQuant introduces a calibration framework that accounts for the multi-step nature of diffusion without the prohibitive memory costs usually associated with backpropagating through long sequences.

1. Multi-Step Simulation

Instead of optimizing for a single step, AccuQuant groups $M$ consecutive denoising steps together. The calibration objective is to minimize the discrepancy between the final output of this group in the FP32 model versus the quantized model. This approach explicitly captures how quantization errors propagate and interact across the sequence.

2. $O(1)$ Memory Gradient Approximation

Optimizing across multiple steps typically requires storing intermediate feature maps for backpropagation, resulting in $O(M)$ memory complexity. For large-scale models like Stable Diffusion, this is often impossible on standard hardware.

The authors discovered that the gradient used for optimization is dominated by the ratio of noise scheduling coefficients. Conversely, the complex Jacobian term—which accounts for the bulk of the memory usage—is not only computationally expensive but also "noisy," often hindering stable convergence. By approximating the gradient using only scalar coefficients and omitting the Jacobian, AccuQuant reduces memory complexity to $O(1)$. This approximation surprisingly leads to more stable optimization and better final image quality.

3. Optimized Objective Function

AccuQuant utilizes a specialized loss function ($L_{AccuQuant}$) to calibrate quantization parameters, such as step-sizes (scales). This allows the model to adapt its quantization levels to the specific dynamics of the denoising trajectory.

Experimental Evaluation

The researchers evaluated AccuQuant across a diverse set of benchmarks and architectures:

  • Unconditional Generation: CIFAR-10, LSUN-Churches, and LSUN-Bedrooms (DDIM and LDM).
  • Class-Conditional Generation: ImageNet ($256 \times 256$) using LDM-4.
  • Text-to-Image: MS-COCO using Stable Diffusion v1.4.
  • Downstream Tasks: Gaussian deblurring and style transfer.

Key Insights

  • The "Goldilocks" Group Size: The choice of $M$ (the number of steps in a group) is critical. If $M$ is too small (e.g., 1), the model fails to capture error accumulation. If $M$ is too large (e.g., 100), the optimization becomes unstable. The authors found that dividing the total sampling steps into 10–20 groups provides the best balance.
  • Robustness at Low Bit-Widths: AccuQuant shows significant resilience in extreme quantization scenarios. For instance, on LSUN-Churches with 3-bit weights and 6-bit activations (3/6-bit), AccuQuant maintained an FID of 8.91, while previous state-of-the-art methods like Q-Diffusion collapsed to an FID of 47.49.
  • Superior Text-to-Image Performance: On Stable Diffusion, AccuQuant achieved the best FID2FP32 score (10.99) and the highest CLIP score (26.85), indicating that it preserves both the aesthetic quality and the semantic alignment of the original model.

Conclusion and Future Work

AccuQuant represents a significant step forward in making high-quality diffusion models efficient enough for edge devices. By shifting the focus from single-step accuracy to trajectory-level consistency, it overcomes the primary bottleneck of diffusion quantization.

Future research may explore adaptive grouping strategies, where the number of steps simulated varies depending on the denoising stage (e.g., more focus on early structural steps versus late refinement steps). Additionally, while AccuQuant is highly effective for standard diffusion, its benefits for "distilled" few-step models (1–2 steps) remain an open area for investigation.

Summary updated

BibTeX
@inproceedings{lee2025accuquant,
  author = {Seunghoon Lee and Jeongwoo Choi and Byunggwan Son and Jaehyeon Moon and Jeimin Jeon and Bumsub Ham},
  title = {{AccuQuant: Simulating Multiple Denoising Steps for Quantizing Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Or1pDhbSag},
}
Figure