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

结合静态和上下文的多语言嵌入

Combining Static and Contextualised Multilingual Embeddings

LMU Munich(慕尼黑大学);Charles University(查理大学)

Katharina Hämmerl, Jindřich Libovický, Alexander Fraser

摘要:

静态和上下文多语言嵌入具有互补的优势。静态嵌入虽然不如上下文语言模型具有表达性,但可以更直接地跨多种语言对齐。我们结合了静态和上下文模型的优势,以改善多语言表示。我们从XLM-R中提取了40种语言的静态嵌入,使用跨语言单词检索来验证这些嵌入,然后使用VecMap进行对齐。这就产生了高质量、高度多语言的静态嵌入。然后,我们将一种新的持续预训练方法应用于XLM-R,利用静态嵌入的高质量对齐来更好地对齐XLM-R的表示空间。我们对多个复杂的语义任务显示出积极的结果。我们发布静态嵌入和后续的预训练代码。与大多数以前的工作不同,我们的持续预训练方法不需要并行文本。

英文摘要:

Static and contextual multilingual embeddings have complementary strengths. Static embeddings, while less expressive than contextual language models, can be more straightforwardly aligned across multiple languages. We combine the strengths of static and contextual models to improve multilingual representations. We extract static embeddings for 40 languages from XLM-R, validate those embeddings with cross-lingual word retrieval, and then align them using VecMap. This results in high-quality, highly multilingual static embeddings. Then we apply a novel continued pre-training approach to XLM-R, leveraging the high quality alignment of our static embeddings to better align the representation space of XLM-R. We show positive results for multiple complex semantic tasks. We release the static embeddings and the continued pre-training code. Unlike most previous work, our continued pre-training approach does not require parallel text.

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

↑