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

更好的数据存储,更好的翻译:从预训练模型生成数据存储,用于最近的神经机器翻译

Better Datastore, Better Translation: Generating Datastores from Pre-Trained Models for Nearest Neural Machine Translation

Nanjing University(南京大学);ByteDance(字节跳动)

Jiahuan Li, Shanbo Cheng, Zewei Sun, Mingxuan Wang, Shujian Huang

摘要:

最近邻机器翻译(kNNMT)是一种简单有效的增强神经机器翻译(NMT)的方法。kNNMT的有效性直接取决于检索的邻居的质量。然而,原始的kNNMT基于NMT模型的表示来构建数据存储,这将导致当NMT模型不够好时检索准确性差,从而导致次优的翻译性能。在本文中,我们提出了PRED,这是一个利用kNN-MT中数据存储的预训练模型的框架。来自预训练模型的更好的表示使我们能够构建更好质量的数据存储。我们还设计了一个新的对比对齐目标,以减轻NMT模型和预训练模型之间的表示差距,使NMT模型能够从更好的数据存储中检索。我们对双语和多语言翻译基准进行了广泛的实验,包括WMT 17英语$\leftrightarrow$中文,WMT 14英语$\leftrightarrow$德语,IWSLT 14德语$\leftrightarrow$英语和IWSLT 14多语言数据集。实证结果证明了PRED的有效性。

英文摘要:

Nearest Neighbor Machine Translation (kNNMT) is a simple and effective method of augmenting neural machine translation (NMT) with a token-level nearest neighbor retrieval mechanism. The effectiveness of kNNMT directly depends on the quality of retrieved neighbors. However, original kNNMT builds datastores based on representations from NMT models, which would result in poor retrieval accuracy when NMT models are not good enough, leading to sub-optimal translation performance. In this paper, we propose PRED, a framework that leverages Pre-trained models for Datastores in kNN-MT. Better representations from pre-trained models allow us to build datastores of better quality. We also design a novel contrastive alignment objective to mitigate the representation gap between the NMT model and pre-trained models, enabling the NMT model to retrieve from better datastores. We conduct extensive experiments on both bilingual and multilingual translation benchmarks, including WMT17 English $\leftrightarrow$ Chinese, WMT14 English $\leftrightarrow$ German, IWSLT14 German $\leftrightarrow$ English, and IWSLT14 multilingual datasets. Empirical results demonstrate the effectiveness of PRED.

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

↑