Skip to main content
QUICK REVIEW

[论文解读] Large Language Models as Commonsense Knowledge for Large-Scale Task Planning

Zirui Zhao, Wee Sun Lee|arXiv (Cornell University)|May 23, 2023
Natural Language Processing TechniquesComputer Science被引用 41
一句话总结

本文提出了 LLM-MCTS,它将 LLM 生成的常识世界模型与 LLM 指示的启发式策略相结合,通过蒙特卡洛树搜索进行可扩展的大规模任务规划,在 VirtualHome 任务中优于基线。

ABSTRACT

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.

研究动机与目标

  • 在部分可观测条件下,阐明大规模任务规划的挑战。
  • 提出一个将基于 LLM 的世界模型与 MCTS(LLM-MCTS)结合的框架。
  • 在 VirtualHome 中对简单任务和新任务对比基线评估 LLM-MCTS。
  • 基于 MDL 原理分析何时将 LLM 用作世界模型与用作策略的情形。

提出的方法

  • LLM 生成关于对象位置的常识先验,形成供 MCTS 使用的世界模型。
  • LLM 将自然语言目标转换为与世界模型兼容的正式目标。
  • 通过对 LLM 输出取样,构建经验性策略分布以在规划过程中指导行动选择。
  • MCTS 将 LLM 生成的世界模型与启发式策略整合,以探索有前景的行动分支。
  • 一系列消融实验评估启发式策略、状态先验和完全可观测性对性能的影响。

实验结果

研究问题

  • RQ1在大规模、部分可观测的领域中,基于 LLM 的世界模型能否提升规划效率?
  • RQ2在 MCTS 中将 LLM 作为启发式策略是否优于仅将 LLM 用作策略或仅作为模型?
  • RQ3最小描述长度(MDL)原理如何为在世界模型与策略之间选择 LLM 提供指引?
  • RQ4在家居环境中的简单任务与新颖、组合任务场景下,LLM-MCTS 的表现如何?
  • RQ5LLM-MCTS 的主要失效来源有哪些,以及如何缓解?

主要发现

  • 单独的 L-Model 因模型不准确和庞大的搜索空间而表现较差。
  • 单独的 L-Policy 在已知任务上可以表现尚可,但在新颖、复杂任务上表现下降。
  • LLM-MCTS(结合世界模型和启发式策略)在多数情况下优于 L-Model 和 L-Policy,尤其是在新颖、复杂任务上。
  • 消融研究表明,启发式策略显著帮助搜索,而错误的世界模型会削弱性能。
  • MDL 指引表明,在某些规划情境下,偏好更简单的(描述更短的)世界模型,而不是更大、显式的策略表。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。