alphaFeedback

WorksComputer Science

State World Models: Execute the Rules, Generate the Pixels

AI contributions
  • generative AI tools
View details
Ancillary data
1 code link, 1 data link
View

Abstract

Existing world models can generate action-conditioned video from a single image. Many focus on camera movement, allowing users to explore the generated scene. However, navigation alone does not ensure that an action follows persistent rules when its outcome depends on state that is invisible in the current frame. We present Stateful Harness, a framework that separates world evolution from video rendering to support stateful and rule-governed interaction. It maintains an evolving world state under specified rules, renders each resulting event with a frozen video model, and uses the generated clip to update the world state for the next turn. At each turn, the harness resolves the action selected by the user and compiles the resulting event into an instruction, while a preview clip from an editable 3D scene provides spatial and camera guidance. To evaluate rule compliance, we build WorldState-Bench, a benchmark of 50 counterfactual twin pairs that share an initial frame and action but differ in hidden state and required outcome. Under rule-only prompting, the best of the 11 evaluated video backends produces the required endings for both cases in 32% of pairs. For MiniMax-H3, specifying the required endings raises this rate from 32% to 64%, while the full harness reaches 92% with the same frozen model. These results support separating rule execution from video rendering for world interactions with hidden state.

Project Page | GitHub | Hugging Face | ModelScope

Introduction

Video generation has advanced rapidly, with recent models producing visually realistic videos with coherent motion [55, 59]. Building on this progress, interactive video world models condition generation on navigation signals, allowing users to move through and explore generated environments [47, 58].

Navigation control makes a generated scene explorable, but does not determine the consequences of interacting with it [47, 58]. Some video world models support richer interactions by conditioning generation on player or agent actions [76] (Vallejski et al. 2025). However, a responsive video does not by itself ensure that an action has the outcome required by the world state and rules, or that its consequences persist across later interactions [17, 62]. For example, the same action should open a locked chest only when the player holds a key, even if the initial views are identical (Figure 2). Such distinctions require semantic state to record variables such as inventory and progress, together with an addressable spatial state to preserve scene layout and camera paths across turns. While prior systems incorporate explicit state through programmable engines, learned game variables, or reconstructed NPC state [30, 40, 16], their evaluations focus on selected mechanics and do not establish whether a frozen video model can render outcomes prescribed by newly specified rules involving hidden state. Explicit state alone does not ensure that the consequence required by its rules appears in the generated video. The central challenge is therefore to make state transitions authoritative and render their consequences faithfully.

Counterfactual pairs reveal the role of hidden state

Figure 2. Counterfactual Pairs Reveal the Role of Hidden State. The two cases share the first frame I0I_0 and action ata_t but differ in the hidden flag has_key. In the illustrated failure, an unwrapped video model opens the chest in both cases, violating the rule when no key is available. The harness maintains semantic and spatial state, executes the shared rule to determine whether the chest remains locked or opens, and renders each outcome with the same frozen video model.

We present STATEFUL HARNESS, a framework that separates world evolution from video rendering to support stateful interaction under specified rules (Figure 1). It maintains an evolving world state under specified rules, renders each resulting event with a frozen video model, and uses the generated clip to update the world state for the next turn. Given a world description and an initial image, a coding agent defines the world state, available actions, and executable rules, while an editable 3D scene represents the spatial layout. The rules remain fixed as the world state evolves through user actions. At each turn, the user observes the current scene and selects an action, which the runtime resolves against the current state before rendering. The resolved event is compiled into a VisualScript instruction, and a preview clip from the updated 3D scene provides spatial and camera guidance. A frozen video model renders the event from these inputs and a visual anchor drawn from the initial image or preceding clip. A vision language model then interprets the generated clip and proposes updates to the semantic and spatial state based on the observed events. The runtime incorporates updates compatible with the fixed rules, and the resulting state determines the consequences of subsequent actions. Together, rule execution, video generation, and visual observation form a closed loop that yields state world models.

State World Models with Stateful Harness

Figure 1. State World Models with STATEFUL HARNESS. The same initial frame and action can lead to different outcomes under different world states. The harness executes predefined rules to determine the event before a frozen video model renders it, illustrated by the red and blue elemental states. The generated clip provides the visual anchor for the next turn.

To evaluate whether an action yields a visible event consistent with hidden state, we construct WorldState-Bench with a Change-to-Comply protocol. Change assesses whether the action produces a discernible event, and Comply assesses whether that event satisfies an executable rule. Each of the 50 cases comprises a counterfactual pair with the same initial frame, action, and rule program but different hidden values that require distinct outcomes. We introduce PAIRFOLLOW and PAIRSTRICT as two metrics for joint evaluation of each counterfactual pair. PAIRFOLLOW requires both clips to show their required endings, whereas PAIRSTRICT additionally requires the forbidden ending to be absent from both clips. Among eleven unwrapped video backends, the highest PAIRFOLLOW score under the Rule-only condition is 32%. For MiniMax-H3, explicitly specifying the required ending increases PAIRFOLLOW from 32% to 64%, although PAIRSTRICT reaches only 4%. With MiniMax-H3, the complete STATEFUL HARNESS framework achieves 92% PAIRFOLLOW and 90% PAIRSTRICT on the same cases. Beyond the single-turn probe, the same closed loop carries state across longer episodes, as in the multi-turn duel of Figure 6, and extends training-free to worlds whose custom rules and state are written as a new world definition.

Turn sequences on the same frozen weights

Figure 6. Turn sequences on the same frozen weights. All three rows are real harness episodes, with two adjacent frames per chunk at native aspect, each chunk headed by the video’s own banner and HUD state (stamina and quest progress at the top, affection, relationship, and mood in the middle, and arbiter HP, eve HP, and mana at the bottom). Elided turns are named on the arrows.

Related Work

World Models. World models study action-conditioned predictions [44, 24, 22]. The Genie series introduces latent actions and promptable environments [7, 48, 47], while Oasis demonstrates interaction in an open world [15]. Other systems expand scene range, streaming, and instruction following [26, 58, 68, 10] (Robbyant Team et al. 2026; DreamX Team et al. 2026), separate appearance from actions [71], use game corpora [9, 33, 21, 64, 53], or address memory and visual consistency [60, 70, 37, 29, 20]. Building on action-conditioned rendering, STATEFUL HARNESS uses executable rules to resolve each action against explicit semantic and spatial state before a frozen video model renders the resulting event.

Geometric Control of Video Generation. Camera-conditioned systems inject trajectories through learned pose or motion representations [57, 66, 25 Xu] et al., 2024, Bahmani et al., 2025). Other methods reconstruct geometry for training-free control [27] or use boxes, source videos, and reference clips [39, 3, 32]. MoGe4D generates trajectories over recovered geometry [74]. The STATEFUL HARNESS uses a related interface to carry an editable scene across turns, with rule execution determining which spatial edits and semantic events are sent to the renderer.

Explicit State and Rules. Rules can be searched as generative objects or compiled from language [50, 13, 28]. PWM couples an engine and a 3D oriented-box representation with conditioning at the pixel level [30]. Code World Model compiles a code-maintained state into proxy video and fine-tunes its renderer [11]. Other work generates rule code without a video renderer [35], recovers state from generated frames [16], or conditions generation on selected state variables [40, 43, 76]. Narrative and character state can also be generated together [36, 12]. We combine a persistent editable scene, a semantic state ledger, and the standard reference inputs of a frozen renderer. This combination is minimal: new rule-governed worlds reduce to a small typed program, no engine or fine-tuning. Table 12 compares these interfaces and evaluation protocols.

State representationControl interfaceSpatial stateEvaluation
PWM [30]engine and 3D OBB IRcustom pixel-level conditioningper-segment signalcombat count/death
CWM [11]coding-agent code and proxy videofine-tuninggeometry constraint (proxy)qualitative adherence
WorldMind [16]recovered from framesWan backendrecovered from pixelshuman preference
Unbounded [36]character-life variableslanguage routernone (2D narrative)user study (20 raters)
Oursledger + VisualScript IR + clay modelnative ref. + compiled textpersistent scene assetChange→Comply twins

Table 12. Positioning against concurrent explicit-state systems. “Native ref.” denotes the standard reference inputs of a frozen model.

World Modeling Evaluation. Most existing benchmarks measure visual quality, prompt adherence, navigation, subject actions, event editing, and perspective changes (Ying et al., 2026, Xu et al., 2026b,a, Zhao et al., 2026, Ding et al., 2026, Fang et al., 2026, Yang et al., 2026). Camera and geometry states can be tracked or remembered [45, 70, 37]. These measurements are valuable for navigability and continuity, but they do not directly test whether identical images and actions produce different rule-mandated outcomes when only hidden state changes. Concurrent work tests whether a shell-game arrangement is retained in the model’s internal state across a swap chain [51]. WorldState-Bench instead keeps the hidden state in an explicit rule program and tests whether the mandated outcome is executed in rendered video. Benchmarks inside executable games can compare behavior with engine state [23, 4, 38, 46, 34, 42], but require an existing game or simulator. WorldState-Bench supplies an explicit rule program and tests its consequences in generated video.

Method: The Stateful Harness

Framework Overview. A video model can depict an interaction, but a generated clip alone does not specify which changes should persist or whether those changes satisfy the rules of the world. Figure 2 shows how identical frames and actions require different outcomes when the hidden state differs. Inspired by the role of LLM harnesses, we place a stateful runtime around a frozen video model to separate rule execution, visual realization, and observation of the generated result.

Given a world description and an initial image, a coding agent constructs an executable game definition containing the state schema, available actions, rules, events, goals, and visual semantics. The harness initializes a semantic ledger and an editable 3D scene, while the game definition remains fixed throughout the episode. At each turn, the user observes the current scene and selects an action, which the runtime resolves against the current state and rules to determine the event and provisional state. The resolved event is compiled into a VisualScript instruction, and a preview clip from the updated 3D scene provides spatial and camera guidance. A frozen video model generates the next clip from these inputs and a visual anchor drawn from the initial image or preceding clip. A vision language model then interprets the generated events and proposes updates to the semantic and spatial state. The runtime checks these proposals against the fixed rules and incorporates compatible updates into the world state used to resolve the next action. The final frame also becomes the visual anchor for the next generation step. Together, rule execution, video generation, and visual observation form a closed loop that couples explicit world state with a frozen video model, yielding a state world model. Figure 3 illustrates world construction and the rule to render path.

The Stateful Harness

Figure 3. The STATEFUL HARNESS. In Stage 0, a coding agent constructs an executable game definition specifying the state, actions, rules, events, goals, and visual semantics. In Stage 1, the runtime evaluates the rules, updates the state, and determines the event and goal status for each action. The resolved event is compiled into an instruction for the frozen video model VθV_{\theta}. Visual observations of the generated clip inform the state used in the next turn. Adaptation to a new game changes the game definition while retaining the shared runtime and video model weights.

We represent the evolving world state as st=(zt,ut)∈Ssem×Ssps_t = (z_t, u_t) \in\mathcal{S}_{\mathrm{sem}} \times\mathcal{S}_{\mathrm{sp}}. The semantic component ztz_t records resources, entity attributes, progress, attitudes, and terminal status that may be invisible in the current frame. The spatial component utu_t records an editable entity layout, scale, and camera path. A fixed rule program R\mathcal{R} determines which events an action permits and which state changes those events require. The harness updates the world state through a closed loop,

st+1=HR(st,at,ot+1).(1)s_{t+1} = \mathcal{H}_R(s_t, a_t, o_{t+1}). \tag*{(1)}

Here ot+1o_{t+1} denotes observations extracted by a vision language model from the generated clip, and HR\mathcal{H}_R combines rule execution with compatible updates derived from these observations. The next state therefore incorporates both the consequences of the action and feedback from the generated video under the fixed rules RR. The visual anchor ftf_t is initialized from the supplied image and subsequently updated from the final frame of each clip.

Stage 0: World Construction

World construction produces an executable game definition, an initial frame, a semantic ledger, and an editable spatial scene. The game definition fixes the rules for an episode, whereas the ledger and scene change as interactions unfold.

Executable Rules. From the world description, a coding agent writes the game definition in a small typed language. Each rule has a guard that reads the current state and action, and an effect that specifies ledger updates, spatial edits, and an event. Goal conditions inspect the ledger to determine whether an episode has ended. The agent validates and freezes the definition before interaction begins. In the counterfactual benchmark, both members of a pair share this definition.

