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

UniRank: 面向低秩大语言模型压缩的统一秩分配方法

UniRank: Unified Rank Allocation for Low-Rank LLM Compression

Ningbo Institute of Digital Twin, Eastern Institute of Technology, Ningbo(宁波数字孪生研究院,东方理工大学(宁波));Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(广东省人工智能与数字经济实验室(深圳))

Chao Han, Yongjie Du, Junjie Tan, Zihao Xuan

AI总结:

提出UniRank方法,将全局低秩分配转化为排序截断流程,通过局部奇异能量比和全局功能重要性双准则评分各奇异分量,并引入秩保持微调避免信息损失,在一次性压缩中困惑度降低高达50%。

摘要:

低秩分解作为大语言模型的一种有前景的压缩范式,然而秩分配仍然具有挑战性:手动规则缺乏泛化性,而基于学习的方法带来沉重的计算开销。为解决这些问题,我们将全局低秩分配形式化为排序截断流程,并通过双重准则对每个奇异分量进行评分:\textbf{局部}奇异能量比,量化分解参数矩阵内的内在重要性;以及\textbf{全局}功能重要性(通过输入输出余弦相似度衡量),评估分解模块的功能重要性。通过几何解释和实验验证,我们证实了高输入输出余弦相似度与低有效秩之间的强相关性。此外,我们提出了秩保持微调,它在分解权重上直接进行LoRA调整,避免了传统合并流程中因重新截断导致的额外信息损失。实验结果表明,我们的方法在与具有不同分解方案、模型大小和架构设计的模型结合时,能带来持续的性能提升,例如在无需进一步微调的一次性压缩中,与均匀和启发式分配基线相比,我们的方法将困惑度降低了高达50%。代码将在此https URL提供。

英文摘要:

Low-rank decomposition is a promising compression paradigm for large language models (LLMs), yet its effectiveness hinges on rank budget allocation across weight matrices: uniform or hand-crafted rules ignore module-wise importance, while learning-based allocation incurs substantial training overhead. We formulate rank allocation as a global sorting-and-truncation pipeline that scores every singular component by combining local singular energy with global functional importance, estimated via layer-wise input--output cosine similarity on a tiny calibration set. We show, both geometrically and empirically, that high input--output cosine similarity implies low effective rank. We further propose rank-preserving fine-tuning (RPFT), which adapts only a small subset of retained singular components so that the allocated rank stays bounded without re-decomposition. Experimental results show that UniRank cuts zero-shot perplexity by up to 50\%, improves average reasoning accuracy by 3.0\% over LoRAP at 25\% sparsity, and boosts four SVD-based decomposition methods as a plug-and-play module.

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

↑