TL;DR
Vote-Tree-Planner is a novel robotic task-planning pipeline that combines the structured logic of code-based prompting with a consensus-driven voting mechanism. By aggregating multiple LLM-generated plans into a weighted "vote-tree," the system identifies the most reliable execution paths, significantly improving success rates while reducing redundant queries to the model.
What Problem Does This Paper Address?
Large Language Models (LLMs) have revolutionized robotic task planning by allowing robots to translate high-level instructions (e.g., "Microwave the salmon") into actionable sequences. However, two major hurdles remain:
- Efficiency and Redundancy: LLMs often generate repetitive commands or require constant, expensive queries to the API to verify every single step.
- Reliability: LLM outputs are inherently probabilistic. A single "hallucinated" or impractical step can cause the entire plan to fail in a physical or simulated environment.
Previous methods like Prog-Prompt (which uses Python-like code structures) improved interpretability, while Tree-Planner used tree structures to manage multiple plans. However, these methods still struggle with redundant execution queries and lack a robust way to "rank" the best path forward when multiple options exist.
Methods
The Vote-Tree-Planner follows a four-stage pipeline to turn a vague instruction into a robust execution tree:
- Prog-Prompt Formatting: The high-level task and environment state are formatted into a structured Pythonic prompt.
- Unique Command Extraction: Instead of just taking the first plan the LLM gives, the system generates $N$ plans and extracts a set of unique action-object pairs (e.g.,
find(salmon),open(microwave)). This filters out "noise" and irrelevant combinations. - Reordering and Sequence Generation: The LLM is prompted again to reorganize these unique commands into $M$ optimized plans. This "second pass" ensures the sequences are logical and grounded in the available actions.
- Vote-Tree Construction: These $M$ plans are merged into a tree. Each node represents a command, and each edge represents a transition. Every time a plan passes through a node, that node’s "Vote" count increases.
- Execution with Backtracking: During execution, the robot follows the path with the highest votes. If an action fails (e.g., the microwave is already open), the planner doesn't just quit; it backtracks and tries the branch with the next highest vote count.
Datasets
The researchers evaluated their method using Virtual Home, a popular 3D simulation environment for household tasks.
- Environment: Includes 4 distinct home scenes with hundreds of objects and 28 available actions.
- Tasks: 35 unique household tasks, ranging from "put the wine glass in the kitchen cabinet" to "wash clothes."
- Comparison: The dataset and evaluation metrics were kept consistent with previous benchmarks (Prog-Prompt and Tree-Planner) to ensure a fair "apples-to-apples" comparison.
Key Insights and Ideas
- Consensus as a Proxy for Correctness: The core "aha" moment is that if multiple independent LLM plans agree on a specific sequence of steps, that sequence is statistically more likely to be the "common sense" path to success.
- Reducing the "Search Space": By extracting unique commands first and then reordering them, the system prevents the LLM from wandering off-task or suggesting objects that don't exist in the current scene.
- Implicit Error Recovery: Unlike standard linear planners that break upon the first error, the Vote-Tree structure provides a built-in map of "Plan Bs." If the most popular path fails, the robot already has the second-most-popular path ready to go without needing a new LLM query.
Key Results
The Vote-Tree-Planner outperformed existing state-of-the-art methods across several metrics:
- Success Rate (SR): On unseen datasets without error correction, it achieved a 0.43 SR, outperforming Prog-Prompt (0.34) and Tree-Planner (0.28). With error correction enabled, the SR rose to 0.48.
- Goal Condition Recall (GCR): It achieved a 0.70 GCR (and 0.81 with error correction), meaning it successfully completed more sub-goals within a task than its predecessors.
- Efficiency: The method generated shorter, more concise plans with significantly less command repetition.
- Stability: The voting mechanism acted as a stabilizer against the inherent randomness of LLM outputs, leading to more predictable robotic behavior.
Limitations and Future Work
- LLM Dependency: The system's performance is still capped by the reasoning capabilities of the underlying model (GPT-3.5 was used in the study).
- Token Consumption: While it reduces queries during execution, the initial phase requires generating multiple plans ($N + M$), which can be token-intensive.
- Static Environments: The current model assumes a relatively static environment. Future work aims to make the planner more adaptive to dynamic changes (e.g., a human moving an object while the robot is working).
- Backbone Testing: The authors plan to test the framework with other LLMs like Llama 3, GPT-4, and Gemini to see how scaling the model affects the "quality" of the votes.
Summary updated