SignRot:面向大规模异常值的 LLM 量化符号调整旋转方法
SignRot: LLM Quantization with Massive Outlier-Aware Sign-Adjusted Rotation
AI 导读
SignRot 是一种针对 LLM 低比特量化中大规模异常值(massive outliers)的符号调整旋转方法,通过构造符号调整向量统一 Hadamard 行的符号,将双峰分布折叠为可量化的单峰分布,并配合非对称激活量化吸收偏移。
正文 · 原文
Abstract:While quantization compresses LLMs and accelerates inference, outlier activations impede efficient low-bit representation. In particular, massive outliers cause substantial performance degradation. Although rotation-based methods that rely on randomized Hadamard transforms for online inference aim to mitigate this, they can produce fragmented distributions with empty bins when a massive outlier dominates a token's activation. This fragmentation severely undermines uniform quantization performance. Moreover, massive outliers concentrate in the down-projection input, where the preceding nonlinearity requires the rotation to be applied at inference time. This constraint prevents training-based approaches such as SpinQuant from learning the online rotation at this position, as a learned dense matrix cannot use the Fast Walsh-Hadamard Transform and would require a full matrix multiplication during inference. To address this, we propose SignRot (Sign-adjusted Rotation), which identifies massive outlier channels and constructs a sign adjustment vector that unifies the signs of the corresponding Hadamard row, collapsing the bimodal distribution into a unimodal profile amenable to quantization. Since the aligned outlier shifts the activation mean away from zero, we pair SignRot with asymmetric activation quantization, whose zero-point absorbs this shift. As a lightweight, drop-in improvement compatible with any Hadamard-based quantization method, SignRot requires only a single calibration forward pass and adds only element-wise sign flips at inference, without an additional matrix multiplication. Applying SignRot to QuaRot achieves a WikiText2 perplexity of 5.88 and an average zero-shot reasoning accuracy of 72.73, surpassing SpinQuant on the LLaMA3-70B model. Code is available at this https URL.
| Comments: | 23 pages, 4 figures, 19 tables. Accepted to NeurIPS 2026. Code: this https URL |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.16502 [cs.AI] |
| (or arXiv:2611.16502v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.16502 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jaehun Gim [view email]
[v1]
Thu, 12 Nov 2026 09:05:14 UTC (293 KB)
来源:arXiv cs.AI · arxiv.org