HyperAIHyperAI

Command Palette

Search for a command to run...

Wizard: 에이전틱 게임 월드 모델

Yuzhe Wu Zijun Lin Yeying Jin

초록

최근 비디오 월드 모델의 발전은 점점 더 사실적이고 상호작용적인 가상 환경의 생성을 가능하게 하여, 플레이어가 맞춤화할 수 있는 게임플레이의 새로운 가능성을 열고 있다. 에이전틱 프레임워크는 명시적 게임 로직과 제어 가능한 월드 표현을 시각적 생성으로부터 분리함으로써 이 방향을 더욱 발전시킨다. 그러나 기존 접근법은 단순한 게임 설정과 사전 정의된 모션 패턴만 지원하고, 보지 못한 환경과 캐릭터에 대한 일반화가 부족하며, 실시간 상호작용성이 제한적이다. 본 논문에서는 새로운 장면, 캐릭터, 동작에 대해 제로샷으로 일반화하면서 캐릭터 모션을 실시간으로 정밀하게 제어할 수 있는 에이전틱 게임 월드 모델인 Wizard를 소개한다. 이를 위해 우리는 750개의 장면과 178개의 캐릭터를 아우르는 다양한 데이터셋을 구축하고, 골격 및 기하 정보를 구조화된 표현으로 통합한다. 우리는 이러한 표현을 중간 프록시로 활용하여 비디오 생성 모델을 조건화하고, 조건화 신호와 생성된 비디오 롤아웃 간의 정합성을 개선하는 적응형 마스킹 메커니즘을 함께 사용한다. 나아가, 우리는 게임 상태를 명시적으로 유지하고 갱신하는 에이전틱 프레임워크를 도입하여, 플레이어가 가상 세계를 자유롭게 구성하고 시각적 품질과 게임플레이 일관성을 유지하면서 캐릭터 모션을 세밀하게 제어할 수 있도록 한다. 에이전틱 제어와 구조화된 프록시 기반 생성을 결합함으로써, 우리의 프레임워크는 실시간성, 일반화 가능성, 게임 메커니즘적 일관성을 갖춘 세계 시뮬레이션을 통해 플레이어 주도형 게임 창작의 새로운 가능성을 연다.

One-sentence Summary

Researchers from Tencent, NUS, and NTU introduce Wizard, an agentic game world model that enables real-time, precise, zero-shot control over character motions across novel scenes, characters, and actions by conditioning video generation on skeleton and geometry proxies derived from a dataset of 750 scenes and 178 characters, using adaptive masking and explicit game-state updates to preserve visual quality and gameplay consistency for player-driven world creation.

Key Contributions

  • The paper introduces Wizard, an agentic game world model that conditions generation on articulated skeletons and geometry maps, maintains explicit game state, and enables fine-grained player control over character motion and scene manipulation while preserving gameplay consistency.
  • The paper constructs a diverse multi-source dataset covering 750 scenes and 178 characters, with aligned character skeletons and scene geometry, to provide structured visual proxies for character and scene generation.
  • The method uses an adaptive attention masking mechanism based on character positions from these proxies during training and inference to improve identity preservation and video-reference alignment, supporting zero-shot generalization to unseen scenes, characters, and motions and real-time generation via causal adaptation and few-step distillation.

Introduction

World models predict future observations from visual histories and current actions, and in games they offer a path toward interactive, personalized gameplay conditioned on player inputs. Existing approaches remain constrained in control flexibility, generalization, and real-time interaction: action-conditioned models are limited to predefined action sets, prompt-conditioned models struggle with unseen instructions, and agentic or engine-based methods often emphasize basic vehicle or locomotion control or impose scene and latency constraints. The authors propose Wizard, an agentic game world model that decouples scene construction, character animation, and gameplay logic from visual generation through structured spatial conditioning. Wizard represents scenes with depth and height geometry and characters with articulated skeletons, enabling zero-shot generalization to unseen scenes, characters, and motions while supporting real-time, mechanically consistent gameplay.

Dataset

Dataset overview

  • The authors construct 50.3 hours of aligned proxy-video pairs covering 750 scenes and 178 characters.
  • The dataset combines real gameplay recordings, synthetic data, Unreal Engine simulations, and public datasets.
  • The goal is to pair RGB video with complementary control signals: articulated skeletons for character motion and geometry maps for scene structure.

