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

OpenAI and Meta Join Forces, Bridging the "Last Mile" of Agent Commerce

On November 13, 2026, two major announcements landed the same day, together addressing the "last mile" of agent commerce: how AI assistants get through the door, and how they pay. Sierra and Meta released Poppy v1.0, a Personal Agent Protocol built on OAuth, HTTPS, OpenAPI, and the Model Context Protocol. Poppy lets businesses cryptographically verify three things: which assistant is making a request, which user it represents, and what permissions it holds. Companies publish a discovery file at /.well-known/poppy describing endpoints and allowed actions, while both user and business must consent to each interaction via two-way authorization. Shopify automatically enabled Poppy discovery files for merchants in 175+ countries, giving the protocol immediate scale, with over 100 design partners including Delta, 1Password, Okta, and Cloudflare. Separately, OpenAI launched ChatGPT Wallet for its personal assistant dots. The assistant can search, compare, and fill a cart, but must stop at checkout—users confirm via biometric authentication. Neither the assistant nor the merchant ever sees the real card number; card networks issue a one-time payment credential instead. Built with Amex, Mastercard, and Visa, the wallet runs entirely on traditional fiat rails—explicitly not crypto or stablecoins. It initially opens only to US Pro subscribers aged 18+. Notably, Visa and Mastercard span both initiatives, and OpenAI itself appears among Poppy's design partners—despite dots and Meta's Muse competing for the consumer entry point. The shared logic: consumer-facing competition, but shared infrastructure on the business side. The common bottom line is "human in the loop"—agent autonomy stops at the shopping cart. Open questions remain: liability when an assistant errs or is manipulated by malicious prompts, coverage beyond Shopify and US Pro users, and whether mandatory biometric confirmation for every small purchase will become friction that undermines the convenience promise.

marsbit53m ago

OpenAI and Meta Join Forces, Bridging the "Last Mile" of Agent Commerce

marsbit53m ago

Has the Time Come to Buy the Dip on Nvidia?

Nvidia announced on November 12 that Jensen Huang resigned as President, CEO, and Director, effective immediately. Shares fell as much as 14% intraday to $148.8, down nearly 40% from October highs, with over $600 billion in market value briefly erased. The founder's departure triggered the selloff, but the market is repricing the entire company rather than reacting to a single risk. Nvidia now trades at roughly 12x forward PE, its lowest in 15 years and below the S&P 500's ~18x, despite strong fundamentals: FY2026 revenue of $215.9 billion (+65%), data center revenue of $62.3 billion in a single quarter, ~75% gross margins, and Q2 FY2027 revenue of $96.2 billion with $21.3 billion free cash flow. Most investment banks cut targets but maintained Buy/Overweight ratings (Barclays $210, Goldman $220, Citi $225, RBC $230), implying ~20% upside, while Truist downgraded to Hold at $174. The consensus: the business is intact, but its valuation multiple needed resetting. Supporting demand, Huang forecast at GTC 2026 that Blackwell and Rubin AI chip demand would reach at least $1 trillion by 2027, double the prior 2026 estimate. However, risks remain beyond CEO succession. CUDA's lock-in effect is eroding on the inference side—Anthropic disclosed that its Claude Mythos Preview autonomously ported core GPU kernels to AMD flagship GPUs in three days with minimal human intervention, prompting investor Marcelo P. Lima's widely cited claim that "Nvidia's CUDA moat no longer exists." Supply bottlenecks lie in HBM and packaging, not wafers: TSMC can cut over 400 million GPU dies annually, but Nvidia ships only ~10 million GPUs yearly, constrained by HBM capacity (~3.75EB globally, ~70% allocated to Nvidia, ~260GB per GPU) and tight packaging, with HBM4 adjustments possibly delaying Rubin. Huang also leaves behind highly personalized assets—strategic technology judgment, supply chain negotiation with TSMC and SK Hynix, and direct channels to customers and governments—that interim CEO Colette Kress, the long-time CFO, may not fully replace. In short, the business remains, but the "faith premium" is being systematically stripped away. At 12x forward PE, much pessimism is priced in, offering a favorable risk-reward window if AI capex holds and demand materializes. Yet cheapness alone isn't sufficient: CUDA's erosion is slow but irreversible, HBM and packaging limit revenue upside, and succession uncertainty means the founder premium may not be fully removed. As Bernstein noted, "if you see two ants in the kitchen, there are more than two," warning that chains from scandal to governance vacuum to government probes could trigger further selloffs. Until the dust settles, what a Jensen-less Nvidia is worth remains an open question.

