arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.00586cs.CVcs.AIcs.LG
收藏

PrUE:从稀疏教师网络中提取知识

PrUE: Distilling Knowledge from Sparse Teacher Networks

University of Chinese Academy of Sciences(中国科学院大学);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Beijing University of Posts and Telecommunication(北京邮电大学)

Shaopu Wang, Xiaojun Chen, Mengzhen Kou, Jinqiao Shi

摘要:

尽管深度神经网络在各种任务中取得了显着的成功,但其不断增加的规模也给部署带来了显着的开销。为了压缩这些模型,提出了知识蒸馏,将知识从笨重的(教师)网络转移到轻量级的(学生)网络。然而,教师的指导并不总是提高学生的概括,特别是当学生和教师之间的大小差距很大。以前的作品认为,这是由于教师的高度确定性,导致难以适应的更硬的标签。为了软化这些标签,我们提出了一种修剪方法,称为预测不确定性增强(PrUE),以简化教师。具体来说,我们的方法旨在降低教师对数据的确定性,从而为学生生成软预测。我们通过在CIFAR-10/100、Tiny-ImageNet和ImageNet上的实验,实证研究了所提出方法的有效性。结果表明,稀疏教师训练的学生网络具有更好的性能。此外,我们的方法允许研究人员从更深的网络中提取知识,以进一步提高学生的能力。我们的代码在以下网址公开:\url{https://github.com/wangshaopu/prue}。

英文摘要:

Although deep neural networks have enjoyed remarkable success across a wide variety of tasks, their ever-increasing size also imposes significant overhead on deployment. To compress these models, knowledge distillation was proposed to transfer knowledge from a cumbersome (teacher) network into a lightweight (student) network. However, guidance from a teacher does not always improve the generalization of students, especially when the size gap between student and teacher is large. Previous works argued that it was due to the high certainty of the teacher, resulting in harder labels that were difficult to fit. To soften these labels, we present a pruning method termed Prediction Uncertainty Enlargement (PrUE) to simplify the teacher. Specifically, our method aims to decrease the teacher's certainty about data, thereby generating soft predictions for students. We empirically investigate the effectiveness of the proposed method with experiments on CIFAR-10/100, Tiny-ImageNet, and ImageNet. Results indicate that student networks trained with sparse teachers achieve better performance. Besides, our method allows researchers to distill knowledge from deeper networks to improve students further. Our code is made public at: \url{https://github.com/wangshaopu/prue}.

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

↑