OJBKQ:目标联合Babai-Klein量化
OJBKQ: Objective-Joint Babai-Klein Quantization
AI总结:
OJBKQ通过联合优化激活和权重,提出了一种逐层的PTQ方法,以在低比特量化下实现更优的模型压缩效果。
摘要:
后训练量化(PTQ)被广泛用于在不重新训练的情况下压缩大语言模型。然而,许多现有的权重-only方法依赖于启发式目标和贪心四舍五入,从而在低比特量化下导致明显的退化。在本文中,我们引入了OJBKQ(带有K-最佳采样的目标联合Babai-Klein量化),一种逐层的PTQ方法,将权重量化 formulation 为激活和权重的联合优化问题。这种 formulation 在每一层导致一个具有多个右侧的箱约束整数最小二乘(BILS)问题,这是一个NP难问题。对于权重矩阵的每一列,我们应用扩展的Babai最近平面算法和Klein随机Babai算法的扩展版本,以找到最小残差Babai-Klein点,这是BILS问题的一个次优解。在大型语言模型上的实验结果表明,OJBKQ在3-4位下比现有PTQ方法实现更低的困惑度,同时保持可比的计算成本。
英文摘要:
Post-training quantization (PTQ) is widely used to compress large language models without retraining. However, many existing weight-only methods rely on heuristic objectives and greedy rounding, thus leading to noticeable degradation under low-bit quantization. In this work, we introduce OJBKQ (Objective-Joint Babai-Klein Quantization with K-Best Sampling), a layer-wise PTQ method that formulates weight quantization as a joint optimization problem over activations and weights. This formulation results in a multiple-right-hand-side box-constrained integer least squares (BILS) problem in each layer, which is NP-hard. For each column of the weight matrix, we apply an extended Babai nearest-plane algorithm and an extended version of Klein's randomized Babai algorithm to find the minimum-residual Babai-Klein point, a sub-optimal solution to the BILS problem. Experimental results on large language models show that OJBKQ achieves lower perplexity at 3-4 bits compared to existing PTQ approaches, while maintaining comparable computational cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。