English

Extracting and Following Paths for Robust Relational Reasoning with Large Language Models

Computation and Language 2026-03-25 v2

Abstract

Large language models (LLMs) possess vast semantic knowledge but often struggle with complex reasoning tasks, particularly in relational reasoning problems such as kinship or spatial reasoning. In this paper, we present Path-of-Thoughts (PoT), a novel framework for solving relation reasoning that decomposes the task into three key stages: graph extraction, path identification, and reasoning. Unlike previous approaches, PoT efficiently extracts a reasoning graph that identifies crucial entities, relations, and attributes within the context. Subsequently, PoT identifies query-relevant reasoning paths within the graph, facilitating downstream reasoning of potential answers. Experimental evaluations across four datasets of relational reasoning demonstrate that PoT surpasses state-of-the-art baselines by a significant margin (up to 21.3%) without requiring fine-tuning or extensive LLM calls. Furthermore, unlike prior neuro-symbolic methods, PoT exhibits improved resilience against LLM extraction errors and input ambiguity by leveraging the compositional nature of graphs.

Keywords

Cite

@article{arxiv.2412.17963,
  title  = {Extracting and Following Paths for Robust Relational Reasoning with Large Language Models},
  author = {Ge Zhang and Mohammad Ali Alomrani and Hongjian Gu and Jiaming Zhou and Yaochen Hu and Bin Wang and Qun Liu and Mark Coates and Yingxue Zhang and Jianye Hao},
  journal= {arXiv preprint arXiv:2412.17963},
  year   = {2026}
}
R2 v1 2026-06-28T20:47:24.818Z