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

评估与增强大型语言模型在知识图谱上的对话推理能力

Evaluating and Enhancing Large Language Models for Conversational Reasoning on Knowledge Graphs

College of Software(软件学院);Jilin University(吉林大学)

Yuxuan Huang

AI总结:

本研究评估了GPT-4在知识图谱对话推理中的局限性,并提出基于近端策略优化的智能体LLM-ARK,通过全文本环境提示吸收状态信息,将多跳推理转化为顺序决策任务,在OpenDialKG数据集上显著超越现有模型。

摘要:

大型语言模型的发展得益于预训练技术的进步。这些模型通过人工设计的提示展现了稳健的推理能力。在本研究中,我们评估了当前最先进的大型语言模型在知识图谱上的对话推理能力。然而,由于缺乏知识图谱环境感知能力,且难以在中间推理阶段开发有效的优化机制,大型语言模型的性能受到了限制。我们进一步引入了LLM-ARK,这是一个基于大型语言模型的知识图谱推理智能体,旨在对知识图谱路径提供精确且适应性强的预测。LLM-ARK利用全文本环境提示来吸收每个推理步骤中的状态信息。我们将知识图谱上的多跳推理挑战重新定义为顺序决策任务。利用近端策略优化在线策略梯度强化学习算法,我们的模型经过优化,能够从丰富的奖励信号中学习。此外,我们在OpenDialKG数据集上对模型和GPT-4进行了评估。实验结果表明,LLaMA-2-7B-ARK在target@1评估指标上达到36.39%的性能表现,比当前最先进模型高出5.28个百分点。同时,GPT-4得分为14.91%,进一步证明了我们方法的有效性。我们的代码可在GitHub上获取。

英文摘要:

The development of large language models (LLMs) has been catalyzed by advancements in pre-training techniques. These models have demonstrated robust reasoning capabilities through manually designed prompts. In this work, we evaluate the conversational reasoning capabilities of the current state-of-the-art LLM (GPT-4) on knowledge graphs (KGs). However, the performance of LLMs is constrained due to a lack of KG environment awareness and the difficulties in developing effective optimization mechanisms for intermediary reasoning stages. We further introduce LLM-ARK, a LLM grounded KG reasoning agent designed to deliver precise and adaptable predictions on KG paths. LLM-ARK leverages Full Textual Environment (FTE) prompt to assimilate state information within each reasoning step. We reframe the challenge of multi-hop reasoning on the KG as a sequential decision-making task. Utilizing the Proximal Policy Optimization (PPO) online policy gradient reinforcement learning algorithm, our model is optimized to learn from rich reward signals. Additionally, we conduct an evaluation of our model and GPT-4 on the OpenDialKG dataset. The experimental results reveal that LLaMA-2-7B-ARK outperforms the current state-of-the-art model by 5.28 percentage points, with a performance rate of 36.39% on the target@1 evaluation metric. Meanwhile, GPT-4 scored 14.91%, further demonstrating the effectiveness of our method. Our code is available on GitHub (https://github.com/Aipura/LLM-ARK) for further access.

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

↑