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

编码器内部的语言迁移:关于零样本多语言翻译中的表示迁移

Languages Transferred Within the Encoder: On Representation Transfer in Zero-Shot Multilingual Translation

Nara Institute of Science and Technology(奈良科学技术研究所);National Institute of Information and Communications Technology(信息通信研究机构)

Zhi Qu, Chenchen Ding, Taro Watanabe

AI总结:

本文通过恒等对分析多语言神经机器翻译的表示迁移问题,揭示零样本翻译缺陷源于表示与多语言纠缠,并提出低秩语言特定嵌入和语言特定对比学习两种方法,在多个数据集上显著提升零样本翻译性能。

摘要:

理解多语言神经机器翻译(MNMT)中的表示迁移可以揭示零样本翻译缺陷的原因。在这项工作中,我们系统地分析了MNMT模型的表示问题。我们首先引入恒等对,即将一个句子翻译为它自身,以解决多语言研究中缺乏基准度量的问题,因为恒等对能够反映一种语言在模型内部的表示。然后,我们证明编码器将源语言迁移到目标语言的表示子空间,而不是语言无关的状态。因此,零样本翻译缺陷的产生是因为翻译的表示与其他语言纠缠在一起,未能有效地迁移到目标语言。基于我们的发现,我们提出了两种方法:1)在编码器处使用低秩语言特定嵌入,以及2)在解码器处对表示进行语言特定对比学习。在Europarl-15、TED-19和OPUS-100数据集上的实验结果表明,我们的方法通过提高语言迁移能力,在不牺牲有监督方向性能的情况下大幅提升了零样本翻译的性能,从而为支持我们的结论提供了实践证据。代码可在 https://github.com/zhiqu22/ZeroTrans 获取。

英文摘要:

Understanding representation transfer in multilingual neural machine translation (MNMT) can reveal the reason for the zero-shot translation deficiency. In this work, we systematically analyze the representational issue of MNMT models. We first introduce the identity pair, translating a sentence to itself, to address the lack of the base measure in multilingual investigations, as the identity pair can reflect the representation of a language within the model. Then, we demonstrate that the encoder transfers the source language to the representational subspace of the target language instead of the language-agnostic state. Thus, the zero-shot translation deficiency arises because the representation of a translation is entangled with other languages and not transferred to the target language effectively. Based on our findings, we propose two methods: 1) low-rank language-specific embedding at the encoder, and 2) language-specific contrastive learning of the representation at the decoder. The experimental results on Europarl-15, TED-19, and OPUS-100 datasets show that our methods substantially enhance the performance of zero-shot translations without sacrifices in supervised directions by improving language transfer capacity, thereby providing practical evidence to support our conclusions. Codes are available at https://github.com/zhiqu22/ZeroTrans.

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

↑