arXiv:2505.02242cs.CV2025-05中稿 · ed被引 1

让扩散模型在量化后仍能快速生成高质量图像。

Sampling-Aware Quantization for Diffusion Models

  • 设计了感知采样过程的量化方法,约束每步误差以保持生成方向准确。
  • 在多数据集上实现高速采样,生成质量优于传统量化方案。
  • 适合需要低延迟与高保真的视觉生成应用,如移动端部署。

扩散模型已成为视觉生成任务的主流方法,但其漫长的去噪链和计算密集的噪声估计网络限制了其在低延迟、资源受限环境中的应用。以往研究通常分别采用先进采样器或高效量化技术应对这些挑战。本文发现,量化引入的噪声会破坏每一步的定向估计,尤其影响高阶采样器通过离散数值方法求解采样方程时的精确方向性,从而改变最优采样轨迹。为实现高保真下的双重加速,我们提出一种采样感知量化策略,通过混合阶次轨迹对齐技术,在每一步施加更严格的误差约束,促进更线性的概率流。在多个数据集上的稀疏步快速采样实验表明,该方法在保持高速采样收敛特性的同时,维持了优越的生成质量。代码已公开于:https://github.com/TaylorJocelyn/Sampling-aware-Quantization。

原文摘要 · Abstract (English)

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. 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 is publicly available at: https://github.com/TaylorJocelyn/Sampling-aware-Quantization.

扩散模型量化采样优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。