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
Matrix-Game 4.0 combines game-engine rules and real-time video generation to turn natural-language ideas into playable worlds.
Key results
Pixel-aligned Unreal Engine 5 proxy and high-fidelity video clips.
Total hours represented by the paired training clips.
480p gameplay on one NVIDIA RTX 5090.
Milliseconds to show a frame reflecting player input.
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 paperMore in Generative Models
Browse all 75 papers →InfiniDream: Open-Ended Photorealistic 3D Worlds Through Procedural Generation
Yi-Chuan Huang, Hao-Jen Chien, Zheng-Hui Huang, Yu-Lun Liu, Kaipeng Zhang, Zhixiang Wang
InfiniDream uses language-guided procedural tools to build editable, photorealistic 3D assets and populate expansive worlds.
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.
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.