Initial Frame and Spatial State. The benchmark supplies an audited first image shared by each counterfactual pair. For a new world, setup accepts a supplied image. A feed forward geometry model lifts the image into instance boxes and initializes u0u_0 as an untextured, editable 3D scene with a ground plane and labeled cuboids. We call this scene the clay model. Its explicit geometry supports object edits and procedural camera previews across turns.

Semantic State. The ledger is a serializable record of typed fields for resources, entity attributes, progress counters, attitudes, and terminal status. A twin specification declares the theme, twin identifier, and seeds. The initializer assigns different hidden values zA≠zBz_A \ne z_B while preserving the same first frame and spatial layout. The rules therefore require different outcomes for the same visible action, even though rendering remains stochastic.

Stage 1: State Evolution and Video Generation

A turn begins when the user selects an action ata_t after observing the current scene. In open interaction an intent agent can map a user instruction to a structured action. The runtime first settles the rule governed outcome, then compiles and renders it, and finally observes the generated clip for changes relevant to the next turn. This order gives fixed rules authority over action consequences while allowing generated events to inform the evolving world state.

Rule Settlement. The rule program evaluates its guards against sts_t and ata_t before video generation. It produces a provisional semantic state zˉt+1\bar{z}_{t+1}, a rule event ete_t, and a spatial edit script ϵt\epsilon_t. The edit script may add, move, or remove a box or change the camera path. The provisional spatial state is obtained by applying these edits to the clay model.

(zˉt+1,et,ϵt)=τR(st,at),uˉt+1=apply⁡(ut,ϵt),sˉt+1=(zˉt+1,uˉt+1).(2)(\bar{z}_{t+1}, e_t, \epsilon_t) = \tau_R(s_t, a_t), \qquad\bar{u}_{t+1} = \operatorname{apply}(u_t, \epsilon_t), \qquad\bar{s}_{t+1} = (\bar{z}_{t+1}, \bar{u}_{t+1}). \tag*{(2)}

An optional neural kernel ρ\rho may propose dialogue or freeform narration for the settled event. Schema validation, value clamping, bounded retry, and fallback to the rule defined default constrain its proposals to the allowed set At(s,a)\mathcal{A}_t(s,a). Thus the gated kernel G∘ρ\mathcal{G} \circ\rho satisfies

Supp⁡((G∘ρ)(⋅∣s,a))⊆At(s,a).(3)\operatorname{Supp}((\mathcal{G} \circ\rho)(\cdot\mid s,a)) \subseteq\mathcal{A}_t(s,a). \tag*{(3)}

The proposal may vary how an allowed event is expressed but cannot change the rule mandated transition in Eq. (2).

Spatial Guidance. The runtime applies ϵt\epsilon_t to the clay model before rendering so that the preview represents the provisional spatial state. A procedural camera program renders this into a preview clip rtr_t, which is an editable representation of layout and cameras rather than the final appearance.

Instruction Compilation. The VisualScript compiler translates the settled state and event into a typed visual script with slots for actor, action, target, reaction, dialogue, effects, end state, and shots. A fixed compiler maps this record to the text instruction ptp_t, so identical inputs produce identical instructions. The text carries semantic facts that an orient stream cannot express, while the preview supplies layout and camera guidance. The instruction identifies the preview as a spatial reference to discourage the backend from reproducing its clay appearance.

Frozen Video Rendering. The video model receives the instruction as text, the preview clip as video reference, and the visual anchor ftf_t as image reference. It generates a clip vt+1v_{t+1} depicting the settled event, and the last frame becomes the anchor for the next turn.

(pt,rt)=C(zˉt+1,uˉt+1,ϵt),vt+1=Vθ(pt,rt,ft),ft+1=last⁡(vt+1).(4)(p_t, r_t) = \mathcal{C}(\bar{z}_{t+1}, \bar{u}_{t+1}, \epsilon_t), \qquad v_{t+1} = V_{\theta}(p_t, r_t, f_t), \qquad f_{t+1} = \operatorname{last}(v_{t+1}). \tag*{(4)}

The model weights remain frozen, and the runtime uses the stock text, image, and video reference interfaces of a compatible backend. Normal operation makes one generation request per turn, with bounded retries for transient errors. On a scene change, the anchor chain can be reset and appearance information is carried in the instruction instead.

Visual Observation and State Update. A vision language model examines the generated clip together with the settled event and provisional state. It identifies visible events and proposes changes to semantic or spatial fields that the video makes observable. The runtime admits a proposed change only when it is well formed and compatible with the fixed rule program. A visual detail may therefore become part of the next state, while an apparent event that contradicts the settled outcome is recorded as a rendering inconsistency and cannot overturn that outcome. We express this step as

ot+1=Oψ(vt+1,sˉt+1,et),st+1=UR(sˉt+1,ot+1),(5)o_{t+1} = O_{\psi}(v_{t+1}, \bar{s}_{t+1}, e_t), \qquad s_{t+1} = U_R(\bar{s}_{t+1}, o_{t+1}), \tag*{(5)}

where OψO_{\psi} proposes observations and URU_R validates and incorporates permitted updates. The next action is evaluated against st+1s_{t+1}, closing the interaction loop without changing the rules RR. The counterfactual evaluation in this paper tests rendered compliance.

Benchmark: WorldState-Bench

Overview. Existing benchmarks evaluate visual quality, prompt adherence, navigation, subject actions, event editing, and camera or geometric consistency (Ying et al., 2026, Xu et al., 2026b,a, Zhao et al., 2026, Ding et al., 2026, Fang et al., 2026, Yang et al., 2026, Nam et al., 2026). These evaluations do not directly isolate whether a change in hidden state produces the distinct visible consequence prescribed by an executable rule. Benchmarks based on executable games assess behavior conditioned on state provided by existing engines [23, 4, 38, 46, 34, 42]. Worlds initialized from a description and an image lack this predefined engine state. To evaluate such worlds, WorldState-Bench uses counterfactual pairs with identical visible inputs, different hidden values, and expected outcomes determined by an executable rule before generation. Joint evaluation of each pair tests whether both required outcomes are rendered correctly under the corresponding hidden states.

We formalize this with the Change-to-Comply protocol. Change assesses whether an action produces a discernible event beyond camera motion. Comply assesses whether the event satisfies the rule for the specified hidden state. This separates the absence of an event from the generation of an event that contradicts the rule. The primary metrics quantify Comply, while clips with no discernible event or unjudgeable content are recorded as UNCLEAR and receive no credit.

Counterfactual Hidden-State Pairs. Each case contains two counterfactual instances, A and B, that share the same first frame and action script. They differ in one hidden value ϵA≠ϵB\epsilon_A \ne\epsilon_B that is not observable in the shared frame. The same rule program requires different visible endings for the two instances. A correct ending in an isolated clip does not establish sensitivity to hidden state, whereas identical endings across a pair necessarily violate the required outcome for at least one instance. We therefore count a pair as compliant only when both clips show their required endings. A stricter criterion additionally requires the forbidden ending to be absent throughout both clips.

Case Construction. The benchmark comprises 50 cases drawn from 49 hidden variables and 21 scenario themes. Hidden values select which object, character, or elemental form carries the effect. Each hidden variable must be unobservable in the first frame and must select rule branches with visibly different outcomes. FLUX.2 [5] generates the shared first frame at 1280×720, and each frame is audited for visual cues that reveal the hidden value. This audit forms part of benchmark construction. Authors specify each case program in a typed language that determines the initial states, required endings, and fixed choice judging questions. The harness executes the same rules used to derive the expected outcomes, so the evaluation measures whether the generated videos depict these outcomes.

We compile two instruction conditions from each case specification. Rule-only provides the original case instruction, hidden value, selected rule branch, and action. Rule+end additionally specifies the required terminal outcome in an explicit final state sentence. Table 1 reports results under these conditions, while the harness uses the VisualScript instruction described in § 3.2.

Table 1: Main results on WorldState-Bench under Rule-only instructions (Track A) and Rule+end instructions (Track B). Bold indicates the best result and underline the best among the unwrapped baselines. The highlighted row reports STATEFUL HARNESS with text and first-frame reference inputs. Rows within a track share the probe, first frame, and judge. The matched comparison for the highlighted row is the same backbone under the Rule+end probe (Appendix Table 4).

BackendA. Rule-only probeB. Rule+end probe
ENDFOLLOW↑PAIRFOLLOW↑TWINCONTRAST↑STRICT↑CNTABSENT↑PAIRSTRICT↑
Image-to-video generators
Wan2.2 A14B (Wan et al., [55])65 %32 %38 %54 %63 %26 %
LongCat-Video 13.6B (LongCat Team et al., [41])47 %8 %24 %46 %62 %8 %
HunyuanVideo 1.5 (Wu et al., [59])57 %20 %26 %29 %30 %4 %
MiniMax-H3 (Chen et al., [10])66 %32 %32 %29 %30 %4 %
Interactive world models
LingBot-World v2 (Robbyant Team et al., 2026)48 %16 %38 %44 %76 %14 %
Echo-WM Flash (Zhang et al., [73])57 %26 %42 %43 %60 %8 %
FantasyWorld (Dai et al., [14])34 %8 %30 %35 %81 %8 %
AlayaWorld (AlayaWorld Team et al., 2026)37 %12 %28 %33 %85 %6 %
InSpatio-World (InSpatio Team et al., 2026)19 %2 %14 %17 %92 %4 %
Astra (Zhu et al., [76])11 %0 %14 %16 %96 %0 %
HY-WorldPlay (Sun et al., [52])9 %0 %4 %7 %94 %0 %
STATEFUL HARNESS96 %92 %96 %95 %98 %90 %

Table 1.

Judging. We use the multimodal Qwen3.8-27B-VL (Yang et al., [64]) to answer fixed choice questions from sampled video frames. The questions identify the ending shown and determine whether the forbidden outcome appears at any point in the clip. At the clip level, ENDFOLLOW requires the prescribed ending, CNTABSENT requires the absence of the forbidden outcome, and STRICT requires both conditions. At the pair level, PAIRFOLLOW and PAIRSTRICT require both clips to satisfy ENDFOLLOW and STRICT, respectively. TWINCONTRAST records whether the judged endings differ between the two clips. The judge receives the expected outcomes for the relevant rule branch, but neither the hidden variable nor the rule text.

Experiments

Experiment Setup

The rule compliance experiments use the 50 counterfactual pairs in WorldState-Bench, with 100 clips for individual evaluation and 50 pairs for joint evaluation (§ 4). Each backend generates one clip of a few seconds per action at its native resolution and frame rate. Clips contain 77 to 128 frames at 15 to 24 fps, with resolutions from 592×336 to 1280×720. The harness generates clips at 864×480 and 24 fps. We evaluate eleven existing backends without additional training or fine-tuning (Table 1). Four image-to-video generators receive instruction text and the initial frame, namely Wan2.2 (Wan et al., [55]), LongCat-Video (LongCat Team et al., [41]), HunyuanVideo 1.5 (Wu et al., [59]), and MiniMax-H3 (Chen et al., [10]). Seven interactive world models receive inputs through their standard action interfaces, namely LingBot-World v2 (Robbyant Team et al., 2026), Echo-WM Flash (Zhang et al., [73]), FantasyWorld (Dai et al., [14]), AlayaWorld (AlayaWorld Team et al., 2026), InSpatio-World (InSpatio Team et al., 2026), Astra (Zhu et al., [76]), and HY-WorldPlay (Sun et al., [52]). The Qwen3.8-27B-VL judge evaluates frames sampled at 3 fps together with the final frame. Generation and judging use eight A800 80 GB GPUs.

Results on WorldState-Bench

Under Rule-only prompting, MiniMax-H3 achieves 66% ENDFOLLOW and 32% PAIRFOLLOW, while Wan2.2 achieves 65% and 32%, respectively (Table 1). The lower joint accuracy indicates that correct outcomes in individual clips do not imply compliance across both hidden states. Astra, HY-WorldPlay, and InSpatio-World achieve less than 20% ENDFOLLOW despite high CNTABSENT scores. These results indicate that the absence of forbidden content can coincide with failure to generate the required event. Explicit outcome instructions under the Rule+end probe (Track B) improve ENDFOLLOW for several backends but do not establish reliable joint compliance. The highest unwrapped PAIRSTRICT score is 26% for Wan2.2, while MiniMax-H3 reaches only 4% PAIRSTRICT and 30% CNTABSENT. The reported harness condition resolves each action before generation and does not use compliance judgments to select among repeated video samples.

