Unreal Engine CEO Watches the Latest World Model: Code-Driven, Video Models Generate Scenes

marsbitPublished on 2026-09-07Last updated on 2026-09-07

Abstract

Recent advances in video generation models have improved visual quality, temporal consistency, and controllability, enabling the synthesis of coherent sequences from text, images, or user inputs. However, merely continuing a visual sequence is not equivalent to simulating a dynamic world. Complex worlds involve high-level semantics such as goals, rules, relationships, and causal consequences that persist over time, often beyond the immediate visual frame. Existing models that directly map actions to pixels struggle to explicitly maintain this state and reasoning. This article introduces the Code World Model (CWM), a novel paradigm developed by researchers from Westlake University and Nanyang Technological University. CWM decouples world simulation from visual rendering. A coding agent (powered by a large language model) acts as the "brain," writing and modifying executable code to maintain and update the world's state based on goals, rules, and events. This code handles infrequent, complex decisions and deterministic state updates (e.g., positions, collisions). A key innovation is the use of a "proxy"—a lightweight, coarse visual representation compiled from the current world state. The proxy, rendered at a lower resolution, specifies spatial-temporal constraints like entity locations, trajectories, camera motion, and scene layout. A separate video model then generates the final high-fidelity RGB video, conditioned on this proxy and textual descriptions, adding rich texture...

In recent years, video generation models have rapidly advanced in clarity, temporal consistency, and controllability. Given text, images, camera trajectories, or player actions, models are now capable of synthesizing coherent subsequent frames, bringing the concept of "interactive video worlds" from theory to observable, operable prototypes.

However, continuing the visual sequence does not equate to running a world. Movement and collision within the frame are only the most intuitive layer of interaction; in more complex environments, characters have goals, identities, and relationships, events are constrained by rules, and actions have causal consequences that span longer timeframes. Many states occur even off-screen yet still alter subsequent plots and actions. Predicting the next segment of observation based solely on local pixels makes it difficult to explicitly maintain these high-level semantics.

Complex worlds first require "understanding why." Goals, rules, memory, and causal chains are often not directly readable from the current frame, yet they determine how the world should change next. Language models, with their capabilities in knowledge retrieval, reasoning, planning, and programming, are well-suited to handle these low-frequency but high-complexity decisions and translate them into executable rules.

Another often overlooked fact is: game video is not the world itself, but the pixel projection of a program's execution after rendering. Currently, games and simulators still constitute the primary source of interactive data for video world models. If only actions and pixels are retained, and a video model is tasked with directly learning the mapping between them, it bypasses the originally existing program, rules, and explicit world state, instead requiring the model to reverse-engineer the entire program behavior from visual outcomes. This learning path is not only inefficient but also couples "how the world evolves" and "how the world is presented" into a single model.

Based on this observation, a research team from the Westlake University AGI Lab and Nanyang Technological University proposed Code World Model, a novel world model paradigm with a language model as its "brain." Its core idea is to have a coding agent continuously write, invoke, and modify code to maintain and update an executable world state; the state relevant to the current observation is then converted into proxies to guide a video model in generating detailed visual scenes.

Paper Link:https://arxiv.org/abs/2608.25927

Project Page:https://buaacyw.github.io/cwm/

Code Repository:https://github.com/buaacyw/code-world-model

Here, the language model does not replace the video model. Code World Model redefines their responsibilities: knowledge, goals, rules, and long-term causality are handled by the coding agent and code; appearance, motion details, lighting, and texture are handled by the video model. In other words, the former determines *what* happens in the world, the latter determines *how* it all looks.

Figure 1: The core division of labor in Code World Model: the coding agent evolves the world state through code, proxies convert relevant states into visual conditions, and the video model generates the final scene.

Method Overview

Building on this division of labor, Code World Model decomposes the world's operation into three interconnected parts.

Coding Agent: Understands player intent and new events, invokes world knowledge, infers potential consequences, and decides which mechanisms need to be executed, combined, or modified.

