TL;DR
This paper introduces SayPlan, a novel framework that grounds Large Language Models (LLMs) for robot task planning in large, complex 3D environments. By leveraging 3D scene graphs, SayPlan enables LLMs to generate feasible, long-horizon plans for mobile manipulators, overcoming the limitations of current LLM-based approaches in real-world robotics.
What Problem Does This Paper Address?
Robots need to perform complex tasks in real-world environments, which are often large, multi-room, and multi-floor. While LLMs have shown promise in generating general task plans from natural language instructions, grounding these plans in the physical constraints and rich semantics of such expansive environments remains a significant challenge. Existing methods struggle with scalability, often requiring pre-encoded information or being limited to small, single-room scenarios. This paper addresses the critical need for a scalable and robust approach to LLM-driven robot task planning in complex, real-world settings.
Methods
SayPlan tackles the scalability challenge through three key innovations:
- Semantic Search with Collapsed 3D Scene Graphs: Instead of feeding the entire, massive 3D scene graph (3DSG) to the LLM (which would exceed token limits), SayPlan uses a "collapsed" representation that exposes only the highest-level nodes (e.g., floors or rooms). The LLM then intelligently "expands" and "contracts" nodes using API calls to find a task-relevant subgraph. This allows the LLM to focus on the essential parts of the scene for the given task, drastically reducing the input size.
- Reduced Planning Horizon with Classical Path Planner: To mitigate LLM hallucinations and errors in long-horizon planning, SayPlan delegates the low-level navigational planning (e.g., "goto pose X") to a classical path planner. The LLM generates high-level actions, and the path planner finds the optimal routes between these points, simplifying the LLM's task and improving plan feasibility.
- Iterative Replanning Pipeline: To ensure plans are executable in the real world, SayPlan incorporates an iterative replanning loop. A scene graph simulator verifies the LLM's generated plan against the environment's predicates, states, and affordances. If an action is infeasible (e.g., trying to pick up an item from a closed container), the simulator provides textual feedback to the LLM, which then refines the plan. This process repeats until a feasible plan is achieved.
Datasets
The paper evaluates SayPlan on two large-scale environments:
- Office Environment: A single-floor, multi-room environment with 37 rooms and 151 assets/objects.
- Home Environment: A multi-floor, multi-room environment (Klickitat dataset) with 28 rooms across 3 floors and 112 assets/objects.
These environments are represented as 3D Scene Graphs (3DSGs).
Key Insights and Ideas
- LLMs as Graph Explorers: The paper demonstrates that LLMs can be effectively trained to act as intelligent agents that navigate and explore complex graph structures (3DSGs) to find task-relevant information, mimicking human-like semantic search strategies.
- Hierarchical Scene Graphs are Key to Scalability: Exploiting the hierarchical nature of 3DSGs is crucial for making LLMs tractable for large-scale environments. Collapsing the graph significantly reduces the input size, enabling LLMs to process much larger scenes.
- Self-Correction is Essential for Real-World Robotics: The iterative replanning pipeline, driven by simulator feedback, is vital for ensuring that LLM-generated plans are not just logically sound but also physically executable by a robot. This addresses a major gap in current LLM-based planning.
- LLM Performance Varies: The study highlights that LLM capabilities, such as semantic search and reasoning, can differ significantly between models (e.g., GPT-4 outperforming GPT-3.5).
Key Results
- Semantic Search: SayPlan (using GPT-4) achieved an 86.7% success rate in simple semantic search and 73.3% in complex search tasks, significantly outperforming GPT-3.5. The LLM's search strategies closely mirrored human approaches.
- Causal Planning: SayPlan achieved near-perfect executability (93.3% correctness, 100% executability on simple tasks; 73.3% correctness, 86.6% executability on long-horizon tasks). This is a substantial improvement over baselines like LLM-As-Planner and LLM+P, which struggled with executability due to manipulation errors and navigation failures.
- Scalability: The approach demonstrated significant token reduction (up to 82.1%) by using collapsed scene graphs, enabling planning in large environments without exceeding LLM token limits. The iterative replanning pipeline also showed robustness to increasing environment complexity.
- Real-World Execution: The paper presents successful real-world demonstrations of a mobile manipulator robot executing plans generated by SayPlan in a large office environment.
Limitations and Future Work
- LLM Limitations: SayPlan is constrained by inherent LLM biases and inaccuracies, particularly in simple distance-based reasoning, node counting, and negation. Future work could involve fine-tuning LLMs or integrating specialized graph reasoning tools.
- Static Environments: The current framework assumes static environments and pre-built scene graphs. Integrating online scene graph SLAM systems would allow for adaptability to dynamic environments.
- Open-Vocabulary Representations: Exploring open-vocabulary representations for scene graphs could enhance generalization.
- Simulator Fidelity: The fidelity of the scene graph simulator in capturing complex planning failures is a limitation. Future work could focus on incorporating more sophisticated feedback mechanisms.
- Token Limits: While SayPlan mitigates token limit issues, they remain a concern for extremely large environments, suggesting further research into more efficient graph representations or LLM architectures.
Summary updated