arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.23568cs.LGcs.CL
收藏

SVD-Surgeon:面向大语言模型压缩的最优奇异值手术

SVD-Surgeon: Optimal Singular-Value Surgery for Large Language Model Compression

University of Freiburg(弗莱堡大学);Prior Labs;ELLIS Institute Tübingen(蒂宾根ELLIS研究所)

Mahmoud Safari, Frank Hutter

AI总结:

提出SVD-Surgeon,一种无需训练的方法,将最优脑外科医生框架引入奇异值基,通过闭式更新保留的奇异值补偿截断损失,并基于显著性选择修剪值,可叠加于现有SVD压缩器上,改善困惑度-压缩权衡。

摘要:

大语言模型(LLM)在广泛任务中取得了显著性能,但其部署受到大量内存和计算需求的限制。通过奇异值分解(SVD)进行低秩压缩是一种有效的补救措施,但现有方法侧重于如何分解以及保留哪些成分。我们引入SVD-Surgeon,一种无需训练的方法,将最优脑外科医生(OBS)框架引入奇异值基。它将每个奇异值视为一个参数,计算保留奇异值的闭式更新,该更新在模型损失的二阶近似上补偿因截断而移除的奇异值。同样的分析得出用于选择修剪哪些值的显著性。由于直接作用于奇异值分解,SVD-Surgeon可以叠加在现有SVD压缩器之上。应用于领先的基于SVD的方法SVD-LLM时,它在不进行任何重新训练的情况下,改善了OPT系列和LLaMA 2-7B上的困惑度-压缩权衡。

英文摘要:

Large language models (LLMs) achieve remarkable performance across a wide range of tasks, but their deployment is constrained by substantial memory and compute requirements. Low-rank compression via singular value decomposition (SVD) is an effective remedy, but existing methods focus on how to factorize and which components to keep. We introduce SVD-Surgeon, a training-free method that brings the Optimal Brain Surgeon (OBS) framework to the singular-value basis. Treating each singular value as a parameter, it computes a closed-form update of the retained singular values that compensates, to second order in the model loss, for those removed by truncation. The same analysis yields a saliency for choosing which values to prune. As it operates directly on the singular-value factorization, SVD-Surgeon can be layered on top of existing SVD compressors. Applied to SVD-LLM, a leading SVD-based method, it improves the perplexity-compression trade-off on the OPT family and LLaMA 2-7B without any retraining.

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

↑