arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1606.07947cs.CLcs.LGcs.NE
收藏

序列级知识蒸馏

Sequence-Level Knowledge Distillation

Harvard University(哈佛大学)

Yoon Kim, Alexander M. Rush

摘要:

神经机器翻译(NMT)提供了一种新的替代翻译公式,可能比统计方法更简单。然而,为了达到有竞争力的性能,NMT模型需要非常大。在本文中,我们考虑应用知识蒸馏方法(Bucila等人,2006; Hinton等人,2015年),已被证明成功地减少了NMT问题在其他领域的神经模型的大小。我们证明了应用于单词级预测的标准知识蒸馏对NMT是有效的,并且还介绍了两种新的序列级版本的知识蒸馏,它们进一步提高了性能,并且有点令人惊讶的是,似乎消除了对束搜索的需要(即使应用于原始教师模型)。我们最好的学生模型运行速度比其最先进的老师快10倍,性能几乎没有损失。它也明显优于在没有知识蒸馏的情况下训练的基线模型:通过具有贪心解码/束搜索的4.2/1.7 BLEU。在知识蒸馏的基础上应用权重修剪,学生模型的参数比原始教师模型少13倍,减少了0.4 BLEU。

英文摘要:

Neural machine translation (NMT) offers a novel alternative formulation of translation that is potentially simpler than statistical approaches. However to reach competitive performance, NMT models need to be exceedingly large. In this paper we consider applying knowledge distillation approaches (Bucila et al., 2006; Hinton et al., 2015) that have proven successful for reducing the size of neural models in other domains to the problem of NMT. We demonstrate that standard knowledge distillation applied to word-level prediction can be effective for NMT, and also introduce two novel sequence-level versions of knowledge distillation that further improve performance, and somewhat surprisingly, seem to eliminate the need for beam search (even when applied on the original teacher model). Our best student model runs 10 times faster than its state-of-the-art teacher with little loss in performance. It is also significantly better than a baseline model trained without knowledge distillation: by 4.2/1.7 BLEU with greedy decoding/beam search. Applying weight pruning on top of knowledge distillation results in a student model that has 13 times fewer parameters than the original teacher model, with a decrease of 0.4 BLEU.

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

↑