With the same frozen MiniMax-H3 weights, the harness reaches 92% PAIRFOLLOW, 90% PAIRSTRICT, and 96% TWINCONTRAST (Table 1). In the blind human comparison, STATEFUL HARNESS is preferred in 98% of pairwise comparisons against four widely-used unwrapped baselines, with no comparison won by a baseline (Figure 5, Appendix § 10).

Human battles won by STATEFUL HARNESS

Figure 5. Human battles won by STATEFUL HARNESS

A component-chain decomposition on WorldState-Bench attributes the gain to outcome specification (+32 points) and to executed state with compiled references (+28 points), with both increments significant under paired exact McNemar tests over the 50 pairs.

Qualitative Results

Figure 4 shows counterfactual pairs in which unwrapped baselines include the forbidden outcome or reproduce an ending across both hidden states. Appendix Figures 13 and 14 show more pairs. The harness generates the distinct outcomes specified by the rules. Figure 6 illustrates how settled state changes condition subsequent generation, using three real harness episodes read through their HUDs. The three episodes span 15, 29, and 11 turns respectively, showing that STATEFUL HARNESS sustains multi-turn interaction on the same frozen weights. The episodes are also three genres: town exploration, dating narrative, and turn-based duel, each with its own state transitions and rules. Each genre is a new executable game definition on the same runtime and video model, instantiated training-free. Appendix Figures 15, 16, and 17 unroll all turns of the three episodes.

Rendered twin cases under the two probes

Figure 4. Rendered twin cases under the two probes. Each cell contains four evenly spaced frames from a 5 s clip. A ✓ indicates that only the required ending appears, while a × indicates forbidden content or a missing required ending. The illustrated baselines reproduce the same ending across a pair or include forbidden content, whereas the harness generates the distinct required outcomes.

Additional Experiments

External Benchmark. Table 2 compares the twenty models reported by Ying et al. [69] and their class averages with two configurations using frozen MiniMax-H3 weights. These configurations use the official text protocol and the full harness with the spatial preview video, respectively. Video quality (78.0) and physical plausibility (68.8) are close to the corresponding class averages for text-driven models (77.4 and 66.9). Setting adherence increases from 71.1 under the official protocol to 87.2, and the interaction score of 77.7 is the highest reported in the comparison.

Metric groupText-drivenCamera-controlledAction-conditionedOurs
Seedance 1.5Wan 2.7Kling 3.0YUME 1.5HY-Video 1.5LTX 2.3LongCat-VideoKairos 3.0Cosmos 2.5H3 (official)AverageLingBot-WorldHY-World 1.5Fantasy-WorldInSpatio-WorldAstraAverageHappy OysterMatrix-Game 3.0Genie 3Matrix-Game 2.0HY-GameCraftInfinite-WorldAverageOurs
Video quality (6)82.081.080.077.676.777.077.273.171.777.977.478.978.172.471.567.173.677.375.575.273.873.077.075.378.0
Setting (2)82.991.491.072.485.685.272.370.383.371.181.672.672.271.371.459.669.474.263.672.567.166.669.368.987.2
Interaction (4)67.971.772.848.254.649.044.841.443.268.954.8–––––––––––––77.7
Consistency (8)79.975.883.980.987.578.186.683.286.383.882.589.986.986.488.473.385.084.374.582.665.172.680.076.577.8
Physical (2)68.271.669.265.467.165.168.460.567.069.366.971.266.366.865.251.464.263.559.365.757.262.462.161.768.8

Table 2. WBench averages for the twenty models of Ying et al. [69] plus our two entries (excluded from class averages). Text entries use the full split, camera/action the navigation split. Gray indicates class averages, and “–” denotes undefined values.

Channel Ablation. Table 8 compares reference channel configurations while holding the video model weights fixed. First-frame anchoring raises the full split from 74.2 to 76.1 and setting adherence from 71.1 to 89.6, and adding the control video reaches 79.0 on navigation with interaction rising from 69.0 to 77.7, consistent with the preview’s camera guidance. Consistency dips from 83.8 to 75.3 and recovers to 77.8. Supplying the same control video under the raw text protocol yields 67.1 on the full split, improving camera trajectory scores. This transfer of the preview’s geometry and appearance into the output motivates instructions that specify how the reference should be interpreted. Thirty generated clips illustrates this effect: clay appearance arises when the instruction does not identify the reference as a layout preview (§ 3.2). On our benchmark, the same frozen weights under the full harness improve every metric in Table 1 over the raw baseline of its track by 30 to 86 points: EndoFollow from 66 to 96, PairFollow from 32 to 92, TwinContrast from 32 to 96, and PairStrict from 4 to 90.

ConfigurationNavigation OverallFull split Quality↑Setting↑Interaction↑Consistency↑Physical↑Overall↑
H3 (raw text protocol)74.777.971.168.983.869.374.2
H3 (raw text protocol) + control video65.779.375.355.767.158.267.1
H3 + harness, first-frame reference76.877.689.669.075.369.076.1
Stateful Harness79.078.087.277.777.868.877.9

Table 8. Reference channel ablation on WBench with frozen MiniMax-H3 weights. The configurations compare first-frame anchoring and spatial preview conditioning, including the same preview supplied without the harness. Bold indicates the best overall score on each split.

Conclusion

Navigation control enables exploration of a generated scene. Counterfactual pairs test whether the same action produces the distinct outcomes required by different hidden states under shared rules. On WorldState-Bench, unwrapped image-to-video backends often fail this test even when the ending is specified in the prompt. The Stateful Harness separates rule execution from video rendering, with explicit semantic and spatial state determining the event depicted by a frozen video model. Visual observations of the generated clip inform the state used in subsequent interactions. With MiniMax-H3 weights held fixed, PairFollow increases from 32% under Rule-only instructions and 64% with explicit ending instructions to 92% with the full harness. These results support explicit state and executable rules for controlling stateful rendered interactions. The same recipe already sustains multi-turn episodes of 11 to 29 turns and extends to spatial triggers, where the rule program, not the renderer, absorbs the added bookkeeping.

AI Usage Statement

We used generative AI tools for manuscript writing assistance and for auxiliary tooling scripts, but not for research ideation, experiment design, or producing any reported result. AI models are also used as system components, for judging generated videos and for constructing game definitions. All AI-assisted output was reviewed by authors, who take full responsibility for the final content.

WorldState-Bench: Case Construction Details

Case Anatomy. Each case comprises five components. These components are a theme and scene description, a first frame generated by FLUX.2 at 1280×7201280 \times720, a hidden variable declaration name ∈{vA,vB}\in\{v_A, v_B\}, an action script, and rule text specifying distinct endings. Twins A/B share the theme, frame, action, and rules. They differ in the hidden value. The suite spans 21 themes (magic academy, dungeon, open-world exploration, dating, visual novel, museum, survival, escape room, sailing, farming, ranch, camping, shopkeeping, card games, board games, detective, turn-based combat, stealth, healing, cooking, and fishing) and 49 distinct hidden variables.

Hidden-Variable Families. The hidden values fall into three response types. Mechanism selection decides which object or mechanism responds (42 cases, e.g., a gate mode that raises the stone door versus a brazier mode that lights tall flames). Character response decides whether a character or creature responds instead of an object (6 cases, e.g., sheep gathering at a trough, an NPC sitting down). Form selection decides which elemental form or scene side carries the effect (2 cases, e.g., red versus blue flames, the left versus the right brazier). All are invisible in the frame by construction and by audit.

Trigger Types. Cases also differ in how the rule trigger is expressed, with cast covering verbal or ritual actions (20 clips), gesture covering physical actions (42), mechanism covering object interactions (26), and zone covering entry into or use of a spatial region (12). Zone-triggered cases are the most demanding (§ 5.2) because compliance additionally requires the render to make the zone’s state visible. This motivates the spatial channel.

Instruction Probes. Every case is evaluated under two probes compiled from the same card. Rule-only provides the original “Inputs to the video model” text from the case specification, including the scene, shared action script, rule with both branches, and the consequence of the selected branch. Rule+end appends the required terminal state using the visual vocabulary defined for the case and explicitly asks the model to maintain this final state. The difference between the two conditions measures the effect of adding an explicit terminal outcome instruction. Table 5 reports this difference for each backend.

∆STRICTLeakage-only R-only→R+EDirection err. R-only→R+ECOPYPASTE R+EBranch gap R+EPAIRSTRICT R+E
External backends
Wan2.2 A14B+920→1836→28160.2413/50
LongCat-Video 13.6B+78→853→47160.484/50
HunyuanVideo 1.5−325→3442→38360.222/50
MiniMax-H3+340→5334→18140.142/50
LingBot-World v2+59→752→49240.167/50
Echo-WM Flash+216→1043→47200.264/50
FantasyWorld+32→264→64360.104/50
AlayaWorld−22→363→63480.023/50
InSpatio-World−11→181→82720.022/50
Astra+50→089→83700.040/50
HY-WorldPlay−20→091→92820.020/50
Reference: same frozen MiniMax-H3 weights
MiniMax-H3 + first-frame reference+244→5329→18180.104/50
Harness (single probe)
STATEFUL HARNESS−1420.0245/50

Table 5. Failure diagnostics corresponding to Table 4. ∆STRICT is the difference between Rule+end and Rule-only STRICT. Leakage and direction errors are shown for both conditions in that order. Copy-paste, branch gap, and PAIRSTRICT are reported under Rule+end for 50 pairs.

First-Frame Audit. Each first frame undergoes eight rounds of VLM auditing across six dimensions to check for visible evidence of the hidden value. The dimensions are object presence, color attribution, text, spatial cues, count cues, and state cues. If the audit detects evidence of the hidden value, the frame is regenerated using a revised prompt. The audit prompts, model settings, and the regeneration log are part of the reproduction artifacts listed in Appendix § 17.

Rule Text. Rules are written in plain English with fixed sentence frames per family, e.g. “If the flame is RED, the ward shatters and the door opens. If the flame is BLUE, the ward holds and the door stays sealed.” Both rule branches specify their endings so that the DSL can derive expected outcomes directly.

Figures 7 and 8 present complete examples for the orb pair under Rule-only instructions and the sign pair under Rule+end instructions, respectively. Each example includes the audited first frame, case Rule Program and Settled State. For twin A, the hidden value is element_mode=RED_FLAME\mathrm{element\_mode} = \mathrm{RED\_FLAME}, while twin B uses BLUE_FLAME\mathrm{BLUE\_FLAME}. Neither value is visible in the first frame. The RED_FLAME\mathrm{RED\_FLAME} branch sets orb.flame:=red\mathrm{orb.flame := red} and forbids blue flames, while the BLUE_FLAME\mathrm{BLUE\_FLAME} branch sets orb.flame:=blue\mathrm{orb.flame := blue}. The ledger for twin A changes from orb.flame=none\mathrm{orb.flame = none} to orb.flame=red\mathrm{orb.flame = red} through the corresponding guarded update.

Rule Program and Settled State. For twin A, the hidden value is opening_mode=CURTAIN\mathrm{opening\_mode = CURTAIN}, while twin B uses SIGN\mathrm{SIGN}. Neither value is visible in the first frame. The CURTAIN\mathrm{CURTAIN} branch requires the curtain to open fully and forbids the upper sign from glowing red, while the SIGN\mathrm{SIGN} branch requires the sign to glow red. For twin A, the guarded update opens the curtain and preserves the unlit sign.

specification, two baseline prompts, compiled VisualScript instruction, and the rule program with its settled state.

Judging Protocol and Metric Definitions

Fixed-Choice QA. For each clip the judge answers two scored questions with fixed choices: (Q1) which ending occurs at the end of the clip, with mandated, forbidden, and unclear as the choices. (Q2) asks whether the forbidden outcome appears anywhere in the clip, with yes and no as the choices. The case program specifies both outcomes. Initial-state and action-onset questions are also recorded but excluded from the primary metrics. Answers outside the choice set or missing answers score as incorrect. Fixed answer choices constrain the output format and make verdicts reproducible. The accuracy of the judge’s visual interpretation is audited against blinded human raters in Appendix § 10.

Judge Inputs. The judge receives sampled frames, the shared scene description, the action, and the branch-specific expected outcomes. The hidden value, rule program, and expected outcome of the other instance are excluded from the judge inputs. Reproducing a verdict requires the same clips, sampled frames, questions, judge version, and inference settings. The case program fixes the expected outcomes before video generation.

