Dual Reasoning: A GNN-LLM Collaborative Framework for Knowledge Graph Question Answering

Guangyi Liu, Yongqi Zhang, Yong Li, Quanming Yao

TL;DR

This paper introduces Dual-Reasoning (DualR), a novel framework that combines the strengths of Graph Neural Networks (GNNs) for explicit knowledge graph reasoning and Large Language Models (LLMs) for implicit reasoning. DualR achieves state-of-the-art performance in Knowledge Graph Question Answering (KGQA) by generating precise reasoning chains from KGs to guide LLMs, leading to more accurate and interpretable answers.

What Problem Does This Paper Address?

Answering complex questions using knowledge graphs (KGs) is a challenging task. While Large Language Models (LLMs) excel at intuitive, implicit reasoning, they often struggle with factual accuracy and can "hallucinate" information, especially when dealing with domain-specific or up-to-date knowledge. Knowledge graphs (KGs) offer a solution by providing explicit, structured factual information. However, existing methods that try to integrate LLMs with KGs often fail to effectively leverage the structured nature of KGs for reasoning. They might overlook explicit graph learning, leading to imprecise or irrelevant reasoning chains, or they rely on LLMs to directly "understand" graph structures, which they are not inherently designed to do. This results in increased inference costs, potential inaccuracies, and a lack of interpretability.

Methods

DualR is inspired by the dual-process theory of human cognition, which posits two systems of thinking: System 1 (intuitive, implicit) and System 2 (deliberate, explicit). The framework integrates these two systems:

  • System 2 (GNN-based Explicit Reasoning): A novel LLM-empowered Graph Neural Network (GNN) module is designed to explicitly reason over the KG. This module performs "semantic-aware knowledge exploration" by adaptively pruning irrelevant information and propagating representations through the graph. This process extracts high-quality, structured reasoning chains that connect the question's topic entity to potential answers.
  • System 1 (LLM-based Implicit Reasoning): The extracted reasoning chains are then refined into a "knowledge-enhanced multiple-choice prompt." This prompt includes the candidate answers, their probabilities as determined by the GNN, and the reasoning chain itself. This structured prompt guides a frozen LLM to perform deliberate reasoning, combining the explicit KG knowledge with its implicit understanding to arrive at the final answer.

The key novelty lies in the GNN's ability to perform explicit, structured reasoning on the KG, guided by LLM-generated embeddings for semantic understanding, and then feeding this structured knowledge back to the LLM in a refined prompt format.

Datasets

The authors evaluated DualR on three benchmark KGQA datasets:

  • WebQSP (WebQuestionSP): A dataset derived from Freebase.
  • CWQ (Complex WebQuestions): Another dataset derived from Freebase.
  • MetaQA: A dataset based on the WikiMovies KG, which is further divided into three versions based on the number of hops required for reasoning (1-hop, 2-hop, and 3-hop).

Key Insights and Ideas

  • Dual-Process Theory as a Guiding Principle: Applying the human cognitive model of System 1 and System 2 reasoning to AI systems provides a powerful framework for combining the strengths of LLMs and structured knowledge bases.
  • GNNs as Explicit Reasoners: GNNs are well-suited for learning from graph structures, and by empowering them with LLM embeddings, they can effectively extract precise reasoning chains from KGs, overcoming LLMs' limitations in graph comprehension.
  • Knowledge-Enhanced Prompts are Crucial: Simply feeding raw KG data to LLMs is insufficient. Refining the extracted KG information into a structured, multiple-choice prompt with reasoning chains significantly improves the LLM's ability to perform accurate and faithful reasoning.
  • Efficiency and Interpretability Gains: By offloading explicit reasoning to a GNN and using a single-step inference for the LLM, DualR achieves high efficiency and interpretability, making it practical for real-world applications.

Key Results

  • State-of-the-Art Performance: DualR consistently outperforms existing methods, including traditional KG-based approaches and other LLM-based KGQA methods, across the evaluated datasets. For instance, when combined with Llama2-13B, DualR achieves Hits@1 scores of 97.9% on MetaQA-1, 99.1% on MetaQA-2, and 99.6% on MetaQA-3.
  • Efficiency: DualR requires only one interaction with the LLM for answer determination, significantly reducing inference time and interaction costs compared to methods that require multiple LLM calls.
  • Interpretability: The generated reasoning chains provide a clear explanation for the LLM's answer, enhancing the interpretability of the system. Case studies demonstrate how DualR's reasoning aligns with the provided chains.
  • Effectiveness of Components: Ablation studies show that both the GNN-based knowledge exploration and the LLM-based answer determination contribute significantly to the overall performance.

Limitations and Future Work

  • Answer Restriction: The current setting restricts answers to entities within the KG. While this is manageable for training, it might be too strict for real-world applications where answers might not be directly present as entities.
  • Future Work: The authors suggest leveraging LLMs to generate natural questions from multi-hop relations and incorporating supervision signals from intermediate entities to further enhance model training. They also propose exploring more sophisticated ways to integrate LLMs and KGs, potentially beyond the current prompt-based approach.

Summary updated

BibTeX
@inproceedings{liu2025dual,
  author = {Guangyi Liu and Yongqi Zhang and Yong Li and Quanming Yao},
  title = {{Dual Reasoning: A GNN-LLM Collaborative Framework for Knowledge Graph Question Answering}},
  booktitle = {CPAL},
  year = {2025},
  url = {https://openreview.net/forum?id=9Dl0Vgn7u5},
}
Figure