arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.06480cs.LGcs.CV
收藏

有效训练序列的知识蒸馏

Knowledge Distillation for Efficient Sequences of Training Runs

Harvard University(哈佛大学);MosaicML(MosaicML公司)

Xingyu Liu, Alex Leonardi, Lu Yu, Chris Gilmer-Hill, Matthew Leavitt, Jonathan Frankle

摘要:

在许多实际场景中,如超参数搜索或使用新数据进行持续再训练,相关的训练运行会按顺序执行多次。目前的做法是从零开始独立地训练这些模型。我们研究了利用知识蒸馏(KD)的计算投资在以前的运行,以减少未来的运行成本的问题。我们发现,增加未来的运行与KD从以前的运行大大减少了训练这些模型所需的时间,即使考虑到KD的开销。我们用两种策略改进了这些结果,这两种策略将KD的开销减少了80-90%,对准确性的影响最小,并且在总体成本上有巨大的帕累托改进。我们的结论是KD是一个很有前途的途径,以减少成本昂贵的准备工作,在实践中训练最终模型之前。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