How an AI bot plays Minecraft by itself using GPT-4
The Hindu
Unlike other Minecraft agents that use reinforced learning techniques, the bot developed by a motley team from Caltech, UT Austin, and NVIDIA, uses GPT-4 language model.
A group of researchers have built an AI bot that can play the popular Minecraft game all by itself. Unlike other Minecraft agents that use reinforced learning techniques, the bot developed by a motley team from Caltech, UT Austin, and NVIDIA, uses GPT-4 language model.
The team has integrated the state-of-the-art AI chatbot into the game to continuous improve on itself without any human intervention. The bot, called Voyager, solves problems inside the game.
The Voyager reads the game’s state through an API and improve on it. For example, if there is a fishing rod and a river nearby, the bot may use GPT-4 to suggest fishing as a goal to gain experience.
Voyager then uses this goal to generate the necessary code for the character to achieve it. The most interesting part is the code that GPT-4 generates to add behaviours to the bot.
(For top technology news of the day, subscribe to our tech newsletter Today’s Cache)
In case the suggested code does not work correctly, Voyager improves using error messages, game feedback, and a description of the code generated by GPT-4.
Over a period of time, the bot creates a library of code to learn and accomplish complex tasks and explore the game further.