arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.15014cs.LGcs.CL
收藏

通过并发修剪和自蒸馏进行深度神经压缩

Deep Neural Compression Via Concurrent Pruning and Self-Distillation

University of Liverpool(利物浦大学);Huawei Ireland Research Center(华为爱尔兰研究中心)

James O' Neill, Sourav Dutta, Haytham Assem

摘要:

修剪的目的是减少参数的数量,同时保持性能接近原始网络。这项工作提出了一种新的\emph{self-distillation}为基础的修剪策略,从而修剪和未修剪的版本相同的网络之间的代表相似性最大化。与以前单独处理蒸馏和修剪的方法不同,我们使用蒸馏来通知修剪标准,而不需要像知识蒸馏那样使用单独的学生网络。我们表明,所提出的{ \em互相关目标自蒸馏修剪}隐含地鼓励稀疏的解决方案,自然补充幅度为基础的修剪标准。在GLUE和XGLUE基准测试上的实验表明,自提炼剪枝提高了单语言和跨语言语言模型的性能。自蒸馏修剪模型也优于具有相同数量参数的较小Transformers,并且与(6倍)较大的蒸馏网络竞争。我们还观察到自蒸馏(1)最大化类可分性,(2)提高信噪比,(3)在修剪步骤后收敛得更快,为自蒸馏修剪改善泛化提供了进一步的见解。

英文摘要:

Pruning aims to reduce the number of parameters while maintaining performance close to the original network. This work proposes a novel \emph{self-distillation} based pruning strategy, whereby the representational similarity between the pruned and unpruned versions of the same network is maximized. Unlike previous approaches that treat distillation and pruning separately, we use distillation to inform the pruning criteria, without requiring a separate student network as in knowledge distillation. We show that the proposed {\em cross-correlation objective for self-distilled pruning} implicitly encourages sparse solutions, naturally complementing magnitude-based pruning criteria. Experiments on the GLUE and XGLUE benchmarks show that self-distilled pruning increases mono- and cross-lingual language model performance. Self-distilled pruned models also outperform smaller Transformers with an equal number of parameters and are competitive against (6 times) larger distilled networks. We also observe that self-distillation (1) maximizes class separability, (2) increases the signal-to-noise ratio, and (3) converges faster after pruning steps, providing further insights into why self-distilled pruning improves generalization.

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

↑