Knowledge Distillation for Efficient Sequences of Training Runs

Xingyu Liu, Alex Leonardi, Lu Yu, Chris Gilmer-Hill, Matthew Leavitt +1 more
3/11/2023
cs.LGcs.CV

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2023knowledge,
  title  = {Knowledge Distillation for Efficient Sequences of Training Runs},
  author = {Xingyu Liu and Alex Leonardi and Lu Yu and Chris Gilmer-Hill and Matthew Leavitt and Jonathan Frankle},
  year   = {2023},
  eprint = {2303.06480},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.06480v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.06480.svg)](https://codeofpaper.com/paper/2303.06480)

Discussion