Abstract
This paper explores using large language models (LLMs) as low-level action planners for embodied tasks. While LLMs excel as the robot's "brain" for high-level planning, they face challenges in directly controlling the "body" by generating precise low-level actions. This limitation arises from LLMs' strength in high-level conceptual understanding but their inability to handle spatial perception effectively, restricting their potential in embodied tasks. To address this, we bridge the gap by enabling LLMs to not only comprehend complex instructions but also produce actionable, low-level plans. We introduce Room to Chessboard (R2C), a novel semantic representation that maps environmental states onto a grid-based chessboard, empowering LLMs to generate specific low-level coordinates and guide the robot in a manner akin to playing a game of chess. To further enhance decision-making, we propose the Chain-of-Thought Decision (CoT-D) paradigm, which improves LLMs' interpretability and context-awareness in spatial reasoning. By jointly training LLMs for high-level task decomposition and low-level action generation, we create a unified "brain-body" system capable of handling complex, free-form instructions while producing precise low-level actions, allowing the robot to flexibly control its movements and adapt to varying tasks. We validate R2C using both fine-tuned open-source LLMs and GPT-4, demonstrating effectiveness on the challenging ALFRED benchmark. Results show that with our R2C framework, LLMs can effectively act as low-level planners, generalizing across diverse settings and open-vocabulary robotic tasks.
Introduction
In the field of embodied AI, Large Language Models (LLMs) have traditionally been relegated to high-level strategic roles. They excel at decomposing complex commands like "make me a cup of tea" into logical subgoals. However, they typically struggle to act as the "body," failing to generate the precise motor controls or coordinates required for physical execution. This gap exists because LLMs lack inherent spatial perception and a standardized language to describe physical environments.
To address this, we introduce the Room to Chessboard (R2C) framework. By transforming complex 3D environments into a simplified 2D grid, R2C allows LLMs to function as both high-level strategists and low-level action planners, treating robot navigation as a discrete logic puzzle similar to a game of chess.
The R2C Framework
The R2C system creates a unified "brain-body" architecture through two primary innovations:
1. Semantic Mapping and Environment Filtering
The robot utilizes an off-the-shelf segmentation model to convert RGB-D image streams into a 2D semantic map. To prevent overwhelming the LLM with data, this map is down-sampled and flattened into a compact text-based coordinate set. Obstacles and objects are represented as occupancy coordinates (e.g., Microwave: [[18, 31], [19, 31]]), providing a clear spatial context for the model.
2. Chain-of-Thought Decision (CoT-D)
To navigate the grid, we fine-tuned the LLM using a four-step Chain-of-Thought Decision (CoT-D) reasoning process:
- Key Information Extraction: Identifying the agent's current position and the target's location.
- Direction Judgment: Determining the relative direction of the target.
- Target Prediction: Predicting likely object locations based on environmental priors.
- Selection Analysis: Evaluating four possible moves (Up, Down, Left, Right) to select the optimal path while avoiding obstacles.
Experimental Results
We evaluated R2C on the ALFRED benchmark, a challenging environment for long-horizon household tasks. Our results demonstrate that R2C achieves state-of-the-art (SoTA) performance among LLM-based methods. Notably, a fine-tuned Mistral-7B model using the R2C framework outperformed zero-shot GPT-4 in seen environments, highlighting that specialized spatial training can be more effective than raw model size for embodied tasks.
The CoT-D paradigm proved essential, improving performance by over 11% compared to direct action prediction. Furthermore, the system demonstrated robust generalization in real-world tests with a LoCoBot, successfully completing open-vocabulary tasks like "Circle around the bookshelf" in physical rooms not seen during training.
Conclusion
R2C successfully bridges the gap between high-level reasoning and low-level execution in embodied AI. While challenges such as error accumulation in multi-step tasks remain, the framework provides a scalable path for using LLMs as flexible, unified controllers for robotic systems. Future work will focus on expanding the action space and optimizing the representation for larger, more complex environments.
Summary updated