Skip to main content
QUICK REVIEW

[Paper Review] Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning

Linhao Luo, Yuan-Fang Li|arXiv (Cornell University)|Oct 2, 2023
Topic ModelingComputer Science38 citations
TL;DR

RoG combines knowledge graphs with LLMs in a planning-retrieval-reasoning framework to achieve faithful, interpretable KG reasoning and state-of-the-art KGQA performance. It distills KG knowledge into LLMs and retrieves KG paths to guide reasoning.

ABSTRACT

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.

Motivation & Objective

  • Motivate faithful reasoning in LLMs by leveraging structured KG knowledge.
  • Propose a planning-retrieval-reasoning framework that grounds LLM plans in KG structure.
  • Distill KG knowledge into LLMs and enable integration with any LLM during inference.
  • Demonstrate state-of-the-art KGQA performance and interpretable reasoning on benchmark datasets.

Proposed method

  • Generate KG-grounded relation paths as faithful planning prompts for the LLM.
  • Retrieve reasoning paths from the KG that follow the planned relation paths.
  • Use a reasoning module to answer questions based on retrieved paths with interpretable explanations.
  • Optimize via two instruction-tuning tasks: planning optimization and retrieval-reasoning optimization.
  • Formulate the objective to maximize the probability of the correct answer given questions and retrieved paths (ELBO-based).
  • Allow plug-and-play integration with arbitrary LLMs during inference.

Experimental results

Research questions

  • RQ1Can RoG achieve state-of-the-art performance on KGQA tasks?
  • RQ2Can the RoG planning module be integrated with other LLMs to improve performance?
  • RQ3Can RoG be finetuned and transferred to other knowledge graphs?
  • RQ4Can RoG provide faithful reasoning and interpretable results?

Key findings

  • RoG achieves state-of-the-art performance on WebQSP and CWQ KGQA benchmarks.
  • Integrating RoG planning with various LLMs substantially improves their reasoning accuracy.
  • RoG demonstrates transferability to another KG (MetaQA-3hop) with effective finetuning strategies.
  • RoG provides faithful reasoning paths and interpretable explanations, reducing hallucinations compared to baselines.
  • Ablation studies show planning and reasoning modules are essential for performance gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.