DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs
Haokun Lin, Haobo Xu, Yichen Wu, Jingzhi Cui, Yingtao Zhang, Linzhan, Mou, Linqi Song, Zhenan Sun, Ying Wei

TL;DR
DuQuant introduces a dual transformation approach using rotation and permutation to effectively mitigate both normal and massive outliers in LLM quantization, significantly improving low-bit model performance.
Contribution
It proposes a novel dual transformation method with rotation and permutation to better handle outliers in LLM quantization, outperforming existing methods.
Findings
Outperforms state-of-the-art baselines across various LLMs and tasks.
Effectively manages both normal and massive outliers in low-bit quantization.
Enhances model performance with 4-bit weight-activation quantization.
Abstract
Quantization of large language models (LLMs) faces significant challenges, particularly due to the presence of outlier activations that impede efficient low-bit representation. Traditional approaches predominantly address Normal Outliers, which are activations across all tokens with relatively large magnitudes. However, these methods struggle with smoothing Massive Outliers that display significantly larger values, which leads to significant performance degradation in low-bit quantization. In this paper, we introduce DuQuant, a novel approach that utilizes rotation and permutation transformations to more effectively mitigate both massive and normal outliers. First, DuQuant starts by constructing the rotation matrix, using specific outlier dimensions as prior knowledge, to redistribute outliers to adjacent channels by block-wise rotation. Second, We further employ a zigzag permutation to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsScheduling and Optimization Algorithms
MethodsFocus
