TL;DR
This paper introduces ODYSSEY, a framework that equips Large Language Model (LLM)-based agents with a rich library of open-world skills to navigate and interact within the complex environment of Minecraft. By moving beyond basic crafting tasks, ODYSSEY enables agents to tackle more sophisticated challenges and demonstrates a significant step towards more capable and adaptable AI agents in open-world settings.
What Problem Does This Paper Address?
Current research on generalist agents in open-world environments like Minecraft often focuses on solving a limited set of "programmatic" tasks, such as collecting resources and crafting specific items (e.g., obtaining a diamond). This narrow scope is largely due to the restricted action spaces available to agents, forcing them to learn complex, long-horizon strategies from scratch. This limitation hinders their ability to discover and exploit the vast array of gameplay opportunities present in open worlds. Furthermore, existing approaches often rely on expensive proprietary models like GPT-4, making them inaccessible for many researchers.
Methods
ODYSSEY tackles this problem with a three-pronged approach:
- Open-World Skill-based Interactive Agent: This component features an agent equipped with an extensive skill library. This library includes 40 primitive skills (basic actions) and 183 compositional skills (more complex, task-oriented actions). A recursive method is employed to manage skill execution, ensuring prerequisites are met. The agent itself follows a planner-actor-critic architecture:
- Planner: Decomposes high-level goals into low-level subgoals.
- Actor: Executes the subgoals using the skill library.
- Critic: Evaluates performance and provides feedback for strategy refinement.
- Fine-tuned LLaMA-3 Model: The authors fine-tune LLaMA-3 models (both 8B and 70B parameter versions) on a large-scale question-answering dataset. This dataset comprises over 390,000 instruction entries derived from the Minecraft Wiki, significantly enhancing the LLM's domain-specific knowledge.
- Agent Capability Benchmark: A novel benchmark is introduced to evaluate agent performance across three key areas:
- Long-term Planning Task (LPT): Assesses the ability to plan and execute complex sequences of actions, such as crafting weapons and equipment for combat.
- Dynamic-immediate Planning Task (DPT): Evaluates the agent's capacity to adapt plans based on real-time environmental feedback, crucial for tasks like farming.
- Autonomous Exploration Task (AET): Tests the agent's ability to explore the environment, discover resources, and set its own objectives without predefined goals.
Datasets
- Training Dataset: A custom dataset of over 390,000 Minecraft-related question-answer pairs, generated from the Minecraft Wiki using a GPT-assisted method.
- Evaluation Datasets: Two MCQ datasets (multi-theme and Wiki-based) were created using GPT-4 to evaluate the fine-tuned models.
- New Benchmark: The paper introduces a new agent capability benchmark for Minecraft, encompassing the LPT, DPT, and AET tasks. This benchmark is designed to assess more complex open-world behaviors beyond basic programmatic tasks.
Key Insights and Ideas
- The Power of a Skill Library: ODYSSEY demonstrates that providing agents with a structured library of primitive and compositional skills significantly enhances their ability to perform complex tasks and explore open worlds, rather than learning everything from scratch.
- LLMs as the Brains for Open-World Agents: Fine-tuning LLMs like LLaMA-3 on domain-specific data (Minecraft Wiki) makes them highly effective for generating plans and understanding the nuances of the game environment.
- Beyond "ObtainDiamond": The ODYSSEY benchmark pushes the evaluation of agents beyond simple, linear tasks, focusing on more realistic open-world challenges that require planning, adaptation, and exploration.
- Accessibility Matters: By using open-source LLMs and providing all datasets, model weights, and code, ODYSSEY aims to democratize research in this area, making advanced agent development more accessible.
Key Results
- Improved Efficiency: ODYSSEY agents show efficient handling of basic programmatic tasks, achieving high success rates within minutes.
- Competitive Performance: The fine-tuned MineMA-8B model outperforms existing baselines like Voyager (using GPT-4) on several long-term planning tasks, demonstrating comparable or superior success rates and time efficiency.
- Scalability: The MineMA-70B model shows even stronger performance, indicating the benefits of larger LLMs for complex open-world tasks.
- Benchmark Effectiveness: Experiments confirm that the ODYSSEY benchmark effectively evaluates different agent capabilities, with ablation studies highlighting the critical roles of the LLM planner and the skill library.
Limitations and Future Work
- LLM Hallucinations: The authors acknowledge that open-source LLMs can still generate hallucinations, which can degrade agent performance. Future work will focus on employing retrieval-augmented generation to mitigate this.
- Visual Understanding: The current work is text-based. Future research aims to integrate visual understanding into the skill library to enhance agent capabilities in visually rich environments.
- Multi-round Planning: While multi-round planning shows promise in improving efficiency, further exploration of iterative refinement strategies is suggested.
Summary updated