arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.09210cs.CL
收藏

神经机器翻译中的通用条件掩蔽语言预训练

Universal Conditional Masked Language Pre-training for Neural Machine Translation

Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Monash University(莫纳什大学)

Pengfei Li, Liangyou Li, Meng Zhang, Minghao Wu, Qun Liu

摘要:

预训练的序列到序列模型显著改进了神经机器翻译(NMT)。与先前的预训练模型通常采用单向解码器的工作不同,本文证明了预训练序列到序列模型,但具有双向解码器可以为自回归和非自回归NMT产生显着的性能增益。具体来说,我们提出了CeMAT,一个条件掩蔽语言模型预训练的大规模双语和单语语料库中的许多语言。我们还介绍了两种简单而有效的方法来提高CeMAT,对齐码切换和掩蔽和动态双掩蔽。我们进行了广泛的实验,并表明我们的CeMAT可以在从低资源到极高资源语言的所有场景中实现显着的性能改进,即,在低资源条件下,BLEU最高可达+14.4,自回归NMT的平均BLEU改进可达+7.9。对于非自回归NMT,我们证明了它也可以产生一致的性能增益,即,最高+5.3 BLEU据我们所知,这是第一个预训练统一模型的工作,用于对两个NMT任务进行微调。代码、数据和预训练模型可在https://github.com/huawei-noah/Pretrained-Language-Model/tree/master/CeMAT上获得。

英文摘要:

Pre-trained sequence-to-sequence models have significantly improved Neural Machine Translation (NMT). Different from prior works where pre-trained models usually adopt an unidirectional decoder, this paper demonstrates that pre-training a sequence-to-sequence model but with a bidirectional decoder can produce notable performance gains for both Autoregressive and Non-autoregressive NMT. Specifically, we propose CeMAT, a conditional masked language model pre-trained on large-scale bilingual and monolingual corpora in many languages. We also introduce two simple but effective methods to enhance the CeMAT, aligned code-switching & masking and dynamic dual-masking. We conduct extensive experiments and show that our CeMAT can achieve significant performance improvement for all scenarios from low- to extremely high-resource languages, i.e., up to +14.4 BLEU on low resource and +7.9 BLEU improvements on average for Autoregressive NMT. For Non-autoregressive NMT, we demonstrate it can also produce consistent performance gains, i.e., up to +5.3 BLEU. To the best of our knowledge, this is the first work to pre-train a unified model for fine-tuning on both NMT tasks. Code, data, and pre-trained models are available at https://github.com/huawei-noah/Pretrained-Language-Model/tree/master/CeMAT.

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

↑