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

稀疏性诱导用于大语言模型的准确后训练剪枝

Sparsity Induction for Accurate Post-Training Pruning of Large Language Models

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)

Minhao Jiang, Zhikai Li, Xuewen Liu, Jing Zhang, Mengjuan Chen, Qingyi Gu

AI总结:

本文提出稀疏性诱导方法,通过增强分布和特征层面的稀疏性,提升大语言模型后训练剪枝的性能。

摘要:

大型语言模型在文本生成方面展现出了能力,但其参数规模的增加带来了计算和内存效率方面的挑战。后训练稀疏性(PTS)通过从密集网络中移除权重来降低模型成本,是一种有效的做法。然而,原生密集矩阵缺乏高稀疏性,使现有直接移除权重的方法破坏模型状态,即使进行后训练,也难以恢复满意的性能。我们提出了稀疏性诱导,该方法在剪枝前在分布和特征层面促进模型向更高稀疏性发展,以推动PTS的极限。在分布层面,我们通过数学上等价的缩放变换增强分布稀疏性,这种变换完全可吸收且不增加额外参数或推理时间开销。在特征层面,我们引入谱范数损失,从低秩视角促进特征稀疏性。在多样化的模型架构和任务上的实验表明,我们的方法进一步增强了稀疏性友好性,实现了优于现有方法的剪枝性能。

英文摘要:

Large language models have demonstrated capabilities in text generation, while their increasing parameter scales present challenges in computational and memory efficiency. Post-training sparsity (PTS), which reduces model cost by removing weights from dense networks, is an effective approach. However, native dense matrices lack high sparsity, making existing approaches that directly remove weights disrupt model states, resulting in unsatisfactory performance recovery even with post-tuning. We propose Sparsity Induction, which promotes models toward higher sparsity at both distribution and feature levels before pruning, to push the limits of PTS. At the distribution level, we enhance distributional sparsity through mathematically equivalent scaling transformations, which are fully absorbable and incur no extra parameters or inference-time overhead. At the feature level, we introduce Spectral Norm Loss to promote feature sparsity from a low-rank perspective. Experiments across diverse model architectures and tasks demonstrate that our method further enhances sparsity-friendliness, achieving superior pruning performance over existing approaches.

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

↑