NTH

Matrix-Game 4.0: Harnessing Video Models for Real-Time Playable Game Worlds

AuthorsJihai Zhang, Runjia Qian, Kaiqin Kong, Biao Jiang, Puyi Wang, Siru Chen, Tianle Li, Guanjie Chen, Junyi Wu, Chubin Chen, Yuanhang Li, Kaichen Huang, Haobo Zhang, Yangguang Li, Wei Yu, Guibin Chen, Yu Cheng, Yahui Zhou

AffiliationsSkyworkAI · The Chinese University of Hong Kong · UC San Diego

October 27, 2026 2 min read
Watch on YouTube
The one-line take

Matrix-Game 4.0 combines game-engine rules and real-time video generation to turn natural-language ideas into playable worlds.

Key results

114334
Paired training clips

Pixel-aligned Unreal Engine 5 proxy and high-fidelity video clips.

1712
Training data duration

Total hours represented by the paired training clips.

60
Gameplay rate

480p gameplay on one NVIDIA RTX 5090.

112
Key-press-to-display latency

Milliseconds to show a frame reflecting player input.

83.4
Single-step generation throughput

Steady-state frames per second on an NVIDIA RTX 5090.

What the paper found

Matrix-Game 4.0 makes a video model part of a playable game by separating game logic from visual generation: an engine maintains world state and enforces rules, while a multimodal coding agent turns natural-language requests into game code and updates scene captions. A renderer then transforms the engine’s low-poly proxy into detailed video, using spatial memory to help preserve consistency. Built on Wan2.2 5B and trained on 114334 pixel-aligned Unreal Engine 5 clips spanning 1712 hours, the renderer uses causal, few-step generation and TAEHV decoding. CUDA Graphs, fused Triton kernels, a ring-buffer cache, and split-KV attention help it reach 480p, 60 FPS gameplay on a single NVIDIA RTX 5090, with 112 ms from key press to display and 83.4 FPS steady-state throughput at one denoising step. The coding agent can also modify mechanics—for example, adding shield durability, driving checkpoints, or pursuit objectives—while the engine, not the video model, determines what happens. The result is a system for creating and changing playable game worlds through code and natural language, rather than relying on generated pixels alone to represent game state.

Original abstract

Moving from controllable videos to genuinely playable worlds requires persistent world state, executable game rules, and low-latency interaction. We outline a roadmap for the next generation of Matrix-Game that separates game execution from visual generation through an executable game harness, and introduce Matrix-Game 4.0 as the first system built on this design. A lightweight game engine maintains world state and executes interaction rules, a multimodal coding agent translates player ideas into game code and dynamic scene captions, and a renderer based on autoregressive video model transforms engine-rendered low-poly proxies into detailed visuals, conditioned on dynamic captions and memory references. This framework provides continuous guidance for visual generation and enables natural-language creation and modification of scenes and gameplay. Our renderer is trained on aligned low-poly and high-fidelity video pairs and distilled into a causal generator that generates in four-frame chunks with one or two denoising steps. Together with targeted inference optimizations, Matrix-Game 4.0 enables 480p, 60 FPS gameplay on a single NVIDIA RTX5090 with a key-press-to-display latency of 112ms. Single-step generation achieves 83FPS steady-state throughput with 18.2GiB of peak GPU memory usage. With fixed prompts, steady-state throughput also reaches 67FPS on an RTX5080 and 58FPS on an RTX5070Ti. We demonstrate customizable shooter and driving games with engine-enforced mechanics, and release code, model weights, and low-poly game assets to support research and creation of playable game worlds.

Read the original paper

More in Generative Models

Browse all 75 papers →
02Generative Model

SolarRenderer: Few-Step Generative Reference Rendering

Guian Fang, Shengju Qian, Dongyue Lu, Junchao Huang, Lutao Jiang, Xin Wang, Yiren Song, Li Jiang, Mike Zheng Shou

SolarRenderer turns varied scene structures into realistic video in just four generation steps.

Read analysis
03Generative Model

Building Rome from a Single Image

Jiraphon Yenphraphai, Fang Li, Tianshuo Xu, Depu Meng, Quentin Herau, Yihan Hu, Raymond A. Yeh, Wei Zhan

The method turns a single photograph into a detailed, complete 3D world by extending object-generation priors to large outdoor scenes.

Read analysis