arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.09874cs.CV
收藏

学生能超越教师吗?从教师的偏差中蒸馏知识

Can Students Beyond The Teacher? Distilling Knowledge from Teacher's Bias

Tianjin University of Technology(天津理工大学);Hangzhou Normal University(杭州师范大学);Technical University of Denmark(丹麦技术大学);Norwegian University of Science and Technology(挪威科技大学)

Jianhua Zhang, Yi Gao, Ruyu Liu, Xu Cheng, Houxiang Zhang, Shengyong Chen

AI总结:

该研究针对知识蒸馏中教师传递偏差误导学生的问题,提出含偏差消除、校正及动态学习的策略,首次让学生模型超越教师,且可即插即用适配主流KD框架。

摘要:

知识蒸馏(Knowledge Distillation, KD)是一种模型压缩技术,将知识从大型教师模型迁移到更小的学生模型以提升其性能。现有方法通常假设学生模型本质上弱于教师模型。然而,我们发现影响学生性能的根本问题是教师传递的偏差。当前的KD框架会同时传递正确和错误的知识,引入的偏差会误导学生模型。为解决这一问题,我们提出一种新型策略来校正偏差,大幅提升学生模型的性能。我们的策略包含三个步骤:首先,我们对知识进行区分,设计了一种偏差消除方法来过滤掉偏差,仅保留正确的知识供学生模型学习。接下来,我们提出一种偏差校正方法,对教师模型的错误预测进行校正,从根本上解决偏差干扰问题。学生模型同时从正确知识和校正后的偏差中学习,大幅提升了预测准确率。此外,我们引入了一种动态学习方法,搭配可动态更新权重的损失函数,让学生模型初期能快速学习基于正确知识的简单任务,后期再处理对应偏差的困难任务,极大提升了学生模型的学习效率。据我们所知,这是首个能让学生模型超越教师模型的策略。实验表明,我们的策略作为一个即插即用模块,可适配多种主流KD框架。我们将在论文被接收后发布代码。

英文摘要:

Knowledge distillation (KD) is a model compression technique that transfers knowledge from a large teacher model to a smaller student model to enhance its performance. Existing methods often assume that the student model is inherently inferior to the teacher model. However, we identify that the fundamental issue affecting student performance is the bias transferred by the teacher. Current KD frameworks transmit both right and wrong knowledge, introducing bias that misleads the student model. To address this issue, we propose a novel strategy to rectify bias and greatly improve the student model's performance. Our strategy involves three steps: First, we differentiate knowledge and design a bias elimination method to filter out biases, retaining only the right knowledge for the student model to learn. Next, we propose a bias rectification method to rectify the teacher model's wrong predictions, fundamentally addressing bias interference. The student model learns from both the right knowledge and the rectified biases, greatly improving its prediction accuracy. Additionally, we introduce a dynamic learning approach with a loss function that updates weights dynamically, allowing the student model to quickly learn right knowledge-based easy tasks initially and tackle hard tasks corresponding to biases later, greatly enhancing the student model's learning efficiency. To the best of our knowledge, this is the first strategy enabling the student model to surpass the teacher model. Experiments demonstrate that our strategy, as a plug-and-play module, is versatile across various mainstream KD frameworks. We will release our code after the paper is accepted.

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

↑