Independent Validation. The blind human audits in Appendix § 10 assess clip correctness and pairwise preference independently of system identity. That appendix reports agreement between the human ratings and VLM judgments. The reported metrics are therefore produced by a fixed, versioned judge protocol and are validated against blinded human ratings on the audited subset.

Metric Definitions

All metrics are percentages. Clip-level metrics cover 100 units. An up arrow indicates that higher is better, and a down arrow indicates that lower is better.

  • ENDFOLLOW ↑\uparrow requires the final frames to depict the ending specified for that instance.

  • CNTABSENT ↑\uparrow requires the forbidden outcome, defined as the required ending for the other instance, to be absent throughout the clip.

  • STRICT ↑\uparrow (primary): ENDFOLLOW ∧\land CNTABSENT. The mandated outcome is the only salient ending shown (no contradictory outcome, no both-branch montage).

  • UNCLEAR ↓\downarrow: output unjudgeable (degenerate render, no discernible event). This is counted separately and never credited.

Pair-level metrics (over 50 pairs):

  • PAIRFOLLOW (twin-joint): both twins individually ENDFOLLOW-correct.

  • PAIRSTRICT (twin-strict, headline): both twins individually STRICT-correct (twin-joint scoring, § 4).

  • TWINCONTRAST ↑\uparrow indicates that the judged endings differ between instances A and B. This indicates that the pair is distinguishable and helps diagnose copy-paste behavior.

Probe-contrast metric: ΔSTRICT=STRICT(Rule+end)−STRICT(Rule−only)\Delta\mathrm{STRICT} = \mathrm{STRICT}(\mathrm{Rule+end}) - \mathrm{STRICT}(\mathrm{Rule-only}). This measures the effect of dictating the ending in addition to the rule instruction. Derived diagnostics (analysis only, Appendix § 11): the failure triad {direction error (wrong branch taken), leakage-only (right direction but forbidden content also shown), double error}. Branch gap =∣strictA−strictB∣= |\mathrm{strict}_A-\mathrm{strict}_B|.

Human Audit Platform and Protocols

We assess agreement between the VLM judge and human raters through audits conducted on a web platform (Appendix § 9). Each auditor receives a numeric identifier and a fixed assignment of evaluation items. The interface displays rendered clips and rule text while concealing system identities, prompts, and instruction conditions. The positions of systems in pairwise comparisons are randomized. The platform operates in two modes, mirroring the two question types of the benchmark.

Clip Verification. Seventeen cases, comprising nine Rule-only cases and eight Rule+end cases, are evaluated for both hidden states using the full harness, the frozen MiniMax-H3 baseline, and Wan2.2. This produces 102 clips for verification. For each clip, auditors answer the same two fixed choice questions used by the VLM judge. Q1 assesses whether the required ending occurs, and Q2 assesses whether the forbidden outcome appears anywhere in the clip. Both questions include an explicit “unclear” option in the human interface. Each clip receives three independent blinded ratings. Figure 9 shows the clip-verification interface.

Clip-verification interface (auditor view)

Figure 9. Clip-verification interface (auditor view). The left panel displays the required ending, forbidden outcome, and questions Q1 and Q2 with an “unclear” option. The right panel displays the clip at 2× speed. System identity and probe are hidden.

Battle Preference. Twenty-five further case pairs are held out for pairwise comparison. Each pairwise comparison evaluates the full harness against one of four baselines under Rule-only instructions, namely frozen MiniMax-H3, AlayaWorld, Echo-WM, and Wan2.2. The four clips, covering hidden states A and B for each system, play simultaneously in a grid at 2×2 \times speed. Each comparison receives two independent ratings through a forced choice between the left and right systems, without a tie option. Figure 10 shows the battle grid.

Interface for human pairwise preference evaluation

Figure 10. Interface for human pairwise preference evaluation. The required and forbidden outcomes for both hidden states appear above a grid of four videos. Auditors select the system that more accurately follows the specified rules. System positions are randomized.

Judge Validation. Under the same blind evaluation protocol, the VLM judge agrees with the human majority on 91.2 % of the 102 verification clips for Q1 and 86.3 % for Q2. Both rates approach the human reference agreement of 90.2 % and 80.7 %, respectively. The corresponding agreement coefficient is κ=0.72/0.72\kappa= 0.72/0.72. System scores show strong rank correlation with human scores on STRICT (Spearman ρ=0.94\rho= 0.94) and CNTABSENT (ρ=1.00\rho= 1.00).

Battle Results. Table 3 reports the human win rate of our full harness per opponent under forced choice. The harness is preferred in 98 % of comparisons, with rates ranging from 96 % to 100 % across baselines. No comparison favors a baseline under the aggregate decision rule, and the remaining comparisons have split auditor votes. At the individual vote level, 99.0 % of votes favor the harness, and agreement between auditor pairs ranges from 95 % to 100 %.

Opponent (Rule-only)Ours winSplit
MiniMax-H3 baseline96 %4 %
AlayaWorld100 %0 %
Echo-WM Flash100 %0 %
Wan2.2 A14B96 %4 %
All opponents98 %2 %

Table 3. Human preference for the full harness in pairwise comparisons with each baseline. Each comparison receives two ratings using randomized positions and forced choice without a tie option. The remaining comparisons contain split auditor votes, and none favors a baseline under the aggregate decision rule.

Additional Results

The Full Both-Probe Grid. Table 4 reports every metric under both instruction probes for all eleven backends, followed by the deployed harness condition. The harness is reported as a single condition: its compiler derives the rule branch and the required ending from the case program, so the compiled instruction is the same regardless of probe wording. Table 1 selects one probe per track from this grid. The grid also yields Δ\DeltaSTRICT, the difference between Rule+end and Rule-only STRICT. Pair-level comparisons in § 5.2 use exact McNemar tests over the discordant pair counts and paired bootstrap resamples (10 000 resamples) with percentile 95% intervals, taking the pair as the sampling unit. Appendix § 14 provides additional rendered examples under both instruction conditions. Appendix § 8 contains complete prompt examples.

ENDFOLLOW↑PAIRFOLLOW↑TWINCONTRAST↑STRICT↑CNTABSENT↑PAIRSTRICT↑UNCLEAR↓
Rule-only probe
Wan2.2 A14B6532384554144
LongCat-Video 13.6B478243957014
HunyuanVideo 1.5572026323661
MiniMax-H3663232262800
LingBot-World v24816383969821
Echo-WM Flash5726424156812
FantasyWorld348303275841
AlayaWorld37122835881046
InSpatio-World192141889065
Astra110141196081
HY-WorldPlay904995084
Rule+end probe
Wan2.2 A14B7248545463264
LongCat-Video 13.6B5414304662816
HunyuanVideo 1.5632632293042
MiniMax-H3826464293040
LingBot-World v251205044761428
Echo-WM Flash5316304360815
FantasyWorld3710343581844
AlayaWorld368343385644
InSpatio-World186161792467
Astra16222.41696075
HY-WorldPlay7010794082
Ours: full harness on the same frozen MiniMax-H3 weights (single probe)
STATEFUL HARNESS9692969598902

Table 4. Results under both instruction conditions on WorldState-Bench. All metrics are percentages, and pair metrics are computed over 50 pairs. The harness uses one compiled instruction, derived from the case program and independent of probe wording, that always specifies the required ending.

The three instruction conditions form a component chain on WorldState-Bench. Rule-only prompting leaves 32% of pairs jointly correct (Table 1, Track A). Supplying the required ending—a component that the harness’s compiled instruction always includes—raises this to 64% (Table 4). The full harness, which adds deterministic compilation, rule settlement, and the anchored reference channels, reaches 92% with the same frozen weights (§ 5.2). The increments attribute the gain to outcome specification (+32 points) and to executed state with compiled references (+28 points). Both are significant under the paired exact McNemar test described above (p=4.0×10−4p = 4.0 \times10^{-4} and p=2.6×10−3p = 2.6 \times10^{-3}), with paired bootstrap 95% CIs of [16, 48] and [12, 44] points. The external channel ablation mirrors the endpoints without our case grammar (Table 8: 74.2 raw text vs. 77.9 full harness overall).

Probe-Contrast Diagnostics. Table 5 supplements the aggregate results with the change in STRICT, leakage and direction errors under both instruction conditions, and copy-paste, branch gap, and PAIRSTRICT under Rule+end.

Reading the Probe Difference

Explicit outcome instructions yield the largest improvements when correct outcome selection and exclusion of forbidden content improve together. Wan2.2 A14B gains +9 with ENDFOLLOW +7, CNTABSENT +9, and a TWINCONTRAST gain of +16. Astra gains +5 points, primarily through reduced direction errors from a low initial score of 11%, while its copy-paste rate remains at 70%. LongCat-Video (+7) and LingBot-World (+5) combine reduced direction errors with stable or lower leakage. FantasyWorld gains +3 points through improved exclusion of forbidden content, with CNTABSENT increasing from 75 to 81. For HunyuanVideo 1.5, improved ending accuracy is accompanied by increased leakage from 25 to 34, and the highest value among the external backends, resulting in a negative ΔSTRICT\Delta_{\mathrm{STRICT}}. The four backends with negative ΔSTRICT\Delta_{\mathrm{STRICT}}, HunyuanVideo 1.5, AlayaWorld, InSpatio-World, and HY-WorldPlay, have copy-paste rates ranging from 36% to 82%. These results indicate that explicit ending instructions do not reliably produce distinct outcomes across hidden states or exclude contradictory content. The mean ΔSTRICT\Delta_{\mathrm{STRICT}} over the other ten backends is +2.3 points (six rise, four fall), consistent with § 5.2. Figure 11 reports the eleven differences, with the dashed line indicating the mean across the ten backends excluding MiniMax-H3.

Change in $\Delta_{\mathrm{STRICT}}$ from Rule-only to Rule+end for eleven backends

Figure 11. Change in STRICT from Rule-only to Rule+end on WorldState-Bench (Table 5). Among the ten backends other than MiniMax-H3, six improve (green) and four decline (red). MiniMax-H3 (blue) provides the frozen weights used by the harness, and the dashed line indicates the mean change of +2.3 across the other ten backends.

Failure Modes. The diagnostics identify three recurring failure patterns. Copy-paste. Under Rule+end, identical verdicts occur for both instances in 82% of HY-WorldPlay pairs, 72% of InSpatio-World pairs, and 70% of Astra pairs. Their TWINCONTRAST scores range from 10% to 22%, indicating limited differentiation between the paired outcomes. Direction Failure. Astra and HY-WorldPlay have direction error rates of 89% and 91% under Rule-only instructions, despite CNTABSENT scores of 96% and 95%. The generated clips often exhibit limited state change, so the absence of forbidden content alone does not establish compliance. Leakage. HunyuanVideo 1.5 depicts forbidden content together with the required ending in 25% of clips under Rule-only instructions. This increases to 34% under Rule+end, the highest rate among the external backends. The harness reduces all three error types (Table 6).

ConditionSpatial ref.COPYPASTETWINCONTRASTDirection err.Leakage-onlyBranch gap
Rule-onlynone34.032.034.040.00.20
Rule+endnone14.064.018.053.00.14
Rule-onlyfirst frame30.046.029.044.00.14
Rule+endfirst frame18.066.018.053.00.10
Harnessnone0.096.06.05.00.02
Harnessfirst frame2.096.04.01.00.02

Table 6. Counterfactual pair diagnostics for MiniMax-H3 under different spatial reference configurations. All values are percentages computed over 50 pairs. The deployed configuration uses a first-frame reference.

Twin Diagnostics by Spatial Reference. Table 6 reports the twin-mechanism diagnostics where both twins are generated under identical conditions (MiniMax-H3 single-clip runs), for both spatial-reference settings. With the deployed first-frame reference, the harness reduces copy-paste from 30% to 2% and increases TWINCONTRAST from 46% to 96%. The text-only configuration has no copy-paste errors but higher direction error (6% versus 4%) and leakage (5% versus 1%), with the same TWINCONTRAST and branch gap.

Interpretation. For the unwrapped MiniMax-H3 baseline, the reported direction, leakage, and double-error diagnostics are not mutually exclusive and should not be summed. Under Rule+end prompting, direction errors fall from 34% to 18%, while leakage rises from 40% to 53%. This combination helps explain why PAIRSTRICT remains at 4% despite higher ENDFOLLOW. Figure 12 compares PAIRSTRICT and TWINCONTRAST. The harness achieves higher scores on both metrics than the evaluated unwrapped backends.

PAIRSTRICT and TWINCONTRAST under Rule+end instructions

