用单步强化学习快速找到大模型剪枝的最优稀疏分布
FastForward Pruning: Efficient LLM Pruning via Single-Step Reinforcement Learning
- 分离策略优化与预算约束,实现高效搜索
- 在多个大模型上表现优于传统启发式方法
- 计算成本仅为其他搜索方法的几分之一
剪枝是压缩大语言模型的有效方法,但如何找到最优的非均匀分层稀疏度分配仍是关键挑战。启发式方法虽快但性能欠佳,而基于强化学习等搜索方法常因大规模模型带来的高昂计算成本难以应用。为此,我们提出 FastForward Pruning,其核心是一个解耦的单步强化学习框架,将策略优化与复杂预算满足问题分离,显著提升对大模型庞大策略空间的搜索效率。该课程式策略从低成本、简单的任务开始,逐步增加复杂度,大幅降低搜索开销。在 LLaMA、Mistral 和 OPT 模型族上的实验表明,该框架发现的剪枝策略在性能上超越强启发式基线。更重要的是,相比其他搜索算法,本方法以极低计算成本获得相当或更优结果,展现出显著的搜索效率优势。
原文摘要 · Abstract (English)
Pruning is an effective method for compressing Large Language Models, but finding an optimal, non-uniform layer-wise sparsity allocation remains a key challenge. While heuristic methods are fast but yield suboptimal performance, more powerful search-based approaches like Reinforcement Learning are often hindered by prohibitive computational costs on large-scale models. To overcome this efficiency barrier, we propose FastForward Pruning. Its core is a decoupled, single-step RL framework that separates policy optimization from the complex budget satisfaction problem. Such a decoupling is crucial for efficiently searching the vast policy space of LLMs. This curriculum-based strategy begins with low-cost, simple tasks and gradually increases in complexity, significantly reducing the search's computational overhead. Evaluated on the LLaMA, Mistral, and OPT model families, our framework discovers pruning policies that achieve superior performance over strong heuristic baselines. Crucially, when compared to other search-based algorithms, our method achieves competitive or superior results at a fraction of the computational cost, demonstrating a clear advantage in search efficiency.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。