ConvRot: Rotation-Based Plug-and-Play 4-bit Quantization for Diffusion Transformers

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Huang, Feice, Han, Zuliang, Zhou, Xing, Chen, Yihuang, Zhu, Lifei, Wang, Haoqian
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911300163993600
author Huang, Feice
Han, Zuliang
Zhou, Xing
Chen, Yihuang
Zhu, Lifei
Wang, Haoqian
author_facet Huang, Feice
Han, Zuliang
Zhou, Xing
Chen, Yihuang
Zhu, Lifei
Wang, Haoqian
contents Diffusion transformers have demonstrated strong capabilities in generating high-quality images. However, as model size increases, the growing memory footprint and inference latency pose significant challenges for practical deployment. Recent studies in large language models (LLMs) show that rotation-based techniques can smooth outliers and enable 4-bit quantization, but these approaches often incur substantial overhead and struggle with row-wise outliers in diffusion transformers. To address these challenges, we propose ConvRot, a group-wise rotation-based quantization method that leverages regular Hadamard transform (RHT) to suppress both row-wise and column-wise outliers while reducing complexity from quadratic to linear. Building on this, we design ConvLinear4bit, a plug-and-play module that integrates rotation, quantization, GEMM, and dequantization, enabling W4A4 inference without retraining and preserving visual quality. Experiments on FLUX.1-dev demonstrate a 2.26$\times$ speedup and 4.05$\times$ memory reduction while maintaining image fidelity. To our knowledge, this is the first application of rotation-based quantization for plug-and-play W4A4 inference in diffusion transformers.
format Preprint
id arxiv_https___arxiv_org_abs_2512_03673
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ConvRot: Rotation-Based Plug-and-Play 4-bit Quantization for Diffusion Transformers
Huang, Feice
Han, Zuliang
Zhou, Xing
Chen, Yihuang
Zhu, Lifei
Wang, Haoqian
Computer Vision and Pattern Recognition
Diffusion transformers have demonstrated strong capabilities in generating high-quality images. However, as model size increases, the growing memory footprint and inference latency pose significant challenges for practical deployment. Recent studies in large language models (LLMs) show that rotation-based techniques can smooth outliers and enable 4-bit quantization, but these approaches often incur substantial overhead and struggle with row-wise outliers in diffusion transformers. To address these challenges, we propose ConvRot, a group-wise rotation-based quantization method that leverages regular Hadamard transform (RHT) to suppress both row-wise and column-wise outliers while reducing complexity from quadratic to linear. Building on this, we design ConvLinear4bit, a plug-and-play module that integrates rotation, quantization, GEMM, and dequantization, enabling W4A4 inference without retraining and preserving visual quality. Experiments on FLUX.1-dev demonstrate a 2.26$\times$ speedup and 4.05$\times$ memory reduction while maintaining image fidelity. To our knowledge, this is the first application of rotation-based quantization for plug-and-play W4A4 inference in diffusion transformers.
title ConvRot: Rotation-Based Plug-and-Play 4-bit Quantization for Diffusion Transformers
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2512.03673