Code: Executes deterministic updates such as position, attributes, collision, cooldowns, and event triggers at a higher frequency, turning high-level decisions into inspectable, reusable, and continuously executable rules.

Video Model: Reads the evolved state conditions and leverages the appearance, motion, and interaction priors learned from large-scale visual data to generate visual observations rich in texture, lighting, and local dynamics.

This division also corresponds to different computational frequencies. The coding agent only needs to make sparse decisions when new goals, complex events arise, or existing mechanisms are insufficient; once decisions are written into code, the program can continuously execute dense state updates.

More importantly, the coding agent can rewrite not just numerical values at a given moment, but also the operational rules the world follows thereafter.

Figure 2: Overall framework of Code World Model. The complete vision includes visual feedback; the current prototype focuses on validating the forward path: coding agent / code → world state → proxy → video model.

Proxy: Connecting Executable State to Video Generation

After dividing responsibilities, a key interface problem remains: the coding agent and code maintain an executable state, but the video model receives text, images, or video tokens. A common language is needed that is both easy to construct programmatically and can provide per-frame spatial constraints.

Structured text is flexible but struggles to stably describe per-frame entity positions, relative relationships, motion trajectories, and precise camera changes for each frame; fully constructing and rendering a 3D world offers stronger control but reintroduces the high cost of assets, geometry, materials, animation, and rendering pipelines.

To address this, this work introduces a proxy. It extracts from the world state the information truly needed for the current observation and organizes it into a coarse-grained visual representation. A lightweight, deterministic compiler renders the proxy into a proxy video, which is then fed into the video model along with structured text.

Text is responsible for specifying "who, what, and what to do," while the proxy dictates "where, how to move, and how the camera shoots."

The proxy can express camera and viewpoint, entity positions and orientations, scale and trajectories, scene layout and occlusion, and the coarse-grained state needed for current interactions; texture, materials, detailed lighting, and full local motion are intentionally left to the video model. The paper summarizes this design principle as: retain only the minimally sufficient state required for the current observation, striking a balance between control capability and state encoding cost.

In the current implementation, the proxy's width and height are only one-quarter of the target video's, with approximately 1/16th the pixel count. It is composed of simple, reusable geometric primitives, requiring no production-quality assets, yet it provides a per-frame, editable spatiotemporal skeleton.

Obtaining Strictly Aligned Data from Game Runtime Recordings

For the video model to learn to understand the proxy, training samples need to simultaneously contain proxy video, structured text, and target RGB video, with strict alignment in time, camera, and entity identity between the proxy and RGB.

Game runtime recordings naturally preserve this correspondence. The research team synchronously recorded RGB, camera state, entity identity, position and orientation, approximate scale, scene layout, and interaction state from the same gameplay execution, then compiled the proxy offline via code. Since both originate from the same execution, a one-to-one correspondence can be established for each frame, and identities can be consistently mapped across frames.

Figure 3a: Target RGB (top) and same-frame proxy (bottom) from game data.

Figure 3b: Target RGB from real video (top), and proxy constructed offline using camera calibration, 3D reconstruction, and object annotation (bottom).

The gameplay data used in the paper comprises 157 recordings, totaling approximately 5.6 hours of source video. The research team sampled at 2-second intervals, obtaining 9,420 training clips of 5 seconds each; each RGB target contains 124 frames at a resolution of 1344×768, 24 FPS. The corresponding proxy also contains 124 frames at a resolution of 336×192, combined with fixed-log depth and categorical semantic-ID maps.

The same runtime recording can be recompiled into proxies with different coverage and information granularity without needing to re-record RGB.

The paper also demonstrates an offline construction pipeline for proxy-observation pairs from real videos using KITTI-360 to illustrate the potential for extending this interface to real data; the current video model adaptation still only uses paired gameplay data.

How Does the Prototype System Operate?

