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

交叉注意力就是你所需要的:为机器翻译调整预训练的Transformers

Cross-Attention is All You Need: Adapting Pretrained Transformers for Machine Translation

Information Sciences Institute(信息科学研究所);University of Southern California(南加州大学)

Mozhdeh Gheini, Xiang Ren, Jonathan May

摘要:

我们在机器翻译的迁移学习背景下研究了Transformer架构中的交叉注意力,并将研究结果扩展到从头开始训练时的交叉注意力。我们进行了一系列的实验,通过微调的数据源或目标语言已经改变的翻译模型。这些实验表明,仅微调交叉注意参数几乎与微调所有参数一样有效(即,整个翻译模式)。我们提供的见解,为什么会出现这种情况,并观察到,以这种方式限制微调产生跨语言对齐的嵌入。这一发现对研究人员和从业者的影响包括减轻灾难性遗忘,zero-shot翻译的潜力,以及将机器翻译模型扩展到几种新语言对的能力,同时减少参数存储开销。

英文摘要:

We study the power of cross-attention in the Transformer architecture within the context of transfer learning for machine translation, and extend the findings of studies into cross-attention when training from scratch. We conduct a series of experiments through fine-tuning a translation model on data where either the source or target language has changed. These experiments reveal that fine-tuning only the cross-attention parameters is nearly as effective as fine-tuning all parameters (i.e., the entire translation model). We provide insights into why this is the case and observe that limiting fine-tuning in this manner yields cross-lingually aligned embeddings. The implications of this finding for researchers and practitioners include a mitigation of catastrophic forgetting, the potential for zero-shot translation, and the ability to extend machine translation models to several new language pairs with reduced parameter storage overhead.

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

↑