Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
AI Games

OpenAI Has Trained a Neural Network To Competently Play Minecraft (openai.com) 24

In a blog post today, OpenAI says they've "trained a neural network to play Minecraft by Video PreTraining (VPT) on a massive unlabeled video dataset of human Minecraft play, while using only a small amount of labeled contractor data." The model can reportedly learn to craft diamond tools, "a task that usually takes proficient humans over 20 minutes (24,000 actions)," they note. From the post: In order to utilize the wealth of unlabeled video data available on the internet, we introduce a novel, yet simple, semi-supervised imitation learning method: Video PreTraining (VPT). We start by gathering a small dataset from contractors where we record not only their video, but also the actions they took, which in our case are keypresses and mouse movements. With this data we train an inverse dynamics model (IDM), which predicts the action being taken at each step in the video. Importantly, the IDM can use past and future information to guess the action at each step. This task is much easier and thus requires far less data than the behavioral cloning task of predicting actions given past video frames only, which requires inferring what the person wants to do and how to accomplish it. We can then use the trained IDM to label a much larger dataset of online videos and learn to act via behavioral cloning.

We chose to validate our method in Minecraft because it (1) is one of the most actively played video games in the world and thus has a wealth of freely available video data and (2) is open-ended with a wide variety of things to do, similar to real-world applications such as computer usage. Unlike prior works in Minecraft that use simplified action spaces aimed at easing exploration, our AI uses the much more generally applicable, though also much more difficult, native human interface: 20Hz framerate with the mouse and keyboard.

Trained on 70,000 hours of IDM-labeled online video, our behavioral cloning model (the âoeVPT foundation modelâ) accomplishes tasks in Minecraft that are nearly impossible to achieve with reinforcement learning from scratch. It learns to chop down trees to collect logs, craft those logs into planks, and then craft those planks into a crafting table; this sequence takes a human proficient in Minecraft approximately 50 seconds or 1,000 consecutive game actions. Additionally, the model performs other complex skills humans often do in the game, such as swimming, hunting animals for food, and eating that food. It also learned the skill of "pillar jumping," a common behavior in Minecraft of elevating yourself by repeatedly jumping and placing a block underneath yourself.
For more information, OpenAI has a paper (PDF) about the project.
This discussion has been archived. No new comments can be posted.

OpenAI Has Trained a Neural Network To Competently Play Minecraft

Comments Filter:
  • Minecraft will be the death of us all. A slow and painful death by really large pixels. It was inevitable really.
  • by kyoko21 ( 198413 ) on Thursday June 23, 2022 @06:34PM (#62646150)

    The real test is does it know when to stop playing?

  • I wonder who taught it to dig down :)

  • OpenAI Has Trained a Neural Network To Competently Play Minecraft

    It's a better AI than I'm not, 'cause I still don't really get Minecraft. I think another Rick said it well [youtube.com]:

    Rick Sanchez: So, you're mining stuff to craft with and crafting stuff to mine with?
    Morty: Uh-huh.
    Rick Sanchez: Did your dad write this game?
    ...
    Morty: You can use that wood to make a chest.
    Rick Sanchez: Oh, good. Then I can store all this wood I'll need later for chest-making.
    Morty: Okay. You're not going to have fun if you analyze everything.

    • by narcc ( 412956 )

      OpenAI Has Trained a Neural Network To Competently Play Minecraft

      That's more than a slight exaggeration. It's not even what the paper is about.

      • by gweihir ( 88907 )

        OpenAI Has Trained a Neural Network To Competently Play Minecraft

        That's more than a slight exaggeration. It's not even what the paper is about.

        It is in line with the current no-understanding fanatical AI hype though, where people without even an elementary clue pronounce AI "sentient", "competent", "understanding things", etc., when even a basic understanding of the technology used makes is absolutely clear nothing like that could be the case.

  • Less impressively, I trained an AI to remove duplicate parts out of Cat Stevens songs.

    It's based on the principle Don't Repeat Yusuf.
  • Keep on training your AI to do something usefull...

  • by gweihir ( 88907 )

    What it can do is fumble in the dark by replaying things it has seen before. It has no clue what it does, it cannot plan and "competently" does not even enter the picture.

    Stop projecting. This is an automaton, not a sentient being.

    • https://casinosanalyzer.com/ca... [casinosanalyzer.com] Emu Casino has many amazing things ready for the players, and the bonus offer is incredibly generous. There are free spins, deposit bonuses, birthday giveaways, and other exciting things that will keep the game going. Registration free spins The bonus offer on Emu Casino begins the moment you register at the casino. When you set up your account, and once it is activated, you will get 12 free spins. A deposit is not required! You can spend the spins in the slot game called
  • Getting closer to ensuring our own demise...

As the trials of life continue to take their toll, remember that there is always a future in Computer Maintenance. -- National Lampoon, "Deteriorata"

Working...