marsbit1h ago

Has the Time Come to Buy the Dip on Nvidia?

marsbit1h ago

AI Bull Market Trap? The Big Short Seller Strikes Again

Recent signals from Goldman Sachs, the Federal Reserve, and prominent short-seller Michael Burry are converging on concerns about the AI trade. Goldman warns that AI capital expenditure growth will likely peak in early 2027, with the boost to S&P 500 earnings falling from a 12-point peak in 2026 to a 5-point drag by 2028, shifting the market from a one-way rally to two-way volatility. The Fed has flagged AI as a potential threat to asset valuations and financial stability. Burry has doubled his Nasdaq 100 put options and rebuilt short positions in a semiconductor ETF, calling this a "bull market trap" analogous to the 2000 dot-com bubble, with Nvidia's influence a key worry. Four pressures weigh on the AI narrative: peaking capex growth, high interest rates that hit long-duration AI assets and leveraged GPU cloud providers like CoreWeave and Nebius, circular financing risks among interconnected tech firms, and tighter regulation under Democrats affecting data center energy, land, and permitting. Nvidia-related turmoil has shaken the pricing anchor for the entire supply chain. However, a valuation bubble bursting does not mean the AI industry is declining. Goldman notes US cloud giants trade at just 19.7x forward P/E, below their 20-year historical range and even below defensive staples, suggesting much pessimism is already priced in. Opportunities are shifting from upstream hardware "shovel sellers" toward fairly valued cloud giants with improving free cash flow, AI application companies delivering real ROI, and deeply discounted cyclical names like Korean memory. Conversely, GPU cloud providers dependent on Nvidia orders and cash-burning startups without products are most vulnerable. Investors should diversify, hedge, and focus on assets that convert spending into stable returns.

marsbit1h ago

AI Bull Market Trap? The Big Short Seller Strikes Again

marsbit1h ago

Just Offered 3.3 Million Yuan Salaries to Poach Talent, OpenAI Suddenly Dissolves Robotics Team—Is the Industry About to Change!

OpenAI has disbanded its standalone robotics research team, confirmed shortly after booking booth 208 at the CoRL robotics conference in Austin went empty on November 13. The move surprised many, given that just months earlier OpenAI was aggressively hiring robotics talent—some roles paying up to $500,000 base salary—and had expanded its San Francisco data-collection lab to about 100 workers across three shifts, with a second lab planned in Richmond, California. Researchers from the robotics team are now folded into Chief Research Officer Mark Chen's core research division, while robotics applications and hardware staff move to President Greg Brockman's Applied division. OpenAI says robotics remains part of its long-term vision and the reshuffle is meant to accelerate progress. This is not OpenAI's first robotics retreat: it ended its first independent robotics effort in 2020 to focus on large language models, which produced ChatGPT, and only rebuilt a team in 2024. OpenAI explains the latest pivot technically—researchers initially believed video-generation models like Sora could teach robots physics, but general models such as GPT-6 Astra proved capable of directly controlling robots, so robotics work is being merged into the general foundation-model team. The broader industry context supports this shift. Unitree's Wang Xingxing said his biggest mistake over the past decade was not trusting AI enough, noting GPT-6 integration exceeded expectations and that humanoid intelligence's tipping point may arrive within one to two years. Anthropic's Claude Fable 5.2 scored 64.9% on the RoboDojo Sim benchmark versus 29.8% for GPT-6 Astra, and Nvidia's Astranomy study showed GPT-6 Astra controlling simulated robots with 74.8% success using an agentic approach, beating the prior specialized-model best of 51.0%. Yet challenges remain: general models are costly and slow—GPT-6 Astra averaged 18.56 seconds per inference and about 30.9 million tokens (roughly $36.40 in API fees) per successful task—problematic for real factories where conveyor belts don't pause. Google DeepMind, Nvidia, Unitree and AgiBot continue training specialized robotics models; Google's Apollo 2 achieved 96% success sorting parts in Mercedes factories using paired reasoning and action models, while Nvidia's GR00T 2 reached 95% success after brief fine-tuning. Analysts suggest OpenAI now treats robotics as a downstream application of general intelligence, leveraging core model advances while using its data-collection and hardware capabilities to validate models on real robots.

marsbit1h ago

Just Offered 3.3 Million Yuan Salaries to Poach Talent, OpenAI Suddenly Dissolves Robotics Team—Is the Industry About to Change!

marsbit1h ago

Trading

Spot
活动图片