Post

Log inSign up

Post

Log inSign up

Jim Fan on X: "What if we set GPT-4 free in Minecraft? ⛏️ I’m excited to announce Voyager, the first lifelong learning agent that plays Minecraft purely in-context. Voyager continuously improves itself by writing, refining, committing, and retrieving *code* from a skill library. GPT-4 unlocks a new paradigm: “training” is code execution rather than gradient descent. “Trained model” is a codebase of skills that Voyager iteratively composes, rather than matrices of floats. We are pushing no-gradient architecture to its limit. Voyager rapidly becomes a seasoned explorer. In Minecraft, it obtains 3.3× more unique items, travels 2.3× longer distances, and unlocks key tech tree milestones up to 15.3× faster than prior methods. We open-source everything. Let generalist agents emerge in Minecraft! Welcome you all to try today: https://t.co/1d3YocozsI Paper: https://t.co/JcWEasgtyI Code: https://t.co/KsvVf7rcl0 Deep dive with me: 🧵"

Conversation

@DrJimFan
Jim Fan
@DrJimFan
What if we set GPT-4 free in Minecraft? ⛏️ I’m excited to announce Voyager, the first lifelong learning agent that plays Minecraft purely in-context. Voyager continuously improves itself by writing, refining, committing, and retrieving *code* from a skill library. GPT-4 unlocks a new paradigm: “training” is code execution rather than gradient descent. “Trained model” is a codebase of skills that Voyager iteratively composes, rather than matrices of floats. We are pushing no-gradient architecture to its limit. Voyager rapidly becomes a seasoned explorer. In Minecraft, it obtains 3.3× more unique items, travels 2.3× longer distances, and unlocks key tech tree milestones up to 15.3× faster than prior methods. We open-source everything. Let generalist agents emerge in Minecraft! Welcome you all to try today: voyager.minedojo.org Paper: arxiv.org/abs/2305.16291 Code: github.com/MineDojo/Voyag… Deep dive with me: 🧵
Video thumbnail
00:00
3:15 PM · May 26, 2023·
3.8M
Views
343

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email

Relevant people

Jim Fan
Jim Fan@DrJimFanFollow
NVIDIA Director of Robotics & Distinguished Scientist 💚💚💚. Co-Lead of GEAR lab. Solving Physical AGI, one motor at a time. Stanford Ph.D.

What’s happening

Show more
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
  • @DrJimFan
    Jim Fan
    @DrJimFan
    What if we set GPT-4 free in Minecraft? ⛏️ I’m excited to announce Voyager, the first lifelong learning agent that plays Minecraft purely in-context. Voyager continuously improves itself by writing, refining, committing, and retrieving *code* from a skill library. GPT-4 unlocks a new paradigm: “training” is code execution rather than gradient descent. “Trained model” is a codebase of skills that Voyager iteratively composes, rather than matrices of floats. We are pushing no-gradient architecture to its limit. Voyager rapidly becomes a seasoned explorer. In Minecraft, it obtains 3.3× more unique items, travels 2.3× longer distances, and unlocks key tech tree milestones up to 15.3× faster than prior methods. We open-source everything. Let generalist agents emerge in Minecraft! Welcome you all to try today: voyager.minedojo.org Paper: arxiv.org/abs/2305.16291 Code: github.com/MineDojo/Voyag… Deep dive with me: 🧵
    Video thumbnail
    00:00
    3:15 PM · May 26, 2023·
    3.8M
    Views
    343
  • @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    Generally capable, autonomous agents are the next frontier of AI. They continuously explore, plan, and develop new skills in open-ended worlds, driven by survival & curiosity. Minecraft is by far the best testbed with endless possibilities for agents:
    @DrJimFan
    Jim Fan
    @DrJimFan
    Nov 23, 2022
    GPT3 is powerful but blind. The future of Foundation Models will be embodied agents that proactively take actions, endlessly explore the world, and continuously self-improve. What does it take? In our NeurIPS Outstanding Paper “MineDojo”, we provide a blueprint for this future:🧵
    Video thumbnail
    00:00
    9
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    Voyager has 3 key components: 1) An iterative prompting mechanism that incorporates game feedback, execution errors, and self-verification to refine programs; 2) A skill library of code to store & retrieve complex behaviors; 3) An automatic curriculum to maximize exploration.
    Video thumbnail
    00:00
    3
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    First, Voyager attempts to write a program to achieve a particular goal, using a popular Javascript Minecraft API (Mineflayer). The program is likely incorrect at the first try. The game environment feedback and javascript execution error (if any) help GPT-4 refine the program.
    Image
    View media
    4
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    Second, Voyager incrementally builds a skill library by storing the successful programs in a vector DB. Each program can be retrieved by the embedding of its docstring. Complex skills are synthesized by composing simpler skills, which compounds Voyager’s capabilities over time.
    Image
    View media
    4
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    Third, an automatic curriculum proposes suitable exploration tasks based on the agent’s current skill level & world state, e.g. learn to harvest sand & cactus before iron if it finds itself in a desert rather than a forest. Think of it as an in-context form of *novelty search*.
    Image
    View media
    4
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    Putting these all together, here’s the full data flow design that drives lifelong learning in a vast 3D voxel world without any human intervention.
    Image
    View media
    1
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    Let’s look at some experiments! We evaluate Voyager systematically against other LLM-based agent techniques, such as ReAct, Reflexion, and the popular AutoGPT in Minecraft. Voyager discovers 63 unique items within 160 prompting iterations, 3.3x more than the next best approach.
    Image
    View media
    5
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    The novelty-seeking automatic curriculum naturally compels Voyager to travel extensively. Without being explicitly instructed to do so, Voyager traverses 2.3x longer distances and visits more terrains than the baselines, which are “lazier” and often stuck in local areas.
    Image
    View media
    3
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    How good is the “trained model”, i.e. skill library after lifelong learning? We clear the agent’s inventory/armors, spawn a new world, and test with unseen tasks. Voyager solves them significantly faster. Our skill library even boosts AutoGPT, since code is easily transferrable.
    Image
    View media
    1
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    Voyager is currently text-only, but can be augmented by visual perception in the future. We do a preliminary study where humans act like an image captioning model and provide feedback to Voyager. It is able to construct complex 3D structures, such as a Nether Portal and a house.
    Video thumbnail
    00:00
    7
    @DrJimFan
    Jim Fan
    @DrJimFan
    May 26, 2023
    Let agents emerge in Minecraft! All open-source: voyager.minedojo.org This work is co-authored by my team at NVIDIA: @guanzhi_wang (our awesome intern), @yuqi_xie5, @YunfanJiang, @AjayMandlekar, @ChaoweiX, @yukez, @DrJimFan (myself, co-advisor), @AnimaAnandkumar (co-advisor).
    Image
    View media
    31
  • @rowancheung
    Rowan Cheung
    The Rundown AI
    @rowancheung
    May 26, 2023
    This is nuts. The gaming industry is going to look so different in the next couple years
    4