arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.12059cs.AIcs.DBcs.LG
收藏

基于图形处理器的快速知识图谱补全

Fast Knowledge Graph Completion using Graphics Processing Units

ETRI(韩国电子通信研究院)

Chun-Hee Lee, Dong-oh Kang, Hwa Jeon Song

AI总结:

针对知识图谱补全中向量运算成本高的问题,提出基于GPU的框架,将可转换为度量空间的模型的补全问题转为相似连接问题,推导公式并开发快速算法,实验验证了高效性。

摘要:

知识图谱可应用于问答系统、基于知识的系统等诸多与数据语义相关的领域。然而,当前构建的知识图谱在关系层面仍需补充以完善知识,这一任务被称为知识图谱补全。要利用知识图谱嵌入模型为现有知识图谱添加新关系,需执行 $N\times N \times R$ 次向量运算,其中 $N$ 为实体数量,$R$ 为关系类型数量,计算成本极高。\n 本文提出了一种基于GPU的高效知识图谱补全框架,利用知识图谱嵌入向量生成新关系。在该框架中,我们首先定义“可转换为度量空间”的概念,随后针对满足“可转换为度量空间”的模型,提出将知识图谱补全问题转化为相似连接问题的方法。之后,为高效处理相似连接问题,我们利用度量空间的性质推导了相关公式,并基于这些公式开发了一种快速知识图谱补全算法。最后,实验结果表明,本文框架能够高效处理知识图谱补全问题。

英文摘要:

Knowledge graphs can be used in many areas related to data semantics such as question-answering systems, knowledge based systems. However, the currently constructed knowledge graphs need to be complemented for better knowledge in terms of relations. It is called knowledge graph completion. To add new relations to the existing knowledge graph by using knowledge graph embedding models, we have to evaluate $N\times N \times R$ vector operations, where $N$ is the number of entities and $R$ is the number of relation types. It is very costly. In this paper, we provide an efficient knowledge graph completion framework on GPUs to get new relations using knowledge graph embedding vectors. In the proposed framework, we first define "transformable to a metric space" and then provide a method to transform the knowledge graph completion problem into the similarity join problem for a model which is "transformable to a metric space". After that, to efficiently process the similarity join problem, we derive formulas using the properties of a metric space. Based on the formulas, we develop a fast knowledge graph completion algorithm. Finally, we experimentally show that our framework can efficiently process the knowledge graph completion problem.

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

↑