Figure 12. PAIRSTRICT and TWINCONTRAST under Rule+end instructions (Table 4). Distinct endings do not necessarily imply strict compliance. The harness, marked by a star, achieves high scores on both metrics.

Per-Trigger-Type Harness Performance. For the deployed first-frame-reference harness, the reported strict / pair-strict scores are 100.0% / 100.0% for cast (20 clips), 95.2% / 90.5% for gesture (42), and 92.3% / 84.6% for mechanism (26). The 12 zone-triggered clips achieve 91.7% STRICT and 83.3% PAIRSTRICT, corresponding to 11 of 12 clips and 5 of 6 pairs. This family has the lowest text-only STRICT score of 66.7% and the largest improvement from the first-frame reference. The twin diagnostics in Table 6 further separate the remaining errors into three types under both spatial-reference settings.

WBench External Evaluation: Per-Metric Grid and Channel Ablation

WBench (Ying et al., [69]) offers an external evaluation of video quality, setting, interaction, consistency, and physical behavior. Table 7 reproduces its reported per-metric scores for the twenty models of the original release and adds our two entries as columns. We evaluate frozen MiniMax-H3 under the official text protocol and the full harness with the spatial preview video using the released evaluation pipeline. Table 2 reports aggregate scores, and Table 7 reports individual metrics. § 5.4 analyzes the reference channel ablation, with additional details provided below. LingBot-World and Astra appear both in the published WBench table and in our unwrapped WorldState-Bench evaluation, and the harness comparison reported here deploys MiniMax-H3 as its frozen backbone.

GroupMetricText-drivenCamera-controlledAction-conditionedOurs
Seedance 1.5Wan 2.7Kling 3.0YUME 1.5HY-Video 1.5LTX 2.3LongCat-VideoKairos 3.0Cosmos 2.5H3 (official)AverageLingBot-WorldHY-World 1.5Fantasy-WorldInSpatio-WorldAstraAverageHappy OysterMatrix-Game 3.0Genie 3Matrix-Game 2.0HY-GameCraftInfinite-WorldAverage
Video QualityAesthetic59.759.661.359.361.956.964.758.460.163.160.266.960.163.064.448.660.656.646.451.654.052.658.753.359.1
Imaging69.868.167.765.767.462.369.863.667.266.266.867.965.462.867.652.563.263.970.059.360.358.766.163.164.6
Flickering93.493.094.594.895.594.194.996.396.096.294.794.193.595.896.096.095.194.086.395.094.693.794.193.095.7
Dynamic98.399.389.986.168.894.459.763.542.473.778.066.291.149.026.179.662.494.297.592.494.996.882.893.185.5
Smoothness97.696.597.997.798.896.897.797.998.398.697.796.998.197.998.897.797.997.095.497.898.297.698.097.398.6
HPSv3-Norm72.969.468.862.067.557.776.358.865.969.866.681.460.565.876.128.062.458.357.155.241.038.362.352.064.2
Average82.081.080.077.676.777.077.273.171.777.977.478.978.172.471.567.173.677.375.575.273.873.077.075.378.0
SettingScene71.688.389.053.177.581.353.152.272.454.370.951.653.552.451.743.450.557.448.961.149.450.654.053.687.9
Subject94.294.692.991.793.689.291.588.594.287.992.393.690.890.191.175.988.391.178.483.884.982.584.584.286.5
Average82.991.491.072.485.685.272.370.383.371.181.672.672.271.371.459.669.474.263.672.567.166.669.368.987.2
InteractionNavigation66.364.469.471.471.466.462.164.163.168.966.580.186.871.973.266.975.884.983.673.480.366.375.477.377.7
Event Editing80.484.081.457.863.853.050.446.848.277.662.9––––––––––––81.8
Subject Action80.083.485.647.055.651.848.441.441.674.359.4––––––––––––85.8
Persp. Switching45.055.055.016.727.625.018.313.320.070.530.7––––––––––––…
ConsistencyBackground89.689.592.792.092.489.394.791.892.389.491.696.992.794.295.085.392.891.485.790.786.986.588.888.390.3
Spatial72.771.075.271.579.270.283.376.878.196.575.392.790.680.693.864.784.577.871.079.964.560.574.973.174.8
Gated Spatial72.471.075.171.475.170.266.262.074.391.370.967.184.964.266.563.369.275.880.478.464.560.574.472.374.5
Segment92.465.692.799.993.377.898.694.193.188.990.399.4100.0100.0100.086.997.296.289.893.621.099.4100.083.362.6
Perspective62.762.276.848.086.669.881.576.384.381.572.090.962.579.872.530.067.175.013.354.529.217.933.837.360.2
Subject89.388.788.589.491.586.792.490.791.878.389.393.589.192.594.483.590.695.380.090.487.282.688.487.288.4
Geometric83.582.689.491.194.481.194.791.594.258.389.295.492.095.397.385.693.187.276.888.686.188.394.388.790.3
Photometric76.775.580.484.181.479.481.582.182.180.480.483.383.184.887.487.585.279.875.384.581.385.085.181.781.2
Average79.775.883.980.987.578.186.683.286.383.882.589.986.986.488.473.385.584.374.582.665.172.680.076.577.8
PhysicalCausal Fidelity76.083.378.072.775.074.076.062.774.741.974.777.774.074.067.348.368.869.364.771.759.368.367.066.780.1
Visual Plausibility60.559.860.458.159.356.260.858.259.379.659.264.858.659.763.154.660.257.654.059.755.056.557.256.757.5
Average68.271.669.265.467.165.168.460.567.069.366.971.266.366.865.251.464.263.559.365.757.262.462.161.768.8

Table 7. WBench per-metric grid, scores as reported by Ying et al. [69] (gray = class average). Our two configurations are excluded from the class averages. Their dimension averages correspond to the leaderboard scores in Table 2. For our entry, the Interaction average is the official leaderboard value and is not the mean of the sub-scores shown.

Channel Ablation Details

The WBench ablation in § 5.4 holds MiniMax-H3 weights fixed across four configurations. These comprise the official text protocol, the harness with first-frame anchoring, the harness with a spatial preview video, and the raw text protocol with the same preview video. Table 9 reports the dimensions contributing to the navigation score in Table 8. The interaction column corresponds to camera trajectory, which is the only interaction metric defined for this split.

ConfigurationQUALITY↑\uparrowSETTING↑\uparrowNAV. TRAJ.↑\uparrowCONSISTENCY↑\uparrowPHYSICAL↑\uparrowOVERALL↑\uparrow
H3 (raw text protocol)77.572.768.985.069.474.7
H3 (raw text protocol) + control video73.353.079.364.858.065.7
H3 + harness, first-frame reference79.591.569.075.069.076.8
STATEFUL HARNESS80.189.177.779.268.879.0

Table 9. Navigation split dimensions for the reference channel ablation using frozen MiniMax-H3 weights and WBench leaderboard scores. The interaction column is the navigation trajectory metric.

The navigation split exhibits the same overall pattern as the full split, with larger differences between configurations. First-frame anchoring increases setting adherence from 72.7 to 91.5 and the overall navigation score to 76.8. It also reduces consistency from 85.0 to 75.0, with little change in camera trajectory (68.9 to 69.0). Adding the control video increases camera trajectory from 69.0 to 77.7 and the overall navigation score to 79.0. Consistency improves by 4.2 points, from 75.0 to 79.2. Video quality increases across the three configurations from 77.5 to 79.5 to 80.1, while physical plausibility remains within 0.6 points of the raw text configuration. The raw text protocol with the control video obtains the highest camera trajectory score of 79.3 but an overall navigation score of 65.7. Its setting adherence (53.0), consistency (64.8), and physical plausibility (58.0) are all below the raw text configuration without the preview. These results are consistent with the observed reproduction of preview geometry when the instructions do not specify how the spatial reference should be interpreted.

Scope. The harness bundles settlement, the VisualScript compiler, the anchor latch, and the reference channels, so this ablation isolates the reference channel under a fixed harness. The complementary decomposition holds the backend fixed and varies the instruction and state components, and is read off Table 1 together with Appendix Table 4 (§ 5.2).

Additional Qualitative Examples

Figure 4 presents two counterfactual pairs in the main text. This appendix includes seven additional pairs, with four pairs shown per instruction condition because the orb pair also appears under Rule+end. The examples illustrate differences between the unwrapped baselines and the full harness. The layout follows Figure 4, with the shared first frame and rule shown for each pair. Each cell contains four frames sampled uniformly from a five-second clip. The verdict markers follow the protocol used in Table 1, with ✓ indicating only the required ending and × indicating forbidden content or a missing required ending. Baselines receive the corresponding instruction condition, while the harness uses the same frozen MiniMax-H3 weights with its compiled instruction.

Figure 13 covers the Rule-only probe and Figure 14 the Rule+end probe. Two recurring baseline failure patterns are visible. In some examples, the rendered ending does not vary with the hidden state. Under Rule-only instructions, all three baselines produce red broth in both instances of one pair, violating the required outcome for one instance. Under Rule+end instructions, MiniMax-H3 activates the magic pillar in both instances of another pair. Other examples include visual content associated with the opposite hidden state. Echo-WM generates the orb with the color required for the other instance before the action resolves, and LingBot depicts the card flipping while also showing flames. The harness receives the resolved event through the compiled instruction and depicts only the required ending in all sixteen illustrated clips. The sign-panel pair in the third group of Figure 14 also illustrates differences in visual legibility under Rule+end instructions. The baselines produce malformed text, whereas the harness preserves the dark sign or generates cursive lettering according to the required outcome.

Four additional twin pairs under the Rule-only probe

Figure 13. Four additional twin pairs under the Rule-only probe, in the format of Figure 4 (badge conventions as there). The harness depicts only the required ending in all eight illustrated clips.

Four twin pairs under the Rule+end probe

Figure 14. Four twin pairs under the Rule+end probe, same format as Figure 13. The harness depicts only the required ending in all eight illustrated clips.

Figure 15 unrolls the first real episode (Case A of Figure 6) act by act: all fifteen acts plus the ending card, two frames per act at native aspect, each header carrying the Traveler HUD state read at the act’s first frame. The stamina gauge drains from 28 to 0 as the walk proceeds, the status line switches to “Exhausted — slow walk only”, and rest restores it to 60 before the walk resumes. A second drain-and-recovery cycle follows on the way to the backstage door, while the quest counter advances only forward, from 1/3 through 2/3 to 3/3, and the location line moves from the sunlit street through the cobblestone square to the dim backstage corridor. Figure 16 unrolls the second real episode (Case B of Figure 6) the same way: all twenty-nine turns plus the confession-accepted ending, two frames per turn at native aspect. The affection counter rises monotonically from 47 to 75, one point per turn. The relationship state flips from friends to flirting at turn 14 and to lovers at turn 29, the mood starts shy and settles to happy, and the closing confession is accepted only after this accumulated state. Figure 17 unrolls the third real episode (Case C of Figure 6) turn by turn: all eleven turns of the boss duel plus the victory screen, two frames per turn at native aspect, each header carrying the in-video HUD state read at the turn’s first frame. The three attack skills cycle — Forbidden Scripture: Falling Red Sun (heavy fire), Paradox: Zero-Degree Stigma (ice, shield-shattering), Oracle: First Sentence (costless arcane) — the defensive Gate of the End is played at turn 8, and the final Falling Red Sun takes the arbiter from 6 to 0 between turns 10 and 11.

The full fifteen-act town-exploration episode

Figure 15. The full fifteen-act town-exploration episode of Figure 6 (Case A), released video of our harness on frozen MiniMax-H3. Two frames per act (native 16:9), with headers giving the act and the Traveler HUD (stamina, status, quest progress) at the act’s first frame. Stamina drains 28→0 on the walk, the status line switches to “Exhausted — slow walk only”, and rest restores it to 60. A second drain-and-recovery cycle follows before the backstage door, while the quest counter advances only forward, 1/3 to 2/3 to 3/3.

The full twenty-nine-turn date episode

Figure 16. The full twenty-nine-turn date episode of Figure 6 (Case B), released video of our harness on frozen MiniMax-H3. Two frames per turn (native 16:9), with headers giving the turn, scene, and HUD state (affection, relationship, mood) at the turn’s first frame. Affection rises monotonically 47→75, one point per turn. The relationship state flips friends→flirting at turn 14 and flirting→lovers at turn 29, and the closing confession is accepted only under this accumulated state.

Eleven-turn boss-duel episode

