TL;DR
Tree-Planner is a novel framework that makes Large Language Model (LLM) task planning significantly more efficient by sampling multiple potential plans upfront and organizing them into an "action tree." This approach reduces token consumption by a staggering 92.2% and improves error correction by 40.5% compared to traditional iterative planning methods.
What Problem Does This Paper Address?
Using LLMs for robotic task planning—where a high-level goal like "make coffee" is broken down into a sequence of low-level skills—has become popular because LLMs possess immense "commonsense" knowledge about the world. However, the standard approach, known as Iterative Planning, is fundamentally inefficient.
In an iterative setup, the LLM is prompted at every single step: "Here is the goal, here is the house layout, here is what you've done so far, and here is what you see now. What is the next action?" This leads to two major headaches:
- Token Inefficiency: You end up re-sending the same massive "global information" and "instructions" prompts over and over again for every step of a 20-step plan.
- Correction Inefficiency: If a robot hits an error (e.g., "the fridge is empty"), current systems either just try the same step again (Local Replan) or throw the whole plan away and start from scratch (Global Replan). Neither is ideal for complex, multi-room tasks.
Methods
The authors introduce Tree-Planner, which breaks the planning process into three distinct phases to decouple "thinking" from "acting."
- Plan Sampling (The "Brainstorming" Phase): Instead of one action at a time, the LLM is called once to generate a set of $N$ potential plans (e.g., 25 or 50 different ways to "take a nap"). This single call captures the LLM's commonsense knowledge about the task.
- Action Tree Construction (The "Organization" Phase): These $N$ plans are merged into a tree structure. Plans that start with the same steps share a branch; when they diverge, the tree forks. This creates a structured search space of "reasonable" things to do.
- Grounded Deciding (The "Execution" Phase): As the robot moves, it uses the LLM to look at the current "fork" in the tree and the real-time sensor data (observations). The LLM simply picks the best branch.
The Secret Sauce: Backtracking. If the robot follows a branch and hits a dead end (an execution error), Tree-Planner doesn't panic. It marks that node as invalid and backtracks to the previous fork in the tree to try the next best branch. This is logically more robust than local retries and much cheaper than global restarts.
Datasets
The researchers evaluated Tree-Planner using the VirtualHome (VH) environment, a simulator for household tasks.
- The Benchmark: They constructed a dataset of 35 unique household tasks across 4 different house scenes.
- Quality Control: They used human annotators (CS graduate students) to ensure the task descriptions and goal conditions were accurate, resulting in a high-quality benchmark for close-loop planning.
Key Insights and Ideas
- Separation of Concerns: By separating the generation of possible plans from the selection based on real-time data, they avoid re-processing the "Global Information" prompt at every step.
- The Action Tree as a Prior: The tree acts as a "constrained search space." The LLM isn't choosing from every possible action in the world at each step; it's only choosing between a few sensible options it already brainstormed.
- Mathematical Efficiency: The authors derived a boundary condition showing that Tree-Planner remains more token-efficient than iterative planning as long as the number of samples ($N$) is less than ~197. Since they use $N=25$ or $50$, the savings are massive.
Key Results
Tree-Planner achieved state-of-the-art (SOTA) results on VirtualHome while being significantly cheaper to run:
- Success Rate (SR): Outperformed the best baseline by 3.65% in the "with correction" setting.
- Token Savings: Reduced token costs by 92.2% compared to Global Replanning.
- Error Correction: Reduced the number of required corrections by 40.5%.
- Robustness: The system maintained high performance even as the length of the required plan increased, whereas iterative planners often "drift" or fail on long-horizon tasks.
Limitations and Future Work
The primary bottleneck identified is the "Missing Correct Plan" error. In 54.5% of failed cases, the initial sampling phase simply failed to generate a valid plan. If the "correct" path isn't in the tree to begin with, the grounded deciding phase can't find it.
The authors suggest that future work could involve:
- Improving the diversity of the initial plan sampling.
- Dynamically expanding the tree if all current branches are marked as invalid.
- Optimizing the "Grounded Deciding" phase with smaller, faster models since the choice is now constrained to a few tree branches.
Summary updated