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

作为广义低秩模型的词嵌入算法及其规范型

Word Embedding Algorithms as Generalized Low Rank Models and their Canonical Form

McGill University(麦吉尔大学)

Kian Kenyon-Dean

摘要:

词嵌入算法产生非常可靠的词的特征表示,这些特征表示由神经网络模型在不断增长的大量NLP任务中使用。因此,NLP从业者必须了解他们的单词表示是如何产生的,以及为什么它们如此有影响力。目前的工作提出了简单的嵌入框架,概括了国家的最先进的现有词嵌入算法(包括Word 2 vec(SGNS)和GloVe)的保护伞下的广义低秩模型。我们得出,这两种算法都试图产生嵌入的内积,近似逐点互信息(PMI)的统计在语料库中。一旦转换为简单嵌入,这些模型的比较表明,这些成功的嵌入器都类似于由内积参数化的PMI的直接最大似然估计(MLE)(嵌入之间)。这个MLE诱导我们提出的新的词嵌入模型,希尔伯特-MLE,作为简单嵌入框架的典型代表。我们经验比较这些算法与17个不同的数据集上的评估。Hilbert-MLE在每个外部评估(新闻分类,情感分析,POS标记和超意义标记)上都始终观察到第二好的性能,而第一好的模型取决于任务的不同。此外,Hilbert-MLE一致地观察到双向LSTM中权重的随机初始化结果的最小方差。我们的实证结果表明,Hilbert-MLE是一个非常一致的词嵌入算法,可以可靠地集成到现有的NLP系统,以获得高质量的结果。

英文摘要:

Word embedding algorithms produce very reliable feature representations of words that are used by neural network models across a constantly growing multitude of NLP tasks. As such, it is imperative for NLP practitioners to understand how their word representations are produced, and why they are so impactful. The present work presents the Simple Embedder framework, generalizing the state-of-the-art existing word embedding algorithms (including Word2vec (SGNS) and GloVe) under the umbrella of generalized low rank models. We derive that both of these algorithms attempt to produce embedding inner products that approximate pointwise mutual information (PMI) statistics in the corpus. Once cast as Simple Embedders, comparison of these models reveals that these successful embedders all resemble a straightforward maximum likelihood estimate (MLE) of the PMI parametrized by the inner product (between embeddings). This MLE induces our proposed novel word embedding model, Hilbert-MLE, as the canonical representative of the Simple Embedder framework. We empirically compare these algorithms with evaluations on 17 different datasets. Hilbert-MLE consistently observes second-best performance on every extrinsic evaluation (news classification, sentiment analysis, POS-tagging, and supersense tagging), while the first-best model depends varying on the task. Moreover, Hilbert-MLE consistently observes the least variance in results with respect to the random initialization of the weights in bidirectional LSTMs. Our empirical results demonstrate that Hilbert-MLE is a very consistent word embedding algorithm that can be reliably integrated into existing NLP systems to obtain high-quality results.

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

↑