mlsanityData to 14 Oct 2026

Can LLM be a Good Path Planner based on Prompt Engineering? Mitigating the Hallucination for Path Planning

arXiv 2408.13184 ↗First posted 23 Aug 2024cs.CLcited by 11

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

  1. 2023Can Large Language Models be Good Path Planners? A Benchmark and Investigation on Spatial-temporal Reasoning5 Oct

Other references · 16

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  5. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  6. 2016OpenAI Gymcited by 1,736
  7. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
  8. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
  9. 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 289
  10. 2023MathPrompter: Mathematical Reasoning using Large Language Modelscited by 236
  11. 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planningcited by 231
  12. 2017Reverse Curriculum Generation for Reinforcement Learningcited by 198
4 more
  1. 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
  2. 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 169
  3. 2023Can an Embodied Agent Find Your "Cat-shaped Mug"? LLM-Guided Exploration for Zero-Shot Object Navigationcited by 74
  4. 2023Large Language Models Are Semi-Parametric Reinforcement Learning Agentscited by 42

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 7; 2026: 3.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Deconstructing Spatial Complexity: Hierarchical Decomposition for LLM Spatial Reasoning
  2. 2026Do LLMs Build Spatial World Models? Evidence from Grid-World Maze Tasks
  3. 2025From Building Blocks to Planning: Multi-Step Spatial Reasoning in LLMs with Reinforcement Learning
  4. 2023Chain-of-Symbol Prompting Elicits Planning in Large Langauge Models
  5. 2025MazeEval: A Benchmark for Testing Sequential Decision-Making in Language Models
  6. 2023Dynamic Planning with a LLM
  7. 2025T3 Planner: A Self-Correcting LLM Framework for Robotic Motion Planning with Temporal Logic
  8. 2026From Human Cognition to Neural Activations: Probing the Computational Primitives of Spatial Reasoning in LLMs