arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.13088cs.LGstat.ML
收藏

即使是你的老师也需要指导:真值目标会抑制自蒸馏强加的正则化

Even your Teacher Needs Guidance: Ground-Truth Targets Dampen Regularization Imposed by Self-Distillation

Aarhus University(奥胡斯大学)

Kenneth Borup, Lars N. Andersen

摘要:

知识蒸馏是一个经典的过程,其中一个神经网络是在另一个网络的输出以及原始目标上训练的,以便在体系结构之间传递知识。自蒸馏的特殊情况下,网络结构是相同的,已被观察到,以提高泛化精度。在本文中,我们考虑一个迭代的自蒸馏在核回归设置,其中连续的步骤将模型输出和真值的目标。这使我们能够提供第一个理论结果的重要性,使用加权的真值目标在自蒸馏。我们的重点是拟合非线性函数的训练数据与加权均方误差的目标函数适合蒸馏,受$\ell_2$正则化的模型参数。我们表明,任何这样的功能获得自蒸馏可以直接计算作为一个函数的初始拟合,无限蒸馏步骤产生相同的优化问题与原来的放大正则化。此外,我们提供了一个封闭形式的解决方案,在每一步的加权参数的最佳选择,并显示如何有效地估计这个加权参数的深度学习,并显着减少计算要求相比,网格搜索。

英文摘要:

Knowledge distillation is classically a procedure where a neural network is trained on the output of another network along with the original targets in order to transfer knowledge between the architectures. The special case of self-distillation, where the network architectures are identical, has been observed to improve generalization accuracy. In this paper, we consider an iterative variant of self-distillation in a kernel regression setting, in which successive steps incorporate both model outputs and the ground-truth targets. This allows us to provide the first theoretical results on the importance of using the weighted ground-truth targets in self-distillation. Our focus is on fitting nonlinear functions to training data with a weighted mean square error objective function suitable for distillation, subject to $\ell_2$ regularization of the model parameters. We show that any such function obtained with self-distillation can be calculated directly as a function of the initial fit, and that infinite distillation steps yields the same optimization problem as the original with amplified regularization. Furthermore, we provide a closed form solution for the optimal choice of weighting parameter at each step, and show how to efficiently estimate this weighting parameter for deep learning and significantly reduce the computational requirements compared to a grid search.

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

↑