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

NestE:面向知识图谱推理的嵌套关系结构建模

NestE: Modeling Nested Relational Structures for Knowledge Graph Reasoning

Bo Xiong, Mojtaba Nayyeri, Linhao Luo, Zihao Wang, Shirui Pan, Steffen Staab

AI总结:

针对现有知识图谱推理仅局限于原子事实的问题,提出能同时建模原子与嵌套事实的嵌入方法NestE,通过超复空间矩阵旋转捕捉复杂语义,在相关预测任务上性能优于基线。

摘要:

知识图谱(KGs)推理主要围绕三元组形式的事实展开。近期研究探索通过融入超关系事实等更强的表示来增强这类事实的语义,但这些方法仅局限于描述单条信息的“原子事实”。本文突破原子事实的范畴,深入研究嵌套事实——这类事实以引用三元组的形式表示,其主语和宾语本身就是三元组(例如:((BarackObama, holds_position, President), succeed_by, (DonaldTrump, holds_position, President)))。这些嵌套事实能够表达时间维度上的情境、实体与关系上的逻辑模式等复杂语义。对此,我们提出NestE这一新型知识图谱嵌入方法,可同时捕捉原子事实与嵌套事实知识的语义。NestE将每个原子事实表示为1×3矩阵,每个嵌套关系则被建模为3×3矩阵,通过矩阵乘法对1×3的原子事实矩阵进行旋转。矩阵的每个元素都表示为广义四维超复空间中的复数,涵盖(球面)四元数、双曲四元数和分裂四元数。通过深入分析,我们证明该嵌入方法能有效捕捉嵌套事实的多种逻辑模式,突破了类一阶逻辑表达式的局限。实验结果表明,NestE在三元组预测和条件链接预测任务上的性能显著优于现有基线。代码和预训练模型已开源至https://github.com/xiongbo010/NestE。

英文摘要:

Reasoning with knowledge graphs (KGs) has primarily focused on triple-shaped facts. Recent advancements have been explored to enhance the semantics of these facts by incorporating more potent representations, such as hyper-relational facts. However, these approaches are limited to \emph{atomic facts}, which describe a single piece of information. This paper extends beyond \emph{atomic facts} and delves into \emph{nested facts}, represented by quoted triples where subjects and objects are triples themselves (e.g., ((\emph{BarackObama}, \emph{holds\_position}, \emph{President}), \emph{succeed\_by}, (\emph{DonaldTrump}, \emph{holds\_position}, \emph{President}))). These nested facts enable the expression of complex semantics like \emph{situations} over time and \emph{logical patterns} over entities and relations. In response, we introduce NestE, a novel KG embedding approach that captures the semantics of both atomic and nested factual knowledge. NestE represents each atomic fact as a $1\times3$ matrix, and each nested relation is modeled as a $3\times3$ matrix that rotates the $1\times3$ atomic fact matrix through matrix multiplication. Each element of the matrix is represented as a complex number in the generalized 4D hypercomplex space, including (spherical) quaternions, hyperbolic quaternions, and split-quaternions. Through thorough analysis, we demonstrate the embedding's efficacy in capturing diverse logical patterns over nested facts, surpassing the confines of first-order logic-like expressions. Our experimental results showcase NestE's significant performance gains over current baselines in triple prediction and conditional link prediction. The code and pre-trained models are open available at https://github.com/xiongbo010/NestE.

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

↑