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

Reason-Align-Respond:将LLM推理与知识图谱对齐以用于KGQA

Reason-Align-Respond: Aligning LLM Reasoning with Knowledge Graphs for KGQA

School of Computer Science and Engineering, Nanjing University of Science and Technology, China(计算机科学与工程学院,南京理工大学)

Xiangqing Shen, Fanfan Wang, Rui Xia

AI总结:

本文提出RAR框架,通过Reasoner、Aligner和Responser三个组件将LLM推理与知识图谱结合,并利用期望最大化算法优化,在多个KGQA基准上实现了最先进的性能。

摘要:

LLMs在复杂推理任务中展现了卓越的能力,但常常产生幻觉且缺乏可靠的事实基础。同时,知识图谱(KGs)提供了结构化的事实知识,但缺乏LLMs灵活的推理能力。在本文中,我们提出了Reason-Align-Respond (RAR),这是一个新颖的框架,系统地将LLM推理与知识图谱集成以用于KGQA。我们的方法包含三个关键组件:一个生成类人推理链的Reasoner,一个将这些推理链映射到有效KG路径的Aligner,以及一个综合最终答案的Responser。我们将此过程表述为一个概率模型,并使用期望最大化(Expectation-Maximization)算法对其进行优化,该算法迭代地优化推理链和知识路径。在多个基准上的广泛实验证明了RAR的有效性,在WebQSP和CWQ上分别达到了93.3%和91.0%的Hit@1分数,实现了最先进的性能。人工评估证实,RAR生成了高质量、可解释且与KG路径良好对齐的推理链。此外,RAR展现出强大的零样本泛化能力,并在推理过程中保持计算效率。

英文摘要:

LLMs have demonstrated remarkable capabilities in complex reasoning tasks, yet they often suffer from hallucinations and lack reliable factual grounding. Meanwhile, knowledge graphs (KGs) provide structured factual knowledge but lack the flexible reasoning abilities of LLMs. In this paper, we present Reason-Align-Respond (RAR), a novel framework that systematically integrates LLM reasoning with knowledge graphs for KGQA. Our approach consists of three key components: a Reasoner that generates human-like reasoning chains, an Aligner that maps these chains to valid KG paths, and a Responser that synthesizes the final answer. We formulate this process as a probabilistic model and optimize it using the Expectation-Maximization algorithm, which iteratively refines the reasoning chains and knowledge paths. Extensive experiments on multiple benchmarks demonstrate the effectiveness of RAR, achieving state-of-the-art performance with Hit@1 scores of 93.3% and 91.0% on WebQSP and CWQ respectively. Human evaluation confirms that RAR generates high-quality, interpretable reasoning chains well-aligned with KG paths. Furthermore, RAR exhibits strong zero-shot generalization capabilities and maintains computational efficiency during inference.

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

↑