从全局视角帮助优雅地剪枝稀疏MoEs吗?
Does a Global Perspective Help Prune Sparse MoEs Elegantly?
AI总结:
本文提出GRAPE方法,通过动态分配剪枝预算提升稀疏MoEs的效率,实验表明其在多个模型上均取得最佳性能。
摘要:
经验性缩放定律推动了更大语言模型的发展,尽管计算和内存成本增加。稀疏混合专家(MoEs)通过每次前向传递只激活部分专家,提高效率而不牺牲性能。然而,大量专家参数仍导致显著内存消耗。现有剪枝方法通常在层间均匀分配预算,忽视了稀疏MoEs中异质冗余。我们提出GRAPE(全局冗余感知专家剪枝),是一种基于跨层冗余动态分配剪枝预算的全局剪枝策略。实验表明,在相同剪枝预算下,GRAPE在Mixtral-8x7B、Mixtral-8x22B、DeepSeek-MoE、Qwen-MoE和GPT-OSS上均取得最佳平均性能。在论文报告的三个主要模型上,它在不同剪枝设置下平均准确率比最强的本地基线提高1.40%,最高提升达2.45%。
英文摘要:
Empirical scaling laws for language models have encouraged the development of ever-larger LLMs, despite their growing computational and memory costs. Sparse Mixture-of-Experts (MoEs) offer a promising alternative by activating only a subset of experts per forward pass, improving efficiency without sacrificing performance. However, the large number of expert parameters still leads to substantial memory consumption. Existing pruning methods typically allocate budgets uniformly across layers, overlooking the heterogeneous redundancy that arises in sparse MoEs. We propose GRAPE (Global Redundancy-Aware Pruning of Experts, a global pruning strategy that dynamically allocates pruning budgets based on cross-layer redundancy. Experiments on Mixtral-8x7B, Mixtral-8x22B, DeepSeek-MoE, Qwen-MoE, and GPT-OSS show that, under the same pruning budget, GRAPE consistently achieves the best average performance. On the three main models reported in the paper, it improves average accuracy over the strongest local baseline by 1.40% on average across pruning settings, with gains of up to 2.45%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。