Quantizing Diffusion Models from a Sampling-Aware Perspective

Qian Zeng, Jie Song, Yuanyu Wan, Huiqiong Wang, Mingli Song
5/4/2025
1 citation
cs.CV
diffusion-flowquantization-pruning

Official code: TaylorJocelyn/Sampling-aware-Quantization (5 stars, last commit 2026-03-27).

Abstract

Diffusion models have recently emerged as the dominant approach in visual generation tasks. However, the lengthy denoising chains and the computationally intensive noise estimation networks hinder their applicability in low-latency and resource-limited environments.

Show full abstract

Previous research has endeavored to address these limitations in a decoupled manner, utilizing either advanced samplers or efficient model quantization techniques. In this study, we uncover that quantization-induced noise disrupts directional estimation at each sampling step, further distorting the precise directional estimations of higher-order samplers when solving the sampling equations through discretized numerical methods, thereby altering the optimal sampling trajectory. To attain dual acceleration with high fidelity, we propose a sampling-aware quantization strategy, wherein a Mixed-Order Trajectory Alignment technique is devised to impose a more stringent constraint on the error bounds at each sampling step, facilitating a more linear probability flow. Extensive experiments on sparse-step fast sampling across multiple datasets demonstrate that our approach preserves the rapid convergence characteristics of high-speed samplers while maintaining superior generation quality. Code will be made publicly available soon.

View on arXivView PDF

Code Implementations(1)

50Mar 27, 20268 months ago

Similar Papers

Cite this paper

@article{zeng2025quantizing,
  title  = {Quantizing Diffusion Models from a Sampling-Aware Perspective},
  author = {Qian Zeng and Jie Song and Yuanyu Wan and Huiqiong Wang and Mingli Song},
  year   = {2025},
  eprint = {2505.02242},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.02242v1},
  journal = {CVPR 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.02242.svg)](https://codeofpaper.com/paper/2505.02242)

Discussion