arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.11184cs.LGcs.AI
收藏

KBVQ-MoE:基于KLT引导SVD与偏置校正向量量化的大语言模型MoE

KBVQ-MoE: KLT-guided SVD with Bias-Corrected Vector Quantization for MoE Large Language Models

Houmo AI;Nanyang Technological University(南洋理工大学)

Zukang Xu, Zhixiong Zhao, Xing Hu, Zhixuan Chen, Dawei Yang

AI总结:

KBVQ-MoE通过KLT引导SVD和偏置校正输出稳定化,提升MoE大语言模型的极低比特量化精度与部署效率。

摘要:

混合专家(MoE)模型通过稀疏专家激活显著提高了性能同时保持计算效率,但在资源受限环境中面临巨大的参数规模和内存需求挑战。向量量化(VQ)通过利用代码本为大语言模型(LLMs)提供超低比特压缩的有希望方法,其中权重向量被映射到最相似的离散码字。然而,直接将VQ应用于MoE时往往导致性能下降,因为有两个关键障碍:(1)专家之间的冗余表示导致VQ对每个专家重复量化相似的表示,导致代码本容量有限的使用效率低下;(2)MoE层中的专家聚合放大了累积输出偏置,导致量化输出的分布偏移。为了解决这些问题,我们提出了KBVQ-MoE,一种新的VQ框架以增强MoE大语言模型的极低比特量化。KBVQ-MoE集成了两种技术:(1)输入驱动的冗余消除,其中由KLT引导的奇异值分解(SVD)提取主导权重组件并在专家之间共享;(2)偏置校正的输出稳定化,其中仅对专家特定(非冗余)表示应用向量量化,并通过通道级仿射补偿校正量化输出。在各种MoE LLMs上的实验表明,KBVQ-MoE比现有量化方法保留准确性更有效。例如,Qwen1.5-MoE-A2.7B的3比特量化平均精度为67.99,几乎与FP16基线68.07相同,证明了KBVQ-MoE在边缘设备和其他资源受限平台上的部署潜力。

英文摘要:

Mixture of Experts (MoE) models have achieved great success by significantly improving performance while maintaining computational efficiency through sparse expert activation. However, their enormous parameter sizes and memory demands pose major challenges for deployment in resource-constrained environments. Vector Quantization (VQ) offers a promising approach for ultra-low-bit compression in Large Language Models (LLMs) by leveraging a codebook, where weight vectors are mapped to the most similar discrete codewords. Yet, directly applying VQ to MoEs often leads to substantial performance degradation due to two critical obstacles: (1) redundant representations among experts cause VQ to repeatedly quantize similar representations for each expert, resulting in inefficient use of limited codebook capacity; and (2) cumulative output bias is amplified by expert aggregation in MoE layers, leading to distributional shifts in the quantized outputs. To address these issues, we propose KBVQ-MoE, a novel VQ framework to enhance extremely low-bit quantization for MoE-based LLMs. KBVQ-MoE integrates two techniques: (1) input-driven redundancy elimination, where a Karhunen-Loeve Transform (KLT) guided singular value decomposition (SVD) extracts dominant weight components and shares them across experts; and (2) bias-corrected output stabilization, where vector quantization is applied only to expert-specific (non-redundant) representations and the quantized outputs are corrected via channel-wise affine compensation. Experiments on various MoE LLMs demonstrate that KBVQ-MoE preserves accuracy substantially better than existing quantization methods. For example, 3-bit quantization of Qwen1.5-MoE-A2.7B achieves an average accuracy of 67.99, nearly identical to the FP16 baseline of 68.07, underscoring KBVQ-MoE's potential for efficient deployment on edge devices and other resource-constrained platforms.

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

↑