arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.05998cs.LGcs.CL
收藏

连续KD:通过连续优化透镜改进的知识蒸馏

Continuation KD: Improved Knowledge Distillation through the Lens of Continuation Optimization

University of Waterloo(滑铁卢大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Aref Jafari, Ivan Kobyzev, Mehdi Rezagholizadeh, Pascal Poupart, Ali Ghodsi

摘要:

知识蒸馏(KD)已被广泛用于自然语言理解(NLU)任务,以通过从较大模型(教师)转移知识来改进小模型(学生)的泛化。尽管KD方法在许多设置中实现了最先进的性能,但是它们遭受限制其性能的若干问题。在文献中表明,教师和学生网络之间的能力差距可以使KD无效。此外,现有的KD技术不能减轻教师输出中的噪声:对教师的噪声行为进行建模可能会分散学生学习更有用特征的注意力。我们提出了一种新的KD方法,解决了这些问题,并促进了培训相比,以前的技术。受连续优化的启发,我们设计了一个训练过程,通过从这个目标的平滑版本开始优化高度非凸的KD目标,并随着训练的进行使其变得更加复杂。我们的方法(Continuation-KD)在NLU(GLUE基准)和计算机视觉任务(CIFAR-10和CIFAR-100)上的各种紧凑架构上实现了最先进的性能。

英文摘要:

Knowledge Distillation (KD) has been extensively used for natural language understanding (NLU) tasks to improve a small model's (a student) generalization by transferring the knowledge from a larger model (a teacher). Although KD methods achieve state-of-the-art performance in numerous settings, they suffer from several problems limiting their performance. It is shown in the literature that the capacity gap between the teacher and the student networks can make KD ineffective. Additionally, existing KD techniques do not mitigate the noise in the teacher's output: modeling the noisy behaviour of the teacher can distract the student from learning more useful features. We propose a new KD method that addresses these problems and facilitates the training compared to previous techniques. Inspired by continuation optimization, we design a training procedure that optimizes the highly non-convex KD objective by starting with the smoothed version of this objective and making it more complex as the training proceeds. Our method (Continuation-KD) achieves state-of-the-art performance across various compact architectures on NLU (GLUE benchmark) and computer vision tasks (CIFAR-10 and CIFAR-100).

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

↑