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

迈向理解线性词类比

Towards Understanding Linear Word Analogies

Vector Institute(向量研究所);University of Toronto(多伦多大学)

Kawin Ethayarajh, David Duvenaud, Graeme Hirst

AI总结:

该研究针对非线性SGNS词向量模型中向量运算可求解词类比的现象,在无强假设下给出形式化解释,证明关系比率猜想对SGNS成立,解释词向量加法的降权特性及欧氏距离的信息论意义。

摘要:

词向量的一个惊人特性是,词类比通常可以通过向量运算来求解。然而,目前尚不清楚为何算术运算符能对应于带负采样的跳元模型(skip-gram with negative sampling, SGNS)这类非线性嵌入模型。我们对这一现象给出了形式化解释,且未像以往理论那样对向量空间和词分布做出强假设。我们的理论具有若干启示。以往研究推测,向量空间中存在线性子结构是因为关系可以表示为比率;我们证明这一点对SGNS成立。我们为SGNS词向量的加法提供了新的合理性依据,证明它会自动对更频繁出现的词降权,这与加权方案的特设做法一致。最后,我们对向量空间中的欧氏距离给出了信息论解释,论证了其用于捕捉词不相似性的合理性。

英文摘要:

A surprising property of word vectors is that word analogies can often be solved with vector arithmetic. However, it is unclear why arithmetic operators correspond to non-linear embedding models such as skip-gram with negative sampling (SGNS). We provide a formal explanation of this phenomenon without making the strong assumptions that past theories have made about the vector space and word distribution. Our theory has several implications. Past work has conjectured that linear substructures exist in vector spaces because relations can be represented as ratios; we prove that this holds for SGNS. We provide novel justification for the addition of SGNS word vectors by showing that it automatically down-weights the more frequent word, as weighting schemes do ad hoc. Lastly, we offer an information theoretic interpretation of Euclidean distance in vector spaces, justifying its use in capturing word dissimilarity.

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

↑