2025-03-11 · 专家 · 机器学习 · 自然语言处理

SEAP: Training-free Sparse Expert Activation Pruning Unlock the Brainpower of Large Language Models

SEAP(稀疏专家激活剪枝)通过利用任务特定的激活模式,实现了一个无需训练的剪枝方法,在保持模型性能的同时,显著降低了大型语言模型的推理开销。

更新于 2025-03-11。作者:Xun Liang、Hanyu Wang、Huayi Lai、Simin Niu、Shichao Song、Jiawei Yang、Jihao Zhao、Feiyu Xiong、Bo Tang、Zhiyu Li。

中文摘要

大型语言模型在各种自然语言处理任务中取得了显著的成功,但它们在推理过程中的高计算成本仍然是一个主要的瓶颈。本文介绍了一种无训练剪枝方法——稀疏专家激活剪枝(SEAP),该方法通过选择性地保留与任务相关的参数来减少推理开销。SEAP受到LLM中隐藏状态和激活的聚类模式启发,识别出特定于任务的专家激活模式,在保持任务性能的同时剪枝模型,并提高计算效率。实验结果表明,SEAP在显著减少计算开销的同时,保持了有竞争力的准确性。值得注意的是,在50%的剪枝率下,SEAP比WandA和FLAP高出20%以上,而在20%的剪枝率下,与密集模型相比,其性能仅下降了2.2%。这些发现突显了SEAP的可扩展性和有效性,使其成为优化大规模LLM的有前途的方法。

英文摘要

Large Language Models have achieved remarkable success across various natural language processing tasks, yet their high computational cost during inference remains a major bottleneck. This paper introduces Sparse Expert Activation Pruning (SEAP), a training-free pruning method that selectively retains task-relevant parameters to reduce inference overhead. Inspired by the clustering patterns of hidden states and activations in LLMs, SEAP identifies task-specific expert activation patterns and prunes the model while preserving task performance and enhancing computational efficiency. Experimental results demonstrate that SEAP significantly reduces computational overhead while maintaining competitive accuracy. Notably, at 50% pruning, SEAP surpasses both WandA and FLAP by over 20%, and at 20% pruning, it incurs only a 2.2% performance drop compared to the dense model. These findings highlight SEAP's scalability and effectiveness, making it a promising approach for optimizing large-scale LLMs.

解读

一句话总结

SEAP(稀疏专家激活剪枝)通过利用任务特定的激活模式,实现了一个无需训练的剪枝方法,在保持模型性能的同时,显著降低了大型语言模型的推理开销。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源