Source composition

  • Gameplay recordings: 8.8 hours from Elden Ring, covering third-person combat and exploration. Combat data includes six bosses with diverse body structures, while exploration data spans 11 regions and more than 20 player outfits. RGB frames, camera parameters, scene depth, and character skeletons are captured directly from the game.
  • Synthetic data: 11.6 hours generated through a procedural rendering pipeline. It uses 133 boss and 29 player assets from Sketchfab, Quaternius, and KayKit, plus 842 Poly Haven environment assets. Each scene includes 15 to 30 randomly placed props and randomized character colors. Four scenarios target robustness: novel character entry, multi-character coexistence, camera-induced disappear/reappear, and rapid turns under a following camera. Camera motion is applied to 95 percent of samples, and a vision-language model filters out invalid renders and physically implausible placements.
  • Unreal Engine simulations: 3.3 hours of gameplay footage with reconstructed characters and weapons, scripted opponents, and bot-controlled players. RGB frames and geometric proxies are rendered from the same simulated state for aligned supervision.
  • Public datasets: 26.6 hours from WildWorld, selected for diverse creature morphologies and motion patterns. Its synchronized camera, skeletal, and depth annotations are converted into the unified proxy representation.

Processing pipeline

  • Data acquisition: Camera poses, intrinsics, skeletons, and scene depth are collected. For real gameplay, camera data and skeletal states are extracted from the game process. Scene depth is captured at one frame per second and used to reconstruct scene geometry, from which depth maps are rendered per frame. Synthetic and Unreal Engine data are obtained directly from assets and simulation states. Public dataset annotations are reused.
  • Unified proxy encoding: At each frame, character skeletons and scene geometry are jointly rendered under a shared camera to preserve spatial relationships and occlusion.
    • Scene branch: characters and sky are removed from depth maps, temporal observations are fused into 3D scene geometry, and geometry is re-rendered under each frame camera pose.
    • Character branch: 3D joints are projected into the camera view and rendered as rounded bone segments with joint markers, with thickness adapted to character scale and camera distance.
  • Channel encoding: The RGB channels encode geometric attributes rather than appearance colors.
    • R encodes height, with character values mapped to [0, 0.2] and scene values mapped to [0.5, 1].
    • B encodes camera-forward depth, where brighter values indicate closer surfaces.
    • At each pixel, the renderer keeps the surface closest to the camera.
    • G jointly encodes character slot and facing direction, while scene geometry uses G = 0. All parts of a character share the same slot value within a frame, and slots are linked to reference images.
  • Filtering and annotation: Synthetic samples with implausible configurations, such as floating players or rendering failures, are filtered out. Qwen3-VL-8B generates structured captions from the first frame and character references, describing conditioning signals, player, boss, and background.

Training sample format

Each training sample consists of:

  • An aligned proxy video.
  • An RGB clip.
  • Character reference images.
  • A textual description.

Use in the model

  • The unified proxy-video pairs are used to train a video world model for fine-grained control and zero-shot generalization.
  • The slot and reference setup is designed so the generator recovers character appearance from reference images rather than relying on fixed visual appearance or screen position.
  • The provided sections do not specify an explicit train/validation split, exact source mixture ratios, or cropping strategy. The described processing focuses on constructing unified geometric conditioning signals and aligned video-proxy training samples.

Method

The authors propose Wizard, a system combining an agentic framework for explicit world-state control with a video generator that renders the evolving state through structured visual proxies. Before each gameplay session, an initialization stage reconstructs the scene and characters, rigs character skeletons, and builds a target-specific motion set through motion retrieval and retargeting. Once initialized, the framework supports real-time gameplay by updating character motions, scene geometry, and combat states in response to player inputs and boss decisions, while the video generator renders the corresponding visual observations.

As shown in the figure below:

The agentic framework handles character animation, scene manipulation, and state-aware combat control. For character animation, Qwen3-VL infers body structure from a character image, SAM2 segments it, and TripoSG reconstructs the mesh. UniRig and a medial-axis fitting procedure generate skeletons with semantic labels. Motions are retrieved from a library based on compatible body structures and VLM-assessed movement styles, then retargeted using inverse kinematics. For scene manipulation, MoGe-2 recovers 3D point maps and camera parameters to construct an editable background mesh. A world agent translates natural-language instructions into geometric operators to modify the scene geometry, which is re-rendered into visual proxies using OpenGL. For state-aware combat control, a shared world state tracks positions, poses, health, and cooldowns. A behavior planner selects movements and attacks, while a rule-based controller enforces gameplay constraints, detects hits via swept hitboxes, and updates combat outcomes.

