MPQ-DM: Mixed Precision Quantization for Extremely Low Bit Diffusion Models
Diffusion models have received wide attention in generation tasks. However, the expensive computation cost prevents the application of diffusion models in resource-constrained scenarios. Quantization emerges as a practical solution that significantly saves storage and computation by reducing the bit-width of parameters. However, the existing quantization methods for diffusion models still cause severe degradation in performance, especially under extremely low bit-widths (2-4 bit). The primary decrease in performance comes from the significant discretization of activation values at low bit quantization. Too few activation candidates are unfriendly for outlier significant weight channel quantization, and the discretized features prevent stable learning over different time steps of the diffusion model. This paper presents MPQ-DM, a Mixed-Precision Quantization method for Diffusion Models. The proposed MPQ-DM mainly relies on two techniques: (1) To mitigate the quantization error caused by outlier severe weight channels, we propose an Outlier-Driven Mixed Quantization (OMQ) technique that uses Kurtosis to quantify outlier salient channels and apply optimized intra-layer mixed-precision bit-width allocation to recover accuracy performance within target efficiency. (2) To robustly learn representations crossing time steps, we construct a Time-Smoothed Relation Distillation (TRD) scheme between the quantized diffusion model and its full-precision counterpart, transferring discrete and continuous latent to a unified relation space to reduce the representation inconsistency. Comprehensive experiments demonstrate that MPQ-DM achieves significant accuracy gains under extremely low bit-widths compared with SOTA quantization methods. MPQ-DM achieves a 58% FID decrease under W2A4 setting compared with baseline, while all other methods even collapse.
Authors
- Renshuai Tao (ORCID: https://orcid.org/0000-0001-5695-2009)
- Haotong Qin (ORCID: https://orcid.org/0000-0001-7391-7539)
- Chuanguang Yang (ORCID: https://orcid.org/0000-0001-5890-289X)
- Zhulin An (ORCID: https://orcid.org/0000-0002-7593-8293)
- Michele Magno (ORCID: https://orcid.org/0000-0003-0368-8923)
- Libo Huang
- Boyu Diao (ORCID: https://orcid.org/0000-0002-8360-7718)
- Yongjun Xu (ORCID: https://orcid.org/0000-0001-6647-0986)
- Wei Feng
- Fei Wang (ORCID: https://orcid.org/0000-0001-6344-1872)
Institutions
- Chinese Academy of Sciences (CN)
- Beijing Jiaotong University (CN)
- ETH Zurich (CH)
- Institute of Computing Technology (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- Proceedings of the AAAI Conference on Artificial Intelligence
- Published
- 2025-04-11
- DOI
- https://doi.org/10.1609/aaai.v39i16.33823
- Citations
- 2
- Primary Topic
- Image and Signal Denoising Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.86
Funders
- National Science Foundation
- Baidu
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung
- National Natural Science Foundation of China
- Chinese Academy of Sciences
- China Postdoctoral Science Foundation
- National Postdoctoral Program for Innovative Talents