TR-DQ: Time-Rotation Diffusion Quantization

Yihua Shao, Deyang Lin, Fanhu Zeng, Minxi Yan, Muyang Zhang +8 more
3/9/2025
cs.CV

No official code found. Best implementation: YihuaJerry/TR-DQ (10 stars, last commit 2025-11-18).

Abstract

Diffusion models have been widely adopted in image and video generation. However, their complex network architecture leads to high inference overhead for its generation process. Existing diffusion quantization methods primarily focus on the quantization of the model structure while ignoring the impact of time-steps variation during sampling. At the same time, most current approaches fail to account for significant activations that cannot be eliminated, resulting in substantial performance degradation after quantization. To address these issues, we propose Time-Rotation Diffusion Quantization (TR-DQ), a novel quantization method incorporating time-step and rotation-based optimization. TR-DQ first divides the sampling process based on time-steps and applies a rotation matrix to smooth activations and weights dynamically. For different time-steps, a dedicated hyperparameter is introduced for adaptive timing modeling, which enables dynamic quantization across different time steps. Additionally, we also explore the compression potential of Classifier-Free Guidance (CFG-wise) to establish a foundation for subsequent work. TR-DQ achieves state-of-the-art (SOTA) performance on image generation and video generation tasks and a 1.38-1.89x speedup and 1.97-2.58x memory reduction in inference compared to existing quantization methods.

View on arXivView PDF

Code Implementations(1)

YihuaJerry/TR-DQCommunity68%

[AAAI 2026] TR-DQ: Time-Rotation Diffusion Quantization

101Nov 11, 202511 months ago

Similar Papers

Cite this paper

@article{shao2025trdq,
  title  = {TR-DQ: Time-Rotation Diffusion Quantization},
  author = {Yihua Shao and Deyang Lin and Fanhu Zeng and Minxi Yan and Muyang Zhang and Siyu Chen and Yuxuan Fan and Ziyang Yan and Haozhe Wang and Jingcai Guo and Yan Wang and Haotong Qin and Hao Tang},
  year   = {2025},
  eprint = {2503.06564},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06564v1}
}

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/2503.06564.svg)](https://codeofpaper.com/paper/2503.06564)

Discussion