arXiv:2510.10136cs.LGcs.AI2025-10NeurIPS被引 1

通过可学习的通道置换提升稀疏大模型精度

PermLLM: Learnable Channel Permutation for N:M Sparse Large Language Models

  • 用可微软置换替代手工度量,实现端到端优化
  • 在LLaMA/Qwen/OPT上实现优于现有方法的稀疏性能
  • 适配主流单次剪枝,降低参数与计算开销

通道置换是一种有效提升N:M稀疏模型精度的技术,通过重排权重重的通道以优先保留重要权重。然而,传统方法依赖人工设计的质量度量,难以准确反映剪枝对模型性能的真实影响。为此,我们提出PermLLM,一种新型后训练剪枝框架,引入可学习通道置换(LCP)实现N:M稀疏化。LCP利用Sinkhorn归一化将离散置换矩阵转化为可微软置换矩阵,支持端到端优化;同时采用高效的块级通道置换策略,显著减少可学习参数与计算复杂度。PermLLM可无缝集成现有单次剪枝方法,自适应优化通道置换,有效缓解剪枝带来的误差。在LLaMA系列、Qwen和OPT模型上的大量实验表明,PermLLM在优化N:M稀疏模型方面表现更优。代码已开源:https://github.com/lanchengzou/PermLLM。

原文摘要 · Abstract (English)

Channel permutation is a powerful technique for enhancing the accuracy of N:M sparse models by reordering the channels of weight matrices to prioritize the retention of important weights. However, traditional channel permutation methods rely on handcrafted quality metrics, which often fail to accurately capture the true impact of pruning on model performance. To address this limitation, we propose PermLLM, a novel post-training pruning framework that introduces learnable channel permutation (LCP) for N:M sparsity. LCP leverages Sinkhorn normalization to transform discrete permutation matrices into differentiable soft permutation matrices, enabling end-to-end optimization. Additionally, PermLLM incorporates an efficient block-wise channel permutation strategy, which significantly reduces the number of learnable parameters and computational complexity. PermLLM seamlessly integrates with existing one-shot pruning methods to adaptively optimize channel permutations, effectively mitigating pruning-induced errors. Extensive experiments on the LLaMA series, Qwen, and OPT models demonstrate that PermLLM achieves superior performance in optimizing N:M sparse models. The code is available at https://github.com/lanchengzou/PermLLM.

稀疏化大模型通道置换可学习

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