Matrix-Game: Interactive World Foundation Model

Yifan Zhang, Chunli Peng, Boyang Wang, Puyi Wang, Qingcheng Zhu, Fei Kang, Biao Jiang, Zedong Gao, Eric Li, Yang Liu, Yahui ZhouarXiv 2025 · DOI

Abstract

Matrix-Game is a 17-billion parameter interactive world foundation model that generates high-fidelity, controllable game environments from a single reference image and user actions. By leveraging a massive new dataset of annotated Minecraft gameplay and a two-stage diffusion transformer pipeline, it sets a new state-of-the-art for "playable" video generation, ensuring spatial consistency and precise responsiveness to keyboard and mouse inputs.

Introduction

While video generation models have achieved significant visual realism, they often lack interactivity and physical grounding. For a model to function as a true "world model," it must respond predictably to user inputs and maintain spatial consistency over time. Existing models frequently suffer from "hallucinations"—where objects disappear when the camera turns—or offer only coarse control. Matrix-Game addresses these challenges by providing a framework for generating interactive, physically grounded virtual worlds.

Methodology

The researchers at Skywork AI developed Matrix-Game using a sophisticated two-stage training pipeline centered on a Diffusion Transformer (DiT) architecture.

Architecture and Training

The model operates in a compressed latent space using a 3D Causal VAE to compress video data (8x spatially and 4x temporally). Training occurs in two stages:

  1. Unlabeled Pretraining: The model learns general environmental structures and motion patterns from 2,700 hours of raw Minecraft footage.
  2. Action-Labeled Fine-tuning: The model is fine-tuned on 1,200 hours of data where every frame is annotated with specific keyboard and mouse actions.

Controllable Generation

Unlike traditional text-to-video models, Matrix-Game follows an image-to-world paradigm. It takes a single reference image, a motion context (previous frames), and user actions to generate the next segment of the world. To support long-duration play, the model uses an autoregressive approach, employing the last five frames of a generated clip as the context for the next.

Action-conditioned generation showing forward movement ('W') in a mountain biome.

Data and Evaluation

The authors introduced Matrix-Game-MC, a comprehensive Minecraft dataset comprising 2,700 hours of unlabeled gameplay and over 1,000 hours of high-quality clips with fine-grained annotations (up, down, left, right, jump, attack, and pitch/yaw).

To evaluate performance, the GameWorld Score benchmark was developed. This benchmark assesses models across eight dimensions, including visual quality, temporal consistency, and action accuracy.

Results and Insights

Matrix-Game consistently outperforms prior models like Oasis and MineWorld. Key findings include:

  • Controllability: The model achieved a 93.76% win rate in human evaluations. Quantitative tests showed 99% accuracy for "forward" movements and 95% for "jump" actions.
  • Visual Fidelity: The model produces sharper frames and maintains higher aesthetic scores than its predecessors.
  • Physical Consistency: Significant gains were observed in scenario consistency, with the world remaining stable even during complex 360-degree camera rotations.
Action-conditioned generation showing rightward movement ('D') in a forest biome.

Key Insights

  • Spatial Intelligence: Grounding the model in a reference image reduces hallucinations and improves layout maintenance compared to text-based prompts.
  • Scale: At 17 billion parameters, the model internalizes complex physical rules, such as light reflection and terrain perspective.
  • Action-Conditioned Latents: Discrete keyboard inputs and continuous mouse movements are integrated via cross-attention and specialized control modules for frame-level responsiveness.

Conclusion and Future Work

Despite its success, Matrix-Game has limitations, such as occasional struggles with complex collisions and long-term temporal drift. Future work will focus on expanding the action space, improving physics handling, and generalizing the framework to more visually dense environments like Black Myth: Wukong and CS:GO.

Summary updated

BibTeX
@misc{zhang2025matrix,
  author = {Yifan Zhang and Chunli Peng and Boyang Wang and Puyi Wang and Qingcheng Zhu and Fei Kang and Biao Jiang and Zedong Gao and Eric Li and Yang Liu and Yahui Zhou},
  title = {{Matrix-Game: Interactive World Foundation Model}},
  year = {2025},
  eprint = {2506.18701},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.18701},
}
Figure