arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1607.04606cs.CLcs.LG
收藏

用子词信息丰富词向量

Enriching Word Vectors with Subword Information

Facebook AI Research(Facebook人工智能研究院)

Piotr Bojanowski, Edouard Grave, Armand Joulin, Tomas Mikolov

摘要:

在大型未标记语料库上训练的连续单词表示对于许多自然语言处理任务都很有用。学习这种表示的流行模型通过为每个单词分配不同的向量来忽略单词的形态。这是一个限制,特别是对于词汇量大和有许多罕见单词的语言。在本文中,我们提出了一种新的方法的基础上skipgram模型,其中每个字表示为一袋字符$n$ -gram。矢量表示与每个字符$n$ -语法相关联;单词被表示为这些表示的和。我们的方法是快速的,允许在大型语料库上快速训练模型,并允许我们计算没有出现在训练数据中的单词的单词表示。我们评估我们的词表征九种不同的语言,无论是在词的相似性和类比任务。通过比较最近提出的形态字表示,我们表明,我们的矢量实现这些任务的最先进的性能。

英文摘要:

Continuous word representations, trained on large unlabeled corpora are useful for many natural language processing tasks. Popular models that learn such representations ignore the morphology of words, by assigning a distinct vector to each word. This is a limitation, especially for languages with large vocabularies and many rare words. In this paper, we propose a new approach based on the skipgram model, where each word is represented as a bag of character $n$-grams. A vector representation is associated to each character $n$-gram; words being represented as the sum of these representations. Our method is fast, allowing to train models on large corpora quickly and allows us to compute word representations for words that did not appear in the training data. We evaluate our word representations on nine different languages, both on word similarity and analogy tasks. By comparing to recently proposed morphological word representations, we show that our vectors achieve state-of-the-art performance on these tasks.

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

↑