arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.08180cs.CVcs.LG
收藏

D$^2$-DPM:量化扩散概率模型的双重去噪

D$^2$-DPM: Dual Denoising for Quantized Diffusion Probabilistic Models

Zhejiang University(浙江大学);Alibaba Group(阿里巴巴集团)

Qian Zeng, Jie Song, Han Zheng, Hao Jiang, Mingli Song

AI总结:

针对扩散模型量化后量化噪声导致的均值和方差偏差问题,提出双重去噪机制D2-DPM,在每个时间步先去除量化噪声再通过逆扩散迭代去噪,在实现3.99倍压缩和11.67倍加速的同时生成质量优于全精度模型。

摘要:

扩散模型在图像生成中取得了尖端性能。然而,其冗长的去噪过程和计算密集型的得分估计网络阻碍了它们在低延迟和资源受限场景中的可扩展性。训练后量化(PTQ)无需重新训练即可压缩并加速扩散模型,但不可避免地引入额外的量化噪声,导致均值和方差偏差。在本工作中,我们提出D2-DPM,一种双重去噪机制,旨在精确减轻量化噪声对噪声估计网络的不利影响。具体而言,我们首先将量化噪声对采样方程的影响分解为两个部分:均值偏差和方差偏差。均值偏差改变采样方程的漂移系数,影响轨迹趋势,而方差偏差放大扩散系数,影响采样轨迹的收敛。因此,提出的D2-DPM被设计为在每个时间步对量化噪声进行去噪,然后通过逆扩散迭代对含噪样本进行去噪。实验结果表明,D2-DPM实现了优越的生成质量,FID比全精度模型低1.42,同时实现3.99倍压缩和11.67倍位操作加速。

英文摘要:

Diffusion models have achieved cutting-edge performance in image generation. However, their lengthy denoising process and computationally intensive score estimation network impede their scalability in low-latency and resource-constrained scenarios. Post-training quantization (PTQ) compresses and accelerates diffusion models without retraining, but it inevitably introduces additional quantization noise, resulting in mean and variance deviations. In this work, we propose D2-DPM, a dual denoising mechanism aimed at precisely mitigating the adverse effects of quantization noise on the noise estimation network. Specifically, we first unravel the impact of quantization noise on the sampling equation into two components: the mean deviation and the variance deviation. The mean deviation alters the drift coefficient of the sampling equation, influencing the trajectory trend, while the variance deviation magnifies the diffusion coefficient, impacting the convergence of the sampling trajectory. The proposed D2-DPM is thus devised to denoise the quantization noise at each time step, and then denoise the noisy sample through the inverse diffusion iterations. Experimental results demonstrate that D2-DPM achieves superior generation quality, yielding a 1.42 lower FID than the full-precision model while achieving 3.99x compression and 11.67x bit-operation acceleration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