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

基于预训练语言模型的多语言翻译

Multilingual Translation via Grafting Pre-trained Language Models

ByteDance AI Lab(字节跳动人工智能实验室);University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校)

Zewei Sun, Mingxuan Wang, Lei Li

摘要:

一种语言的预训练BERT和另一种语言的GPT可以粘在一起翻译文本吗?仅使用单语数据的自我监督训练已经导致了许多NLP任务中预训练(掩蔽)语言模型的成功。然而,直接连接BERT作为编码器和GPT作为解码器在机器翻译中可能具有挑战性,因为类似GPT的模型缺乏seq2seq解码器中所需的交叉注意组件。在本文中,我们提出了Gramformer移植单独的预训练(掩蔽)语言模型的机器翻译。使用单语数据进行预训练,并行数据进行嫁接训练,我们最大限度地利用了这两种类型数据的使用。在60个方向上的实验表明,与相同大小的多语言Transformer相比,该方法在x2en方向上平均提高了5.8 BLEU,在en2x方向上平均提高了2.9 BLEU。

英文摘要:

Can pre-trained BERT for one language and GPT for another be glued together to translate texts? Self-supervised training using only monolingual data has led to the success of pre-trained (masked) language models in many NLP tasks. However, directly connecting BERT as an encoder and GPT as a decoder can be challenging in machine translation, for GPT-like models lack a cross-attention component that is needed in seq2seq decoders. In this paper, we propose Graformer to graft separately pre-trained (masked) language models for machine translation. With monolingual data for pre-training and parallel data for grafting training, we maximally take advantage of the usage of both types of data. Experiments on 60 directions show that our method achieves average improvements of 5.8 BLEU in x2en and 2.9 BLEU in en2x directions comparing with the multilingual Transformer of the same size.

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

↑