Skip to main content
QUICK REVIEW

[Paper 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 Sciences9 citations
TL;DR

DECKARD uses few-shot LLMs to hypothesize an Abstract World Model (AWM) for subgoal planning, then grounds and corrects it through interaction, yielding an order-of-magnitude improvement in sample efficiency for Minecraft item crafting.

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.

Motivation & Objective

  • Motivate using high-level, subgoal knowledge to improve RL sample efficiency in embodied environments.
  • Propose DECKARD, which hypothesizes an Abstract World Model (AWM) from an LLM and grounds it with experience.
  • Demonstrate improved exploration efficiency and robustness to LLM errors in Minecraft item crafting.
  • Show modular RL policy learning for subgoals and compare to baselines.

Proposed method

  • Prompt an LLM (Codex) to generate a DAG-based Abstract World Model of Minecraft item dependencies.
  • Dream-Wake training loop: Dream phase samples a path toward the current goal from the AWM to guide exploration; Wake phase learns modular subgoal policies and verifies/corrects the AWM through environment interaction.
  • Finetune modular subgoal policies using transformer adapters on top of a Video-Pretrained Minecraft policy (VPT) as a starting point.
  • Ground the LLM-specified AWM by recording verified nodes and updating the graph with experience, pruning frontier to predicted goal paths.
  • Evaluate on Minecraft crafting tasks and open-ended exploration, comparing LLM-guided DECKARD to ablations and baselines.
  • Represent AWM as a DAG over textual state representations (inventory) with edges denoting subgoal dependencies.

Experimental results

Research questions

  • RQ1Can an LLM-generated Abstract World Model improve exploration efficiency in sparse-reward embodied tasks?
  • RQ2How robust is DECKARD to errors in LLM output when used for guiding exploration?
  • RQ3Does grounding the LLM-specified AWM via environment interaction improve sample efficiency vs. ablated or non-LLM baselines?
  • RQ4To what extent can modular subgoal policies enable crafting arbitrary items in Minecraft?

Key findings

  • LLM guidance reduces exploration time by about an order of magnitude for crafting items compared with baselines.
  • DECKARD with LLM guidance outperforms DECKARD without LLM guidance by ~2x on open-ended exploration and ~12x on some item tasks in sample efficiency.
  • DECKARD remains robust to LLM errors, continuing to outperform ablations when artificial errors are injected into the AWM.
  • The frontier-based sampling (verified+predicted path) keeps exploration focused and efficient as the AWM grows.
  • Subgoal policies are lightweight (≈9.5M parameters per subgoal, via adapters) and built atop a pretrained VPT policy, enabling scalable modular RL in Minecraft.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.