Figure 17. The full eleven-turn boss-duel episode of Figure 6 (Case C), released video of our harness on frozen MiniMax-H3. Two frames per turn (native 16:9), with headers giving the skill and the HUD state (arbiter HP, eve HP, mana) at the turn’s first frame. The arbiter’s HP drops monotonically 128→0 across the eleven turns. Turn 8 plays the defensive Gate of the End, and the closing Falling Red Sun ends the duel in the victory screen.

Figure 7 and Figure 8 in Appendix § 8 provide the exact Rule-only and Rule+end prompts and the compiled VisualScript instruction for one case from each condition. The accompanying CLIP VERDICT annotations determine the verdict markers shown in these examples.

Prompt walkthrough for twin A, magic academy, trigger gesture

Figure 7. Prompt example for the orb pair, twin A. The panels show the Rule-only prompt, the Rule+end prompt with its appended outcome instruction highlighted, and the compiled VisualScript instruction. The annotations below the panels describe the rule program and settled state.

Prompt walkthrough for twin A, shopkeeping, trigger gesture

Figure 8. Prompt example for the sign pair, twin A, using the layout of Figure 7. Highlighted clauses identify the appended Rule+end sentence and the ending specified by the compiled instruction. The annotations below the panels show the corresponding rule program and settled state.

Method Details: Formal Framework, Turn Lifecycle, and Domain Adaptation

Formal Framework and Cross-Channel Grounding

Generative Turn-Based Games as State Machines. The framework in Eq. (1) maintains a serializable world state st=(zt,ut)s_t = (z_t, u_t) and accepts an action ata_t from the available action space. The rule program τR\tau_R determines a provisional semantic state, a spatial edit script, and an event as specified in Eq. (2). An optional neural kernel ρ\rho proposes dialogue or narration under the constraints in Eq. (3). The compiler C\mathcal{C} converts the settled event and provisional state into inputs for the frozen video model VθV_\theta. The observer OψO_\psi interprets the generated clip, and URU_R incorporates observations compatible with the rules into the next state. The final frame is retained as the visual anchor ft+1f_{t+1}. This organization separates action resolution, visual generation, and state updates derived from observations. Dependencies between software components follow the order game, engine, and service adapter, with game semantics and transport details assigned to their respective layers.

Rule Settlement before Rendering. The request to VθV_\theta is issued after rule evaluation determines the provisional state sˉt+1\bar{s}_{t+1} and event ete_t. The compiler produces (pt,rt)=C(zˉt+1,uˉt+1,et)(p_t, r_t) = \mathcal{C}(\bar{z}_{t+1}, \bar{u}_{t+1}, e_t) before generating the current clip, while the anchor ftf_t is inherited from the initial image or preceding clip. A rendering failure does not reverse the event determined by the rule program. The failure policy may retry the request, reuse the preceding anchor, or terminate generation. Algorithm 1 specifies the successful execution path, including observation and state feedback.

Rule-Constrained Visual Feedback. Generated video provides evidence for updating state fields that are observable in the clip. The VLM proposes observations, while the runtime validates their compatibility with the state schema and fixed rules before applying them. An observation that contradicts the settled event is treated as a rendering inconsistency and cannot overturn the rule outcome. Accepted observations may change the state used for subsequent actions, so state trajectories can depend on generated video. If no update is accepted, the provisional state is retained. This division preserves the authority of the rules while incorporating visual feedback into the interaction loop.

Deterministic Replay. The loop uses a seeded generator, with render seed base_seed + t for turn tt. Rule settlement and compilation are reproducible for fixed input states, actions, programs, and accepted neural proposals. Reproducing a complete episode additionally requires the same accepted observations because these observations affect later states and instructions. Pixel-level replay requires deterministic backend behavior for fixed instructions, references, seeds, and serving conditions. Frozen model weights alone do not establish this property.

Cross-Channel Grounding. The text instruction pp and spatial preview rr carry complementary, incomplete descriptions of one settled turn. The preview encodes approximate layout, scale, and a camera trajectory, but its clay materials do not identify actors or events. The text names actors, actions, and outcomes, but cannot uniquely specify object placement or camera motion.

Why Both Channels Matter. The preview gives the backend a concrete spatial reference. The text specifies how to interpret that reference and which rule outcome to depict. Preview renders sometimes reproduce the clay appearance when the instruction does not identify the reference as a layout preview. A text description alone does not uniquely determine scene layout. These observations motivate the two-channel design. The WBench ablation measures the effect of the reference channel on external evaluation scores (§ 5.4, Appendix § 11.1.1).

Shared Source of Camera Guidance. The clay model generates both the camera description in pp and the trajectory rendered into rr. Their intended paths therefore agree at the input level. Whether the generated pixels follow that path is an empirical question for spatial evaluation, not a deterministic consequence of compilation.

Division of Authority. The ledger and scene are read and written by the harness. Visual observations can update the ledger and scene only through the rule constrained update function URU_R. The renderer still controls appearance, fine motion, and how clearly the settled event is conveyed. The

Input. State st=(zt,ut)s_t = (z_t, u_t), anchor ftf_t, action ata_t, fixed rules RR, frozen video model VθV_\theta, and observer OψO_\psi.

  1. (zˉt+1,ϵt,et)←τR(st,at)(\bar{z}_{t+1}, \epsilon_t, e_t) \leftarrow\tau_R(s_t, a_t) ▷ rule settlement

  2. uˉt+1←apply⁡(ut,ϵt)\bar{u}_{t+1} \leftarrow\operatorname{apply}(u_t, \epsilon_t), sˉt+1←(zˉt+1,uˉt+1)\bar{s}_{t+1} \leftarrow(\bar{z}_{t+1}, \bar{u}_{t+1}) ▷ spatial update

  3. (pt,rt)←C(zˉt+1,uˉt+1,et)(p_t, r_t) \leftarrow C(\bar{z}_{t+1}, \bar{u}_{t+1}, e_t) ▷ instruction and spatial preview

  4. vt+1←Vθ(pt,rt,ft)v_{t+1} \leftarrow V_\theta(p_t, r_t, f_t) ▷ video generation

  5. ot+1←Oψ(vt+1,sˉt+1,et)o_{t+1} \leftarrow O_\psi(v_{t+1}, \bar{s}_{t+1}, e_t) ▷ visual observation

  6. st+1←UR(sˉt+1,ot+1)s_{t+1} \leftarrow U_R(\bar{s}_{t+1}, o_{t+1}) ▷ validated state update

  7. ft+1←last⁡(vt+1)f_{t+1} \leftarrow\operatorname{last}(v_{t+1}) ▷ next visual anchor

Algorithm 1: One harness turn with visual state feedback

runtime constrains accepted state updates, while the ENDFOLLOW metric measures how faithfully the generated clip depicts the required event.

Turn Lifecycle and Domain Adaptation

Turn Lifecycle. World initialization is performed once per episode. The per-domain program instantiates the game through registry build. The backend and kernel services are checked for availability before interaction begins. The initial frame is chosen from the declared frame, a user-supplied image, or a placeholder in that order. Each turn then runs nine steps. (1) The gate check ends the episode on terminal status, a reached turn budget, or an empty action space. (2) The player selects an action through choose(state, actions). Scripted, random, human-CLI, and LLM-proposed players use the same rule layer. In the deployed instances the proposal kernel and the LLM-proposed player are one resident Qwen3.8-27B-VL service [64]. (3) The rule program τR\tau_R evaluates the action on a copy of the state without modifying its input. This records the outcome before video generation. (4) A per-domain director maps the result and visual state into a VisualScript script. (5) The compiler validates the script and rejects invalid input before generation. (6) Invalid rendering requests produce an error. Transient errors trigger bounded retries, followed by the failure policy. The default policy reuses the previous anchor and counts the turn as played. (7) The final frame, extracted with ffmpeg -sseof, becomes the next visual anchor. (8) The VLM interprets the generated clip and proposes changes to observable state fields. The runtime validates these proposals against the fixed rules and incorporates accepted updates into the state for the next turn. (9) A JSON record stores the state before and after the turn, events, IR, compiled prompt, seed, latency, and render errors. Reproducing the observation feedback additionally requires recording the visual observations and accepted state updates. After the final turn, an ending director may render a presentation clip and a montage assembler may join the episode with state captions. Neither operation changes the terminal state fixed by the rules. Table 10 summarizes the input and output of each operation.

StepOperationInput →\to output
0setup (once)domain declaration →\to runtime registry, service preflight, initial anchor f0f_0
1gate checkterminal status, turn budget, legal actions →\to continue or stop
2action selectionsts_t, legal actions →at\to a_t from a scripted, random, human, or LLM player
3settlests_t, at→(zˉt+1,ϵt,et)a_t \to(\bar{z}_{t+1}, \epsilon_t, e_t) through Eq. (2)
4directsˉt+1,et→\bar{s}_{t+1}, e_t \to VisualScript script
5compilescript and scene →(pt,rt)\to(p_t, r_t), with invalid records rejected before generation
6render(pt,rt,ft)→vt+1(p_t, r_t, f_t) \to v_{t+1} with bounded retries and a failure policy
7anchor updatevt+1→ft+1=last⁡(vt+1)v_{t+1} \to f_{t+1} = \operatorname{last}(v_{t+1})
8observe and update(vt+1,sˉt+1,et)→ot+1→st+1(v_{t+1}, \bar{s}_{t+1}, e_t) \to o_{t+1} \to s_{t+1} through observation and rule validation
9recordstates before/after, events, script, prompt, seed, latency, errors →\to one JSON line
10ending (once)terminal status →\to presentation clip, deterministically seeded
11montage (once)clips and state captions →\to replay video

Table 10. The full turn lifecycle with per-step inputs and outputs. Step 0 initializes the world, steps 1 to 9 repeat for each turn, and steps 10 and 11 produce the final presentation. The table extends Algorithm 1 with the harness operations surrounding the render call.

Clay-Model Construction. One forward pass of a feed-forward geometry model [56] produces depth, world points, and part features from the current frame. Clustering yields per-instance oriented boxes. Scale is anchored by the 1.7 m human prior and recovered camera height. The boxes instantiate an untextured Blender [6] scene with the CV-to-Blender coordinate correction, and procedural camera programs (push-in, orbit, head-push) render the preview clip when a turn needs camera or layout motion. The scene file records boxes and camera explicitly and supports edits by rules or humans. The deployed spatial channel in § 3.2 uses the single-subject configuration of this pipeline. WildDet3D, a 1.2B-parameter detector built on SAM3 [8] and LingBot-Depth, localizes the subject in the anchor frame. An oriented box is positioned by pinhole anchoring under the real-height prior. A ground plane is fitted to a depth region adjacent to the subject and checked against the pinhole ray. Blender renders a single clay preview under the original camera, aligned pixel-wise with the input view. The synthesizer is deterministic given its inputs and never writes to the ledger. When the instruction does not identify the reference as a layout preview, the backend can reproduce the clay materials instead of using the preview solely as spatial guidance. The instruction therefore identifies it as a layout preview.

Domain Adaptation. Adaptation to a new domain specifies its state, rules, and content in a game definition DiD_i while retaining the shared runtime and video model. In all reported experiments, this game definition is written by the coding agent based on GLM-5.3 [72]. The common interfaces include the ledger schema, rule engine, VisualScript fields, spatial synthesis, and visual anchoring, while DiD_i specifies the rules and content of each domain. Each WorldState-Bench case program is one such definition scoped to a single scenario.

Gate Order. The four validation stages are schema checking, value clamping, bounded retry, and fallback. Parsing constrains the syntax, and clamping constrains the values. The runtime retries the kernel up to a fixed limit before substituting the default specified by the rule program. Containment (Eq. (3)) depends on each accepted proposal being checked against the allowed set Aτ(s,a)A_\tau(s, a), including the fallback. A finite schema alone does not establish that containment (§ 3.2).

DSL AND IR SPECIFICATIONS

The system contains two typed records, checked before use. The case program defines benchmark instances, while the VisualScript record provides the intermediate representation compiled into a backend instruction (§ 3.2).

Case Program. A case is one declarative program. Expected outcomes are derived from the program semantics. The grammar specifies fixed fields that are validated when the program is loaded.

case ::= {
  id, theme,
  frame_prompt,              # FLUX.2 first-frame prompt (audited)
  hidden ::= { name, value_A, value_B, invisible_evidence[] },
  action ::= { actor, verb, target, phase[] },
  rules ::= { branch_A, branch_B },   # symmetric, exclusive
  branch ::= { when: hidden.value == v,
               end_state, forbidden[],
               evidence_phrases[] }
}

