arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2107.08212cs.CLcs.LG
收藏

神经机器翻译预训练的学习行为研究

On the Copying Behaviors of Pre-Training for Neural Machine Translation

University of Macau(澳门大学);Tencent AI Lab(腾讯人工智能实验室);The University of Sydney(悉尼大学)

Xuebo Liu, Longyue Wang, Derek F. Wong, Liang Ding, Lidia S. Chao, Shuming Shi, Zhaopeng Tu

摘要:

以往的研究表明,用预先训练好的语言模型(LM)初始化神经机器翻译(NMT)模型可以加快模型训练速度,提高模型性能。在这项工作中,我们确定了NMT的预训练的一个关键副作用,这是由于基于LM的预训练和NMT的训练目标之间的差异。由于LM目标学习重构一些源令牌并复制其中的大部分,因此预训练初始化将影响NMT模型的复制行为。我们通过引入一个称为复制率的度量标准来对复制行为进行定量分析,该度量标准经验性地表明,基于预训练的NMT模型具有比标准模型更大的复制率。针对这一问题,本文提出了一种简单有效的拷贝惩罚方法来控制解码过程中的拷贝行为。在域内和域外基准测试上的大量实验表明,复制惩罚方法通过控制基于预训练的NMT模型的复制行为,不断提高翻译性能。源代码可以在https://github.com/SunbowLiu/CopyingPenalty上免费获得。

英文摘要:

Previous studies have shown that initializing neural machine translation (NMT) models with the pre-trained language models (LM) can speed up the model training and boost the model performance. In this work, we identify a critical side-effect of pre-training for NMT, which is due to the discrepancy between the training objectives of LM-based pre-training and NMT. Since the LM objective learns to reconstruct a few source tokens and copy most of them, the pre-training initialization would affect the copying behaviors of NMT models. We provide a quantitative analysis of copying behaviors by introducing a metric called copying ratio, which empirically shows that pre-training based NMT models have a larger copying ratio than the standard one. In response to this problem, we propose a simple and effective method named copying penalty to control the copying behaviors in decoding. Extensive experiments on both in-domain and out-of-domain benchmarks show that the copying penalty method consistently improves translation performance by controlling copying behaviors for pre-training based NMT models. Source code is freely available at https://github.com/SunbowLiu/CopyingPenalty.

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

↑