Article complete

Google Unveils GameNGen: Integrating Generative AI into Gaming

New research from Google and Tel Aviv University allow real-time interaction with complex game environments

A laptop with an illustrated screen showing hands holding a game controller, set against a yellow background.

Key takeaways

  • Google's GameNGen model enables real-time interaction with complex game environments like DOOM.
  • Utilizes a neural model to simulate games, replacing traditional coding methods.
  • Achieves over 20 frames per second performance on existing hardware.
  • Combines reinforcement learning and diffusion models for frame prediction.
  • Represents a shift towards AI-driven game development and simulation.

Takeaways drafted with AI from the article text.

On 27th August 2024, Google released a paper detailing the capabilities of their new model GameNGen. This research was authored by Dani Valevski (Researcher at Google Research), Yaniv Leviathan (Engineer at Google Research), Moab Arar (PhD candidate at Tel Aviv University), and Shlomi Fruchter (Engineer at Google DeepMind). 

GameNGen’s Capabilities 

Powered entirely by a neural model, GameNGen is one of the pioneer search engines that allows high-quality, real-time interactions with complex environments over long periods. “GameNGen can interactively simulate the classic game DOOM at over 20 frames per second on a single TPU. Next frame prediction achieves a PSNR of 29.4, comparable to lossy JPEG compression”, per Google. The training occurs primarily in two phases:  (1) an RL agent learns to play the game, with training sessions being recorded, and (2) a diffusion model is trained to predict the next frame using the sequence of previous frames and actions. 

This approach, while still in its nascent stage, is testament of a new paradigm where games are weights of a neural model, not lines of code, in an era where video games are programmed by humans. GameNGen reveals that a neural model can interactively run a complex game like DOOM on existing hardware. 

Architecture & How It Works

In order to collect data efficiently, an RL agent plays the game, and its actions and observations are recorded as training data. For more enhancement and consistency, the Stable Diffusion model is trained to predict the next game frame using previous frames and actions. Lastly, the model's decoder is fine-tuned to improve image quality and reduce visual artefacts. 

AI in Gaming

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

About the author

Contributor

I hold a degree in political science, and am interested in how AI and online culture intersect. I am at & x.com/aditisuresh12

All stories
Belamy · Daily

The day’s AI news, before your first meeting.