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

大规模释义表征

Paraphrastic Representations at Scale

Google Research(谷歌研究院);Toyota Technological Institute at Chicago(芝加哥丰田技术研究院);Carnegie Mellon University(卡内基梅隆大学);University of California San Diego(加州大学圣迭戈分校)

John Wieting, Kevin Gimpel, Graham Neubig, Taylor Berg-Kirkpatrick

AI总结:

本文提出可多语言训练释义句子表征的系统并发布八种语言模型,通过大规模数据训练显著提升语义相似性和双语文本挖掘性能,同时具备更快的 CPU 推理能力与更完善的训练工具。

摘要:

我们提出了一个系统,允许用户使用多种语言训练他们自己的最先进的释义句子表征。我们还发布了针对英语、阿拉伯语、德语、法语、西班牙语、俄语、土耳其语和中文训练的模型。我们在大量数据上训练这些模型,在一系列单语语义相似性、跨语言语义相似性和双语文本挖掘任务上,相比最初提出这些方法的论文取得了显著提升的性能。此外,所得模型在无监督语义文本相似性方面超越了所有先前工作,甚至显著优于诸如 Sentence-BERT(Reimers 和 Gurevych,2019)等基于 BERT 的模型。此外,我们的模型比先前工作快数个数量级,并且可以在 CPU 上使用,推理速度几乎没有差异(在使用更多 CPU 核心时,速度甚至超过 GPU),这使这些模型成为无法使用 GPU 的用户或嵌入式设备上使用的有吸引力选择。最后,我们为训练释义句子模型的代码库显著增加了功能,使其在推理以及利用平行数据为任何所需语言进行训练时都更易于使用。我们还加入了自动下载和预处理训练数据的代码。

英文摘要:

We present a system that allows users to train their own state-of-the-art paraphrastic sentence representations in a variety of languages. We also release trained models for English, Arabic, German, French, Spanish, Russian, Turkish, and Chinese. We train these models on large amounts of data, achieving significantly improved performance from the original papers proposing the methods on a suite of monolingual semantic similarity, cross-lingual semantic similarity, and bitext mining tasks. Moreover, the resulting models surpass all prior work on unsupervised semantic textual similarity, significantly outperforming even BERT-based models like Sentence-BERT (Reimers and Gurevych, 2019). Additionally, our models are orders of magnitude faster than prior work and can be used on CPU with little difference in inference speed (even improved speed over GPU when using more CPU cores), making these models an attractive choice for users without access to GPUs or for use on embedded devices. Finally, we add significantly increased functionality to the code bases for training paraphrastic sentence models, easing their use for both inference and for training them for any desired language with parallel data. We also include code to automatically download and preprocess training data.

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

↑