Skip to main content
QUICK REVIEW

[论文解读] Ensemble Distillation for Neural Machine Translation

Markus Freitag, Yaser Al-Onaizan|arXiv (Cornell University)|Feb 6, 2017
Natural Language Processing Techniques参考文献 8被引用 64
一句话总结

该论文展示知识蒸馏用于NMT,将集成与 oracle Bleu 教师质量转移到单一学生模型,包括数据过滤和同架构教师的训练,实现更快的解码,同时翻译质量可比或更好。还展示数据裁剪和模型规模缩减而不损失性能。

ABSTRACT

Knowledge distillation describes a method for training a student network to perform better by learning from a stronger teacher network. Translating a sentence with an Neural Machine Translation (NMT) engine is time expensive and having a smaller model speeds up this process. We demonstrate how to transfer the translation quality of an ensemble and an oracle BLEU teacher network into a single NMT system. Further, we present translation improvements from a teacher network that has the same architecture and dimensions of the student network. As the training of the student model is still expensive, we introduce a data filtering method based on the knowledge of the teacher model that not only speeds up the training, but also leads to better translation quality. Our techniques need no code change and can be easily reproduced with any NMT architecture to speed up the decoding process.

研究动机与目标

  • 激发使用知识蒸馏以提高NMT质量,同时实现更快的解码。
  • 演示将集成/ oracle Bleu 教师的知识转移到单一学生模型中,包括教师与学生在架构和规模上相同的情况。
  • 展示基于教师预测的数据过滤技术以加速并提升训练。
  • 评估教师类型、数据过滤和模型规模缩减对德英翻译质量的影响。

提出的方法

  • 使用教师对全部训练数据进行翻译,为学生创建伪目标。
  • 在(源句,教师翻译)对上训练学生,必要时可与原始参考一起使用。
  • 实验不同的教师类型:单一同架构教师、6 模型的集成,以及基于 oracle Bleu 的教师。
  • 采用 Ter 基于数据裁剪以去除嘈杂的句对。
  • 通过降低嵌入和隐藏层维度来缩小学生模型,同时保持或提升性能。

实验结果

研究问题

  • RQ1来自集成教师的知识蒸馏在NMT中是否能匹配或超过单一教师的蒸馏?
  • RQ2与教师同架构的学生仍能从蒸馏中受益吗?收益有多大?
  • RQ3基于翻译质量(Ter)的数据筛选是否提高了训练效率和翻译质量?
  • RQ4基于 oracle Bleu 的蒸馏在NMT性能上与基于集成的蒸馏相比如何?
  • RQ5在集成教师引导下,减小学生模型规模对翻译质量有何影响?

主要发现

  • 集成教师蒸馏在基线带数据裁剪的情况下(Ter ≤ 0.8)将 Bleu 提升约 2.0 点,Ter 提升约 2.2 点。
  • 使用前向翻译加原始参考的单一同架构蒸馏获得约 1.4 Bleu 和 1.0–1.2 Ter 提升。
  • Oracle Bleu 教师蒸馏带来收益,但略低于集成教师的结果。
  • 裁剪嘈杂训练数据(Ter > 0.8)使训练数据减少约 12%,并在提速的同时保持或提高质量。
  • 将嵌入/隐藏层尺寸降至较小值(如 150/300)的学生模型在蒸馏下可达到或超过基线,甚至超越更大教师在 Bleu/Ter 的表现。
  • 来自集成教师的知识蒸馏使较小的学生在显著更快的解码和更小的内存占用下达到相似或更好的翻译质量。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。