arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.17532cs.AI
收藏

KC-GenRe:一种基于大语言模型的知识约束生成式重排序方法,用于知识图谱补全

KC-GenRe: A Knowledge-constrained Generative Re-ranking Method Based on Large Language Models for Knowledge Graph Completion

Defense Innovation Institute, Academy of Military Sciences(军事科学院国防创新研究院);Information Research Center of Military Science(军事科学信息研究中心);National Key Laboratory of Parallel and Distributed Computing(并行与分布计算国家重点实验室)

Yilin Wang, Minghao Hu, Zhen Huang, Dongsheng Li, Dong Yang, Xicheng Lu

AI总结:

提出基于大语言模型的知识约束生成式重排序方法KC-GenRe,通过候选标识符排序生成、知识引导交互训练和知识增强约束推理解决不匹配、错序和遗漏问题,在四个数据集上达到SOTA。

摘要:

知识图谱补全(KGC)的目标是预测实体间缺失的事实。以往的KGC重排序方法大多基于非生成式语言模型构建,以获取每个候选对象的概率。近期,生成式大语言模型(LLMs)在信息抽取和对话系统等多项任务中展现出卓越性能。利用LLMs进行KGC重排序,有助于发挥其丰富的预训练知识和强大的生成能力。然而,在完成该任务时可能会遇到新问题,即不匹配、错序和遗漏。为此,我们提出了KC-GenRe,一种基于LLMs的知识约束生成式重排序方法。为克服不匹配问题,我们将KGC重排序任务转化为由生成式LLMs实现的候选标识符排序生成问题。为解决错序问题,我们开发了一种知识引导的交互式训练方法,以增强候选对象的识别与排序。为应对遗漏问题,我们设计了一种知识增强的约束推理方法,实现上下文提示与受控生成,从而获得有效排序。实验结果表明,KG-GenRe在四个数据集上达到了最先进的性能,与以往方法相比,MRR和Hits@1指标分别提升了6.7%和7.7%,与无重排序相比提升了9.0%和11.1%。广泛的分析证明了KG-GenRe各组件的有效性。

英文摘要:

The goal of knowledge graph completion (KGC) is to predict missing facts among entities. Previous methods for KGC re-ranking are mostly built on non-generative language models to obtain the probability of each candidate. Recently, generative large language models (LLMs) have shown outstanding performance on several tasks such as information extraction and dialog systems. Leveraging them for KGC re-ranking is beneficial for leveraging the extensive pre-trained knowledge and powerful generative capabilities. However, it may encounter new problems when accomplishing the task, namely mismatch, misordering and omission. To this end, we introduce KC-GenRe, a knowledge-constrained generative re-ranking method based on LLMs for KGC. To overcome the mismatch issue, we formulate the KGC re-ranking task as a candidate identifier sorting generation problem implemented by generative LLMs. To tackle the misordering issue, we develop a knowledge-guided interactive training method that enhances the identification and ranking of candidates. To address the omission issue, we design a knowledge-augmented constrained inference method that enables contextual prompting and controlled generation, so as to obtain valid rankings. Experimental results show that KG-GenRe achieves state-of-the-art performance on four datasets, with gains of up to 6.7% and 7.7% in the MRR and Hits@1 metric compared to previous methods, and 9.0% and 11.1% compared to that without re-ranking. Extensive analysis demonstrates the effectiveness of components in KG-GenRe.

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

↑