The current prototype uses the Ref2VA backbone of MiniMax-H3 as the video model, applying rank-128 LoRA adaptation to all 50 transformer blocks, with approximately 596 million trainable parameters. Training was conducted on 8 NVIDIA H800 GPUs for 3 epochs and 3,534 optimization steps.

During inference, GPT-5.6 Sol serves as the coding agent. The system provides it with basic player controls, collision handling, runtime update loops, existing game-engine scene and gameplay logic templates, and the proxy primitives used during training. The coding agent can combine, extend, and rewrite this code to construct simple, executable, player-controllable worlds; the coarse-grained 3D geometry is used solely to express the proxy, not as the final visual output.

For each 5-second clip, GPT Image 2 generates an appearance anchor based on the first proxy frame and text; MiniMax-H3 then combines the first frame, the full proxy sequence, and text to generate a 124-frame, 1344×768, 24 FPS RGB video.

Longer videos are generated via a sliding window with a 34-frame overlap: the latter window inherits the RGB context from the end of the previous window and reuses the same appearance anchor to maintain local continuity and overall identity appearance.

Experimental Results

Qualitative results show that even with LoRA adaptation using only about 5.6 hours of gameplay source video, the model can still follow the character positions, action trajectories, scene layouts, and camera movements specified by the proxy, while complementing them with rich textures, lighting, and local dynamics, even when character, environment, and style significantly deviate from the training appearance.

Figure 4: The proxy provides character position and action trajectory; the video model renders the same coarse skeleton into characters of different identities and artistic styles. Top: proxy; Bottom: generation results.

Figure 5: Simple geometric primitives constrain complex objects and camera movements. Top: proxy; Bottom: generation results.

For example, the same coarse human primitive can be rendered as characters with completely different identities and artistic styles; wireframes or boxes can constrain the position and approximate motion of vehicles, boats, and other complex objects; the same proxy interface can also express running, dancing, swimming, falling, and camera orbiting.

This demonstrates that the proxy fixes the necessary spatiotemporal skeleton for the current observation, not the assets and style of the training game.

The project page also provides video comparisons with action- or camera-conditioned video world models.

This comparison focuses on the granularity of control and visual results: the proxy directly provides per-frame entity motion and viewpoint changes, thus enabling finer-grained, more direct spatiotemporal constraints; the paper does not present this set of results as an inference latency comparison.

A netizen commented, "Will Unreal Engine 6 be the last engine to create games using traditional 3D methods? Perhaps Unreal Engine 7 will use a similar technical approach. Only Unreal Engine CEO Tim knows the answer."

Tim then came to view it and said, "I don't know either!"

Conclusion: First Decide What Happens in the World, Then Generate How It Looks

Previous video world models mainly learned "how observations continue." Code World Model pushes the problem a step further: before generating the next segment of observation, first maintain what the world currently is, which rules it follows, and why the consequences of an event persist.

A truly open generative world requires both the visual imagination of video models and an execution mechanism capable of maintaining knowledge, goals, rules, relationships, and causal consequences. The core of Code World Model can be condensed into one sentence: let code decide what happens in the world, and let the video model decide how it all looks.

Reference: https://arxiv.org/abs/2608.25927

This article is from the WeChat public account "New Zhiyuan," author: New Zhiyuan; Editor: LRST

Related Questions

QWhat is the core idea proposed by the researchers for the 'Code World Model' paradigm?

AThe core idea is to decouple high-level semantics from visual rendering: a coding agent uses a language model as a 'brain' to maintain and update executable world states through writing and modifying code, which then guides a video model via proxies to generate the detailed visual observations. In short, code determines what happens in the world, and the video model determines how it looks.

QWhat problem does the 'proxy' component aim to solve in the Code World Model framework?

AThe 'proxy' component serves as an interface that bridges the gap between the executable world state maintained by code and the visual inputs required by the video model. It extracts coarse-grained spatial-temporal information (like entity positions, camera trajectory, layout) from the world state and renders it into a low-resolution proxy video, providing necessary constraints for the video model without the high cost of full 3D rendering.

