Nvidia uses AI to recreate Pac-Man on its 40th anniversary

3 years 11 months ago

Nvidia reveals today that it has created a neural network that fully simulates the classic Pac-Man on the event of the Namco coin-op's 40th anniversary. On the face of it, this might not sound like a big deal - Pac-Man is a relatively straightforward game that takes place in a simplistic, static environment, so using an AI to study its rules and perfectly replicate its game logic doesn't sound outlandishly complex. Except that isn't what's happening. There is no engine here, no game logic and no traditional rasteriser used in the AI recreation of the game. Instead, everything generated at a per-pixel level is coming directly from the neural network, based on what it 'knows' about how Pac-Man works. This rendition of Pac-Man essentially plays out as an AI 'thinks' it should - and remarkably, it works.

Nvidia is working on something that it refers to as GameGAN (GAN meaning 'generative adversarial network'). It works by using two neural networks working against one another - a generator and a discriminator. It's the same kind of AI that has been used extensively for a number of applications, including the creation of AI-generated high resolution texture packs for retro games.

In the case of Nvidia's GameGAN, the AI studied 50,000 games of Pac-Man before 'learning' how the game works generally, and how user input affects what happens on-screen. "This is the first research to emulate a game engine using GAN-based neural networks," says Seung-Wook Kim, an NVIDIA researcher and lead author on the project. "We wanted to see whether the AI could learn the rules of an environment just by looking at the screenplay of an agent moving through the game. And it did."

Read more

Tags