Properties. (i) Derived Outcomes. Evaluating the program determines the required ending, forbidden outcomes, and expected answers to the judging questions. Adding a case therefore requires specifying a program from which these outcomes can be reproduced. (ii) Twin Symmetry. A linter checks that the rule branches are mutually exclusive and that the paired inputs differ only in the hidden value and its consequences. (iii) Hidden State Isolation. The frame_prompt must not reveal the hidden value. The audit of Appendix § 8 enforces this on the rendered frame.

The VisualScript Record: Typed Slots. The game layer describes each settled turn through a fixed record, and the compiler translates this record into prompt syntax. Table 11 lists the slots. The record specifies the actor, action, and required ending independently of the backend instruction format. The adapter determines the prompt format, and validation rejects invalid records before generation.

SlotContent
styleone sentence fixing art style, palette, and quality register
first-frame anchordescription that must match the anchor image
cameracamera motion, drawn from a fixed phrase vocabulary
actor (+ appearance)acting entity and appearance attributes that preserve identity across scenes
actionwhat the actor does, with prepositions
target (+ reaction)the acted-upon party and its response
dialogueverbatim lines with speaker tags
effectsemphasis phrases (impacts, glows, weather)
stabilityanti-drift constraints on identity, clothing, and position
end staterequired final state used to describe the next visual anchor
soundscape / musicambient and non-diegetic audio, sentence-bounded
shotsdeclared scene cuts with timestamps assigned by the compiler
metaprivate metadata, never rendered
use-first-framewhether the clip is conditioned on the anchor (chain exemption)
durationclip length in seconds

Table 11. The VisualScript record: typed slots filled by the game layer, each with a machine-checked validation rule.

In detail, its style and first-frame anchor slots describe the desired appearance and restate the anchor image. The camera slot uses a fixed vocabulary for motion, while the clay model provides the 3D trajectory. The actor and appearance slots carry textual identity across scenes. The action, target, reaction, dialogue, and effects slots describe the event. Dialogue includes speaker ids and constraints for off-screen speech. The stability slot constrains identity, clothing, and position. The end state specifies what the next anchor should show. The record also includes soundscape, music, and shots with validated sentence budgets and cut times. A use-first-frame flag may break the anchor chain on scene changes, leaving appearance slots to carry identity (§ 3.2). The record states who acts and how the turn ends within the roughly 5 s clip budget. Validation rejects illegal records before compilation, and the backend adapter owns the prompt dialect.

Compiler Validation and Assembly Order. Compilation either produces an instruction or rejects the record before generation. Identical valid records produce identical instructions under the same adapter. (i) Schema Validation. The action, actor, and end-state fields must be nonempty. Free text descriptions cannot contain shot markers, and multiple shots must be declared in the shots field. (ii) Budget Validation. The compiler checks sentence limits for each field and the uniqueness of speaker tags. A violation raises an error before rendering. (iii) Assembly. The compiler orders style, first-frame anchoring, camera motion, actor, action, reaction, dialogue, effects, declared shots, stability constraints, and the required end state. It assigns shot timestamps while reserving a final interval for the ending. The stability constraints and final state are expressed through fixed sentence templates. (iv) Adapter Fields. The adapter appends the protocol fields required by the backend, including the first-frame alignment instruction in image-conditioned mode or its replacement in text-only mode. Separating the instruction format from the game definition allows the same game code to support backends with different input grammars.

Compiler Determinism. The VisualScript compiler is a deterministic function of the script and backend adapter, with no sampling, model calls, or formatting that depends on the environment. Given the same inputs, it produces the same instruction string, allowing compilation and backend adaptation to be checked independently of video generation (§ 3.2).

Positioning against concurrent explicit-state systems

Table 12 extends the comparison in § 2 by summarizing state representations, control interfaces, spatial state handling, and evaluation protocols.

Reproducibility details

Required Artifacts. Independent reproduction requires the 50 case programs, first-frame prompts and images, audit records, rule programs, VisualScript grammar and compiler, backend adapters and generation settings, sampled clips, fixed choice judge prompts, and per-clip verdicts. The case programs determine the expected outcomes and the compiler is deterministic, so each reported number is traceable from a case program through compilation to its per-clip verdicts.

Determinism Boundary. Rule settlement and compilation are deterministic for fixed programs, input states, actions, and accepted neural proposals. The optional proposal kernel, video backend, and visual observer may produce different outputs across runs. The final frame of each clip conditions subsequent generation, and accepted visual observations affect the next world state. Reproducing an episode therefore also requires the same observation stream and accepted state updates. A reproducibility package should record backend and observer versions, inference settings, reference clips, sampled frames, observations, and accepted updates.

Backend Interfaces. MiniMax-H3 is used with text instruction and image anchor, and the deployed instruction dialect follows the official H3 prompt-writing guide distributed with the model. The full harness additionally supplies a preview clip through its video-reference input. Unwrapped interactive backends are driven through their available action interfaces. No backend weights are modified for the reported comparison. The adapter isolates the backend-specific instruction dialect, so extending to further backends is instruction-level work.

Compute Reporting. The manuscript states that evaluations used a single 8-GPU node and that the harness logic ran on CPUs.

Limitations and Future Work

The box-based clay model provides a coarse representation of spatial layout. Errors in instance recovery propagate to the preview, and the text instruction does not always prevent the renderer from reproducing the clay appearance. Articulated pose and fine appearance are determined by the video model, and the spatial pipeline operates offline.

Future work targets a more capable harness: a richer rule language with temporal and quantified conditions, state that tracks more entities and relations, and compiled instructions that carry the same frozen weights to further video backends. Beyond the current case families, we plan to scale the closed loop to more diverse world scenarios and settings, including longer episodes, multi-agent interactions, and open-ended environments where goals and rules evolve over time.

Reproducibility Statement

Reproducing the reported results requires the 50 case programs and first frames, the VisualScript grammar and compiler, backend instructions, sampled clips, fixed-choice judge prompts, and perclip verdicts. Appendix § 17 specifies these materials and the determinism boundary. All case programs, prompts, adapters, judge templates, and per-clip verdicts will be released upon publication.