QWhy is game runtime recording particularly suitable for training the video model in this research?

AGame runtime recordings provide naturally and strictly aligned pairs of RGB video, camera states, entity identities, positions, and other interactive states from the same gameplay execution. This allows for the offline compilation of perfectly synchronized proxy videos and target RGB videos, ensuring precise temporal and spatial correspondence essential for training the video model to understand the proxy conditions.

QAccording to the article, what are the different roles and computation frequencies of the coding agent and the executable code in the system?

AThe coding agent handles sparse, high-complexity decisions—like understanding new goals, events, and reasoning about consequences—and determines what mechanisms need to be written or modified. Once its decisions are encoded into executable code, that code runs at a high frequency to perform dense, deterministic updates of positions, attributes, collisions, and event triggers, continuously evolving the world state.

QWhat key advantage does the Code World Model approach claim over traditional video prediction models?

ATraditional video world models primarily learn 'how observations continue' based on pixels. The Code World Model advances this by first explicitly maintaining and reasoning about the world's state, rules, goals, relationships, and causal consequences *before* generating the next visual observation. This separation allows for more coherent long-term narratives and complex interactions that depend on high-level semantics not directly visible in pixels.

Related Reads

GPT-6.1 Sol Participates in Live Brain Surgery! Three Rounds of Localization, Each More Accurate Than the Last

Exin Therapeutics CEO Gabriel Ocana-Santero reported an experiment in which GPT-6.1 Sol participated in three rounds of real mouse brain surgery positioning. The task involved locating Bregma and Lambda, two key skull landmarks used to calibrate stereotaxic coordinates for accurate targeting of brain regions. After each round, a professional surgeon corrected the model's positioning results, and the model retained its images, measurements, and expert corrections for reference in subsequent rounds. By the third round, GPT-6.1 Sol reduced landmark search time from 169 to 86 seconds, required corrections from four to two, and cut positioning error from 0.6 mm to 0.3 mm. Ocana-Santero described this as in-context learning from real-world experience. The team did not disclose how the experience records are integrated into the model or whether underlying weights are updated, so it cannot be described as autonomous training or parameter-level self-evolution. The sample is only three operations, far from proving stable surgical capability, but it demonstrates AI accumulating experience from real observations and expert feedback. This follows earlier Exin work in which AI selected gene therapy vectors, chose injection targets and coordinates, and controlled a stereotaxic device in a mouse experiment, with a licensed veterinarian supervising and safety limits in place. In a further experiment, Claude Sonnet 5, GPT-6.1 Sol, and Grok 4.7 chose different brain regions and treatment strategies for the same scientific goal, suggesting models may reason toward different experimental paths.

marsbit1h ago

GPT-6.1 Sol Participates in Live Brain Surgery! Three Rounds of Localization, Each More Accurate Than the Last

marsbit1h ago

From Drones to Nuclear Reactors: What Has Paradigm Invested in Since Leaving the Crypto World?

Paradigm, a venture capital firm known for crypto investments like Coinbase and Uniswap, is rapidly expanding into hard tech. In November, it co-led a $1.5 billion funding round for Zipline, a US drone delivery company now valued at $21.5 billion—nearly triple its valuation from January. Zipline, founded in 2014, began delivering medical supplies in Rwanda and now operates a large-scale automated logistics network, having completed 150 million miles of commercial autonomous flights. Walmart plans to add 300 new delivery sites, and Uber aims to scale their partnership to one million daily orders by 2029. Paradigm's broader portfolio now spans AI, robotics, manufacturing, semiconductors, space defense, and nuclear energy. Investments include open-source AI lab Nous Research, math-reasoning AI firm Harmonic, AI data company Idler, and GPU platform Andromeda. It also backs SendCutSend (metal parts manufacturing), Fab2 (compact semiconductor factories), True Anomaly (space defense), and Antares (micro nuclear reactors). In July, Paradigm launched a $12 billion new fund for frontier tech. This shift reflects a broader VC trend toward AI and physical technology, as crypto's path to sustained commercial revenue remains uncertain. Paradigm's bets focus on companies solving concrete industrial problems with existing markets, aiming to build a hard-tech network that transcends crypto cycles.

