[Paper Review] Voyager: An Open-Ended Embodied Agent with Large Language Models
Voyager introduces an open-ended, lifelong learning Minecraft agent powered by GPT-4 that builds an executable skill library, uses an automatic curriculum, and iteratively refines code through environment feedback and self-verification to outperform baselines.
We introduce Voyager, the first LLM-powered embodied lifelong learning agent in Minecraft that continuously explores the world, acquires diverse skills, and makes novel discoveries without human intervention. Voyager consists of three key components: 1) an automatic curriculum that maximizes exploration, 2) an ever-growing skill library of executable code for storing and retrieving complex behaviors, and 3) a new iterative prompting mechanism that incorporates environment feedback, execution errors, and self-verification for program improvement. Voyager interacts with GPT-4 via blackbox queries, which bypasses the need for model parameter fine-tuning. The skills developed by Voyager are temporally extended, interpretable, and compositional, which compounds the agent's abilities rapidly and alleviates catastrophic forgetting. Empirically, Voyager shows strong in-context lifelong learning capability and exhibits exceptional proficiency in playing Minecraft. It obtains 3.3x more unique items, travels 2.3x longer distances, and unlocks key tech tree milestones up to 15.3x faster than prior SOTA. Voyager is able to utilize the learned skill library in a new Minecraft world to solve novel tasks from scratch, while other techniques struggle to generalize. We open-source our full codebase and prompts at https://voyager.minedojo.org/.
Motivation & Objective
- Demonstrate a lifelong, open-ended embodied agent that continuously explores a world and learns new skills without human input.
- Show that an automatic curriculum can drive sustained exploration and skill acquisition.
- Develop a scalable, interpretable, and compositional skill library of executable programs.
- Introduce an iterative prompting mechanism that uses environment feedback and self-verification to improve programs.
- Evaluate Voyager against baselines and assess generalization to unseen tasks in new worlds.
Proposed method
- Three-part architecture: automatic curriculum, expanding skill library of executable code, and iterative prompting for embodied control.
- Code-as-action paradigm to represent temporally extended, compositional behaviors suitable for long-horizon tasks.
- Black-box interaction with GPT-4 via prompting and in-context learning without fine-tuning.
- Skill library is indexed by description embeddings and supports retrieval of relevant reusable programs.
- Iterative prompting incorporates environment feedback, execution errors, and self-verification to refine code until task completion.
- Ablation studies and zero-shot tests compare Voyager to ReAct, Reflexion, AutoGPT, and variants without the skill library.
Experimental results
Research questions
- RQ1Can an automatic curriculum drive open-ended exploration and continual skill growth in a Minecraft environment without human intervention?
- RQ2Does a growing library of executable skills enable compositional, reusable behaviors and improve generalization to new tasks?
- RQ3How does iterative prompting with environment feedback and self-verification affect program synthesis and task success?
- RQ4What is the impact of GPT-4 versus GPT-3.5 on code generation quality and agent performance?
- RQ5How do Voyager’s components influence lifelong in-context learning compared to baseline LLM-based agents?
Key findings
- Voyager achieves 3.3x more unique items than baselines across 160 prompting iterations.
- Voyager unlocks key tech-tree milestones up to 15.3x faster than prior SOTA methods.
- Voyager traverses 2.3x longer distances than baselines in map exploration.
- The learned skill library enables generalization to novel tasks in a new Minecraft world where baselines struggle.
- Ablations show the automatic curriculum and self-verification are crucial for sustained progress; the skill library supports building complex behaviors; GPT-4 substantially improves coding performance over GPT-3.5.
- Zero-shot tests indicate Voyager solves unseen tasks in a new world, while baselines fail within 50 prompting iterations.
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.