Matrix-Game-2.0
Real-time interactive world model: action-driven auto-regressive video diffusion at 25 FPS.
Diffusion and generative · 514 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 201.8K
- Operations
- 514
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2025
- Cited by
- 0 (as of 29 October 2026)
- Authors
- Xianglong He, Chunli Peng, Zexiang Liu and others
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m11670
- Graph hash
- 3ab0e4695e7c1a8733c25f1525bd84deead72be0caba42d1945cc8bdf618b802
- Skeleton hash
- e6089a5976e71c0b07b0b34ca969854123580fcb31c470b221ec68963e1f9d9a
- Architecture hash
- 51e06ff0b2689bdfc8f93b95b5a2bceaad836d71289c9c4dce23db2e6f8228e3
- Diagram SHA-256
- 1c2dc638885aa57233678e6880683235f57573d965a98c3ccc5c8a65f0780ce0
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.matrix_game:build: build({}) What it is
Matrix-Game 2.0 is an interactive world model: a video diffusion model that generates long videos on-the-fly via few-step auto-regressive diffusion, steered by the player's inputs. The problem it targets is latency, since existing interactive world models depend on bidirectional attention and lengthy inference steps, severely limiting real-time performance. The headline claim is high-quality minute-level videos across diverse scenes at 25 FPS.
There is no text branch at all: the model eliminates all forms of language input, focusing solely on learning spatial structures and dynamic patterns from image. A 3D Causal VAE compresses raw video by a factor of 8×8 in space and 4 in time. Guided by the user's actions, a Diffusion Transformer (DiT) generates a visual token sequence that the 3D VAE decoder turns back into video. Action injection lives inside the DiT blocks: continuous mouse actions are concatenated to the input latents, forwarded through an MLP layer and then a temporal self-attention layer. Keyboard actions are instead queried by the fused features through a cross-attention layer. The foundation model follows the Wan 2.1 architecture and is initialized from SkyReelsV2-I2V-1.3B with its text injection modules removed. Adding action modules to each DiT block brings the total model size to 1.8B.
Real-time generation comes from distillation: the bidirectional foundation model becomes a causal few-step auto-regressive student through Self-Forcing, which conditions each frame on previously self-generated outputs rather than ground truth. Inference keeps a cache of recent latents and action embeddings. That is what reaches 25 FPS generation on a single H100 GPU. Training data came from an Unreal Engine and gaming-environment pipeline that produced about 1200 hours of video with diverse interaction annotations. Against Oasis on Minecraft scenes, the authors report that Oasis degrades after several dozen frames while their model holds up through extended generation sequences. The model weights and codebase are open-sourced.
Key idea. A text-free, action-conditioned video diffusion transformer distilled into a few-step causal auto-regressive generator, so an interactive world model can stream video in real time.
- Matrix-Game 2.0
- Matrix-Game
- interactive world model
- world model
- video generation
- auto-regressive diffusion
- Self-Forcing
- Minecraft
- Unreal Engine
- game simulation
- real-time video
- Skywork
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{he2026matrixgame20opensourcerealtime,
title={Matrix-game 2.0: An open-source, real-time, and streaming interactive world model},
author={Xianglong He and Chunli Peng and Zexiang Liu and Boyang Wang and Yifan Zhang and Qi Cui and Fei Kang and Biao Jiang and Mengyin An and Yangyang Ren and Baixin Xu and Hao-Xiang Guo and Kaixiong Gong and Size Wu and Wei Li and Xuchen Song and Yang Liu and Yangguang Li and Yahui Zhou},
year={2026},
eprint={2508.13009},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2508.13009},
}