arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.19977cs.LGcs.AI
收藏

基于归一化流的知识图谱嵌入

Knowledge Graph Embedding by Normalizing Flows

University of Science and Technology of China(中国科学技术大学);Singapore Management University(新加坡管理大学)

Changyi Xiao, Xiangnan He, Yixin Cao

AI总结:

本文从群论视角提出统一的知识图谱嵌入框架,将实体和关系表示为对称群上的置换,并利用归一化流引入不确定性以增强表达能力,实验证明其有效性。

摘要:

知识图谱嵌入(KGE)的一个关键问题是选择合适的表示空间,例如点态欧几里得空间和复向量空间。本文提出了一种统一的嵌入视角,并从群论的角度将不确定性引入KGE。我们的模型能够兼容现有模型(即通用性),保证计算可处理(即效率),并享有复随机变量的表达能力(即表达性)。核心思想是将实体/关系嵌入为对称群的元素,即集合上的置换。不同集合上的置换可以反映嵌入的不同性质,且对称群的群运算易于计算。具体而言,我们表明许多现有模型的嵌入,即点向量,可以被视为对称群的元素。为了反映不确定性,我们首先将实体/关系嵌入为一组随机变量上的置换。置换可以将简单随机变量变换为复杂随机变量,从而获得更强的表达能力,这被称为归一化流。然后,我们通过测量两个归一化流之间的相似性来定义评分函数,即NFE。我们构建了多个实例化模型,并证明它们能够学习逻辑规则。实验结果证明了引入不确定性以及我们模型的有效性。代码可在 https://github.com/changyi7231/NFE 获取。

英文摘要:

A key to knowledge graph embedding (KGE) is to choose a proper representation space, e.g., point-wise Euclidean space and complex vector space. In this paper, we propose a unified perspective of embedding and introduce uncertainty into KGE from the view of group theory. Our model can incorporate existing models (i.e., generality), ensure the computation is tractable (i.e., efficiency) and enjoy the expressive power of complex random variables (i.e., expressiveness). The core idea is that we embed entities/relations as elements of a symmetric group, i.e., permutations of a set. Permutations of different sets can reflect different properties of embedding. And the group operation of symmetric groups is easy to compute. In specific, we show that the embedding of many existing models, point vectors, can be seen as elements of a symmetric group. To reflect uncertainty, we first embed entities/relations as permutations of a set of random variables. A permutation can transform a simple random variable into a complex random variable for greater expressiveness, called a normalizing flow. We then define scoring functions by measuring the similarity of two normalizing flows, namely NFE. We construct several instantiating models and prove that they are able to learn logical rules. Experimental results demonstrate the effectiveness of introducing uncertainty and our model. The code is available at https://github.com/changyi7231/NFE.

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

↑