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

RSAVQ:面向大语言模型的黎曼敏感度感知向量量化

RSAVQ: Riemannian Sensitivity-Aware Vector Quantization for Large Language Models

Houmo AI

Zukang Xu, Xing Hu, Qiang Wu, Dawei Yang

AI总结:

针对大语言模型低位量化存在的方向误差与比特分配问题,提出基于黎曼几何的RSAVQ框架,通过两项敏感度引导机制优化量化效果,实验证明其性能优于现有基线方法。

摘要:

大语言模型(LLM)已在各类自然语言处理任务中展现出卓越性能,但其参数量呈指数级增长,给资源受限设备上的部署带来了严峻挑战。向量量化(VQ)在低位量化(如2至4比特)领域展现出巨大潜力,但现有研究面临两大核心挑战:无约束的方向误差与次优的比特分配。\n本文提出RSAVQ,一种新型VQ框架,用于提升大语言模型的极低位量化效果。RSAVQ引入了两项几何驱动的创新,可有效缓解上述局限:(1)误差方向敏感度引导(EDSG),利用费舍尔信息矩阵(FIM)诱导的黎曼度量,将量化误差投影到参数空间的低敏感度方向上。具体而言,该投影沿负自然梯度方向执行,可有效抑制误差放大。(2)权重通道敏感度引导(WCSG),通过FIM曲率分析构建逐通道敏感度度量,动态引导比特资源分配,该方法可在给定比特约束下求得全局最优量化方案。\n实验表明,RSAVQ在大语言模型量化任务上优于现有方法。例如,在LLaMA-3 8B的2比特量化中,RSAVQ在困惑度(PPL)上较VPTQ、QuIP#等基线方法领先0.4,在零样本准确率上领先1.5。该工作为受限环境下的模型部署提供了实用方案,也搭建了信息几何与神经网络量化之间的理论桥梁,推动了高效深度学习的发展。

英文摘要:

Large language models (LLMs) have demonstrated remarkable performance across a wide range of natural language processing tasks. However, their exponentially increasing parameters pose significant challenges for deployment on resource-constrained devices. Vector Quantization (VQ) shows great promise for low-bit quantization (e.g., 2 to 4 bits), but existing work faces two key challenges: unconstrained direction error and suboptimal bit allocation. In this paper, we propose RSAVQ, a novel VQ framework to enhance extremely low-bit quantization for LLMs. RSAVQ introduces two geometry-driven innovations that effectively mitigate above limitations: (1) Error Direction Sensitivity Guidance (EDSG), which leverages the Fisher Information Matrix (FIM)-induced Riemannian metric to project quantization errors onto low-sensitivity directions in the parameter space. Specifically, this projection is performed along the negative natural gradient direction, which effectively suppresses error expansion. (2) Weight Channel Sensitivity Guidance (WCSG) , which constructs a channel-wise sensitivity metric via FIM curvature analysis to dynamically guide bit resource allocation. The approach facilitates a globally optimal quantization solution within prescribed bit constraints. Experiments demonstrate that RSAVQ outperforms existing methods for LLMs. For example, in 2-bit quantization of LLaMA-3 8B, RSAVQ leads baselines like VPTQ and QuIP# by 0.4 in perplexity (PPL) and 1.5 in zero-shot accuracy. This work offers a practical solution for constrained environments and a theoretical bridge between information geometry and the quantization of neural networks, advancing efficient deep learning.

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

↑