Reasoning with Graphs: Structuring Implicit Knowledge to Enhance LLMs Reasoning

Haoyu Han, Yaochen Xie, Hui Liu, Xianfeng Tang, Sreyashi Nag +7 more
1/14/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) have demonstrated remarkable success across a wide range of tasks; however, they still encounter challenges in reasoning tasks that require understanding and inferring relationships between distinct pieces of information within text sequences. This challenge is particularly pronounced in tasks involving multi-step processes, such as logical reasoning and multi-hop question answering, where understanding implicit relationships between entities and leveraging multi-hop connections in the given context are crucial. Graphs, as fundamental data structures, explicitly represent pairwise relationships between entities, thereby offering the potential to enhance LLMs' reasoning capabilities. External graphs have proven effective in supporting LLMs across multiple tasks. However, in many reasoning tasks, no pre-existing graph structure is provided. Can we structure implicit knowledge derived from context into graphs to assist LLMs in reasoning? In this paper, we propose Reasoning with Graphs (RwG) by first constructing explicit graphs from the context and then leveraging these graphs to enhance LLM reasoning performance on reasoning tasks. Extensive experiments demonstrate the effectiveness of the proposed method in improving both logical reasoning and multi-hop question answering tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{han2025reasoning,
  title  = {Reasoning with Graphs: Structuring Implicit Knowledge to Enhance LLMs Reasoning},
  author = {Haoyu Han and Yaochen Xie and Hui Liu and Xianfeng Tang and Sreyashi Nag and William Headden and Hui Liu and Yang Li and Chen Luo and Shuiwang Ji and Qi He and Jiliang Tang},
  year   = {2025},
  eprint = {2501.07845},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.07845v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.07845.svg)](https://codeofpaper.com/paper/2501.07845)

Discussion