References

  1. [3]Jianhong Bai, Menghan Xia, Xiao Fu, Xintao Wang, Lianrui Mu, Jinwen Cao, Zuozhu Liu, Haoji Hu, Xiang Bai, Pengfei Wan, et al. Recam master: Camera-controlled generative rendering from a single video. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 14834–14844. IEEE, 2025.arxiv.org/abs/2503.11647
  2. [4]Nolan Bard, Jakob N. Foerster, Sarath Chandar, et al. The Hanabi challenge: A new frontier for AI research. Artificial Intelligence, 280:103216, 2020. doi: 10.1016/j.artint.2019.103216.DOI
  3. [5]Black Forest Labs. FLUX.2. https://blackforestlabs.com, 2025.
  4. [6]Blender Online Community. Blender – a 3D modelling and rendering package. https://www.blender.org, 2025.
  5. [7]Jake Bruce, Michael D Dennis, Ashley Edwards, Jack Parker-Holder, Yuge Shi, Edward Hughes, Matthew Lai, Aditi Mavalankar, Richie Steigerwald, Chris Apps, et al. Genie: Generative interactive environments. In Forty-first international conference on machine learning, 2024.arxiv.org/abs/2402.15391
  6. [8]Nicolas Carion, Laura Gustafson, Yuan-Ting Hu, et al. SAM 3: Segment anything with concepts. arXiv preprint arXiv:2511.16719, 2025.arxiv.org/abs/2511.16719
  7. [9]Haoxuan Che, Xuanhua He, Quande Liu, Cheng Jin, and Hao Chen. Gamegen-x: Interactive open-world game video generation. In International Conference on Learning Representations, volume 2025, pp. 37546–37593, 2025.arxiv.org/abs/2411.00769
  8. [10]Danze Chen, Zeqing Wang, Ziyue Lin, Xingyi Yang, and Yeying Jin. H3-World: Turning language understanding into world control. arXiv preprint arXiv:2609.01560, 2026a. URL https://arxiv.org/abs/2609.01560v1. Version 1.
  9. [11]Yiwen Chen, Guosheng Lin, and Chi Zhang. Code world model: Coding agent as world brain. arXiv preprint arXiv:2608.25927, 2026b. URL https://arxiv.org/abs/2608.25927.
  10. [12]Junhao Cheng, Yuying Ge, Yixiao Ge, Jing Liao, and Ying Shan. Animegamer: Infinite anime life simulation with next game state prediction. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 10875–10885. IEEE, 2025.arxiv.org/abs/2504.01014
  11. [13]Michael Cook, Simon Colton, Azalea Raad, and Jeremy Gow. Mechanic miner: Reflection-driven game mechanic discovery and level design. In Applications of Evolutionary Computation (EvoApplications), volume 7835 of Lecture Notes in Computer Science, pp. 284–293, 2013. doi: 10.1007/978-3-642-37192-9_29.DOI
  12. [14]Yixiang Dai, Fan Jiang, Chiyu Wang, Mu Xu, and Yonggang Qi. Fantasyworld: Geometry-consistent world modeling via unified video and 3d prediction. In International Conference on Learning Representations, volume 2026, pp. 103603–103622, 2026.arxiv.org/abs/2509.21657
  13. [15]Decart and Etched. Oasis: A universe in a transformer. Technical report and demonstration, 2024. URL https://oasis-model.github.io/.
  14. [16]Zhiyang Deng, Boran Zhang, Danze Chen, and Yeying Jin. WorldMind: Decoupled game world model for state-aware NPC behavior. arXiv preprint arXiv:2608.21439, 2026. URL https://arxiv.org/abs/2608.21439.
  15. [17]Kaixin Ding, Xi Chen, Minghong Cai, et al. PlayWorld: Benchmarking world models with agent players over long-horizon objectives. arXiv preprint arXiv:2608.13552, 2026. URL https://arxiv.org/abs/2608.13552v2. Version 2. Tables 2–3.
  16. [20]Samuel Garcin, Thomas Walker, Steven McDonagh, Tim Pearce, Hakan Bilen, Tianyu He, Kaixin Wang, and Jiang Bian. Beyond pixel histories: World models with persistent 3D state. In International Conference on Machine Learning, 2026. URL https://arxiv.org/abs/2603.03482.
  17. [21]Junliang Guo, Yang Ye, Tianyu He, et al. MineWorld: A real-time and open-source interactive world model on Minecraft. arXiv preprint arXiv:2504.08388, 2025. URL https://arxiv.org/abs/2504.08388.
  18. [22]David Ha and Jürgen Schmidhuber. World models. CoRR, abs/1803.10122, 2018. URL https://arxiv.org/abs/1803.10122.
  19. [23]Danijar Hafner. Benchmarking the spectrum of agent capabilities. In International Conference on Learning Representations, 2022. URL https://arxiv.org/abs/2109.06780.
  20. [24]Danijar Hafner, Wilson Yan, and Timothy Lillicrap. Training agents inside of scalable world models. arXiv preprint arXiv:2509.24527, 2025. URL https://arxiv.org/abs/2509.24527.
  21. [25]Hao He, Yinghao Xu, Yuwei Guo, Gordon Wetzstein, Bo Dai, Hongsheng Li, and Ceyuan Yang. CameraCtrl: Enabling camera control for text-to-video generation. In International Conference on Learning Representations, 2025a. URL https://arxiv.org/abs/2404.02101.
  22. [26]Xianglong He, Chunli Peng, Zexiang Liu, et al. Matrix-game 2.0: An open-source real-time and streaming interactive world model. arXiv preprint arXiv:2508.13009, 2025b. URL https://arxiv.org/abs/2508.13009.
  23. [27]Chen Hou and Zhibo Chen. Training-free camera control for video generation. arXiv preprint arXiv:2406.10126, 2024.arxiv.org/abs/2406.10126
  24. [28]Ting-Chen Hsu, Lianye Zhang, Jiangxu Lin, Zhaoyi Yu, Fei Qin, and Zihao Chen. If: Cargo: Llm-based semantic compilation for al-native rule programming games. arXiv preprint arXiv:2608.12195, 2026.arxiv.org/abs/2608.12195
  25. [29]Anthony Hu, Václav Volhejn, Adrien Ramanana Rahary, et al. Multiplayer interactive world models with representation autoencoders. arXiv preprint arXiv:2607.05352, 2026. URL https://arxiv.org/abs/2607.05352.
  26. [30]Zheng-Hui Huang, Guixu Lin, Jiacheng Lin, Yi-Chuan Huang, Ruihan Yu, Muyao Niu, Siqi Yang, Yu-Lun Liu, Yung-Yu Chuang, Kaipeng Zhang, and Zhixiang Wang. Programmable world model. arXiv preprint arXiv:2609.10540, 2026. URL https://arxiv.org/abs/2609.10540v1. Version 1.
  27. [32]Zevinzi Jiang, Zhen Han, Chaojie Mao, Jingfeng Zhang, Yulin Pan, and Yu Liu. Vace: All-in-one video creation and editing. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 17191–17202. IEEE, 2025.arxiv.org/abs/2503.07598
  28. [33]Anssi Kanervisto, Dave Bignell, Linda Yilin Wen, et al. World and human action models towards gameplay ideation. Nature, 638:656–663, 2025. doi: 10.1038/s41586-025-08600-3. URL https://www.nature.com/articles/s41586-025-08600-3.DOI
  29. [34]Brian La, Sejoon Chang, Ben Kim, Junyoung Bae, Aamish Ahmad Beg, Sei Chang, Gonzalo Gonzalez-Pumariega, and Kanav Goyal. Gameenginebench: Evaluating coding agents on real c++ runtime environments. arXiv preprint arXiv:2607.03525, 2026. URL https://arxiv.org/abs/2607.03525.
  30. [35]Wolfgang Lehrach, Daniel Hennes, Miguel Lazaro-Gredilla, Xinghua Lou, Carter Wendleken, Zun Li, Antoine Dedieu, Marc Lanctot, Ati Iscen, John Schultz, et al. Code world models for general game playing. In International Conference on Learning Representations, volume 2026, pp. 133870–133927, 2026.arxiv.org/abs/2510.04542
  31. [36]Jialu Li, Yuanzhen Li, Neal Wadhwa, Yael Pritch, David E Jacobs, Michael Rubinstein, Mohit Bansal, and Nataniel Ruiz. Unbounded: A generative infinite game of character life simulation. In International Conference on Learning Representations, volume 2025, pp. 87465–87491, 2025a.
  32. [37]Runjia Li, Philip Torr, Andrea Vedaldi, and Tomas Jakab. Vmem: Consistent interactive video scene generation with surfer-indexed view memory. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 25690–25699. IEEE, 2025b.
  33. [38]Jonathan Light, Min Cai, Sheng Shen, and Ziniu Hu. Avalonbench: Evaluating llms playing the game of avalon. arXiv preprint arXiv:2310.05036, 2023. URL https://arxiv.org/abs/2310.05036.
  34. [39]Han Lin, Abhay Zala, Jaemin Cho, and Mohit Bansal. VideoDirectorGPT: Consistent multi-scene video generation via LLM-guided planning. In Conference on Language Modeling (COLM), 2023. URL https://arxiv.org/abs/2309.15091.
  35. [40]Zijun Lin, Zeqing Wang, Cheston Tan, Bihan Wen, and Yeying Jin. StatePlay: State-aware game world models for mechanics-consistent generation. arXiv preprint arXiv:2607.26754, 2026. URL https://arxiv.org/abs/2607.26754.
  36. [41]LongCat Team, Xunliang Cai, Qilong Huang, Zhuoliang Kang, Hongyu Li, Shijun Liang, Liya Ma, Siyu Ren, Xiaoming Wei, Rixu Xie, and Tong Zhang. Longcat-video technical report, 2025. URL https://arxiv.org/abs/2510.22200.
  37. [42]Tongxu Luo, Rongsheng Wang, Jiaxi Bi, et al. Gamecraft-bench: Can agents build playable games end-to-end in a real game engine? In International Conference on Machine Learning, 2026. URL https://arxiv.org/abs/2606.17861.
  38. [43]Zian Meng, Zhen Li, Chuanhao Li, Qiang Li, and Kaipeng Zhang. Marionette: Predicting world states, rendering geometry, painting appearance. arXiv preprint arXiv:2608.14530, 2026. URL https://arxiv.org/abs/2608.14530.
  39. [44]Vincent Micheli, Eloi Alonso, and François Fleuret. Transformers are sample-efficient world models. In International Conference on Learning Representations, 2022. URL https://arxiv.org/abs/2209.00588.
  40. [45]Jisu Nam, Yicong Hong, Chun-Hao Paul Huang, et al. Worldcam: Interactive autoregressive 3d gaming worlds with camera pose as a unifying geometric representation. arXiv preprint arXiv:2603.16871, 2026. URL https://arxiv.org/abs/2603.16871.
  41. [46]Mingyu Ouyang, Siyuan Hu, Kevin Qinghong Lin, Hwee Tou Ng, and Mike Zheng Shou. Game-world: Towards standardized and verifiable evaluation of multimodal game agents. arXiv preprint arXiv:2604.07429, 2026. URL https://arxiv.org/abs/2604.07429.
  42. [47]Jack Parker-Holder and Shlomi Fruchter. Genie 3: A new frontier for world models. Google DeepMind technical announcement, 2025. URL https://deepmind.google/blog/genie-3-a-new-frontier-for-world-models/.
  43. [48]Jack Parker-Holder, Philip Ball, Jake Bruce, et al. Genie 2: A large-scale foundation world model. Google DeepMind technical announcement, 2024. URL https://deepmind.google/blog/genie-2-a-large-scale-foundation-world-model/.
  44. [50]Katie Salen and Eric Zimmerman. Rules of Play: Game Design Fundamentals. The MIT Press, 2003. ISBN 9780262240451.
  45. [51]Joonghyuk Shin, Yicong Hong, Jaesik Park, and Xun Huang. Can video world models track unobserved world states? arXiv preprint arXiv:2608.30692, 2026.arxiv.org/abs/2608.30692
  46. [52]Wenqiang Sun, Haiyu Zhang, Haoyuan Wang, Junta Wu, Zehan Wang, Zhenwei Wang, Yunhong Wang, Jun Zhang, Tengfei Wang, and Chunchao Guo. Worldplay: Towards long-term geometric consistency for real-time interactive world model. arXiv preprint, 2025.arxiv.org/abs/2512.14614
  47. [53]Junshu Tang, Jiacheng Liu, Jiaqi Li, Longhuang Wu, Haoyu Yang, Penghao Zhao, Sirius Gong, Xiang Yuan, Shuai Shao, Linfeng Zhang, and Qinglin Lu. Hunyuan-GameCraft-2: Instruction-following interactive game world model. arXiv preprint arXiv:2511.23429, 2025. URL https://arxiv.org/abs/2511.23429.
  48. [55]Team Wan, Ang Wang, Baole Ai, Bin Wen, Chaojie Mao, Chen-Wei Xie, Di Chen, Feiwu Yu, Haiming Zhao, Jianxiao Yang, et al. Wan: Open and advanced large-scale video generative models. arXiv preprint arXiv:2503.20314, 2025.arxiv.org/abs/2503.20314
  49. [56]Jianyuan Wang, Minghao Chen, Nikita Karaev, Andrea Vedaldi, Christian Ruprecht, and David Novotny. VGGT: Visual geometry grounded transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025.arxiv.org/abs/2503.11651
  50. [57]Zhouxia Wang, Ziyang Yuan, Xintao Wang, Yaowei Li, Tianshui Chen, Menghan Xia, Ping Luo, and Ying Shan. Motionctrl: A unified and flexible motion controller for video generation. In ACM SIGGRAPH 2024 Conference Papers, pp. 1–11, 2024.arxiv.org/abs/2312.03641
  51. [58]Zile Wang, Zexiang Liu, Jiaxing Li, et al. Matrix-Game 3.0: Real-time and streaming interactive world model with long-horizon memory. arXiv preprint arXiv:2604.08995, 2026. URL https://arxiv.org/abs/2604.08995.
  52. [59]Bing Wu, Chang Zou, Changlin Li, Duojun Huang, Fang Yang, Hao Tan, Jack Peng, Jianbing Wu, Jiangfeng Xiong, Jie Jiang, et al. Hunyuanvideo 1.5 technical report. arXiv preprint arXiv:2511.18870, 2025.arxiv.org/abs/2511.18870
  53. [60]Zeqi Xiao, Yushi Lan, Yifan Zhou, et al. WorldMem: Long-term consistent world simulation with memory. arXiv preprint arXiv:2504.12369, 2025. URL https://arxiv.org/abs/2504.12369.
  54. [62]Ting-Bing Xu, Jiacheng Sui, Zhe Gao, Kewei Shi, Wenjin Yang, Zhicheng Liu, Zhaoxu Sun, Mingchao Sun, Hongyu Pan, Fan Jiang, Mu Xu, Qi Fan, Yang Gao, Yong Li, and Baoquan Chen. WorldRoamBench: An open-world benchmark for long-horizon stability of interactive world models. arXiv preprint arXiv:2606.31672, 2026a. URL https://arxiv.org/abs/2606.31672. Version 5. Version 2 appeared under the title WorldOdysseyBench.
  55. [64]An Yang et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.arxiv.org/abs/2505.09388
  56. [66]Shiyuan Yang, Liang Hou, Haibin Huang, Chongyang Ma, Pengfei Wan, Di Zhang, Xiaodong Chen, and Jing Liao. Direct-a-video: Customized video generation with user-directed camera movement and object motion. In ACM SIGGRAPH 2024 Conference Papers, 2024b. URL https://arxiv.org/abs/2402.03162.
  57. [68]Yuanyang Yin, Gongxuan Wang, Yifan Zhan, Chuanhao Li, Kaipeng Zhang, and Feng Zhao. Alaya-EVOKE: From linear-scaling supervision to endless world. arXiv preprint arXiv:2608.13546, 2026. URL https://arxiv.org/abs/2608.13546v2. Version 2.
  58. [69]Kaining Ying, Hengrui Hu, Siyu Ren, Jiamu Li, Fengjiao Chen, Ziwen Wang, Xuezhi Cao, Xunliang Cai, and Henghui Ding. WBench: A comprehensive multi-turn benchmark for interactive video world model evaluation. arXiv preprint arXiv:2605.25874, 2026. URL https://arxiv.org/abs/2605.25874.
  59. [70]Jiwen Yu, Jianhong Bai, Yiran Qin, Quande Liu, Xintao Wang, Pengfei Wan, Di Zhang, and Xihui Liu. Context as memory: Scene-consistent interactive long video generation with memory retrieval. In Proceedings of the SIGGRAPH Asia 2025 Conference Papers, pp. 1–11, 2025a.arxiv.org/abs/2506.03141
  60. [71]Jiwen Yu, Yiran Qin, Xintao Wang, Pengfei Wan, Di Zhang, and Xihui Liu. Gamefactory: Creating new games with generative interactive videos. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 11590–11599. IEEE, 2025b.arxiv.org/abs/2501.08325
  61. [72]Z.ai. GLM-5.3. https://github.com/zai-org/GLM-5, 2026.
  62. [73]Songchun Zhang, Yaowei Li, Junhao Zhuang, Weiyang Jin, Haoyu Wang, Xin Lu, Yilang Sun, Shiyi Zhang, Haoran Li, Xiaoxiao Ma, Yumin Li, Yijun Liu, Yaofeng Su, Yanwen Ma, Haoyu Wu, Zihan Su, Yue Ma, Lvmin Zhang, Haoyang Huang, Zeyue Xue, Anyi Rao, and Nan Duan. Echowm: Open and enterable omnimodal world models. arXiv preprint arXiv:2608.23189, 2026a. URL https://arxiv.org/abs/2608.23189.
  63. [74]Yanran Zhang, Ziyi Wang, Wenzhao Zheng, Zheng Zhu, Jie Zhou, and Jiwen Lu. Geometry-aware single-image-4d synthesis via dense trajectory generation. In European Conference on Computer Vision, pp. 95–114. Springer, 2026b.arxiv.org/abs/2512.05044
  64. [76]Shangwen Zhu, Qianyu Peng, Zhao Pu, Zhilei Shu, Xiangrui Ke, Zhaohu Xing, Zizhao Tong, Zeqing Wang, Xinyu Cui, Zian Zheng, Huangji Wang, Jian Zhao, Yeying Jin, Fan Cheng, and Ruili Feng. Incantation: Natural language as the action interface for multi-entity video world models. arXiv preprint arXiv:2605.18601, 2026a. URL https://arxiv.org/abs/2605.18601. Version 2, revised July 12, 2026.

Paper details

vlnc:W_v8qvby8g
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

generative AI tools · View statement →

Looking for related papers…
Contents