[论文解读] Mix-and-Match Pruning: Globally Guided Layer-Wise Sparsification of DNNs
Mix-and-Match Pruning 通过使用敏感度分数和逐层稀疏范围,在单次裁剪运行中生成十种多样且与架构相关的裁剪策略,从而在不重新运行裁剪流水线的情况下实现精度–稀疏度的帕累托高效权衡。
Deploying deep neural networks (DNNs) on edge devices requires strong compression with minimal accuracy loss. This paper introduces Mix-and-Match Pruning, a globally guided, layer-wise sparsification framework that leverages sensitivity scores and simple architectural rules to generate diverse, high-quality pruning configurations. The framework addresses a key limitation that different layers and architectures respond differently to pruning, making single-strategy approaches suboptimal. Mix-and-Match derives architecture-aware sparsity ranges, e.g., preserving normalization layers while pruning classifiers more aggressively, and systematically samples these ranges to produce ten strategies per sensitivity signal (magnitude, gradient, or their combination). This eliminates repeated pruning runs while offering deployment-ready accuracy-sparsity trade-offs. Experiments on CNNs and Vision Transformers demonstrate Pareto-optimal results, with Mix-and-Match reducing accuracy degradation on Swin-Tiny by 40% relative to standard single-criterion pruning. These findings show that coordinating existing pruning signals enables more reliable and efficient compressed models than introducing new criteria.
研究动机与目标
- 通过强压缩在尽量不损失准确度的前提下,推动 DNN 的边缘部署。
- 通过实现对准确度–压缩设计空间的多点探索,解决单一解裁剪方法的局限性。
- 提出一个敏感性驱动、架构感知的框架,能够在不重复裁剪流水线的情况下产生多样化的裁剪配置。
- 相比基线,在CNN与 Vision Transformer 框架下展示帕累托最优结果。
提出的方法
- 使用小校准集对每个权重的敏感度分数进行计算,可以是幅值、梯度,或幅值–梯度乘积。
- 为每一层分配与架构相关的稀疏范围,以反映不同组件的裁剪容忍度(例如,归一化层保持不变)。
- 在这些范围内抽取十组逐层稀疏向量,形成多样化的裁剪策略。
- 使用相同的敏感度分数对每种策略裁剪权重,并在微调期间应用掩码以维持稀疏性。
- 对每个裁剪后的模型在强制掩码的条件下进行微调以恢复准确度。
- 提供一个轻量级的 Phase 1 设置,跨所有策略进行摊销,便于高效探索。
实验结果
研究问题
- RQ1单次裁剪运行是否能在准确度–稀疏度空间中产生多种可部署点?
- RQ2架构感知的稀疏范围是否提高对CNN与Vision Transformer的裁剪可靠性?
- RQ3哪种敏感信号最能预测不同架构的关键权重?
主要发现
- Mix-and-Match 针对每个敏感度信号产出十个裁剪模型,覆盖多样的准确度–稀疏度权衡。
- 在 Swin-Tiny 上,Mix-and-Match 相较标准的单一准则裁剪将准确度下降减少了 40%。
- 对于 VGG-11,最佳平均结果约为 90% 稀疏度,下降约 2.19%,使用综合幅值–梯度分数。
- ResNet-18 使用仅幅值敏感度达到约 83% 稀疏度,下降约 1.80%。
- LeViT-384 使用仅梯度敏感度达到约 54% 稀疏度,下降约 0.25%。
- 稀疏模式具备架构感知性,保留归一化层并在各层之间调整裁剪以维持性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。