Can LLM be a Good Path Planner based on Prompt Engineering? Mitigating the Hallucination for Path Planning
On the map: LLM reasoning → Spatial and embodied reasoning
Abstract (arXiv)
Spatial reasoning in Large Language Models (LLMs) is the foundation for embodied intelligence. However, even in simple maze environments, LLMs still encounter challenges in long-term path-planning, primarily influenced by their spatial hallucination and context inconsistency hallucination by long-term reasoning. To address this challenge, this study proposes an innovative model, Spatial-to-Relational Transformation and Curriculum Q-Learning (S2RCQL). To address the spatial hallucination of LLMs, we propose the Spatial-to-Relational approach, which transforms spatial prompts into entity relations and paths representing entity relation chains. This approach fully taps the potential of LLMs in terms of sequential thinking. As a result, we design a path-planning algorithm based on Q-learning to mitigate the context inconsistency hallucination, which enhances the reasoning ability of LLMs. Using the Q-value of state-action as auxiliary information for prompts, we correct the hallucinations of LLMs, thereby guiding LLMs to learn the optimal path. Finally, we propose a reverse curriculum learning technique based on LLMs to further mitigate the context inconsistency hallucination. LLMs can rapidly accumulate successful experiences by reducing task difficulty and leveraging them to tackle more complex tasks. We performed comprehensive experiments based on Baidu's self-developed LLM: ERNIE-Bot 4.0. The results showed that our S2RCQL achieved a 23%--40% improvement in both success and optimality rates compared with advanced prompt engineering.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Spatial and embodied reasoning, one of 17 directions in LLM reasoning. Builds on 17 of its 23 references that are in the map. First posted on arXiv 23 Aug 2024.
Builds on
17 of 23 references.
Closest ancestors · 1
Same direction, newest first
Other references · 16
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2016OpenAI Gymcited by 1,736
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 289
- 2023MathPrompter: Mathematical Reasoning using Large Language Modelscited by 236
- 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planningcited by 231
- 2017Reverse Curriculum Generation for Reinforcement Learningcited by 198
4 more
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 169
- 2023Can an Embodied Agent Find Your "Cat-shaped Mug"? LLM-Guided Exploration for Zero-Shot Object Navigationcited by 74
- 2023Large Language Models Are Semi-Parametric Reinforcement Learning Agentscited by 42
Built on by
Citing papers per year: 2024: 1; 2025: 7; 2026: 3.
11 papers.
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 50
- 2025Large Language Models for Planning: A Comprehensive and Systematic Surveycited by 40
- 2025Loki's Dance of Illusions: A Comprehensive Survey of Hallucination in Large Language Modelscited by 7
- 2025Large Language Models in Operations Research: Methods, Applications, and Challengescited by 6
- 2025Data-Efficient Multi-Agent Spatial Planning with LLMscited by 3
- 2025Aligning Perception, Reasoning, Modeling and Interaction: A Survey on Physical AIcited by 3
- 2025From Reasoning to Generalization: Knowledge-Augmented LLMs for ARC Benchmarkcited by 2
- 2026Online Monitoring and Corrective Steering of Programming Agentscited by 2
- 2026End-to-End LLM Flight Planning with RAG-based Memory and Multi-modal Coach Agentcited by 1
- 2024SCoTT: Strategic Chain-of-Thought Tasking for Wireless-Aware Robot Navigation in Digital Twinscited by 0
- 2026Bridging Values and Behavior: A Hierarchical Framework for Proactive Embodied Agentscited by 0
- 2026Online Monitoring and Corrective Steering of Programming Agents7 Aug 2026
- 2026End-to-End LLM Flight Planning with RAG-based Memory and Multi-modal Coach Agent8 Jul 2026
- 2026Bridging Values and Behavior: A Hierarchical Framework for Proactive Embodied Agents30 Apr 2026
- 2025Aligning Perception, Reasoning, Modeling and Interaction: A Survey on Physical AI6 Oct 2025
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directions23 Sep 2025
- 2025Large Language Models in Operations Research: Methods, Applications, and Challenges18 Sep 2025
- 2025Loki's Dance of Illusions: A Comprehensive Survey of Hallucination in Large Language Models6 Jun 2025
- 2025Large Language Models for Planning: A Comprehensive and Systematic Survey26 May 2025
- 2025From Reasoning to Generalization: Knowledge-Augmented LLMs for ARC Benchmark23 May 2025
- 2025Data-Efficient Multi-Agent Spatial Planning with LLMs26 Feb 2025
- 2024SCoTT: Strategic Chain-of-Thought Tasking for Wireless-Aware Robot Navigation in Digital Twins27 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2026Deconstructing Spatial Complexity: Hierarchical Decomposition for LLM Spatial Reasoning
- 2026Do LLMs Build Spatial World Models? Evidence from Grid-World Maze Tasks
- 2025From Building Blocks to Planning: Multi-Step Spatial Reasoning in LLMs with Reinforcement Learning
- 2023Chain-of-Symbol Prompting Elicits Planning in Large Langauge Models
- 2025MazeEval: A Benchmark for Testing Sequential Decision-Making in Language Models
- 2023Dynamic Planning with a LLM
- 2025T3 Planner: A Self-Correcting LLM Framework for Robotic Motion Planning with Temporal Logic
- 2026From Human Cognition to Neural Activations: Probing the Computational Primitives of Spatial Reasoning in LLMs