GameNGen is a game engine driven entirely by a neural model, with the goal of achieving real-time interaction with complex environments and maintaining high-quality output over long trajectories. It was launched by Google, and the paper is titled "Diffusion Models Are Real-Time Game Engines."
Purpose GameNGen is used for interactive simulation of the classic game DOOM. It can run on a single TPU at more than 20 frames per second and generates game visuals through a neural model rather than relying on the graphics rendering pipeline of a traditional game engine. Its next-frame prediction reaches a PSNR of 29.4, comparable to lossy JPEG compression. In human review tests, reviewers distinguished short game clips from simulated clips with accuracy only slightly above random guessing.
Main capabilities
- Real-time interaction: can interactively simulate DOOM at 20+ FPS on a single TPU.
- High-quality long-trajectory generation: supports maintaining visual stability during long interactions.
- Next-frame prediction: PSNR reaches 29.4, with image quality close to lossy JPEG.
- High fidelity: human reviewers performed only slightly better than random guessing in distinguishing real clips from simulated clips.
Usage (training process) GameNGen is trained in two stages: In the first stage, an RL-agent learns to play the game, and the training process is recorded to form training data of actions and observations. Because human gameplay data cannot be collected at scale, an automatic RL-agent is first trained to play. In the second stage, a diffusion model is trained to generate the next frame based on past frames and action sequences.
Key technical details Conditioning augmentation: To mitigate autoregressive drift during inference, Gaussian noise is added to encoded frames during training to corrupt context frames. This enables the network to correct information sampled from previous frames, which is crucial for maintaining visual stability over long periods. Latent decoder fine-tuning: Stable Diffusion v1.4's pretrained autoencoder compresses 8x8 pixel blocks into 4 latent channels, which produces noticeable artifacts when predicting game frames, affecting small details, especially the bottom-bar HUD. To leverage pretrained knowledge and improve image quality, the study trains only the latent autoencoder's decoder using an MSE loss computed on the target frame pixels.
Applicable scenarios Suitable for AI-driven game engine research, real-time generation with diffusion models, interactive environment simulation, and related directions.
Limitations The current material only describes its performance on DOOM and does not provide information on other games,other platforms, or broader applications. The official source does not provide information on fees, pricing, commercial use, etc.