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

表征词嵌入的几何特性对任务绩效的影响

Characterizing the impact of geometric properties of word embeddings on task performance

The Ohio State University(俄亥俄州立大学);University of Warwick(华威大学)

Brendan Whitaker, Denis Newman-Griffis, Aparajita Haldar, Hakan Ferhatosmanoglu, Eric Fosler-Lussier

摘要:

词嵌入属性的分析,以告知其在下游NLP任务中的使用,主要是通过评估最近的邻居进行研究。然而,连续特征空间的几何性质直接有助于在下游模型中使用嵌入特征,并且在很大程度上未被探索。我们考虑词嵌入几何的四个属性,即:相对于原点的位置,特征在向量空间中的分布,全局成对距离和局部成对距离。我们定义了一系列转换来生成新的嵌入,这些嵌入将这些属性的子集暴露给下游模型,并评估任务性能的变化,以了解每个属性对NLP模型的贡献。我们从三个流行的工具包(word2vec,GloVe和FastText)中转换公开的预训练嵌入,并评估各种内在任务,这些任务在向量空间中建模语言信息,以及外部任务,这些任务使用向量作为机器学习模型的输入。我们发现,内在的评价是高度敏感的绝对位置,而外在的任务主要依赖于本地的相似性。我们的研究结果表明,未来的嵌入模型和后处理技术应该主要关注向量空间中附近点的相似性。

英文摘要:

Analysis of word embedding properties to inform their use in downstream NLP tasks has largely been studied by assessing nearest neighbors. However, geometric properties of the continuous feature space contribute directly to the use of embedding features in downstream models, and are largely unexplored. We consider four properties of word embedding geometry, namely: position relative to the origin, distribution of features in the vector space, global pairwise distances, and local pairwise distances. We define a sequence of transformations to generate new embeddings that expose subsets of these properties to downstream models and evaluate change in task performance to understand the contribution of each property to NLP models. We transform publicly available pretrained embeddings from three popular toolkits (word2vec, GloVe, and FastText) and evaluate on a variety of intrinsic tasks, which model linguistic information in the vector space, and extrinsic tasks, which use vectors as input to machine learning models. We find that intrinsic evaluations are highly sensitive to absolute position, while extrinsic tasks rely primarily on local similarity. Our findings suggest that future embedding models and post-processing techniques should focus primarily on similarity to nearby points in vector space.

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

↑