MPQ-DM: Mixed Precision Quantization for Extremely Low Bit Diffusion Models

Weilun Feng, Haotong Qin, Chuanguang Yang, Zhulin An, Libo Huang, Boyu Diao, Fei Wang, Renshuai Tao, Yongjun Xu, Michele Magno

Introduction

Diffusion Models (DMs) have revolutionized generative AI, yet their deployment remains constrained by significant computational and memory requirements. While quantization offers a path toward efficiency, standard techniques often lead to catastrophic performance collapse when precision drops below 8 bits. This paper introduces MPQ-DM, a framework designed to enable high-quality image generation at extremely low bit-widths (2-4 bits) by addressing weight outliers and activation instability.

The Challenge of Low-Bit Quantization

The transition from 32-bit floating point to low-bit integers in DMs faces two primary hurdles. First, weight outliers—a small number of salient channels with extreme values—dominate the numerical range in low-bit settings, leading to high quantization errors for the majority of "normal" weights. Second, activation instability occurs during the iterative denoising process. Standard distillation methods, which attempt to match quantized outputs to full-precision outputs using L2 loss, fail because the discrete numerical space of a 2-bit model is fundamentally incompatible with the continuous space of a 32-bit model.

Proposed Methodology: MPQ-DM

To overcome these challenges, MPQ-DM employs two primary strategies: Outlier-Driven Mixed Quantization (OMQ) and Time-Smoothed Relation Distillation (TRD).

The MPQ-DM framework: Outlier-Driven Mixed Quantization (left) identifies salient channels via Kurtosis, while Time-Smoothed Relation Distillation (right) stabilizes training across time steps.

1. Outlier-Driven Mixed Quantization (OMQ)

OMQ moves away from uniform bit-widths, instead redistributing bits based on channel statistics. By using Kurtosis—a measure of the "tailedness" of a distribution—the system identifies outlier-heavy channels that are difficult to quantize. These "salient" channels are assigned higher precision (e.g., $n+1$ bits), while "unsalient" channels are compressed further (e.g., $n-1$ bits). This intra-layer mixed precision maintains the target average bit-width while significantly reducing the overall quantization error. Additionally, a channel-wise scaling factor is applied to balance the difficulty between weight and activation quantization.

2. Time-Smoothed Relation Distillation (TRD)

Training ultra-low-bit models requires a more robust distillation target than simple pixel-wise matching. TRD introduces two innovations:

  • Time Smoothing: By fusing intermediate features from $N$ consecutive time steps, the model learns a stable denoising trajectory rather than reacting to the noise of individual discretized steps.
  • Relation Distillation: Instead of matching raw numerical values, TRD matches the relationships (similarity maps) between different positions in the feature map using KL divergence. This allows the quantized model to capture the structural essence of the full-precision model without being penalized for physical numerical differences.

Experimental Results

The authors evaluated MPQ-DM across several benchmarks, including LSUN-Bedrooms, ImageNet, and MS-COCO for Stable Diffusion v1.4.

High-quality image generation results achieved by MPQ-DM at extremely low bit-widths, demonstrating clear structure and texture compared to collapsed baselines.

Performance Gains

In extreme "W2A4" (2-bit weights, 4-bit activations) configurations, where most existing methods collapse into noise, MPQ-DM achieved a 27.11 FID on ImageNet. On the LSUN-Bedrooms dataset (W3A4), it reached an FID of 14.80, a substantial improvement over the previous state-of-the-art (EfficientDM) at 20.39. Overall, the method demonstrates a 58% FID improvement over existing baselines in ultra-low-bit scenarios.

Stable Diffusion Integration

When applied to Stable Diffusion v1.4, MPQ-DM improved the CLIP Score by over 0.3 points compared to other low-bit quantization methods. This indicates that the model retains a superior understanding of text-to-image alignment even under heavy compression.

Conclusion

MPQ-DM represents a significant step forward in making Diffusion Models accessible on edge devices. By leveraging Kurtosis-driven mixed precision and time-smoothed relation distillation, it prevents the performance collapse typical of ultra-low-bit quantization. While intra-layer mixed precision presents some hardware implementation challenges, the algorithmic success of MPQ-DM paves the way for future research into 1-bit binarization, further reducing the barrier to entry for high-performance generative AI.

Summary updated

BibTeX
@inproceedings{feng2025mpq,
  author = {Weilun Feng and Haotong Qin and Chuanguang Yang and Zhulin An and Libo Huang and Boyu Diao and Fei Wang and Renshuai Tao and Yongjun Xu and Michele Magno},
  title = {{MPQ-DM: Mixed Precision Quantization for Extremely Low Bit Diffusion Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i16.33823},
}
Figure