Lune

NeurIPS2023Top-tier venue

Knowledge Distillation Performs Partial Variance Reduction

Mher Safaryan, Alexandra Peste, Dan Alistarh

Abstract

Knowledge distillation is a popular approach for enhancing the performance of ''student'' models, with lower representational capacity, by taking advantage of more powerful ''teacher'' models. Despite its apparent simplicity and widespread use, the underlying mechanics behind knowledge distillation (KD) are still not fully understood. In this work, we shed new light on the inner workings of this method, by examining it from an optimization perspective. We show that, in the context of linear and deep linear models, KD can be interpreted as a novel type of stochastic variance reduction mechanism. We provide a detailed convergence analysis of the resulting dynamics, which hold under standard assumptions for both strongly-convex and non-convex losses, showing that KD acts as a form of partial variance reduction, which can reduce the stochastic gradient noise, but may not eliminate it completely, depending on the properties of the ''teacher'' model. Our analysis puts further emphasis on the need for careful parametrization of KD, in particular w.r.t. the weighting of the distillation loss, and is validated empirically on both linear models and deep neural networks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Debiased Distillation for Consistency Regularization cites Improved Knowledge Distillation via Teacher Assistant
  • Debiased Distillation for Consistency Regularization cites Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillation
  • SGD-Based Knowledge Distillation with Bayesian Teachers: Theory and Guidelines cites Debiased Distillation for Consistency Regularization
  • Distilled Pretraining: A modern lens of Data, In-Context Learning and Test-Time Scaling cites Improved Knowledge Distillation via Teacher Assistant
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. InfiGFusion: Graph-on-Logits Distillation via Efficient Gromov-Wasserstein for Model FusionYuanyi Wang, Zhaoyi Yan, Yiming Zhang, Qi Zhou et al.NeurIPS 2025 · 12 citations
  2. Distilled Pretraining: A modern lens of Data, In-Context Learning and Test-Time ScalingSachin Goyal, David Lopez-Paz, Kartik AhujaICLR 2026 · 11 citations
  3. Debiased Distillation for Consistency RegularizationLu Wang, Liuchi Xu, Xiong Yang, Zhenhua Huang et al.AAAI 2025 · 6 citations
  4. Prediction-Powered Semi-Supervised Learning with Online Power TuningNoa Shoham, Ron Dorfman, Shalev Shaer, Kfir Y. Levy et al.NeurIPS 2025 · 5 citations
  5. SGD-Based Knowledge Distillation with Bayesian Teachers: Theory and GuidelinesItai Morad, Nir Shlezinger, Yonina C. EldarICLR 2026 · 1 citation

Builds on8

  1. Improved Knowledge Distillation via Teacher AssistantSeyed-Iman Mirzadeh, Mehrdad Farajtabar, Ang Li, Nir Levine et al.AAAI 2020 · 1,361 citations
  2. Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self DistillationLinfeng Zhang, Jiebo Song, Anni Gao, Jingwei Chen et al.ICCV 2019 · 1,069 citations
  3. MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu et al.ACL 2020 · 660 citations
  4. Preserved central model for faster bidirectional compression in distributed settingsConstantin Philippenko, Aymeric DieuleveutNeurIPS 2021 · 37 citations
  5. Smoothness Matrices Beat Smoothness Constants: Better Communication Compression Techniques for Distributed OptimizationMher Safaryan, Filip Hanzely, Peter RichtárikNeurIPS 2021 · 32 citations

Related papers

  1. What Makes a Strong Model? A Unified Spectral Analysis of Knowledge Transfer over High-dimensional Linear RegressionWendao Wu, Fangqing Zhang, Haihan Zhang, Cong FangICML 2026
  2. Improving Generalization of Pre-trained Language Models via Stochastic Weight AveragingPeng Lu, Ivan Kobyzev, Mehdi Rezagholizadeh, Ahmad Rashid et al.EMNLP Findings 2022 · 6 citations
  3. Revisiting Knowledge Distillation via Label Smoothing RegularizationLi Yuan, Francis E. H. Tay, Guilin Li, Tao Wang et al.CVPR 2020
  4. Knowledge Diffusion for DistillationTao Huang, Yuan Zhang, Mingkai Zheng, Shan You et al.NeurIPS 2023 · 125 citations
  5. Learning Student-Friendly Teacher Networks for Knowledge DistillationDae Young Park, Moon-Hyun Cha, Changwook Jeong, Daesin Kim et al.NeurIPS 2021 · 134 citations
Dusk over the sea between two cliffs drawn in fine vertical lines