arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.11080cs.CVcs.AI
收藏

ReSpinQuant: 通过子空间残差旋转近似实现高效逐层大模型量化

ReSpinQuant: Efficient Layer-Wise LLM Quantization via Subspace Residual Rotation Approximation

Seoul National University(首尔国立大学)

Suyoung Kim, Sunghyun Wee, Hyeonjin Kim, Kyomin Hwang, Hyunho Lee, Nojun Kwak

AI总结:

提出ReSpinQuant框架,通过离线激活旋转融合和高效子空间残差旋转匹配基,解决逐层量化方法在线计算开销大的问题,在W4A4和W3A3量化上达到最优性能。

摘要:

基于旋转的后训练量化(PTQ)已成为缓解大型语言模型(LLMs)量化中激活值异常值的有前景的解决方案。全局旋转方法通过将激活旋转融合到注意力块和前馈网络块中实现推理效率,但由于受限于在所有层中使用单一可学习旋转矩阵,其表达能力有限。为了解决这一问题,出现了逐层变换方法,通过局部自适应实现了更高的精度。然而,逐层方法无法将激活旋转矩阵融合到权重中,需要在线计算并导致显著开销。在本文中,我们提出ReSpinQuant,一种量化框架,通过利用离线激活旋转融合和使用高效残差子空间旋转匹配基来解决此类开销。这种设计调和了逐层自适应的高表达性与仅可忽略的推理开销。在W4A4和W3A3量化上的大量实验表明,ReSpinQuant实现了最先进的性能,优于全局旋转方法,并以最小开销匹配计算昂贵的逐层方法的精度。

英文摘要:

Rotation-based Post-Training Quantization (PTQ) has emerged as a promising solution for mitigating activation outliers in the quantization of Large Language Models (LLMs). Global rotation methods achieve inference efficiency by fusing activation rotations into attention and FFN blocks, but suffer from limited expressivity as they are constrained to use a single learnable rotation matrix across all layers. To tackle this, layer-wise transformation methods emerged, achieving superior accuracy through localized adaptation. However, layer-wise methods cannot fuse activation rotation matrices into weights, requiring online computations and causing significant overhead. In this paper, we propose ReSpinQuant, a quantization framework that resolves such overhead by leveraging offline activation rotation fusion and matching basis using efficient residual subspace rotation. This design reconciles the high expressivity of layer-wise adaptation with only negligible inference overhead. Extensive experiments on W4A4 and W3A3 quantization demonstrate that ReSpinQuant achieves state-of-the-art performance, outperforming global rotation methods and matching the accuracy of computationally expensive layer-wise methods with minimal overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