[论文解读] Voyager: An Open-Ended Embodied Agent with Large Language Models
Voyager 引入一个由 GPT-4 支撑的开放式、终身学习的 Minecraft 代理,它构建可执行技能库,使用自动课程表,并通过环境反馈和自我验证迭代完善代码,以超越基线。
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/.
研究动机与目标
- 展示一个终身的、开放式的具身代理,它在没有人类输入的情况下持续探索世界并学习新技能。
- 证明自动课程表能够推动持续的探索和技能获取。
- 开发一个可扩展、可解释、可组合的可执行程序技能库。
- 引入一种迭代提示机制,利用环境反馈和自我验证来改进程序。
- 对 Voyager 与基线进行评估,并评估其在新世界中对未见任务的泛化能力。
提出的方法
- 三部分架构:自动课程表、可执行代码的扩展技能库,以及用于具身控制的迭代提示。
- 使用代码即行动的范式来表示时序延展、可组合的行为,适用于长期任务。
- 通过提示和上下文学习在不进行微调的情况下与 GPT-4 进行黑盒交互。
- 技能库按描述嵌入进行索引,支持检索相关的可重复使用程序。
- 迭代提示结合环境反馈、执行错误和自我验证来精炼代码,直至完成任务。
- 消融研究和零-shot 测试将 Voyager 与 ReAct、Reflexion、AutoGPT 以及不含技能库的变体进行比较。
实验结果
研究问题
- RQ1在没有人为干预的情况下,自动课程表能否在 Minecraft 环境中推动开放式探索和持续的技能成长?
- RQ2不断增长的可执行技能库是否能实现可组合、可重复使用的行为并提升对新任务的泛化能力?
- RQ3结合环境反馈和自我验证的迭代提示如何影响程序合成与任务成功?
- RQ4GPT-4 相对于 GPT-3.5 对代码生成质量和代理性能有何影响?
- RQ5与基线的基于大模型的代理相比,Voyager 的各组成部分对终身上下文学习有何影响?
主要发现
- Voyager 在 160 次提示迭代中比基线获得了 3.3 倍更多的独特物品。
- Voyager 以高达 15.3 倍的速度解锁关键科技树里程碑,超过此前的最先进方法。
- 在地图探索中,Voyager 相比基线行进距离延长 2.3 倍。
- 学得的技能库使其能够在新的 Minecraft 世界中对新任务进行泛化,而基线方法在此处表现困难。
- 消融研究显示自动课程表和自我验证对持续进展至关重要;技能库支持构建复杂行为;GPT-4 相比 GPT-3.5 显著提升了编码性能。
- 零-shot 测试表明 Voyager 能在新世界解决未见任务,而基线在 50 次提示迭代内失败。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。