arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.31412cs.LGcs.CL
收藏

SQuAT:球形格向量量化感知训练

SQuAT: Spherical Lattice Vector Quantization-Aware Training

University of Copenhagen(哥本哈根大学);Qualcomm AI Research(高通人工智能研究部)

Sebastian Loeschcke, Ivan Koryakovskiy, Tycho F. A. van der Ouderaa, Riccardo Del Chiaro, Mart van Baalen, Paul N. Whatmough, Markus Nagel

AI总结:

该研究针对低比特LLM的VQ-QAT问题,提出SQuAT方法,通过分解权重为方向与幅值、采用独立STE及分布式分配方案,将训练时间减12.8倍,在多款LLM上实现SOTA VQ-QAT准确率。

摘要:

向量量化(VQ),尤其是基于格的方法,在低比特大型语言模型(LLM)中能提供优异的率失真权衡,但其在量化感知训练(VQ-QAT)下的表现仍未被充分理解。我们将格VQ-QAT扩展至百亿参数级LLM及数十亿token的训练场景,提出SQuAT——一种形状-增益VQ-QAT方法,该方法为形状和增益分别训练独立的直通估计器(STE)。SQuAT将权重分解为方向与幅值:归一化方向采用基于$E_8$的球形码本量化,增益则独立采用低比特标量量化器量化。我们表明,与忽略形状-增益结构的、应用于整个量化器的标准STE不同,这些独立STE会为方向诱导切空间更新,产生一种隐式的球形(黎曼)优化形式。为实现可扩展性,我们开发了分布式精确最近邻分配方案,其中工作者量化不相交的权重块,仅传输离散索引,这将VQ-QAT训练时间减少了12.8倍,并使我们能将其扩展至10B token。在指令微调的LLaMA-3.2-1B/3B、Qwen3-4B及基础Qwen3-1.7B上,在相同量化器和初始化条件下,SQuAT始终优于标准VQ-QAT STE,并达到SOTA VQ-QAT准确率。

英文摘要:

Vector quantization (VQ), in particular lattice-based methods, offer strong rate-distortion trade-offs for low-bit large language models (LLMs), yet their behavior under quantization-aware training (VQ-QAT) remains poorly understood. We scale lattice VQ-QAT to billion-parameter LLMs and multi-billion-token training regimes, and introduce SQuAT, a shape-gain VQ-QAT approach trained with a separate straight-through estimator (STE) for the shape and gain. SQuAT decomposes weights into direction and magnitude: normalized directions are quantized using an $E_8$-derived spherical codebook, while gains are quantized independently with low-bit scalar quantizers. We show that, unlike a standard STE applied to the full quantizer, which ignores the shape-gain structure, these separate STEs induce tangent-space updates for directions, yielding an implicit form of spherical (Riemannian) optimization. To enable scalability, we develop a distributed exact nearest-neighbor assignment scheme, in which workers quantize disjoint weight blocks and communicate only discrete indices, reducing VQ-QAT training time by 12.8$\times$ and allowing us to scale it to 10B tokens. Across instruction-tuned LLaMA-3.2-1B/3B, Qwen3-4B, and base Qwen3-1.7B, SQuAT consistently outperforms standard VQ-QAT STE under identical quantizers and initialization, and achieves SOTA VQ-QAT accuracy.

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

↑