arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1507.05523cs.CL
收藏

如何生成好的词嵌入?

How to Generate a Good Word Embedding?

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)

Siwei Lai, Kang Liu, Liheng Xu, Jun Zhao

摘要:

我们分析了词嵌入训练的三个关键组成部分:模型、语料库和训练参数。我们系统化现有的基于神经网络的词嵌入算法,并使用相同的语料库进行比较。我们以三种方式评估每个词嵌入:分析其语义属性,将其用作监督任务的特征,并将其用于初始化神经网络。我们还提供了几个简单的训练词嵌入的准则。首先,我们发现语料库领域比语料库规模更重要。我们建议选择一个合适的领域的语料库为所需的任务,之后,使用更大的语料库会产生更好的结果。其次,我们发现,在大多数情况下,更快的模型提供了足够的性能,如果训练语料库足够大,可以使用更复杂的模型。第三,迭代的早期停止度量应该依赖于所需任务的开发集,而不是训练嵌入的验证损失。

英文摘要:

We analyze three critical components of word embedding training: the model, the corpus, and the training parameters. We systematize existing neural-network-based word embedding algorithms and compare them using the same corpus. We evaluate each word embedding in three ways: analyzing its semantic properties, using it as a feature for supervised tasks and using it to initialize neural networks. We also provide several simple guidelines for training word embeddings. First, we discover that corpus domain is more important than corpus size. We recommend choosing a corpus in a suitable domain for the desired task, after that, using a larger corpus yields better results. Second, we find that faster models provide sufficient performance in most cases, and more complex models can be used if the training corpus is sufficiently large. Third, the early stopping metric for iterating should rely on the development set of the desired task rather than the validation loss of training embedding.

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

↑