arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.14211cs.CL
收藏

Paths-over-Graph:知识图谱赋能的大语言模型推理

Paths-over-Graph: Knowledge Graph Empowered Large Language Model Reasoning

University of New South Wales(新南威尔士大学);Data61, CSIRO(联邦科学与工业研究组织Data61)

Xingyu Tan, Xiaoyang Wang, Qing Liu, Xiwei Xu, Xin Yuan, Wenjie Zhang

AI总结:

本文提出Paths-over-Graph(PoG)方法,通过三阶段多跳路径探索与三步剪枝技术融合知识图谱事实知识,提升大语言模型在多跳多实体推理中的准确性与可解释性,并在多个KGQA基准上显著超越ToG。

摘要:

大语言模型(LLMs)在各类任务中取得了令人瞩目的成果,但在深度复杂推理和知识密集型任务中仍面临幻觉问题以及相关知识匮乏的困扰。知识图谱(KGs)以结构化形式捕获大量事实,为推理提供了可靠的知识来源。然而,现有基于知识图谱的LLM推理方法在处理多跳推理、多实体问题以及有效利用图结构方面仍面临挑战。为解决这些问题,我们提出了Paths-over-Graph(PoG),这是一种通过整合来自知识图谱的知识推理路径来增强LLM推理的新方法,从而提升LLM输出的可解释性和忠实性。PoG通过三阶段动态多跳路径探索来处理多跳和多实体问题,该探索过程将LLM的固有知识与来自知识图谱的事实知识相结合。为了提高效率,PoG首先在图探索过程中剪除无关信息,并引入了高效的三步剪枝技术,该技术融合了图结构、LLM提示以及预训练语言模型(例如SBERT),以有效缩小探索的候选路径范围。这确保了所有推理路径都包含从知识图谱中捕获的高度相关信息,从而使推理在问题求解过程中忠实且可解释。PoG创新性地利用图结构来剪除无关噪声,并且是首个在知识图谱上为LLM推理任务实现多实体深度路径检测的方法。在五个基准KGQA数据集上的综合实验表明,PoG在GPT-3.5-Turbo和GPT-4上均优于最先进方法ToG,平均准确率提升了18.9%。值得注意的是,使用GPT-3.5-Turbo的PoG相较于使用GPT-4的ToG,最高提升达23.9%。

英文摘要:

Large Language Models (LLMs) have achieved impressive results in various tasks but struggle with hallucination problems and lack of relevant knowledge, especially in deep complex reasoning and knowledge-intensive tasks. Knowledge Graphs (KGs), which capture vast amounts of facts in a structured format, offer a reliable source of knowledge for reasoning. However, existing KG-based LLM reasoning methods face challenges like handling multi-hop reasoning, multi-entity questions, and effectively utilizing graph structures. To address these issues, we propose Paths-over-Graph (PoG), a novel method that enhances LLM reasoning by integrating knowledge reasoning paths from KGs, improving the interpretability and faithfulness of LLM outputs. PoG tackles multi-hop and multi-entity questions through a three-phase dynamic multi-hop path exploration, which combines the inherent knowledge of LLMs with factual knowledge from KGs. In order to improve the efficiency, PoG prunes irrelevant information from the graph exploration first and introduces efficient three-step pruning techniques that incorporate graph structures, LLM prompting, and a pre-trained language model (e.g., SBERT) to effectively narrow down the explored candidate paths. This ensures all reasoning paths contain highly relevant information captured from KGs, making the reasoning faithful and interpretable in problem-solving. PoG innovatively utilizes graph structure to prune the irrelevant noise and represents the first method to implement multi-entity deep path detection on KGs for LLM reasoning tasks. Comprehensive experiments on five benchmark KGQA datasets demonstrate PoG outperforms the state-of-the-art method ToG across GPT-3.5-Turbo and GPT-4, achieving an average accuracy improvement of 18.9%. Notably, PoG with GPT-3.5-Turbo surpasses ToG with GPT-4 by up to 23.9%.

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

↑