Introduction
A central debate in contemporary artificial intelligence concerns whether Large Language Models (LLMs) possess genuine reasoning and planning capabilities or if they are merely "stochastic parrots"—highly sophisticated pattern matchers that predict the next token based on training data. While LLMs have shown proficiency in benchmarks using natural language or Planning Domain Definition Language (PDDL), critics argue these formats are likely over-represented in training corpora, allowing models to solve problems through memorization rather than active planning.
To address this, the GameTraversalBenchmark (GTB) introduces a novel challenge: navigating 2D grid-based game maps represented as alphanumeric character strings (e.g., 'A' for grass, 'D' for water). This format is rare in standard training data, forcing models to process spatial geometry and plan paths from a starting point to specific objectives without relying on linguistic cues or pre-learned templates.
The GTB Framework
The researchers developed a rigorous pipeline to evaluate LLMs as traversal agents. In this environment, an LLM is provided with a text-based 2D map, its current coordinates, and a sequence of objective coordinates it must reach in order. The model is required to generate a sequence of discrete actions: move_up, move_down, move_left, and move_right.
Evaluation Metrics
Performance is measured using the GTB_Score (GTBS), a composite metric that evaluates three primary factors:
- Accuracy: Whether the model reaches the exact target coordinates.
- Efficiency: How closely the model's path matches the optimal path (determined by an A* search algorithm).
- Generation Integrity: The model's ability to avoid "generation errors," such as hallucinating invalid moves or failing to adhere to the required output format.
The benchmark tests models in both zero-shot (initial attempt) and one-shot (attempt with feedback from a previous failure) scenarios to determine if models can learn from spatial errors.
Dataset Composition
The GTB dataset consists of 150 diverse maps generated via Word2World, an LLM-based game design system. These maps vary significantly in scale and difficulty:
- Scale: Dimensions range from small (5x10) to large (100x35).
- Complexity: Optimal path lengths vary from 5 to nearly 120 steps.
- Constraints: Maps include walkable tiles and impassable obstacles, requiring the agent to understand spatial constraints and navigate around barriers to reach the goal.
Analysis of Planning Capabilities
The results from the benchmark reveal a significant gap in the spatial reasoning abilities of current LLMs.
The Reasoning Advantage
OpenAI’s o1 model, which utilizes an internal "Chain-of-Thought" process to deliberate before generating an answer, significantly outperformed standard LLMs. It achieved the highest GTB_Score of 67.84%. This suggests that explicit internal reasoning steps are vital for solving complex spatial tasks that require multi-step lookahead.
Spatial Blindness and Efficiency
Most standard LLMs exhibited what the authors term "spatial blindness." While models could often identify the general direction of an objective, they frequently failed to navigate around obstacles or miscalculated the number of steps required. Even the top-performing o1 model reached the exact target coordinate only 50% of the time. For GPT-4-Turbo, this accuracy dropped to approximately 19%. Furthermore, when models did reach the goal, their paths were often significantly longer than the optimal route, indicating poor pathfinding efficiency.
The Role of Feedback
Top-tier models like GPT-4-Turbo showed a nearly 8% improvement when given a second chance with feedback. However, smaller models often performed worse in one-shot evaluations. This suggests that while high-parameter models can integrate spatial corrections into their context, smaller models struggle to process and act upon feedback regarding their previous navigational failures.
Comparison to Baselines
In a striking finding, many smaller LLMs performed worse than a "Random-FP" baseline—a simple algorithm that moves randomly but is constrained to the correct path length. This implies that these models are not planning at all; they are generating sequences that do not even respect basic distance-to-goal logic.
Key Performance Results
| Model | GTB_Score |
|---|---|
| OpenAI o1 | 67.84% |
| GPT-4-Turbo | 44.97% |
| GPT-4o | 30.95% |
| Claude-3-Opus | 28.65% |
Conclusion and Future Work
The GameTraversalBenchmark highlights that while "reasoning" models like o1 represent a step forward, LLMs still struggle with basic 2D navigation when stripped of familiar linguistic contexts. The authors identify several areas for future research:
- Dynamic Environments: Introducing moving enemies or "fog of war" to test real-time adaptation.
- Expanded Action Spaces: Adding complex logic such as "using keys" or "attacking" to increase the depth of the planning task.
- Fine-tuning: Investigating whether models can be specifically trained on 2D string representations to bridge the spatial reasoning gap.
Ultimately, GTB serves as a rigorous new standard for determining whether an AI can truly plan a path forward or is simply guessing the next step.
Summary updated