Grounding LLM Reasoning with Knowledge Graphs

Alfonso Amayuelas, Joy Prakash Sain, Simerjot Kaur, Charese Smiley · DOI

TL;DR

This paper introduces a framework to ground Large Language Model (LLM) reasoning in Knowledge Graphs (KGs), making LLM outputs more verifiable and traceable. By linking each reasoning step to structured graph data, they achieve state-of-the-art performance on graph reasoning tasks, significantly improving accuracy and interpretability.

What Problem Does This Paper Address?

Large Language Models (LLMs) are powerful at generating human-like text, but their reasoning processes are often opaque and their outputs difficult to verify. This lack of transparency and traceability is a major hurdle for their adoption in critical applications. While methods like Retrieval-Augmented Generation (RAG) offer some external grounding, they often struggle with complex, interconnected knowledge. The authors aim to bridge this gap by integrating LLM reasoning directly with structured knowledge graphs, enabling more reliable and interpretable answers.

Methods

The core of the proposed framework is to explicitly link each step of an LLM's reasoning process to a Knowledge Graph (KG). This "grounding" transforms intermediate thoughts into interpretable traces that are consistent with external knowledge. They explore three reasoning strategies:

  • Chain-of-Thought (CoT): A sequential generation of reasoning steps, where each step builds on the previous one and is linked to the KG.
  • Tree-of-Thought (ToT): Extends CoT by allowing the exploration of multiple reasoning paths simultaneously, forming a tree structure. This involves generating candidate thoughts, evaluating them, and pruning less promising branches.
  • Graph-of-Thought (GoT): Further generalizes ToT by organizing reasoning into a directed graph, allowing for the merging of different reasoning chains.

These reasoning strategies are integrated with two KG interaction methods:

  • Agent: An LLM-controlled agent that selects explicit actions (e.g., retrieve node, check neighbors) to interact with the KG.
  • Automatic Graph Exploration: A pipeline where entities are extracted from LLM-generated text and used to guide iterative graph traversal with pruning.

Datasets

The primary dataset used for evaluation is GRBench, a benchmark specifically designed for evaluating LLM reasoning over domain-specific graphs. The authors selected 7 graphs from GRBench across various domains, excluding those with excessively high RAM requirements.

Key Insights and Ideas

  • Grounding is Key for Verifiability: Explicitly linking LLM reasoning steps to KG data is crucial for making outputs verifiable and traceable, addressing a core limitation of current LLMs.
  • Agentic Control Outperforms Passive Exploration: The agent-based interaction method, where the LLM actively selects actions, generally leads to better performance than automatic graph exploration, suggesting that explicit, model-driven interventions are more effective.
  • ToT Offers a Sweet Spot: The Tree-of-Thought strategy shows significant performance gains by exploring multiple reasoning paths, demonstrating the benefit of diversifying inference trajectories.
  • GoT's Complexity Challenge: While GoT's ability to merge reasoning chains is promising, it doesn't consistently outperform ToT, indicating that effectively aggregating and reconciling divergent reasoning paths remains a difficult problem.
  • Step Depth Matters (Up to a Point): For graph exploration, performance plateaus after a certain search depth, suggesting that shallow, targeted exploration is often sufficient and efficient.

Key Results

The proposed framework achieved state-of-the-art (SOTA) performance on GRBench, with at least a 26.5% improvement over CoT baselines. Specifically, the Agent-based methods, particularly with ToT, showed substantial gains. For instance, ToT achieved performance improvements of 54.74% in agent performance and 11.74% in exploration mode compared to the CoT baseline. The paper also analyzes how factors like step depth, branching structure, and model size influence reasoning quality.

Limitations and Future Work

The authors acknowledge several limitations:

  • Computational Cost: Reasoning strategies like ToT and GoT, especially with merging, introduce significant computational overhead and increased inference time. Loading large graphs also requires substantial RAM.
  • Hallucination Risk: While grounding in KGs mitigates hallucination, LLMs can still generate outputs not strictly limited to the accessed information.
  • Graph Quality Dependency: The overall effectiveness of the framework is heavily dependent on the coverage and quality of the underlying knowledge graph.

Future work directions include:

  • Extending the framework to larger and more heterogeneous graphs.
  • Developing more advanced intervention strategies for merging partial reasoning outcomes in GoT.
  • Exploring applications in domains where accuracy and verifiability are critical.

Summary updated

BibTeX
@misc{amayuelas2025grounding,
  author = {Alfonso Amayuelas and Joy Prakash Sain and Simerjot Kaur and Charese Smiley},
  title = {{Grounding LLM Reasoning with Knowledge Graphs}},
  year = {2025},
  eprint = {2502.13247},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.13247},
}
Figure