arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.00084cs.LGcs.AIcs.CV
收藏

EPSD: 面向高效模型压缩的自蒸馏早期剪枝

EPSD: Early Pruning with Self-Distillation for Efficient Model Compression

Midea Group(美的集团)

Dong Chen, Ning Liu, Yichen Zhu, Zhengping Che, Rui Ma, Fachao Zhang, Xiaofeng Mou, Yi Chang, Jian Tang

AI总结:

针对传统剪枝结合知识蒸馏效率低的问题,提出EPSD框架,通过两步流程融合早期剪枝与自蒸馏,保留可蒸馏权重提升剪枝网络训练效果,在多个基准上优于现有先进方法。

摘要:

神经网络压缩技术,例如知识蒸馏(KD)和网络剪枝,受到了越来越多的关注。近期的“先剪枝,后蒸馏”研究表明,经过剪枝的对学生网络友好的教师网络能够提升知识蒸馏的性能。然而,传统的师生流水线需要对教师网络进行繁琐的预训练,且压缩步骤复杂,这使得结合知识蒸馏的剪枝效率较低。除了模型压缩本身,近期的压缩技术也开始强调效率层面的要求。早期剪枝与传统剪枝方法相比计算成本显著更低,因为它不需要大型预训练模型。同样地,知识蒸馏的一个特例——自蒸馏(SD)——由于无需预训练也无需选择师生对,效率更高。这启发我们将早期剪枝与自蒸馏结合,以实现高效的模型压缩。在本研究中,我们提出了名为“自蒸馏早期剪枝(EPSD)”的框架,该框架能够在早期剪枝阶段为给定的自蒸馏任务识别并保留可蒸馏权重。EPSD通过两步流程高效融合早期剪枝与自蒸馏,维持剪枝后网络的可训练性以完成压缩。EPSD并非剪枝与自蒸馏的简单结合,它通过在训练前保留更多可蒸馏权重,让剪枝后的网络更适配自蒸馏任务,从而确保剪枝网络获得更好的蒸馏效果。我们通过可视化分析与定量分析验证了EPSD能够改善剪枝网络的训练过程。我们的评估覆盖了多种基准数据集(CIFAR-10/100、Tiny-ImageNet、完整ImageNet、CUB-200-2011以及Pascal VOC),结果显示EPSD的性能优于先进的剪枝与自蒸馏技术。

英文摘要:

Neural network compression techniques, such as knowledge distillation (KD) and network pruning, have received increasing attention. Recent work `Prune, then Distill' reveals that a pruned student-friendly teacher network can benefit the performance of KD. However, the conventional teacher-student pipeline, which entails cumbersome pre-training of the teacher and complicated compression steps, makes pruning with KD less efficient. In addition to compressing models, recent compression techniques also emphasize the aspect of efficiency. Early pruning demands significantly less computational cost in comparison to the conventional pruning methods as it does not require a large pre-trained model. Likewise, a special case of KD, known as self-distillation (SD), is more efficient since it requires no pre-training or student-teacher pair selection. This inspires us to collaborate early pruning with SD for efficient model compression. In this work, we propose the framework named Early Pruning with Self-Distillation (EPSD), which identifies and preserves distillable weights in early pruning for a given SD task. EPSD efficiently combines early pruning and self-distillation in a two-step process, maintaining the pruned network's trainability for compression. Instead of a simple combination of pruning and SD, EPSD enables the pruned network to favor SD by keeping more distillable weights before training to ensure better distillation of the pruned network. We demonstrated that EPSD improves the training of pruned networks, supported by visual and quantitative analyses. Our evaluation covered diverse benchmarks (CIFAR-10/100, Tiny-ImageNet, full ImageNet, CUB-200-2011, and Pascal VOC), with EPSD outperforming advanced pruning and SD techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