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

GS-KGC:一种基于生成式子图的大语言模型知识图谱补全框架

GS-KGC: A Generative Subgraph-based Framework for Knowledge Graph Completion with Large Language Models

Sun Yat-sen University(中山大学)

Rui Yang, Jiahao Zhu, Jianping Man, Hongze Liu, Li Fang, Yi Zhou

AI总结:

GS-KGC框架利用子图划分生成负样本和邻居作为上下文推理,结合问答方式提升大语言模型在知识图谱补全中的准确性,并在多个数据集上显著优于现有LLM方法。

摘要:

知识图谱补全(KGC)专注于识别知识图谱(KG)中缺失的三元组,这对许多下游应用至关重要。鉴于大语言模型(LLMs)的快速发展,一些基于LLM的方法被提出用于KGC任务。然而,大多数方法侧重于提示工程,而忽视了更细粒度的子图信息可以帮助LLMs生成更准确的答案。在本文中,我们提出了一种新颖的补全框架,称为生成式子图KGC(GS-KGC),该框架利用子图信息作为上下文推理,并采用问答(QA)方法实现KGC任务。该框架主要包括一个子图划分算法,旨在生成负样本和邻居。具体而言,负样本可以鼓励LLMs生成更广泛的答案,而邻居为LLM推理提供额外的上下文见解。此外,我们发现GS-KGC可以发现知识图谱内的潜在三元组以及知识图谱之外的新事实。在四个常见KGC数据集上进行的实验凸显了所提出的GS-KGC的优势,例如,在FB15k-237N上,与基于LLM的模型CP-KGC相比,Hits@3提高了5.6%;在ICEWS14上,与基于LLM的模型TECHS相比,提高了9.3%。

英文摘要:

Knowledge graph completion (KGC) focuses on identifying missing triples in a knowledge graph (KG) , which is crucial for many downstream applications. Given the rapid development of large language models (LLMs), some LLM-based methods are proposed for KGC task. However, most of them focus on prompt engineering while overlooking the fact that finer-grained subgraph information can aid LLMs in generating more accurate answers. In this paper, we propose a novel completion framework called \textbf{G}enerative \textbf{S}ubgraph-based KGC (GS-KGC), which utilizes subgraph information as contextual reasoning and employs a QA approach to achieve the KGC task. This framework primarily includes a subgraph partitioning algorithm designed to generate negatives and neighbors. Specifically, negatives can encourage LLMs to generate a broader range of answers, while neighbors provide additional contextual insights for LLM reasoning. Furthermore, we found that GS-KGC can discover potential triples within the KGs and new facts beyond the KGs. Experiments conducted on four common KGC datasets highlight the advantages of the proposed GS-KGC, e.g., it shows a 5.6\% increase in Hits@3 compared to the LLM-based model CP-KGC on the FB15k-237N, and a 9.3\% increase over the LLM-based model TECHS on the ICEWS14.

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

↑