[Paper Review] Large Language Models as Commonsense Knowledge for Large-Scale Task Planning
The paper introduces LLM-MCTS, which combines an LLM-generated commonsense world model with an LLM-informed heuristic policy to perform scalable, large-scale task planning via Monte Carlo Tree Search, outperforming baselines in VirtualHome tasks.
Large-scale task planning is a major challenge. Recent work exploits large language models (LLMs) directly as a policy and shows surprisingly interesting results. This paper shows that LLMs provide a commonsense model of the world in addition to a policy that acts on it. The world model and the policy can be combined in a search algorithm, such as Monte Carlo Tree Search (MCTS), to scale up task planning. In our new LLM-MCTS algorithm, the LLM-induced world model provides a commonsense prior belief for MCTS to achieve effective reasoning; the LLM-induced policy acts as a heuristic to guide the search, vastly improving search efficiency. Experiments show that LLM-MCTS outperforms both MCTS alone and policies induced by LLMs (GPT2 and GPT3.5) by a wide margin, for complex, novel tasks. Further experiments and analyses on multiple tasks -- multiplication, multi-hop travel planning, object rearrangement -- suggest minimum description length (MDL) as a general guiding principle: if the description length of the world model is substantially smaller than that of the policy, using LLM as a world model for model-based planning is likely better than using LLM solely as a policy.
Motivation & Objective
- Motivate the challenge of large-scale task planning with partial observability.
- Propose a framework that combines an LLM-based world model with MCTS (LLM-MCTS).
- Evaluate LLM-MCTS against baselines in VirtualHome across simple and novel tasks.
- Analyze when to use LLM as a world model versus a policy via MDL principles.
Proposed method
- LLM creates a commonsense prior over object locations to form a world model used by MCTS.
- LLM translates natural language goals into formal goals compatible with the world model.
- An empirical policy distribution is built by sampling LLM outputs to guide action selection during planning.
- MCTS integrates the LLM-generated world model and the heuristic policy to explore promising action branches.
- A series of ablations tests the impact of the heuristic policy, state priors, and full observability on performance.
Experimental results
Research questions
- RQ1Can an LLM-based world model improve planning efficiency in large-scale, partially observable domains?
- RQ2Does using an LLM as a heuristic policy within MCTS outperform using the LLM solely as a policy or solely as a model?
- RQ3How does the minimum description length (MDL) principle inform the choice between LLMs as world models versus policies?
- RQ4How does LLM-MCTS perform on simple versus novel, composed task scenarios in a household environment?
- RQ5What are the main sources of failure in LLM-MCTS and how can they be mitigated?
Key findings
- L-Model alone performs poorly due to model inaccuracy and large search space.
- L-Policy alone can perform reasonably on known tasks but degrades on novel, complex tasks.
- LLM-MCTS (combining world model and heuristic policy) outperforms both L-Model and L-Policy, especially on novel, complex tasks.
- Ablation studies show the heuristic policy significantly aids search, while incorrect world models harm performance.
- MDL guidance suggests preferring the simpler (shorter description) world model over a larger, explicit policy table in certain planning regimes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.