Representation learning on a knowledge graph (KG) is to embed entities and relations of a KG into low-dimensional continuous vector spaces. Early KG embedding methods only pay attention to structured information encoded in triples, which would cause limited performance due to the structure sparseness of KGs. Some recent attempts consider paths information to expand the structure of KGs but lack explainability in the process of obtaining the path representations. In this paper, we propose a novel Rule and Path-based Joint Embedding (RPJE) scheme, which takes full advantage of the explainability and accuracy of logic rules, the generalization of KG embedding as well as the supplementary semantic structure of paths. Specifically, logic rules of different lengths (the number of relations in rule body) in the form of Horn clauses are first mined from the KG and elaborately encoded for representation learning. Then, the rules of length 2 are applied to compose paths accurately while the rules of length 1 are explicitly employed to create semantic associations among relations and constrain relation embeddings. Besides, the confidence level of each rule is also considered in optimization to guarantee the availability of applying the rule to representation learning. Extensive experimental results illustrate that RPJE outperforms other state-of-the-art baselines on KG completion task, which also demonstrate the superiority of utilizing logic rules as well as paths for improving the accuracy and explainability of representation learning.
翻译:知识图表(KG)上的代表学习是将 KG 的实体和关系嵌入低维持续矢量空间。早期 KG 嵌入方法只关注以三重编码的结构化信息,由于KG 结构稀少,造成绩效有限。最近一些尝试将路径信息视为扩大KG结构的途径信息,但在获取路径显示过程中缺乏解释性。在本文件中,我们提出了一个新的规则和基于路径的联合嵌入(RPJE)计划,它充分利用逻辑规则的解释性和准确性、KG 嵌入的普遍性以及路径的补充语义结构。具体地说,Horn条款中不同长度的逻辑性规则(规则机构关系的数量)首先来自KG,然后详细编码用于代表学习。然后,将2号规则应用于准确的分解路径,而1号规则被明确用于建立关系之间的语义性联系和制约嵌入关系。此外,每项规则的信心水平也在优化中考虑,以“规则”结构上的逻辑性(规则体格关系)不同长度规则的逻辑性(规则的长度)首先来自KG 规则,并用来说明如何将完成规则的逻辑性定位,从而说明如何改进了KG 学习规则的逻辑的逻辑性,从而展示了其他的逻辑的逻辑性。