arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.05746cs.CV
收藏

HQ-DM:基于单Hadamard变换的量化感知训练用于低比特扩散模型

HQ-DM: Single Hadamard Transformation-Based Quantization-Aware Training for Low-Bit Diffusion Models

University of Science and Technology of China(中国科学技术大学)

Shizhuo Mao, Hongtao Zou, Qihu Xie, Song Chen, Yi Kang

AI总结:

HQ-DM通过单Hadamard变换提升低比特扩散模型的量化性能,显著提高Inception Score

摘要:

扩散模型在图像生成领域展现了显著的应用价值。然而,其高计算和内存成本对部署构成了挑战。模型量化已成为减少存储开销和加速推理的有前途的解决方案。然而,现有扩散模型的量化方法在推理过程中难以缓解激活矩阵中的异常值,导致在低比特量化场景下性能显著下降。为此,我们提出了HQ-DM,一种新的量化感知训练框架,该框架对激活矩阵应用单Hadamard变换。这种方法有效减少了激活异常值,同时在量化下保持模型性能。与传统双Hadamard变换相比,我们提出的方法通过无缝支持INT卷积操作并防止权重异常值的放大,具有独特的优势。在使用LDM-4模型对ImageNet 256x256数据集进行条件生成时,我们的W4A4和W4A3量化方案分别将Inception Score提高了12.8%和467.73%,优于现有最先进方法。

英文摘要:

Diffusion models have demonstrated significant applications in the field of image generation. However, their high computational and memory costs pose challenges for deployment. Model quantization has emerged as a promising solution to reduce storage overhead and accelerate inference. Nevertheless, existing quantization methods for diffusion models struggle to mitigate outliers in activation matrices during inference, leading to substantial performance degradation under low-bit quantization scenarios. To address this, we propose HQ-DM, a novel Quantization-Aware Training framework that applies Single Hadamard Transformation to activation matrices. This approach effectively reduces activation outliers while preserving model performance under quantization. Compared to traditional Double Hadamard Transformation, our proposed scheme offers distinct advantages by seamlessly supporting INT convolution operations while preventing the amplification of weight outliers. For conditional generation on the ImageNet 256x256 dataset using the LDM-4 model, our W4A4 and W4A3 quantization schemes improve the Inception Score by 12.8% and 467.73%, respectively, over the existing state-of-the-art method.

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

↑