Extracting and Following Paths for Robust Relational Reasoning with Large Language Models
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.
Cite
Text
Zhang et al. "Extracting and Following Paths for Robust Relational Reasoning with Large Language Models." Transactions on Machine Learning Research, 2026.Markdown
[Zhang et al. "Extracting and Following Paths for Robust Relational Reasoning with Large Language Models." Transactions on Machine Learning Research, 2026.](https://mlanthology.org/tmlr/2026/zhang2026tmlr-extracting/)BibTeX
@article{zhang2026tmlr-extracting,
title = {{Extracting and Following Paths for Robust Relational Reasoning with Large Language Models}},
author = {Zhang, Ge and Alomrani, Mohammad Ali and Gu, Hongjian and Zhou, Jiaming and Hu, Yaochen and Wang, Bin and Liu, Qun and Coates, Mark and Zhang, Yingxue and Hao, Jianye},
journal = {Transactions on Machine Learning Research},
year = {2026},
url = {https://mlanthology.org/tmlr/2026/zhang2026tmlr-extracting/}
}