arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.12967cs.CLcs.AI
收藏

神经机器翻译中的选择性知识蒸馏

Selective Knowledge Distillation for Neural Machine Translation

Peking University(北京大学);Tencent Inc(腾讯公司)

Fusheng Wang, Jianhao Yan, Fandong Meng, Jie Zhou

摘要:

神经机器翻译(NMT)模型在许多翻译基准测试中达到了最先进的性能。知识蒸馏是网络数学模型中一个活跃的研究领域,它通过在每个训练样本上转移教师模型的知识来提高模型的性能。然而,以往的工作很少讨论这些样本之间的不同影响和联系,这些样本作为教师知识转移的媒介。在本文中,我们设计了一个新的协议,可以有效地分析不同的样本的影响,通过比较不同的样本的分区。在此基础上,我们进行了大量的实验,发现教师的知识并不是越多越好。对特定样本的知识甚至可能损害知识蒸馏的整体性能。最后,为了解决这些问题,我们提出了两个简单而有效的策略,即,批量级和全局级选择,以挑选合适的样品进行蒸馏。我们在两个大规模的机器翻译任务上评估了我们的方法,WMT'14英语->德语和WMT'19中文->英语。实验结果表明,我们的方法产生高达+1.28和+0.89 BLEU点的改进,分别超过Transformer基线。

英文摘要:

Neural Machine Translation (NMT) models achieve state-of-the-art performance on many translation benchmarks. As an active research field in NMT, knowledge distillation is widely applied to enhance the model's performance by transferring teacher model's knowledge on each training sample. However, previous work rarely discusses the different impacts and connections among these samples, which serve as the medium for transferring teacher knowledge. In this paper, we design a novel protocol that can effectively analyze the different impacts of samples by comparing various samples' partitions. Based on above protocol, we conduct extensive experiments and find that the teacher's knowledge is not the more, the better. Knowledge over specific samples may even hurt the whole performance of knowledge distillation. Finally, to address these issues, we propose two simple yet effective strategies, i.e., batch-level and global-level selections, to pick suitable samples for distillation. We evaluate our approaches on two large-scale machine translation tasks, WMT'14 English->German and WMT'19 Chinese->English. Experimental results show that our approaches yield up to +1.28 and +0.89 BLEU points improvements over the Transformer baseline, respectively.

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

↑