Lune

CVPR2024Top-tier venue

TFMQ-DM: Temporal Feature Maintenance Quantization for Diffusion Models

Yushi Huang, Ruihao Gong, Jing Liu, Tianlong Chen, Xianglong Liu

Abstract

The Diffusion model, a prevalent framework for image generation, encounters significant challenges in terms of broad applicability due to its extended inference times and substantial memory requirements. Efficient Post-training Quantization (PTQ) is pivotal for addressing these issues in traditional models. Different from traditional models, diffusion models heavily depend on the time-step t to achieve satisfactory multi-round denoising. Usually, t from the finite set 1, . . . , T is encoded to a temporal feature by a few modules totally irrespective of the sampling data. However, existing PTQ methods do not optimize these modules separately. They adopt inappropriate reconstruction targets and complex calibration methods, resulting in a severe disturbance of the temporal feature and denoising trajectory, as well as a low compression efficiency. To solve these, we propose a Temporal Feature Maintenance Quantization (TFMQ) framework building upon a Temporal Information Block which is just related to the time-step t and unrelated to the sampling data. Powered by the pioneering block design, we devise temporal information aware reconstruction (TIAR) and finite set calibration (FSC) to align the fullprecision temporal features in a limited time. Equipped with the framework, we can maintain the most temporal information and ensure the end-to-end generation quality. Extensive experiments on various datasets and diffusion models prove our state-of-the-art results. Remarkably, our quantization approach, for the first time, achieves model performance nearly on par with the full-precision model under 4-bit weight quantization. Additionally, our method incurs almost no extra computational cost and accelerates quantization time by 2.0× on LSUN-Bedrooms 256 × 256 compared to previous works. Our code is publicly available at https://github.com/ModelTC/TFMQ-DM .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

44 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • BiDM: Pushing the Limit of Quantization for Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • BiDM: Pushing the Limit of Quantization for Diffusion Models cites Scalable Diffusion Models with Transformers
  • BiDM: Pushing the Limit of Quantization for Diffusion Models cites Denoising Diffusion Probabilistic Models
  • BiDM: Pushing the Limit of Quantization for Diffusion Models cites Denoising Diffusion Implicit Models
  • MPQ-DM: Mixed Precision Quantization for Extremely Low Bit Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • MPQ-DM: Mixed Precision Quantization for Extremely Low Bit Diffusion Models cites Denoising Diffusion Implicit Models
  • Scalable Diffusion Models with Transformers cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Scalable Diffusion Models with Transformers cites Language Models are Few-Shot Learners
  • Scalable Diffusion Models with Transformers cites Denoising Diffusion Probabilistic Models
  • Scalable Diffusion Models with Transformers cites Denoising Diffusion Implicit Models
  • FPSAttention: Training-Aware FP8 and Sparsity Co-Design for Fast Video Diffusion cites Scalable Diffusion Models with Transformers
  • FPSAttention: Training-Aware FP8 and Sparsity Co-Design for Fast Video Diffusion cites Denoising Diffusion Probabilistic Models
  • BitsFusion: 1.99 bits Weight Quantization of Diffusion Model cites High-Resolution Image Synthesis with Latent Diffusion Models
  • BitsFusion: 1.99 bits Weight Quantization of Diffusion Model cites Denoising Diffusion Probabilistic Models
  • BitsFusion: 1.99 bits Weight Quantization of Diffusion Model cites Denoising Diffusion Implicit Models
  • QVGen: Pushing the Limit of Quantized Video Generative Models cites Scalable Diffusion Models with Transformers
  • QVGen: Pushing the Limit of Quantized Video Generative Models cites Denoising Diffusion Probabilistic Models
  • QVGen: Pushing the Limit of Quantized Video Generative Models cites Denoising Diffusion Implicit Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers44

  1. BitsFusion: 1.99 bits Weight Quantization of Diffusion ModelYang Sui, Yanyu Li, Anil Kag, Yerlan Idelbayev et al.NeurIPS 2024 · 48 citations
  2. QVGen: Pushing the Limit of Quantized Video Generative ModelsYushi Huang, Ruihao Gong, Jing Liu, Yifu Ding et al.ICLR 2026 · 22 citations
  3. MPQ-DM: Mixed Precision Quantization for Extremely Low Bit Diffusion ModelsWeilun Feng, Haotong Qin, Chuanguang Yang, Zhulin An et al.AAAI 2025 · 19 citations
  4. FPSAttention: Training-Aware FP8 and Sparsity Co-Design for Fast Video DiffusionAkide Liu, Zeyu Zhang, Zhexin Li, Xuehai Bai et al.NeurIPS 2025 · 19 citations
  5. BiDM: Pushing the Limit of Quantization for Diffusion ModelsXingyu Zheng, Xianglong Liu, Yichen Bian, Xudong Ma et al.NeurIPS 2024 · 12 citations

Builds on21

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  5. Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations

Related papers

  1. Q-Diffusion: Quantizing Diffusion ModelsXiuyu Li, Yijiang Liu, Long Lian, Huanrui Yang et al.ICCV 2023 · 279 citations
  2. TCAQ-DM: Timestep-Channel Adaptive Quantization for Diffusion ModelsHaocheng Huang, Jiaxin Chen, Jinyang Guo, Ruiyi Zhan et al.AAAI 2025 · 4 citations
  3. EfficientDM: Efficient Quantization-Aware Fine-Tuning of Low-Bit Diffusion ModelsYefei He, Jing Liu, Weijia Wu, Hong Zhou et al.ICLR 2024 · 78 citations
  4. Towards Accurate Post-Training Quantization for Diffusion ModelsChangyuan Wang, Ziwei Wang, Xiuwei Xu, Yansong Tang et al.CVPR 2024 · 8 citations
  5. Gradient-Aligned Calibration for Post-Training Quantization of Diffusion ModelsDung Anh Hoang, Cuong Pham, Trung Le, Jianfei Cai et al.ICLR 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines