arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.04929cs.LG
收藏

TurboBoA: 更快且精确的注意力感知量化无需反向传播

TurboBoA: Faster and Exact Attention-aware Quantization without Backpropagation

Samsung Research(三星研究院);SNU.ac.kr(首尔国立大学)

Junhan Kim, Yeo Jeong Park, Seungwoo Son, Chungman Lee, Ho-young Kim, Joonyoung Kim, Yongkweon Jeon

AI总结:

TurboBoA是一种无需反向传播的高效PTQ算法,通过联合量化和误差补偿提升精度与速度,实现比BoA更快的量化过程。

摘要:

大语言模型(LLMs)的快速增长提高了事后训练量化(PTQ)在降低内存和计算成本中的重要性。在PTQ方法中,GPTQ因其效率而受到广泛关注,使数十亿规模的LLMs能够在几个GPU小时内进行量化。然而,GPTQ对层间独立性的假设导致在低比特情况下精度大幅下降。最近,BoA在GPTQ基础上改进,通过在注意力模块内引入层间依赖性,但其对所有输出通道的顺序量化使其效率显著降低。在本文中,我们提出TurboBoA,一种无需反向传播的PTQ算法,该算法在保持BoA的精度优势的同时显著加速了过程。所提出的TurboBoA引入了三个关键创新:(i)对多个输出通道的联合量化,采用闭合形式的误差补偿规则,这减少了顺序瓶颈,使速度提升超过三倍;(ii)用于从先前量化层传播的误差的修正机制;以及(iii)自适应网格计算配合坐标下降细化,以在迭代更新过程中保持对齐。广泛的实验表明,TurboBoA在加速方面显著优于BoA,同时在精度上保持稳定。当与异常值抑制技术结合时,它在仅权重和权重-激活量化中实现了最先进的结果。代码将在https://github.com/SamsungLabs/TurboBoA上提供。

英文摘要:

The rapid growth of large language models (LLMs) has heightened the importance of post-training quantization (PTQ) for reducing memory and computation costs. Among PTQ methods, GPTQ has gained significant attention for its efficiency, enabling billion-scale LLMs to be quantized within a few GPU hours. However, GPTQ's assumption of layer-wise independence leads to severe accuracy drops in low-bit regimes. Recently, BoA improved upon GPTQ by incorporating inter-layer dependencies within attention modules, but its reliance on sequential quantization across all out-channels makes it substantially less efficient. In this paper, we propose TurboBoA, a new backpropagation-free PTQ algorithm that preserves the accuracy benefits of BoA while significantly accelerating the process. The proposed TurboBoA introduces three key innovations: (i) joint quantization of multiple out-channels with a closed-form error compensation rule, which reduces sequential bottlenecks and yields more than a three-fold speedup; (ii) a correction mechanism for errors propagated from preceding quantized layers; and (iii) adaptive grid computation with coordinate descent refinement to maintain alignment during iterative updates. Extensive experiments demonstrate that TurboBoA delivers substantial acceleration over BoA while consistently improving accuracy. When combined with outlier suppression techniques, it achieves state-of-the-art results in both weight-only and weight-activation quantization. The code will be available at https://github.com/SamsungLabs/TurboBoA.

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

↑