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

知识图谱中负采样对链接预测的影响分析

Analysis of the Impact of Negative Sampling on Link Prediction in Knowledge Graphs

University of Heidelberg(海德堡大学)

Bhushan Kotnis, Vivi Nastase

摘要:

知识图谱是一个庞大、有用但不完整的知识库。它们通过实体和关系对知识进行编码,这些实体和关系通过图的连接结构相互定义。这启发了用于在连续低维向量空间中联合嵌入实体和关系的方法,其可用于在图中诱导新的边,即,知识图谱中的链接预测。学习这些表征依赖于将正面实例与负面实例进行对比。知识图谱只包括正相关实例,为选择负相关实例的各种方法敞开了大门。在本文中,我们提出了一个实证研究的影响,负采样的学习嵌入,评估通过任务的链接预测。我们使用最先进的知识图谱嵌入- \rescal,TransE,DistMult和ComplEX -并在基准数据集上进行评估-FB 15 k和WN 18。我们比较知名的负采样方法,并提出基于嵌入的采样方法。我们注意到这些采样方法对两个数据集的影响存在显着差异,“传统”的破坏性阳性方法在WN 18上获得最佳结果,而基于嵌入的方法则有利于FB 15 k上的任务。

英文摘要:

Knowledge graphs are large, useful, but incomplete knowledge repositories. They encode knowledge through entities and relations which define each other through the connective structure of the graph. This has inspired methods for the joint embedding of entities and relations in continuous low-dimensional vector spaces, that can be used to induce new edges in the graph, i.e., link prediction in knowledge graphs. Learning these representations relies on contrasting positive instances with negative ones. Knowledge graphs include only positive relation instances, leaving the door open for a variety of methods for selecting negative examples. In this paper we present an empirical study on the impact of negative sampling on the learned embeddings, assessed through the task of link prediction. We use state-of-the-art knowledge graph embeddings -- \rescal , TransE, DistMult and ComplEX -- and evaluate on benchmark datasets -- FB15k and WN18. We compare well known methods for negative sampling and additionally propose embedding based sampling methods. We note a marked difference in the impact of these sampling methods on the two datasets, with the "traditional" corrupting positives method leading to best results on WN18, while embedding based methods benefiting the task on FB15k.

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

↑