To condition the video generator, the system constructs unified geometric conditioning videos. Scene geometry and character skeletons are jointly rendered to preserve spatial relationships and mutual occlusion. The RGB channels encode geometric attributes rather than appearance colors: R encodes height, B encodes camera-forward depth, and G jointly encodes a character's slot and facing direction.

Refer to the framework diagram:

The video generator is built on Wan2.2-TI2V-5B, rendering evolving visual proxies into video conditioned on the initial scene image and character references:

X^t:t+L−1=Gθ(Pt:t+L−1,I0,{Rk}k=1K;H<t)\hat{\mathbf{X}}_{t:t+L-1} = G_{\theta} \left(\mathbf{P}_{t:t+L-1}, \mathbf{I}_0, \{\mathbf{R}^k\}_{k=1}^K; \mathbf{H}_{<t}\right)X^t:t+L−1​=Gθ​(Pt:t+L−1​,I0​,{Rk}k=1K​;H<t​)

where Pt:t+L−1\mathbf{P}_{t:t+L-1}Pt:t+L−1​, I0\mathbf{I}_0I0​, and Rk\mathbf{R}^kRk denote the visual proxy sequence, the initial scene image, and the reference image for character kkk, respectively. H<t\mathbf{H}_{<t}H<t​ denotes the context retained from previously generated frames.

As shown in the figure below:

The first frame is encoded as a clean latent prefix to establish scene appearance. Proxy frames are encoded by the same VAE and concatenated with noisy video latents along channels, using a zero-initialized condition embedding. Character references are appended as additional tokens to specify appearance.

To bind reference images to their intended characters, the authors leverage explicit skeleton structures through Character-Aware Adaptive Masking. Bounding regions are derived from skeletons and expanded by 25%. In every DiT self-attention layer, attention from video token iii to reference token jjj is gated using an additive mask:

Aij=Softmaxj(qi⊤kjd+Mij),Mij={0,ui∈Ωk(j),τ(i),−∞,otherwise,A_{ij} = \text{Softmax}_j \left(\frac{\mathbf{q}_i^\top \mathbf{k}_j}{\sqrt{d}} + M_{ij}\right), \quad M_{ij} = \begin{cases} 0, & \mathbf{u}_i \in \Omega_{k(j), \tau(i)}, \\ -\infty, & \text{otherwise}, \end{cases}Aij​=Softmaxj​(d​qi⊤​kj​​+Mij​),Mij​={0,−∞,​ui​∈Ωk(j),τ(i)​,otherwise,​

where k(j)k(j)k(j) identifies the character associated with reference token jjj, ui\mathbf{u}_iui​ and τ(i)\tau(i)τ(i) denote the spatial position and frame index of video token iii, and Ωk,τ\Omega_{k, \tau}Ωk,τ​ is the expanded region of character kkk at frame τ\tauτ. This spatial masking reduces cross-character appearance leakage and supports flexible summoning, removal, transformation, and multi-character gameplay.

For real-time autoregressive generation, the authors adopt a three-stage training pipeline. First, teacher forcing adapts the bidirectional model to autoregressive generation. Second, consistency distillation uses a guided causal teacher and an exponential moving average target, training the student with a sliding window of 20 latent frames and the first frame as a persistent attention sink. Third, distribution matching distillation is applied to the student's own autoregressive rollouts, using the frozen bidirectional model as the target score network and a learned critic to estimate the student's score. The visual proxy conditions and character-gated reference attention remain active throughout all stages, enabling the model to generate real-time rollouts at 24 FPS with only 2 denoising steps.

Experiment

The experiments evaluate Wizard using user-provided references unseen during training, with agent-controlled visual proxies driving real-time gameplay generation. Zero-shot generalization tests show that the model handles novel scenes, characters, and motions while maintaining visual consistency and enforcing game rules such as health-based combat resolution. Open-ended creative gameplay tests further demonstrate interactive character transformation and scene manipulation, including combining both changes in a single scenario. Overall, the framework supports flexible, user-driven control of characters and environments without additional fine-tuning.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp