[论文解读] Differentiating Concepts and Instances for Knowledge Graph Embedding
该论文提出 TransC,一种知识图谱嵌入模型,通过在共享向量空间中将概念(表示为球体)与实例(表示为向量)区分开来。通过利用几何关系(如实例向量位于概念球体内)建模 instanceOf 和 subClassOf 关系,TransC 能够捕捉 isA 关系的传递性,在链接预测和三元组分类任务上优于最先进方法,尤其在处理层次推理方面表现优异。
Concepts, which represent a group of different instances sharing common properties, are essential information in knowledge representation. Most conventional knowledge embedding methods encode both entities (concepts and instances) and relations as vectors in a low dimensional semantic space equally, ignoring the difference between concepts and instances. In this paper, we propose a novel knowledge graph embedding model named TransC by differentiating concepts and instances. Specifically, TransC encodes each concept in knowledge graph as a sphere and each instance as a vector in the same semantic space. We use the relative positions to model the relations between concepts and instances (i.e., instanceOf), and the relations between concepts and sub-concepts (i.e., subClassOf). We evaluate our model on both link prediction and triple classification tasks on the dataset based on YAGO. Experimental results show that TransC outperforms state-of-the-art methods, and captures the semantic transitivity for instanceOf and subClassOf relation. Our codes and datasets can be obtained from https:// github.com/davidlvxin/TransC.
研究动机与目标
- 解决现有知识图谱嵌入方法将概念与实例统一表示为向量的问题,忽略了其语义差异。
- 通过利用向量空间中的几何关系,显式建模 isA 关系的传递性(即 instanceOf 和 subClassOf 关系)。
- 构建一个源自 YAGO 的新数据集 M-YAGO39K,以更好地评估 isA 关系传递性的处理能力。
- 通过区分概念级与实例级表示,提升链接预测和三元组分类的性能。
- 通过传递性推理实现对新事实的更准确推断,尤其适用于层次化知识结构。
提出的方法
- 知识图谱中的概念在共享嵌入空间中表示为超球体,而实例则表示为向量。
- 通过使用几何距离准则,检查实例向量是否位于概念球体内部,来建模 instanceOf 关系。
- 通过枚举并量化两个概念球体之间的四种可能相对位置(如一个包含另一个、相交等),来建模 subClassOf 关系。
- 统一的损失函数结合了三个部分:instanceOf 损失、subClassOf 损失和关系损失,使用可学习权重进行平衡。
- 模型使用基于边距的排序损失优化嵌入,每类损失均有独立的超参数。
- 该框架可与基于翻译的模型集成,并通过随机优化联合学习概念、实例和关系的嵌入。
实验结果
研究问题
- RQ1在知识图谱嵌入中区分概念与实例,是否能提升链接预测和三元组分类的性能?
- RQ2对 instanceOf 和 subClassOf 关系进行几何建模,是否能更好地捕捉 isA 关系固有的传递性?
- RQ3基于球体的概念表示是否在建模层次化知识方面优于标准的向量表示?
- RQ4当训练数据中关系存在不平衡(如 instanceOf 在真实世界知识库中占主导)时,模型表现如何?
- RQ5模型能否通过传递性推理推断出新的、有效的 isA 关系,即使这些关系未出现在训练数据中?
主要发现
- 在 YAGO39K 和 M-YAGO39K 数据集上,TransC 在链接预测和三元组分类任务上均优于 TransE、TransD、HolE、DistMult 和 ComplEx。
- 在 M-YAGO39K 上,TransC 在 instanceOf 和 subClassOf 三元组分类中均取得显著性能提升,表明其对 isA 传递性的处理能力更优。
- 即使在 instanceOf 关系占主导的情况下,TransC 在所有关系类型上仍保持强劲性能,表明其在表示学习中具有更好的平衡性。
- 模型成功通过传递性推理推断出新的 instanceOf 和 subClassOf 三元组,例如预测 (New York City, instanceOf, City) 和 (Port Cities, subClassOf, City),而其他模型无法捕捉此类关系。
- 先前模型在从 YAGO39K 到 M-YAGO39K 的性能显著下降,尤其在 subClassOf 分类任务中,而 TransC 展现出持续提升,证实其在层次推理任务中的鲁棒性。
- 在 TransC 中,'bern' 采样策略相比 'unif' 采样策略能提升性能,尤其在关系分类任务中表现更优。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。