Knowledge Distillation (KD) is a central paradigm for transferring knowledge from a large teacher network to a typically smaller student model, often by leveraging soft probabilistic outputs. While KD has shown strong empirical success in numerous applications, its theoretical underpinnings remain only partially understood. In this work, we adopt a Bayesian perspective on KD to rigorously analyze the convergence behavior of students trained with Stochastic Gradient Descent (SGD). We study two regimes: $(i)$ when the teacher provides the exact Bayes Class Probabilities (BCPs); and $(ii)$ supervision with noisy approximations of the BCPs. Our analysis shows that learning from BCPs yields variance reduction and removes neighborhood terms in the convergence bounds compared to one-hot supervision. We further characterize how the level of noise affects generalization and accuracy. Motivated by these insights, we advocate the use of Bayesian deep learning models, which typically provide improved estimates of the BCPs, as teachers in KD. Consistent with our analysis, we experimentally demonstrate that students distilled from Bayesian teachers not only achieve higher accuracies (up to +4.27%), but also exhibit more stable convergence (up to 30% less noise), compared to students distilled from deterministic teachers.
Dynamics of stochastic gradient descent for two-layer neural networks in the teacher-student setup
Institut de Physique Théorique, CNRS, CEA, Université Paris-Saclay(巴黎萨克雷大学、法国国家科学研究中心、原子能和替代能源委员会理论物理研究所);Center for Brain Science, Harvard University(哈佛大学脑科学中心);Department of Experimental Psychology, University of Oxford(牛津大学实验心理学系)
What Makes a Strong Model? A Unified Spectral Analysis of Knowledge Transfer over High-dimensional Linear Regression
Department of Computer Science(计算机科学系);Cranberry-Lemon University(Cranberry-Lemon 大学);Department of Computational Neuroscience(计算神经科学系);University of the Witwatersrand(沃特瓦特斯兰大学)
Implicit Compressibility of Overparametrized Neural Networks Trained with Heavy-Tailed SGD
Paris Research Center, Huawei Technologies France(华为技术法国巴黎研发中心);Boğaziçi University(博加齐大学);Université Gustave Eiffel(古斯塔夫·埃菲尔大学);Inria(法国国家信息与自动化研究所);CNRS(法国国家科学研究中心);Ecole Normale Supérieure(巴黎高等师范学院);PSL Research University(巴黎文理研究大学)
Generalisation dynamics of online learning in over-parameterised neural networks
Institut de Physique Théorique(理论物理研究所);CNRS(法国国家科学研究中心);CEA(法国原子能和替代能源委员会);Université Paris-Saclay(巴黎萨克雷大学);Center for Brain Science, Harvard University(哈佛大学脑科学中心);Department of Experimental Psychology, University of Oxford(牛津大学实验心理学系);Laboratoire de Physique de l’Ecole Normale Supérieure(巴黎高等师范学院物理实验室);Université PSL(巴黎文理研究大学);Sorbonne Université(索邦大学);Université Paris-Diderot(巴黎第七大学);Sorbonne Paris Cité(索邦巴黎西岱大学)
On the Almost Sure Convergence of Stochastic Gradient Descent in Non-Convex Problems
Univ. Grenoble Alpes(格勒诺布尔阿尔卑斯大学);CNRS(法国国家科学研究中心);Inria(法国国家信息与自动化研究所);LIG(格勒诺布尔信息学实验室);Criteo AI Lab(Criteo人工智能实验室);École Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院)
SpectralKD: A Unified Framework for Interpreting and Distilling Vision Transformers via Spectral Analysis
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);School of Aeronautics and Astronautics, Zhejiang University(浙江大学航空航天学院)