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

图上的推理:忠实且可解释的大语言模型推理

Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning

Monash University(莫纳什大学);Griffith University(格里菲斯大学)

Linhao Luo, Yuan-Fang Li, Gholamreza Haffari, Shirui Pan

AI总结:

本文提出图上推理方法RoG,通过规划-检索-推理框架将知识图谱结构信息与大语言模型协同,在提升知识图谱问答性能的同时实现忠实且可解释的推理。

摘要:

大语言模型(LLMs)在复杂任务中展现了令人印象深刻的推理能力。然而,它们缺乏最新知识,并在推理过程中经历幻觉,这可能导致错误的推理过程,降低其性能和可信度。知识图谱(KGs)以结构化格式捕获大量事实,为推理提供了可靠的知识来源。然而,现有的基于知识图谱的LLM推理方法仅将知识图谱视为事实知识库,忽视了其结构信息对推理的重要性。在本文中,我们提出了一种名为图上推理(RoG)的新方法,将LLMs与知识图谱协同起来,以实现忠实且可解释的推理。具体来说,我们提出了一个规划-检索-推理框架,其中RoG首先生成以知识图谱为根据的关系路径作为忠实计划。然后,这些计划被用于从知识图谱中检索有效的推理路径,供LLMs进行忠实推理。此外,RoG不仅通过训练从知识图谱中蒸馏知识以提高LLMs的推理能力,还允许在推理过程中与任意LLMs无缝集成。在两个基准KGQA数据集上的大量实验表明,RoG在知识图谱推理任务上取得了最先进的性能,并生成了忠实且可解释的推理结果。

英文摘要:

Large language models (LLMs) have demonstrated impressive reasoning abilities in complex tasks. However, they lack up-to-date knowledge and experience hallucinations during reasoning, which can lead to incorrect reasoning processes and diminish their performance and trustworthiness. Knowledge graphs (KGs), which capture vast amounts of facts in a structured format, offer a reliable source of knowledge for reasoning. Nevertheless, existing KG-based LLM reasoning methods only treat KGs as factual knowledge bases and overlook the importance of their structural information for reasoning. In this paper, we propose a novel method called reasoning on graphs (RoG) that synergizes LLMs with KGs to enable faithful and interpretable reasoning. Specifically, we present a planning-retrieval-reasoning framework, where RoG first generates relation paths grounded by KGs as faithful plans. These plans are then used to retrieve valid reasoning paths from the KGs for LLMs to conduct faithful reasoning. Furthermore, RoG not only distills knowledge from KGs to improve the reasoning ability of LLMs through training but also allows seamless integration with any arbitrary LLMs during inference. Extensive experiments on two benchmark KGQA datasets demonstrate that RoG achieves state-of-the-art performance on KG reasoning tasks and generates faithful and interpretable reasoning results.

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

↑