Can LLMs perform structured graph reasoning?
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
Abstract (arXiv)
Pretrained Large Language Models (LLMs) have demonstrated various reasoning capabilities through language-based prompts alone, particularly in unstructured task settings (tasks purely based on language semantics). However, LLMs often struggle with structured tasks, because of the inherent incompatibility of input representation. Reducing structured tasks to uni-dimensional language semantics often renders the problem trivial. Keeping the trade-off between LLM compatibility and structure complexity in mind, we design various graph reasoning tasks as a proxy to semi-structured tasks in this paper, in order to test the ability to navigate through representations beyond plain text in various LLMs. Particularly, we design 10 distinct problems of graph traversal, each representing increasing levels of complexity, and benchmark 5 different instruct-finetuned LLMs (GPT-4, GPT-3.5, Claude-2, Llama-2 and Palm-2) on the aforementioned tasks. Further, we analyse the performance of models across various settings such as varying sizes of graphs as well as different forms of k-shot prompting. We highlight various limitations, biases and properties of LLMs through this benchmarking process, such as an inverse relation to the average degrees of freedom of traversal per node in graphs, the overall negative impact of k-shot prompting on graph reasoning tasks, and a positive response bias which prevents LLMs from identifying the absence of a valid solution. Finally, we introduce a new prompting technique specially designed for graph traversal tasks (PathCompare), which demonstrates a notable increase in the performance of LLMs in comparison to standard prompting techniques such as Chain-of-Thought (CoT).
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 21 of its 28 references that are in the map. First posted on arXiv 2 Feb 2024.
Builds on
21 of 28 references.
Closest ancestors · 3
Same direction, newest first
- 2023GraphLLM: Boosting Graph Reasoning Ability of Large Language Model9 Oct
- 2023Can Language Models Solve Graph Problems in Natural Language?17 May
- 2023Complex Logical Reasoning over Knowledge Graphs using Large Language Models2 May
Other references · 18
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023PaLM 2 Technical Reportcited by 1,154
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
- 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 417
- 2022Reasoning with Language Model Prompting: A Surveycited by 251
- 2020Can Graph Neural Networks Count Substructures?cited by 235
- 2023Large Language Models on Graphs: A Comprehensive Surveycited by 190
- 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 175
6 more
- 2022Faithful Reasoning Using Large Language Modelscited by 130
- 2023ChatGPT is a Knowledgeable but Inexperienced Solver: An Investigation of Commonsense Problem in Large Language Modelscited by 63
- 2020Learning Dynamic Belief Graphs to Generalize on Text-Based Gamescited by 49
- 2023Evaluating Large Language Models on Graphs: Performance Insights and Comparative Analysiscited by 35
- 2023A Comparative Study of Open-Source Large Language Models, GPT-4 and Claude 2: Multiple-Choice Test Taking in Nephrologycited by 26
- 2023Stochastic LLMs do not Understand Language: Towards Symbolic, Explainable and Ontologically Based LLMscited by 9
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 3.
9 papers.
- 2024GraphOTTER: Evolving LLM-based Graph Reasoning for Complex Table Question Answeringcited by 18
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generationcited by 9
- 2025Autonomous Control Leveraging LLMs: An Agentic Framework for Next-Generation Industrial Automationcited by 8
- 2026MobilityBench: A Benchmark for Evaluating Route-Planning Agents in Real-World Mobility Scenarioscited by 8
- 2024Are Large-Language Models Graph Algorithmic Reasoners?cited by 5
- 2026Outcome-Based RL Provably Leads Transformers to Reason, but Only With the Right Datacited by 5
- 2025Trace-of-Thought Prompting: Investigating Prompt-Based Knowledge Distillation Through Question Decompositioncited by 3
- 2025TinyGraphEstimator: Adapting Lightweight Language Models for Graph Structure Inferencecited by 3
- 2026Detecting Differences Is Not Understanding Structure: Large Language Models Fail at Graph Isomorphismcited by 1
- 2026Detecting Differences Is Not Understanding Structure: Large Language Models Fail at Graph Isomorphism8 Jun 2026
- 2026MobilityBench: A Benchmark for Evaluating Route-Planning Agents in Real-World Mobility Scenarios26 Feb 2026
- 2026Outcome-Based RL Provably Leads Transformers to Reason, but Only With the Right Data21 Jan 2026
- 2025TinyGraphEstimator: Adapting Lightweight Language Models for Graph Structure Inference9 Oct 2025
- 2025Autonomous Control Leveraging LLMs: An Agentic Framework for Next-Generation Industrial Automation3 Jul 2025
- 2025Trace-of-Thought Prompting: Investigating Prompt-Based Knowledge Distillation Through Question Decomposition29 Apr 2025
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generation17 Feb 2025
- 2024GraphOTTER: Evolving LLM-based Graph Reasoning for Complex Table Question Answering2 Dec 2024
- 2024Are Large-Language Models Graph Algorithmic Reasoners?29 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2025Exploring Graph Learning Tasks with Pure LLMs: A Comprehensive Benchmark and Investigation
- 2026Are Large Language Models Suitable for Graph Computation? Progress and Prospects
- 2024Can LLM Graph Reasoning Generalize beyond Pattern Memorization?
- 2024Graph Reasoning with Large Language Models via Pseudo-code Prompting
- 2025GraphOmni: A Comprehensive and Extensible Benchmark Framework for Large Language Models on Graph-theoretic Tasks
- 2025Rethinking and Benchmarking Large Language Models for Graph Reasoning
- 2024Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Path
- 2025Less is More: Learning Graph Tasks with Just LLMs