11.1 C
Berlin
Thursday, April 18, 2024

AI plays Minecraft while constantly improving its own code – Nvidia employees show what”s possible with GPT-4

Follow US

80FansLike
908FollowersFollow
57FollowersFollow

An AI that plays Minecraft for you? This Minecraft bot relies on AI and can improve itself

It sounds a bit like the story of a science fiction movie: An AI is created for reason X and has the ability to become smarter and smarter. In the mostly gloomy end-time flicks, such an AI is often the reason for the end of the world.

In reality, however, we are (still) spared terror AIs. Instead, an AI-controlled bot can automatically upgrade its abilities in Minecraft. 

Minecraft + GPT-4

A team of Nvidia researchers led by (Linxi Jim Fan) has developed an innovative way to integrate the GPT-4  language model into the popular brick game Minecraft.

The Minecraft bot, called Voyager, developed by Nvidia employees uses GPT-4 to solve problems in the game. The language model generates goals that help the bot explore the game, and generates code that improves the bot”s abilities over time.

Voyager does not play Minecraft like a human, but uses an API to detect the current game state. For example, if he has a fishing rod in his inventory and discovers a river nearby, GPT-4 suggests that Voyager fish to gain experience 

To accomplish this goal, GPT-4 generates the code necessary for the bot to complete the task.

You have to learn by yourself

The most innovative part of this project is the code generated by GPT-4. It adds new facets to Voyager”s behaviour. If the originally proposed code does not work optimally, Voyager refines it based on error messages, feedback from the game and a description of the code generated by GPT-4.

Over time, Voyager builds a extensive code library to continually tackle more complex tasks and further explore the game.

(The graph shows the effectiveness of the Voyager bot compared to other bots. (Image: Linxi Fan))
(The graph shows the effectiveness of the Voyager bot compared to other bots. (Image: Linxi Fan))

A graph created by the researchers shows that Voyager procures over three times as many items, explores more than twice as far and creates tools 15 times faster than other AI agents (Reflection, ReAct & AutoGPT).

According to Fan, the system could be further improved in the future by incorporating visual information from the game.

Language models and their bottomless potential

While chatbots like ChatGPT have impressed the world with their eloquent language and obvious knowledge, Voyager shows the enormous potential of language models to perform helpful actions on computers.

Applying language models in this way could potentially automate many routine office tasks, which could have a significant economic impact.

The connection between GPT-4 and Minecraft through the Voyager bot illustrates the exciting potential of language models, far beyond conducting conversations Automating tasks through language models in conjunction with games like Minecraft could open the door to a host of new applications. 

From assisting with office tasks to developing intelligent software assistants that can automate tasks on PCs or phones, the possibilities are many.

What tasks would you like to have automated? Farming diamonds in Minecraft or would you rather do your taxes? Feel free to post it in the comments!

RELATED ARTICLES

Dragon Age as a TV series based on Fallout? According to one of the role-playing game creators a (terrible...

Bioware's role-playing game is not suitable as a series, according to one of the authors - but David Gaider...

Take-Two Interactive cancels projects & launches wave of layoffs

The gaming company Take-Two Interactive announced extensive cost-cutting measures yesterday, Tuesday. With this efficiency-oriented strategy, the company wants to...

Now you can play the latest Assassin’s Creed for free for a short time

Assassin's Creed Mirage is not only a worthy return to the roots of the series, it's also currently free...