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

损失函数对知识图谱嵌入性能的影响

Toward Understanding The Effect Of Loss function On Then Performance Of Knowledge Graph Embedding

University of Bonn(波恩大学);Fraunhofer IAIS(弗劳恩霍夫智能分析与信息系统研究所)

Mojtaba Nayyeri, Chengjin Xu, Yadollah Yaghoobzadeh, Hamed Shariat Yazdi, Jens Lehmann

摘要:

知识图谱(KGs)以结构化的形式表示世界事实。KG完成利用KG中的现有事实来发现新的事实。基于翻译的嵌入模型(transE)是一个突出的公式做KG完成。尽管TransE在存储器和时间上的效率很高,但它在编码关系模式(如对称,自反等)方面存在一些限制。为了解决这个问题,大多数尝试都围绕着修改TransE的评分函数,即,提出了更复杂的评分函数,例如Trans(A,D,G,H,R等),以减轻限制。在本文中,我们从不同的角度来解决这个问题。我们发现,现有的理论对应的限制transE是不准确的,因为他们忽略了损失函数的影响。因此,我们提出了理论研究的主要局限性的transE在损失函数的光。据我们所知,迄今尚未对此进行全面调查。我们表明,通过适当选择训练transE模型的损失函数,该模型的主要局限性得到缓解。这是通过为阳性样本的分数设置上限来解释的,显示了真实区域(即,模型认为三元组为正的区域)。我们的理论证明和实验结果填补了基于嵌入模型的能力和损失函数之间的差距。这些理论强调了损失函数的选择对于训练模型的重要性。我们对用于训练模型的不同损失函数的实验评估证明了我们的理论证明,并确认了损失函数对性能的重要性。

英文摘要:

Knowledge graphs (KGs) represent world's facts in structured forms. KG completion exploits the existing facts in a KG to discover new ones. Translation-based embedding model (TransE) is a prominent formulation to do KG completion. Despite the efficiency of TransE in memory and time, it suffers from several limitations in encoding relation patterns such as symmetric, reflexive etc. To resolve this problem, most of the attempts have circled around the revision of the score function of TransE i.e., proposing a more complicated score function such as Trans(A, D, G, H, R, etc) to mitigate the limitations. In this paper, we tackle this problem from a different perspective. We show that existing theories corresponding to the limitations of TransE are inaccurate because they ignore the effect of loss function. Accordingly, we pose theoretical investigations of the main limitations of TransE in the light of loss function. To the best of our knowledge, this has not been investigated so far comprehensively. We show that by a proper selection of the loss function for training the TransE model, the main limitations of the model are mitigated. This is explained by setting upper-bound for the scores of positive samples, showing the region of truth (i.e., the region that a triple is considered positive by the model). Our theoretical proofs with experimental results fill the gap between the capability of translation-based class of embedding models and the loss function. The theories emphasise the importance of the selection of the loss functions for training the models. Our experimental evaluations on different loss functions used for training the models justify our theoretical proofs and confirm the importance of the loss functions on the performance.

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

↑