TL;DR
Tree-of-Options (ToO) is a new framework that enables Large Language Models (LLMs) to solve complex, long-horizon tasks by modeling the world at the level of "options" (temporally extended actions) rather than low-level primitive steps. By combining Monte Carlo Tree Search (MCTS) with an option-level world model and feasibility filters, ToO achieves a 100% success rate on intricate Minecraft tasks where traditional LLM planners fail.
What Problem Does This Paper Address?
While LLMs are excellent at high-level reasoning, using them as "world models"—engines that predict the outcome of an action—has historically been difficult for embodied agents (like robots or game characters).
The core issue is compounding error. Most prior methods try to model the world at a "primitive" level (e.g., predicting the state after every single motor command or environment tick). Because LLM predictions aren't perfect, these tiny errors accumulate rapidly over long tasks. By the time an agent is halfway through a complex goal, the LLM's "imagined" state is completely disconnected from reality. This makes principled planning algorithms like Monte Carlo Tree Search (MCTS) unreliable for tasks that require dozens or hundreds of steps.
Methods
The authors introduce Tree-of-Options (ToO), which shifts the abstraction layer from "what happens in the next second" to "what happens after I finish this sub-task."
- Option-Level World Modeling: Instead of predicting the immediate next state, the LLM predicts the state of the world after a temporally extended action (an "option"), such as "Craft a stone pickaxe." This drastically shortens the planning horizon.
- Monte Carlo Tree Search (MCTS): ToO uses MCTS to explore a tree of these options. The LLM acts as the proposer (suggesting next steps), the world model (predicting the resulting state), and the reward evaluator (scoring progress).
- Feasibility Assessment: A critical "sanity check" module. Before an option is added to the search tree, an LLM checks if it’s actually possible given the current inventory and environment. If it's not, the LLM suggests the necessary prerequisite steps instead.
- Code-as-Policy Execution: Once a sequence of options is planned, the system uses an LLM to synthesize JavaScript code (using the Voyager/Mineflayer API) to execute the actions. This execution is iterative, meaning the agent can see error messages and refine its code on the fly.
Datasets
The framework was evaluated in Minecraft (via the MineDojo environment), a gold standard for testing long-term planning due to its open-ended nature and complex "tech tree" dependencies.
The authors curated a Long-horizon Task Suite consisting of eight representative objectives:
- Dynamic-immediate tasks: Obtaining leather, milking a cow, collecting a lava bucket.
- Multi-step crafting tasks: Crafting a golden sword, a compass, and the highly complex diamond pickaxe.
Key Insights and Ideas
- Abstraction Beats Precision: The "aha moment" is that LLMs don't need to be precise about physics if they are accurate about logic. Predicting that "mining iron ore results in having iron ore in inventory" is a task LLMs excel at, whereas predicting the exact 3D coordinates of the agent after a walk is where they fail.
- Feasibility is the Best Filter: LLMs often propose "linguistically plausible" but "environmentally impossible" actions (like milking a cow without a bucket). The dedicated feasibility check prevents the search tree from wasting computation on "hallucinated" paths.
- "Slow is Fast": While ToO takes longer to plan upfront compared to simple Chain-of-Thought (CoT) prompting, it is much faster during execution. Because the plan is robust and accounts for prerequisites, the agent avoids the costly "trial-and-error" loops and backtracking that plague simpler models.
Key Results
- 100% Success Rate: ToO successfully completed all eight Minecraft tasks in every trial. In contrast, the baseline Chain-of-Thought (CoT) failed on 7 out of 8 tasks, and a naive Tree-of-Thoughts (ToT-MCTS) approach failed on the most complex objectives.
- Efficiency: For the "Craft a diamond pickaxe" task—the most difficult in the suite—ToO completed the goal in roughly 10.5 minutes using 15 actor attempts. The best baseline took 26 minutes and required nearly double the attempts, often failing entirely.
- Budget-Normalized Superiority: Using the
pass@Bmetric (success rate under a fixed token budget), ToO reached a score of 1.0, significantly outperforming CoT (0.75) and ToT-MCTS (0.625).
Limitations and Future Work
- One-Shot Planning: Currently, ToO plans the entire sequence at the very beginning. While this works for Minecraft, real-world environments are more unpredictable. The authors suggest online re-planning (updating the plan as the world changes) as a necessary next step.
- Computational Cost: Running MCTS with LLM calls for every node expansion is expensive in terms of API tokens and time. Optimizing the efficiency of these calls is a priority.
- Generalization: While Minecraft is a complex proxy for the real world, the system's reliance on a "skill library" means it needs to be tested in broader robotics contexts where such libraries might not be as mature.
Summary updated