Reduce, Reuse, Recycle: Improving Training Efficiency with Distillation
Not on the map. Why?
Abstract (arXiv)
Methods for improving the efficiency of deep network training (i.e. the resources required to achieve a given level of model quality) are of immediate benefit to deep learning practitioners. Distillation is typically used to compress models or improve model quality, but it's unclear if distillation actually improves training efficiency. Can the quality improvements of distillation be converted into training speed-ups, or do they simply increase final model quality with no resource savings? We conducted a series of experiments to investigate whether and how distillation can be used to accelerate training using ResNet-50 trained on ImageNet and BERT trained on C4 with a masked language modeling objective and evaluated on GLUE, using common enterprise hardware (8x NVIDIA A100). We found that distillation can speed up training by up to 1.96x in ResNet-50 trained on ImageNet and up to 1.42x on BERT when evaluated on GLUE. Furthermore, distillation for BERT yields optimal results when it is only performed for the first 20-50% of training. We also observed that training with distillation is almost always more efficient than training without distillation, even when using the poorest-quality model as a teacher, in both ResNet-50 and BERT. Finally, we found that it's possible to gain the benefit of distilling from an ensemble of teacher models, which has O(n) runtime cost, by randomly sampling a single teacher from the pool of teacher models on each step, which only has a O(1) runtime cost. Taken together, these results show that distillation can substantially improve training efficiency in both image classification and language modeling, and that a few simple optimizations to distillation protocols can further enhance these efficiency improvements.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 45 of its 56 references that are in the map. First posted on arXiv 1 Nov 2022.
Builds on
45 of 56 references.
References · 45
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
33 more
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2020Ensemble Distillation for Robust Model Fusion in Federated Learningcited by 678
- 2018An Empirical Study of Example Forgetting during Deep Neural Network Learningcited by 669
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
- 2021Merging Models with Fisher-Weighted Averagingcited by 613
- 2019Improved Knowledge Distillation via Teacher Assistantcited by 567
- 2020A Survey of Deep Active Learningcited by 547
- 2018Born Again Neural Networkscited by 539
- 2021Deep Learning on a Data Diet: Finding Important Examples Early in Trainingcited by 529
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 519
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
- 2019Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillationcited by 491
- 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
- 2019Selection via Proxy: Efficient Data Selection for Deep Learningcited by 337
- 2020Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learningcited by 292
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 283
- 2021Knowledge distillation: A good teacher is patient and consistentcited by 255
- 2022Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learntcited by 233
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
- 2018Gradient Descent Happens in a Tiny Subspacecited by 208
- 2019Ensemble Distribution Distillationcited by 158
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
- 2020The Early Phase of Neural Network Trainingcited by 114
- 2018Snapshot Distillation: Teacher-Student Optimization in One Generationcited by 99
- 2021No One Representation to Rule Them All: Overlapping Features of Training Methodscited by 57
- 2019Time Matters in Regularizing Deep Networks: Weight Decay and Data Augmentation Affect Early Learning Dynamics, Matter Little Near Convergencecited by 54
- 2019Ensemble Knowledge Distillation for Learning Improved and Efficient Networkscited by 46
- 2022Efficient Knowledge Distillation from Model Checkpointscited by 37
- 2020Improving BERT Fine-Tuning via Self-Ensemble and Self-Distillationcited by 25
- 2018Are All Training Examples Created Equal? An Empirical Studycited by 16
- 2022Knowledge Distillation: Bad Models Can Be Good Role Modelscited by 12
Built on by
Citing papers per year: 2023: 2; 2024: 0; 2025: 0; 2026: 1.
3 papers.