Knowledge Distillation for Efficient Sequences of Training Runs

Xingyu Liu,Alex Leonardi,Lu Yu,Chris Gilmer-Hill,Matthew Leavitt,Jonathan Frankle
DOI: https://doi.org/10.48550/arXiv.2303.06480
IF: 5.414
2023-03-11
Machine Learning
Abstract:In many practical scenarios -- like hyperparameter search or continual retraining with new data -- related training runs are performed many times in sequence. Current practice is to train each of these models independently from scratch. We study the problem of exploiting the computation invested in previous runs to reduce the cost of future runs using knowledge distillation (KD). We find that augmenting future runs with KD from previous runs dramatically reduces the time necessary to train these models, even taking into account the overhead of KD. We improve on these results with two strategies that reduce the overhead of KD by 80-90% with minimal effect on accuracy and vast pareto-improvements in overall cost. We conclude that KD is a promising avenue for reducing the cost of the expensive preparatory work that precedes training final models in practice.
What problem does this paper attempt to address?