大型语言模型作为大规模任务规划的常识知识
Large Language Models as Commonsense Knowledge for Large-Scale Task Planning
AI总结:
本文提出 LLM-MCTS 算法,将大型语言模型同时作为世界模型和策略融入蒙特卡洛树搜索,以提升大规模任务规划的推理效果与搜索效率,并验证了其显著优于单独使用 MCTS 或 LLM 策略。
摘要:
大规模任务规划是一个重大挑战。最近的工作直接利用大型语言模型(LLMs)作为策略,并展示了令人惊讶的有趣结果。本文表明,LLMs 除了提供作用于世界的策略之外,还提供了关于世界的常识模型。该世界模型和策略可以结合在搜索算法中,例如蒙特卡洛树搜索(MCTS),以扩展任务规划的规模。在我们提出的新算法 LLM-MCTS 中,由 LLM 诱导的世界模型为 MCTS 提供了常识先验信念,以实现有效推理;由 LLM 诱导的策略则作为启发式来指导搜索,极大地提高了搜索效率。实验表明,对于复杂的新颖任务,LLM-MCTS 在性能上大幅优于单独的 MCTS 以及由 LLMs(GPT2 和 GPT3.5)诱导的策略。在多个任务——乘法、多跳旅行规划、物体重排——上的进一步实验和分析表明,最小描述长度(MDL)可以作为一个通用的指导原则:如果世界模型的描述长度显著小于策略的描述长度,那么将 LLM 用作基于模型的规划的世界模型,很可能比仅将 LLM 用作策略更好。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。