MixDQ: Memory-Efficient Few-Step Text-to-Image Diffusion Models with Metric-Decoupled Mixed Precision Quantization

Tianchen Zhao, Xuefei Ning, Tongcheng Fang, En-hao Liu, Guyue Huang +4 more
2/14/2026

No official code found. Best implementation: thu-nics/MixDQ (50 stars, last commit 2024-11-27).

Abstract

Diffusion models have achieved significant visual generation quality. However, their significant computational and memory costs pose challenge for their application on resource-constrained mobile devices or even desktop GPUs. Recent few-step diffusion models reduces the inference time by reducing the denoising steps. However, their memory consumptions are still excessive. The Post Training Quantization (PTQ) replaces high bit-width FP representation with low-bit integer values (INT4/8) , which is an effective and efficient technique to reduce the memory cost. However, when applying to few-step diffusion models, existing quantization methods face challenges in preserving both the image quality and text alignment. To address this issue, we propose an mixed-precision quantization framework - MixDQ. Firstly, We design specialized BOS-aware quantization method for highly sensitive text embedding quantization. Then, we conduct metric-decoupled sensitivity analysis to measure the sensitivity of each layer. Finally, we develop an integer-programming-based method to conduct bit-width allocation. While existing quantization methods fall short at W8A8, MixDQ could achieve W8A8 without performance loss, and W4A8 with negligible visual degradation. Compared with FP16, we achieve 3-4x reduction in model size and memory cost, and 1.45x latency speedup.

View on arXivView PDF

Code Implementations(1)

thu-nics/MixDQCommunity76%

[ECCV24] MixDQ: Memory-Efficient Few-Step Text-to-Image Diffusion Models with Metric-Decoupled Mixed Precision Quantization

505C++, CudaJun 2, 20241 years ago
diffusion-modelsefficientmixed-precisionquantization

Similar Papers

Cite this paper

@article{zhao2026mixdq,
  title  = {MixDQ: Memory-Efficient Few-Step Text-to-Image Diffusion Models with Metric-Decoupled Mixed Precision Quantization},
  author = {Tianchen Zhao and Xuefei Ning and Tongcheng Fang and En-hao Liu and Guyue Huang and Zinan Lin and Shengen Yan and Guohao Dai and Yu Wang},
  year   = {2026},
  eprint = {2405.17873},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.17873},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.17873.svg)](https://codeofpaper.com/paper/2405.17873)

Discussion