Skip to main content
QUICK REVIEW

[论文解读] Do Embodied Agents Dream of Pixelated Sheep: Embodied Decision Making using Language Guided World Modelling

Kolby Nottingham, Prithviraj Ammanabrolu|arXiv (Cornell University)|Jan 28, 2023
Language and cultural evolutionSocial Sciences被引用 9
一句话总结

DECKARD 通过少量示例的大语言模型来假设一个用于子目标规划的抽象世界模型(AWM),再通过交互进行约束与校正,从而在 Minecraft 物品合成任务上实现数量级的样本效率提升。

ABSTRACT

Reinforcement learning (RL) agents typically learn tabula rasa, without prior knowledge of the world. However, if initialized with knowledge of high-level subgoals and transitions between subgoals, RL agents could utilize this Abstract World Model (AWM) for planning and exploration. We propose using few-shot large language models (LLMs) to hypothesize an AWM, that will be verified through world experience, to improve sample efficiency of RL agents. Our DECKARD agent applies LLM-guided exploration to item crafting in Minecraft in two phases: (1) the Dream phase where the agent uses an LLM to decompose a task into a sequence of subgoals, the hypothesized AWM; and (2) the Wake phase where the agent learns a modular policy for each subgoal and verifies or corrects the hypothesized AWM. Our method of hypothesizing an AWM with LLMs and then verifying the AWM based on agent experience not only increases sample efficiency over contemporary methods by an order of magnitude but is also robust to and corrects errors in the LLM, successfully blending noisy internet-scale information from LLMs with knowledge grounded in environment dynamics.

研究动机与目标

  • 通过使用高级别的子目标知识来提升具象环境中的 RL 样本效率。
  • 提出 DECKARD,它从一个大语言模型假设抽象世界模型(AWM),再通过经验进行绑定。
  • 在 Minecraft 物品合成任务中展示改进的探索效率以及对 LLM 错误的鲁棒性。
  • 展示子目标的模块化 RL 策略学习,并与基线进行比较。

提出的方法

  • 对 LLM(Codex)进行提示,以生成基于有向无环图(DAG)的 Minecraft 物品依赖的抽象世界模型。
  • Dream-Wake 训练循环:Dream 阶段从 AWM 抽取指引探索的路径以引导探索;Wake 阶段学习模块化子目标策略,并通过环境交互验证/纠正 AWM。
  • 在已有的 Video-Pretrained Minecraft 策略(VPT)基础上,使用变换器适配器对模块化子目标策略进行微调。
  • 通过记录已验证的节点并用经验更新图,限制前沿为预测的目标路径,从而把 LLM 指定的 AWM 固定/绑定。
  • 在 Minecraft 的合成任务和开放性探索上进行评估,将带 LLM 指导的 DECKARD 与消融和基线进行比较。
  • 将 AWM 表示为对文本状态表示(库存)的 DAG,边表示子目标依赖关系。

实验结果

研究问题

  • RQ1LLM 生成的抽象世界模型是否能在稀疏奖励的具象任务中提升探索效率?
  • RQ2在用于引导探索时,DECKARD 对 LLM 输出的错误有多鲁棒?
  • RQ3通过环境交互绑定 LLM 指定的 AWM 是否能相比消融或非 LLM 基线提升样本效率?
  • RQ4子目标策略在多大程度上能够在 Minecraft 中实现任意物品的合成?

主要发现

  • 与基线相比,LLM 指导将探索时间降低大约一个数量级用于物品合成。
  • 带 LLM 指导的 DECKARD 在开放性探索上比不含 LLM 指导的 DECKARD 高约 2 倍,在某些物品任务的样本效率上高约 12 倍。
  • DECKARD 对 LLM 错误保持鲁棒,当对 AWM 注入人为错误时仍继续优于消融组。
  • 前沿基础的采样(已验证路径+预测路径)使探索在 AWM 增长时保持聚焦和高效。
  • 子目标策略相对轻量(每个子目标约 9.5M 参数,通过适配器实现),并在预训练 VPT 策略之上构建,支持 Minecraft 的可扩展模块化 RL。

阅读本论文

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

在 Nubint 中阅读本论文

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