arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.09732stat.MLcs.LG
收藏

作为半参数推理的知识蒸馏

Knowledge Distillation as Semiparametric Inference

Stanford University(斯坦福大学);Microsoft Research, New England(微软研究院新英格兰分院)

Tri Dao, Govinda M Kamath, Vasilis Syrgkanis, Lester Mackey

摘要:

一种流行的模型压缩方法是训练一个便宜的学生模型来模仿一个高度准确但繁琐的教师模型的类概率。令人惊讶的是,这种两步知识蒸馏过程通常比直接在标记数据上训练学生更准确。为了解释和增强这种现象,我们铸造知识蒸馏作为一个半参数推理问题的最佳学生模型为目标,未知的贝叶斯类概率为滋扰,和教师的概率作为一个插件滋扰估计。通过采用现代半参数工具,我们得到新的保证标准蒸馏的预测误差和开发两个增强-交叉拟合和损失校正-以减轻教师过拟合和欠拟合对学生成绩的影响。我们在表格和图像数据上验证了我们的发现,并观察到我们的知识蒸馏增强的一致改进。

英文摘要:

A popular approach to model compression is to train an inexpensive student model to mimic the class probabilities of a highly accurate but cumbersome teacher model. Surprisingly, this two-step knowledge distillation process often leads to higher accuracy than training the student directly on labeled data. To explain and enhance this phenomenon, we cast knowledge distillation as a semiparametric inference problem with the optimal student model as the target, the unknown Bayes class probabilities as nuisance, and the teacher probabilities as a plug-in nuisance estimate. By adapting modern semiparametric tools, we derive new guarantees for the prediction error of standard distillation and develop two enhancements -- cross-fitting and loss correction -- to mitigate the impact of teacher overfitting and underfitting on student performance. We validate our findings empirically on both tabular and image data and observe consistent improvements from our knowledge distillation enhancements.

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

↑