动态混合稀疏剪枝:按敏感度分配 N:M 模式降低 LLM 压缩损失
Dynamic Hybrid Sparse Pruning via Fine-grained Sensitivity Allocation for Large Language Models
剪枝部署大模型的人可以看这篇:它在同一个权重矩阵里混用不同 N:M 稀疏模式,敏感区域保留更密的结构。相比 Wanda、SparseGPT 这类统一稀疏率的方案,压缩率一样但困惑度和 zero-shot 成绩更好。
一篇 arXiv 论文提出动态混合稀疏剪枝方法 SGHS(敏感度引导混合稀疏),针对半结构化剪枝在层或矩阵粒度统一设定稀疏率、忽略矩阵内部敏感度差异的问题。方法将剪枝建模为全局稀疏约束下的敏感度再分配问题:先用权重级稀疏预算机制,基于曲率统计估计每个权重矩阵的剪枝容忍度,把全局稀疏目标换算成矩阵各自的预算;再用子块模式选择策略,依据局部显著性和掩码覆盖证据给子块打分,在同一个矩阵内分配异构的 N:M 模式。
这样模型敏感的区域保留更密的模式,整体压缩率不变,但困惑度退化更低。在多个 LLM 和基准上的实验显示,该方法相比现有 post-training 剪枝方法,困惑度退化一致更低,zero-shot 准确率更高。对需要在有限显存或边缘硬件上部署大模型的团队来说,这种细粒度稀疏分配思路可直接套用到 2:4、3:1 等硬件支持的稀疏格式上,是后训练压缩方向一个可复现的改进路线。
Dynamic Hybrid Sparse Pruning via Fine-grained Sensitivity Allocation for Large Language Models
The parameter scale of large language models (LLMs) makes compression a prerequisite for deployment. Semi-structured pruning is a practical route, but existing methods decide sparsity at a coarse layer or matrix granularity, ignoring strong intra-matrix sensitivity variation and forcing sub-blocks of different importance into the same hardware pattern. This paper proposes a dynamic hybrid sparse pruning method featuring sensitivity-guided hybrid sparsity (SGHS). Semi-structured pruning is formulated as a sensitivity redistribution problem under a global sparsity constraint. A weight-level sparsity budgeting mechanism estimates matrix-level pruning tolerance from curvature statistics and converts the global target into matrix-specific budgets, and a sub-block pattern selection strategy scores sub-blocks from local saliency and mask-coverage evidence to assign heterogeneous N:M patterns within each matrix. Denser patterns are thus preserved where the model is sensitive without changing the compression target. Experiments on multiple LLMs and benchmarks show consistently lower perplexity degradation and higher zero-shot accuracy than competing post-training pruning approaches.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:LLM剪枝、N:M稀疏、模型压缩、SGHS,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Dinghao Li, Junhao Liu, Yao Zhou),经 AITOP 多维评分管线结构化提炼。