From Pixels to States: Rethinking Interactive World Models as Game Engines
Zhen Li, Zian Meng, Shuwei Shi, Mingliang Zhai, Jiaming Tan, Chuanhao Li, Kaipeng Zhang
A framework for interactive world modeling that maps generative video models to the action-state-observation loop of game engines.
How can we bridge the gap between pixel-based video generation and the structured, rule-based dynamics of traditional game engines?
Generative video models can simulate interactive worlds, but they often struggle to maintain logical consistency because they treat the world as a sequence of pixels rather than a rule-governed system. The authors propose organizing these models around the recurrent action-state-observation loop used in conventional game engines, evaluating them across four dimensions: action control, state dynamics, persistence, and real-time generation. This analysis reveals that while current models excel at visual fidelity, they lack explicit state management, which is necessary for consistent, rule-based interactions over long horizons.
Paper Primer
The paper frames the challenge of interactive world modeling as a failure to replicate the "game engine loop." In a game like *Black Myth: Wukong*, an action (e.g., a sword strike) does not immediately produce pixels; it first updates an internal state (stamina, boss health, animation phase) which then dictates the visual outcome.
The authors categorize existing research into this loop: player action control (how intent is represented), game state dynamics (how the world evolves), state-observation persistence (maintaining consistency over time), and real-time generation (latency management). This taxonomy serves as a diagnostic tool to identify why current models diverge from true game engines.
Current generative models lack explicit state representation, leading to logical inconsistencies in long-horizon interactions.
The authors observe that models relying on implicit pixel-based dynamics fail to guarantee spatial and logical consistency when game rules (e.g., damage thresholds) dictate outcomes that are not visually obvious. The field has reached real-time generation and natural input control, but remains limited by the inability to preserve consequences beyond the current view or align outcomes with rule-defined moments.
Why is the "game engine loop" a better organizing principle than simply improving video generation quality?
Video generation models focus on pixel correlations, which are insufficient for games where the same input (e.g., a strike) must produce different outcomes based on hidden variables like boss health or cooldowns. The loop forces the model to account for these non-visual, rule-governed state transitions.
Does this paper propose a new generative architecture?
No, this is a systematic review and resource paper. It provides a unified framework to evaluate existing models and contributes a high-quality, state-annotated dataset to enable future research into explicit state-aware modeling.
Interactive World Models as Game Engines
We expose why pixel‑only video generation fails to enforce game rules and propose a state‑aware modeling shift.
Current video generative models predict future frames from player actions but lack an explicit representation of game rules, leading to inconsistent and brittle interactions. A genuine interactive world requires rule‑consistent dynamics, long‑term persistence, and real‑time generation, which conventional engines achieve via an explicit action‑state‑observation loop.
Pixel‑only prediction cannot guarantee that generated interactions obey the underlying game rules, so models must reason over an explicit game state.
**Figure 1.** Interactive game worlds as an action-state-observation loop. Player inputs update the internal game state according to game rules, and the resulting state is rendered into observations that continuously feed back to the player.
Shifting from pixel‑only prediction to state‑aware dynamics is the key to rule‑consistent, real‑time interactive game worlds.
Foundations of Video Generation
We survey video generation and interactive game models, highlighting their action‑control strategies.
Recent video generation and interactive game world research diverges along how language, vision, and player intent are coupled.
These models synthesize video frames from textual prompts, typically by feeding a diffusion transformer (DiT) with a latent representation of the scene.
The diffusion transformer architecture that generates video frames in a latent space conditioned on textual embeddings.
Extends DiT with modality‑specific attention weights, allowing simultaneous processing of text and visual tokens.
Fuses dual streams (text and video) into a single DiT pipeline, sharing parameters across modalities.
Uses a concatenated sequence of text and video tokens normalized by expert‑specific layers.
A neural game engine that learns to generate game frames conditioned on player actions for a single game.
Embeds frame‑wise keyboard and mouse states as conditioning vectors within a diffusion model.
Interleaves discrete action tokens with visual tokens, enabling the model to generate game frames conditioned on player actions.
Action control determines how a player’s intent is encoded before it influences video generation, shaping the interaction loop.
Conditions video generation on external camera‑pose trajectories encoded as rotations and translations.
Embeds Plücker ray representations of camera motion for image‑to‑video generation under epipolar constraints.
Extends camera‑control to image‑to‑video generation by conditioning on visual cues.
Applies epipolar‑constrained attention to transform a single image into a video sequence.
Localizes action effects (e.g., firing) to specific regions, embedding them as conditioning vectors.
Uses per‑agent natural‑language commands to steer individual entities during rollout.
Conditions multiple entities simultaneously through per‑chunk, per‑entity language prompts.
Steers high‑level NPC strategies using language, decoupled from direct player input.
Extends navigation‑centric models to object‑level interaction via action‑aware memory mechanisms.
The Neural Game Engine
Explicit game‑state tracking enables rule‑consistent video generation.
Video generators that predict pixels directly cannot guarantee that actions obey game rules, leading to implausible interactions. The remedy is to keep an explicit, up‑to‑date description of the world and let the generator consult it at every step. This section introduces the mechanism that makes rule‑consistent gameplay possible.
Think of the game state as a spreadsheet of variables—health, stamina, cooldowns, equipment—that the engine rewrites according to deterministic rules whenever the player acts.
Action arrives: “heavy strike”.
Rule checks stamina ≥ 20 → true, so stamina ← stamina − 20 = 30.
Rule checks health > 0 → true, so health ← health − 30 = 70.
Updated state (health = 70, stamina = 30) is emitted for the next frame.
Because the update is a pure arithmetic rewrite, the same action always yields the same state change, eliminating hidden drift.
Like a game master that watches the spreadsheet, applies the rulebook, and then hands the revised state to a Diffusion Transformer (DiT) to paint the next frame.
How does this differ from latent‑state world models that also update a hidden vector?
Latent models learn an opaque vector whose semantics are entangled with visual features; they can drift or misinterpret non‑visual causes (e.g., a strike that should kill but only wounds). The Neural Game Engine keeps the variables separate and interpretable, so the same action always produces the same rule‑driven update, guaranteeing logical consistency.
Receive player action aₜ and current explicit state sₜ.
Apply deterministic rule function f to obtain new state sₜ₊₁ = f(sₜ, aₜ).
Encode sₜ₊₁ into conditioning vector $c$ₜ₊₁ = W sₜ₊₁.
Feed cₜ₊₁ and recent frames into the Diffusion Transformer to generate frame xₜ₊₁.
Render xₜ₊₁ to the player and repeat.
State‑Observation Persistence and Real‑Time Interactive Generation build on this loop: the explicit state persists across frames, and the lightweight rule update satisfies the strict latency budget required for responsive gameplay.
Curating State-Annotated Gameplay
We built a large, fully annotated gameplay dataset to train neural game engines.
The paper’s core claim is that generative video models lack explicit game‑state modeling, leading to inconsistent interactions. This section shows how we obtain the missing state‑annotated data at scale.
Our data engine yields a 90‑hour, fully state‑annotated gameplay corpus, far surpassing existing video datasets in rule‑consistent supervision.
Over 90 hours of Black Myth: Wukong boss encounters captured at 1280×720, 30 FPS, with per‑frame actions, engine states, and RGB + depth observations.
The pipeline turns raw crowdsourced gameplay recordings into training‑ready samples with precise action, state, and visual streams.
How does this pipeline differ from typical video‑dataset collection pipelines?
Standard pipelines only capture raw pixels and maybe audio; they lack per‑frame engine actions and state vectors. Our pipeline injects a structured JSON stream from the game engine and augments the video with depth maps and dual captions, providing the explicit rule‑level supervision that generic video datasets cannot offer.
**Figure 2.** The dataset curation pipeline.
Explicit state annotations are essential for training neural game engines that respect game rules.
Questions & answers
What is the main contribution of this paper?
The paper introduces a unified framework that evaluates interactive world models across four dimensions—action control, state dynamics, state-observation persistence, and real-time generation—organized around the recurrent action-state-observation loop used in conventional game engines, and it contributes a high-quality, state-annotated gameplay dataset to support future research.
What problem does this paper address?
The paper addresses the failure of generative video models to maintain logical consistency in interactive worlds because they treat the world as a sequence of pixels rather than a rule-governed system with explicit internal state, causing them to produce implausible or inconsistent interactions over long horizons.
Why is the 'game engine loop' a better organizing principle than simply improving video generation quality?
Video generation models focus on pixel correlations, which are insufficient for games where the same input (e.g., a strike) must produce different outcomes based on hidden variables like boss health or cooldowns; the game engine loop forces the model to account for these non-visual, rule-governed state transitions.
What are the four evaluation dimensions the paper proposes?
The paper evaluates interactive world models across action control (how player intent is represented), game state dynamics (how the world evolves), state-observation persistence (maintaining consistency over time), and real-time generation (latency management).
Does this paper propose a new generative model architecture?
No, this is a systematic review and resource paper; it provides a unified framework to evaluate existing models and contributes a state-annotated dataset to enable future research into explicit state-aware modeling, rather than introducing a new generative architecture.
What is the Neural Game Engine concept introduced in the paper?
The Neural Game Engine is a proposed mechanism that keeps an explicit, up-to-date, interpretable description of the world state separate from visual features, allowing the generator to consult it at every step so that the same action always produces the same rule-driven update, guaranteeing logical consistency.
How does the Neural Game Engine differ from latent-state world models?
Latent models learn an opaque vector whose semantics are entangled with visual features and can drift or misinterpret non-visual causes (e.g., a strike that should kill but only wounds), whereas the Neural Game Engine keeps variables separate and interpretable so rule-driven updates are consistent and predictable.
What dataset does the paper contribute, and what makes it distinctive?
The paper contributes a state-annotated gameplay dataset collected via a pipeline that injects a structured JSON stream from the game engine alongside video, augmenting it with depth maps and dual captions, providing per-frame engine actions and state vectors that generic video datasets cannot offer.
How does the paper's data collection pipeline differ from typical video dataset pipelines?
Standard pipelines capture only raw pixels and possibly audio, lacking per-frame engine actions and state vectors; this paper's pipeline injects a structured JSON stream from the game engine and augments the video with depth maps and dual captions, supplying the explicit rule-level supervision needed to train state-aware models.
What do current generative video models do well, and where do they fall short?
According to the paper's analysis, current models excel at visual fidelity but lack explicit state management, which is necessary for consistent, rule-based interactions over long horizons.
Why is explicit state management necessary for interactive game worlds?
Without explicit state management, a model cannot guarantee that actions obey game rules, because the same visual input (e.g., a sword strike) must produce different outcomes depending on hidden variables such as stamina, boss health, or animation phase that are not recoverable from pixels alone.
What game is used as an illustrative example in the paper?
The paper uses Black Myth: Wukong as an illustrative example, describing how a sword strike first updates internal state variables (stamina, boss health, animation phase) before dictating the visual outcome.
How does state-observation persistence relate to the game engine loop?
State-observation persistence refers to maintaining consistency across frames over time; in the paper's framework, the explicit state persists across frames as part of the action-state-observation loop, and the lightweight rule update satisfies the strict latency budget required for responsive gameplay.
What are the limitations or open problems acknowledged by the paper?
The paper does not explicitly enumerate its own limitations in the provided text, but it frames the absence of explicit state management in current models as an open problem and positions its dataset and framework as enabling—rather than solving—future research into rule-consistent interactive world models.
How does this work compare to prior approaches in interactive world modeling?
Prior generative video models predict future frames from player actions but lack explicit game-rule representations, leading to inconsistent interactions; this paper distinguishes itself by proposing a systematic framework centered on the game engine loop and providing state-annotated data that prior work does not supply.
Who are the authors, and where and when was this paper published?
The paper does not specify the authors' names in the provided text; it is available on arXiv at arxiv.org/abs/2607.14076, but the paper does not state the submission or publication date beyond what is implied by the arXiv identifier.
Key terms
- action-state-observation loop
- The recurrent cycle used in game engines where a player action updates an internal world state, which then determines the visual observation presented to the player.
- game engine loop
- The core operational cycle of a conventional game engine in which player inputs are processed through explicit rules to update world state before rendering output frames.
- Neural Game Engine
- A proposed model architecture that maintains an explicit, interpretable world-state representation separate from visual features so that rule-driven state updates remain consistent regardless of visual context.
- state-observation persistence
- The property of an interactive world model that ensures the world state remains consistent and coherent across many frames over long interaction horizons.
- action control
- The dimension of interactive world models concerned with how player intent or commands are represented and fed into the model.
- game state dynamics
- The dimension of interactive world models concerned with how the internal world state evolves in response to actions according to game rules.
- real-time generation
- The requirement that an interactive world model produce output frames with sufficiently low latency to support responsive, real-time gameplay.
- state-annotated dataset
- A video dataset augmented with per-frame structured records of the game engine's internal state variables and actions, enabling supervision of rule-level world dynamics.
- latent-state world model
- A class of world models that represent the world as an opaque learned vector whose meaning is entangled with visual features rather than being explicitly defined by game rules.
- depth map
- A per-pixel image that encodes the distance of scene elements from the camera, used here as an additional annotation to enrich the dataset beyond raw color video.
- dual captions
- Two complementary textual descriptions of a video frame or clip included in the dataset pipeline to provide richer semantic supervision for training models.
- JSON stream
- A structured, machine-readable data feed in JavaScript Object Notation format injected from the game engine to record per-frame state variables and actions during gameplay capture.
- interactive world model
- A generative model capable of simulating a dynamic environment that responds consistently to user actions, analogous to a game engine but learned from data.
- visual fidelity
- The perceptual quality and realism of generated video frames, distinct from whether those frames obey underlying game rules or logical consistency.
- pixel correlation
- Statistical relationships between pixel values across frames that video generation models learn to predict future frames, without necessarily encoding explicit world rules.