arXiv:2512.23014cs.CL2025-12被引 1

通过功能感知分组提升大模型剪枝泛化能力

Improving Generalization in LLM Structured Pruning via Function-Aware Neuron Grouping

  • 按语义功能分组神经元,独立剪枝并加权关键上下文
  • 在30%-40%稀疏度下,平均准确率提升1.5%-8.5%
  • 适合追求高泛化性能的模型压缩场景

大语言模型在自然语言任务中表现优异,但因规模庞大带来巨大计算与存储开销。训练后结构化剪枝是高效解决方案,但当少样本校准集无法充分反映预训练数据分布时,现有方法在下游任务上的泛化能力有限。为此,我们提出功能感知神经元分组(FANG),通过识别并保留对特定功能至关重要的神经元来缓解校准偏差。FANG根据神经元处理的语义上下文类型对神经元进行分组,并独立剪枝每组;在重要性估计中,赋予与神经元功能强相关的上下文更高权重。同时,保留跨多种上下文类型的贡献神经元。为平衡稀疏度与性能,基于功能复杂度自适应分配各模块的稀疏度。实验表明,FANG在保持语言建模性能的同时提升下游准确率,结合FLAP和OBC等代表性剪枝方法达到当前最优(SOTA)结果,在30%与40%稀疏度下平均准确率优于FLAP和OBC 1.5%–8.5%。

原文摘要 · Abstract (English)

Large Language Models (LLMs) demonstrate impressive performance across natural language tasks but incur substantial computational and storage costs due to their scale. Post-training structured pruning offers an efficient solution. However, when few-shot calibration sets fail to adequately reflect the pretraining data distribution, existing methods exhibit limited generalization to downstream tasks. To address this issue, we propose Function-Aware Neuron Grouping (FANG), a post-training pruning framework that alleviates calibration bias by identifying and preserving neurons critical to specific function. FANG groups neurons with similar function based on the type of semantic context they process and prunes each group independently. During importance estimation within each group, tokens that strongly correlate with the functional role of the neuron group are given higher weighting. Additionally, FANG also preserves neurons that contribute across multiple context types. To achieve a better trade-off between sparsity and performance, it allocates sparsity to each block adaptively based on its functional complexity. Experiments show that FANG improves downstream accuracy while preserving language modeling performance. It achieves the state-of-the-art (SOTA) results when combined with FLAP and OBC, two representative pruning methods. Specifically, FANG outperforms FLAP and OBC by 1.5%--8.5% in average accuracy under 30% and 40% sparsity.

模型剪枝大模型泛化能力神经元分组

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。