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

ALPS:大型语言模型高度稀疏一次性剪枝的改进优化方法

ALPS: Improved Optimization for Highly Sparse One-Shot Pruning for Large Language Models

Massachusetts Institute of Technology(麻省理工学院)

Xiang Meng, Kayhan Behdin, Haoyue Wang, Rahul Mazumder

AI总结:

ALPS提出基于算子分裂与预条件共轭梯度的优化剪枝框架,在高度稀疏的LLM上显著降低困惑度并提升零样本性能。

摘要:

大型语言模型(LLMs)在各种自然语言处理任务中的出色表现,是以巨大的计算资源和存储需求为代价的。一次性剪枝技术通过移除冗余权重而无需重新训练,为减轻这些负担提供了一种途径。然而,LLMs的巨大规模常常迫使当前的剪枝方法依赖启发式方法而非基于优化的技术,这可能导致次优的压缩效果。在本文中,我们介绍了ALPS,一个基于优化的框架,利用算子分裂技术和预条件共轭梯度后处理步骤来解决剪枝问题。我们的方法结合了新颖的技术来加速并理论上保证收敛,同时利用向量化和GPU并行性提高效率。ALPS在剪枝目标和困惑度降低方面大幅优于最先进的方法,特别是对于高度稀疏的模型。在具有70%稀疏度的OPT-30B模型上,与现有方法相比,ALPS在WikiText数据集上实现了测试困惑度13%的降低,并在零样本基准性能上实现了19%的提升。

英文摘要:

The impressive performance of Large Language Models (LLMs) across various natural language processing tasks comes at the cost of vast computational resources and storage requirements. One-shot pruning techniques offer a way to alleviate these burdens by removing redundant weights without the need for retraining. Yet, the massive scale of LLMs often forces current pruning approaches to rely on heuristics instead of optimization-based techniques, potentially resulting in suboptimal compression. In this paper, we introduce ALPS, an optimization-based framework that tackles the pruning problem using the operator splitting technique and a preconditioned conjugate gradient-based post-processing step. Our approach incorporates novel techniques to accelerate and theoretically guarantee convergence while leveraging vectorization and GPU parallelism for efficiency. ALPS substantially outperforms state-of-the-art methods in terms of the pruning objective and perplexity reduction, particularly for highly sparse models. On the OPT-30B model with 70% sparsity, ALPS achieves a 13% reduction in test perplexity on the WikiText dataset and a 19% improvement in zero-shot benchmark performance compared to existing methods.

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

↑