Skip to main content
QUICK REVIEW

[论文解读] Plan-on-Graph: Self-Correcting Adaptive Planning of Large Language Model on Knowledge Graphs

Liyi Chen, Panrong Tong|arXiv (Cornell University)|Oct 31, 2024
Topic ModelingComputer Science被引用 5
一句话总结

Plan-on-Graph(PoG)使带知识图的大型语言模型能够通过 Guidance、Memory、Reflection 自适应地探索知识图并自我纠正推理路径,从而提高 KGQA 的准确性和效率。

ABSTRACT

Large Language Models (LLMs) have shown remarkable reasoning capabilities on complex tasks, but they still suffer from out-of-date knowledge, hallucinations, and opaque decision-making. In contrast, Knowledge Graphs (KGs) can provide explicit and editable knowledge for LLMs to alleviate these issues. Existing paradigm of KG-augmented LLM manually predefines the breadth of exploration space and requires flawless navigation in KGs. However, this paradigm cannot adaptively explore reasoning paths in KGs based on the question semantics and self-correct erroneous reasoning paths, resulting in a bottleneck in efficiency and effect. To address these limitations, we propose a novel self-correcting adaptive planning paradigm for KG-augmented LLM named Plan-on-Graph (PoG), which first decomposes the question into several sub-objectives and then repeats the process of adaptively exploring reasoning paths, updating memory, and reflecting on the need to self-correct erroneous reasoning paths until arriving at the answer. Specifically, three important mechanisms of Guidance, Memory, and Reflection are designed to work together, to guarantee the adaptive breadth of self-correcting planning for graph reasoning. Finally, extensive experiments on three real-world datasets demonstrate the effectiveness and efficiency of PoG.

研究动机与目标

  • 通过利用显式的 KG 知识,推动解决 LLMs 中过时知识、幻觉现象以及决策过程不透明的问题。
  • 开发基于问题语义探索KG推理路径的自我纠正自适应规划范式。
  • 将问题分解为子目标以引导自适应探索,并在需要时实现回溯。
  • 引入 Memory 模块以存储子图、推理路径和子目标状态,便于进行知情反思。
  • 引入 Reflection 机制以决定何时以及如何自我纠正探索路径。

提出的方法

  • 使用LLM将问题分解为包含条件的子目标。
  • 通过关系与实体探索扩展推理路径,依据问题和子目标进行自适应路径探索。
  • 在每次探索迭代后,用子图、推理路径和子目标状态更新内存。
  • 使用 Reflection 步骤基于内存判断信息是否足够,以及是否需要回溯或扩展探索。
  • 如有需要,回溯以添加新的候选实体以实现自我纠正的探索。
  • 通过与 CWQ、WebQSP 和 GrailQA 上的 SOTA KG 增强型 LLM 基线进行比较来评估该方法。

实验结果

研究问题

  • RQ1自我纠正和自适应规划如何提升面向多跳知识图问答任务的KG增强型LLM推理?
  • RQ2与固定广度的KG探索相比,Guidance、Memory和Reflection 是否能共同提升准确性与效率?
  • RQ3在真实世界KGQA数据集CWQ、WebQSP和GrailQA上,PoG 相对于强基线的表现如何?
  • RQ4Guidance、Memory、Reflection 与自适应广度的消融对性能有何影响?

主要发现

  • PoG 在 CWQ、WebQSP 和 GrailQA 上的表现优于最先进的基线。
  • 在 GPT-4 下,PoG 超越所有在这三个数据集上的微调整的 KG 增强型 LLM 基线。
  • 使用 GPT-3.5 的 PoG 同样超过了许多基线,并在 GrailQA 零样本子集上表现出色。
  • 消融结果显示每个组件(Guidance、Memory、Reflection)以及自适应广度对性能提升均有贡献。
  • 与 ToG 相比,PoG 将平均LLM调用次数降低至少40.8%,并在评估数据集上降低总 token 使用和运行时间。
  • PoG 的 memory 与 reflection 能实现有效自我纠错,提升对复杂问题的鲁棒性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。