marsbit1h ago

From Drones to Nuclear Reactors: What Has Paradigm Invested in Since Leaving the Crypto World?

marsbit1h ago

Nomura: "Blue Wave" Hits US Data Centers, China's AI Benefits Instead

Nomura argues that the Democratic "blue wave" in the US midterms could paradoxically benefit China's AI economy. Democratic victories in key data-center states will likely tighten regulation, shift grid upgrade costs onto developers, and lengthen approval timelines, slowing US data-center expansion. Market reaction was sharp: the Nasdaq fell 5.5% in a single day, the SOX dropped nearly 15% over two days, Nvidia fell about 12%, and Micron about 24%. Because US cloud giants had been hoarding global GPU, HBM, and advanced logic chip capacity—driving black-market premiums of 200–300% at Asian logistics hubs—a US capex slowdown could collapse those speculative premiums, letting Chinese AI firms, cloud providers, and research institutions obtain GPUs, HBM modules, and advanced packaging materials more cheaply through intermediary trade hubs. China is also building a state-led national AI data-center network, with roughly RMB 2 trillion planned under the 15th Five-Year Plan to integrate regional computing by 2028, supported by low-cost renewable power in western hubs under the "East Data, West Computing" program. Morgan Stanley, meanwhile, does not see the blue wave as a real easing of US-China tensions; it expects strategic competition to persist but sees greater policy predictability. It prefers China's "self-sufficiency" AI trade—supported by both supply and demand under national policy priorities—over export chains tied to global AI capex. It also notes more balanced opportunities in Chinese equities, with valuations near historic lows.

marsbit1h ago

Nomura: "Blue Wave" Hits US Data Centers, China's AI Benefits Instead

marsbit1h ago

After GPT-6, Embodied Large Models Are Trapped in Their Own Territory! Next Year's Self-Research Budget Is Probably Up in the Air

The article discusses how the release of GPT-6 Astra (and the imminent GPT-6.2 Astra) has disrupted the embodied AI/robotics industry. General-purpose large models are now encroaching on capabilities that embodied AI companies previously developed in-house—such as in-context learning, out-of-distribution generalization, error correction, and open-vocabulary manipulation—often without task-specific post-training. On benchmarks like RoboDojo, teams combining general models with robot-use-agent techniques saw scores jump from 20–30 to 50–60, prompting many to question whether self-developing embodied foundation models still makes sense. Some companies have begun cutting algorithm roles. However, the article notes GPT-6 Astra still struggles with complex physical contact, force control, object deformation, and high-precision manipulation, and its cloud API inference latency is high (though this is not seen as a fundamental barrier). Experts argue that general models' current weaknesses shouldn't be treated as durable moats for embodied companies, since OpenAI is already hiring robotics talent and future models may absorb more robot operation data. The core argument is economic: embodied companies' opportunity lies not in building smarter models but in delivering better economic value. Stable, standardized industrial tasks may be better served by lightweight, specialized models or rule-based strategies, while open-ended tasks (e.g., home service robots) may benefit from general models. Ultimately, companies need to re-prioritize their R&D directions—leveraging general models for language understanding and task planning while focusing in-house efforts on physical interaction, embodiment-specific control, real-world adaptation, and deployment efficiency. The article concludes that the industry is moving past the demo-and-burn-investment stage, and the elimination round among the "hundred robot wars" has begun.

marsbit2h ago

After GPT-6, Embodied Large Models Are Trapped in Their Own Territory! Next Year's Self-Research Budget Is Probably Up in the Air

marsbit2h ago

Trading

Spot
活动图片