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

基于并行语料库的嵌入式词对齐

Word Alignment by Fine-tuning Embeddings on Parallel Corpora

Carnegie Mellon University(卡内基梅隆大学)

Zi-Yi Dou, Graham Neubig

摘要:

平行语料库上的词对齐具有广泛的应用,包括学习翻译词典、语言处理工具的跨语言迁移以及翻译输出的自动评估或分析。过去绝大多数关于单词对齐的工作都是通过对平行文本进行无监督学习来实现的。然而,最近,其他工作表明,来自多语言训练的语言模型(LM)的预训练的上下文化词嵌入证明是一个有吸引力的替代方案,即使在没有明确的并行数据训练的情况下,也能在词对齐任务上取得有竞争力的结果。在本文中,我们研究了将这两种方法结合起来的方法:利用预先训练的LM,但在并行文本上对其进行微调,目标是提高对齐质量,并提出了从这些微调模型中有效提取对齐的方法。我们对五种语言对进行了实验,并证明我们的模型可以始终优于以前的所有品种的最先进的模型。此外,我们证明了我们能够训练多语言单词对齐器,可以获得不同的语言对强大的性能。我们的对齐器AWESOME(对齐多语言编码器的词嵌入空间)带有预训练模型,可在https://github.com/neulab/awesome-align上获得

英文摘要:

Word alignment over parallel corpora has a wide variety of applications, including learning translation lexicons, cross-lingual transfer of language processing tools, and automatic evaluation or analysis of translation outputs. The great majority of past work on word alignment has worked by performing unsupervised learning on parallel texts. Recently, however, other work has demonstrated that pre-trained contextualized word embeddings derived from multilingually trained language models (LMs) prove an attractive alternative, achieving competitive results on the word alignment task even in the absence of explicit training on parallel data. In this paper, we examine methods to marry the two approaches: leveraging pre-trained LMs but fine-tuning them on parallel text with objectives designed to improve alignment quality, and proposing methods to effectively extract alignments from these fine-tuned models. We perform experiments on five language pairs and demonstrate that our model can consistently outperform previous state-of-the-art models of all varieties. In addition, we demonstrate that we are able to train multilingual word aligners that can obtain robust performance on different language pairs. Our aligner, AWESOME (Aligning Word Embedding Spaces of Multilingual Encoders), with pre-trained models is available at https://github.com/neulab/awesome-align

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

↑