硬门知识蒸馏--稳健可靠语言模型的杠杆校正
Hard Gate Knowledge Distillation -- Leverage Calibration for Robust and Reliable Language Model
摘要:
在知识蒸馏中,学生模型通过来自教师的知识和从训练数据分布中提取的观察的监督来训练。教师的知识被认为是一个主题,持有类间的关系,发送一个有意义的监督,以学生,因此,很多努力已经投入到寻找这样的知识来提炼。在本文中,我们探讨了一个很少被关注的问题:“何时提取这些知识。“这个问题在我们的工作中得到了回答,我们认为教师模型不仅是知识的来源,而且是检测学生错误校准的标准。这种简单而新颖的观点导致了一种硬门知识蒸馏方案,该方案在从教师模型和训练数据学习之间切换。我们验证了门控机制的上下文中的自然语言生成在令牌级和会话级。与强基线的实证比较表明,硬门知识蒸馏不仅提高了模型的泛化能力,而且显著降低了模型校准误差。
英文摘要:
In knowledge distillation, a student model is trained with supervisions from both knowledge from a teacher and observations drawn from a training data distribution. Knowledge of a teacher is considered a subject that holds inter-class relations which send a meaningful supervision to a student; hence, much effort has been put to find such knowledge to be distilled. In this paper, we explore a question that has been given little attention: "when to distill such knowledge." The question is answered in our work with the concept of model calibration; we view a teacher model not only as a source of knowledge but also as a gauge to detect miscalibration of a student. This simple and yet novel view leads to a hard gate knowledge distillation scheme that switches between learning from a teacher model and training data. We verify the gating mechanism in the context of natural language generation at both the token-level and the sentence-level. Empirical comparisons with strong baselines show that hard gate knowledge distillation not only improves model generalization, but also significantly lowers model calibration error.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。