arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.24124cs.LGcs.AIcs.CL
收藏

OptRot: 通过数据无关旋转缓解权重异常以实现训练后量化

OptRot: Mitigating Weight Outliers via Data-Free Rotations for Post-Training Quantization

CISPA Helmholtz Center for Information Security, Germany(CISPA信息安全研究中心);Microsoft Research, Cambridge, UK(微软研究院)

Advait Gadhikar, Riccardo Grazzi, James Hensman

AI总结:

OptRot通过数据无关旋转技术提升训练后量化效果,优于现有方法并改进激活量化性能。

摘要:

大型语言模型(LLMs)权重和激活中的异常值使它们难以进行量化。最近的研究利用旋转来缓解这些异常值。在本工作中,我们提出了一种方法,通过最小化原则性且经济的代理目标来学习可融合的旋转,以减少权重量化误差。我们主要关注GPTQ作为量化方法。我们的主要方法是OptRot,它通过最小化旋转权重的逐元素四次方来减少权重异常。我们证明OptRot在权重量化方面优于Hadamard旋转和更昂贵的数据依赖方法,如SpinQuant和OSTQuant。它还改进了W4A8设置下的激活量化。我们还提出了一种数据依赖的方法OptRot⁺,通过结合激活协方差信息进一步提升性能。在W4A4设置中,我们发现OptRot和OptRot⁺表现更差,突显了权重和激活量化之间的权衡。

英文摘要:

The presence of outliers in Large Language Models (LLMs) weights and activations makes them difficult to quantize. Recent work has leveraged rotations to mitigate these outliers. In this work, we propose methods that learn fusible rotations by minimizing principled and cheap proxy objectives to the weight quantization error. We primarily focus on GPTQ as the quantization method. Our main method is OptRot, which reduces weight outliers simply by minimizing the element-wise fourth power of the rotated weights. We show that OptRot outperforms both Hadamard rotations and more expensive, data-dependent methods like SpinQuant and OSTQuant for weight quantization. It also improves activation quantization in the W4A8 setting. We also propose a data-dependent method, OptRot$^{+}$, that further improves performance by incorporating information on the activation covariance. In the W4A4 setting, we see that both OptRot and OptRot$^{+}$ perform worse, highlighting a trade-off between weight and activation quantization.

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

↑