English

Knowledge Distillation: Bad Models Can Be Good Role Models

Machine Learning 2022-03-29 v1 Artificial Intelligence Machine Learning

Abstract

Large neural networks trained in the overparameterized regime are able to fit noise to zero train error. Recent work \citep{nakkiran2020distributional} has empirically observed that such networks behave as "conditional samplers" from the noisy distribution. That is, they replicate the noise in the train data to unseen examples. We give a theoretical framework for studying this conditional sampling behavior in the context of learning theory. We relate the notion of such samplers to knowledge distillation, where a student network imitates the outputs of a teacher on unlabeled data. We show that samplers, while being bad classifiers, can be good teachers. Concretely, we prove that distillation from samplers is guaranteed to produce a student which approximates the Bayes optimal classifier. Finally, we show that some common learning algorithms (e.g., Nearest-Neighbours and Kernel Machines) can generate samplers when applied in the overparameterized regime.

Keywords

Cite

@article{arxiv.2203.14649,
  title  = {Knowledge Distillation: Bad Models Can Be Good Role Models},
  author = {Gal Kaplun and Eran Malach and Preetum Nakkiran and Shai Shalev-Shwartz},
  journal= {arXiv preprint arXiv:2203.14649},
  year   = {2022}
}
R2 v1 2026-06-24T10:28:10.186Z