知识蒸馏的高维分析:弱到强泛化与缩放定律
High-dimensional Analysis of Knowledge Distillation: Weak-to-Strong Generalization and Scaling Laws
AI总结:
本文通过高维无脊回归的精确刻画,证明弱到强泛化中弱模型代理训练在相同数据预算下优于强标签训练,但无法改善数据缩放定律。
摘要:
越来越多的机器学习场景依赖于知识蒸馏,即使用代理模型的输出作为标签来监督目标模型的训练。在这项工作中,我们针对无脊高维回归,在两种设置下提供了该过程的精确刻画:(i)模型偏移,其中代理模型是任意的;(ii)分布偏移,其中代理模型是使用分布外数据进行经验风险最小化的解。在两种情况下,我们通过温和条件下的非渐近界,以样本量和数据分布为参数,刻画了目标模型的精确风险。因此,我们确定了最优代理模型的形式,这揭示了以数据依赖方式丢弃弱特征的好处和局限性。在弱到强(W2S)泛化的背景下,这具有如下解释:(i)在相同数据预算下,以弱模型作为代理的W2S训练可以证明优于使用强标签的训练,但(ii)它无法改善数据缩放定律。我们在无脊回归和神经网络架构的数值实验中验证了我们的结果。
英文摘要:
A growing number of machine learning scenarios rely on knowledge distillation where one uses the output of a surrogate model as labels to supervise the training of a target model. In this work, we provide a sharp characterization of this process for ridgeless, high-dimensional regression, under two settings: (i) model shift, where the surrogate model is arbitrary, and (ii) distribution shift, where the surrogate model is the solution of empirical risk minimization with out-of-distribution data. In both cases, we characterize the precise risk of the target model through non-asymptotic bounds in terms of sample size and data distribution under mild conditions. As a consequence, we identify the form of the optimal surrogate model, which reveals the benefits and limitations of discarding weak features in a data-dependent fashion. In the context of weak-to-strong (W2S) generalization, this has the interpretation that (i) W2S training, with the surrogate as the weak model, can provably outperform training with strong labels under the same data budget, but (ii) it is unable to improve the data scaling law. We validate our results on numerical experiments both on ridgeless regression and on neural network architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。