Can Large Language Models be Good Path Planners? A Benchmark and Investigation on Spatial-temporal Reasoning
Keywords: Large Language Models, Spatial-Temporal Reasoning, Path Planning
TL;DR: The paper proposed a benchmark and evaluated LLMs' spatial-temporal reasoning capability
Abstract: Large language models (LLMs) have achieved remarkable success across a wide spectrum of tasks; however, they still face limitations in scenarios that demand long-term planning and spatial reasoning. To facilitate this line of research, in this work, we propose a new benchmark, termed **P**ath **P**lanning from **N**atural **L**anguage (**PPNL**). Our benchmark evaluates LLMs' spatial-temporal reasoning by formulating ''path planning'' tasks that require an LLM to navigate to target locations while avoiding obstacles and adhering to constraints. Leveraging this benchmark, we systematically investigate LLMs including GPT-4 via different few-shot prompting methodologies as well as BART and T5 of various sizes via fine-tuning. Our experimental results show the promise of few-shot GPT-4 in spatial reasoning, when it is prompted to reason and act interleavedly, although it still fails to perform long-term temporal reasoning. In contrast, while fine-tuned LLMs achieved impressive results on in-distribution reasoning tasks, they struggled to generalize to larger environments or environments with more obstacles.
Submission Number: 46
Loading