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

逐步剪枝,稀疏适配:极端稀疏下大语言模型的高效剪枝

Prune Gradually, Adapt Sparsely: Efficient Pruning of Large Language Models at Extreme Sparsity

University of Bath(巴斯大学);Aalto University(阿尔托大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);Google(谷歌公司)

Jean Lucien Randrianantenaina, Hung Nguyen, Nasib Ullah, Jinbin Zhang, Nilesh Gupta, Inderjit S. Dhillon, Rohit Babbar

AI总结:

本文提出ETAPS方法,通过逐步剪枝、稀疏适配策略,在极端稀疏下以更低成本实现比ELSA更优的大语言模型性能,困惑度最高降低42%。

摘要:

权重剪枝可降低大语言模型(LLMs)的存储与推理成本,但在高稀疏度下保持模型性能仍具挑战性。现有方法在此场景中面临性能-成本的权衡问题:一次性剪枝成本低,但随稀疏度提升性能会急剧下降,即便后续进行剪枝后恢复也难以改善;而越来越多的研究转而在端到端目标下直接从稠密模型优化掩码,其中Lee等人2026年提出的方法是极端稀疏场景下的最新最优方法,虽能达到较高性能,但需要模型规模的优化器状态与辅助变量,成本高昂。为解决这一差距,本文提出ETAPS方法,该方法采用逐步剪枝、稀疏适配的策略:在渐进阶段收紧全局稀疏度约束,同时以小型固定预算训练稀疏增量。本文的关键发现是,逐步移除权重可使每次剪枝步骤足够小,从而让稀疏适配机制进行补偿,使适配后的模型能提供端到端梯度以指导下一次剪枝决策,无需模型规模的优化器状态。在参数规模从1.25亿到130亿的6个模型上的实验表明,在50%至90%的所有评估稀疏度下,ETAPS的困惑度均低于ELSA,困惑度降低幅度最高达42%;ETAPS的成本也远更低:在90%稀疏度下,其在单个H200 GPU上即可剪枝LLaMA2-7B,而ELSA需要4个H200 GPU,总持久状态缩小5.0倍,GPU小时数减少49%。综上,本文的发现为在极端稀疏等严苛场景下以大幅降低的成本实现高性能提供了有前景的方向。

英文摘要:

Weight pruning can reduce the storage and inference cost of large language models (LLMs), but preserving quality at high sparsity levels remains challenging. Existing methods face a quality-cost trade-off in this regime. One-shot pruning is cheap but degrades sharply as sparsity increases, even when followed by post-pruning recovery. A growing line of work instead optimizes the mask directly from the dense model under the end-to-end objective; among these methods, [Lee et al.,2026], the recent state of the art at extreme sparsity, reaches high quality but at the cost of model-sized optimizer state and auxiliary variables. To address this gap, we propose ETAPS, which prunes gradually and adapts sparsely: it tightens a global sparsity constraint in progressive stages while training a sparse delta with a small, fixed budget. Our key observation is that gradual weight removal keeps each pruning step small enough for sparse adaptation to compensate, allowing the adapted model to provide end-to-end gradients that guide the next pruning decision without model-sized optimizer state. Across six models from 125M to 13B parameters, ETAPS achieves lower perplexity than ELSA at every evaluated sparsity from 50% to 90%, with perplexity reductions of up to 42%. ETAPS is also far cheaper: at 90% sparsity, it prunes LLaMA2-7B on a single H200, where ELSA uses four, with $5.0\times$ smaller total persistent state and 49% fewer GPU-hours. Together, our findings point to a promising direction for achieving high quality in demanding regimes such as extreme sparsity at substantially lower cost.

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

↑