Manuscript Offprint

arXiv:2608.24680

Game2World Engine: Unlocking In-the-Wild Gameplay Videos for World Model Training

Wenxuan Shen, Dongna Jin, Dongping Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Wenxuan Shen, Dongna Jin, Dongping Chen †^{\dagger}

Video games provide a scalable source of training data for video world models, offering diverse environments, complex interactions, and abundant in-the-wild gameplay videos. However, raw gameplay footage entangles the game world with screen-space interfaces, introducing game-specific biases and irrelevant dynamics that hinder world-model training. To address this problem, we introduce GAMEUI-TAXONOMY and G2WENGINE, a full-stack framework that formalizes gameplay UI grounding and removal. G2WENGINE automatically extracts reusable UI assets from real gameplay videos and synthesizes temporally coherent UI overlays on clean footage. Using this engine, we construct GAME2WORLD, comprising 96K synthetic paired videos with precise reconstruction targets and 1,079 in-the-wild clips from 303 games for realistic evaluation. Its asset library contains 5,132 verified UI elements across 21 taxonomy categories, collected from 1,010 representative gameplay frames. Based on GAME2WORLD, we propose GAMECLEANER, a mask-free gameplay UI removal model that combines multimodal semantic understanding with video editing capabilities. Unlike mask-based methods, GAMECLEANER directly identifies and removes diverse HUD elements while preserving the underlying scene content and temporal dynamics. In a controlled pilot, world models trained on UI-free gameplay improve overall VideoReward by 6.83% over those trained on UI-overlaid data. On UI-removal evaluation, GAMECLEANER achieves an average AAR of 95.36 on synthetic videos, outperforming the strongest temporal mask baseline by 57.3%, and obtains the best in-the-wild AAR of 80.05 with 99.8 background preservation. These results demonstrate the scalable potential of transforming Internet gameplay videos into high-quality world-model training data. Code, dataset and model will be available at Dongping-Chen/Game2World.

Videos with HUD

Figure

7 days to die

Figure

Raft

In-the-wild

Gameplay

Videos without HUD

Figure

Wastelands

Figure

Cyberpunk2077

HUD Asset Extraction

Quality Filter

303 games

totaling 65.72h

Keyframe Sampling

1010 distinct frames sampled

Label

Drafting

Human

Refinement

3.69 HUD parts

per frame

UI

Extraction

turn crops into

transparent assets

HUD Overlay Synthesis

Diversity Filter

embed & remove

similar frames

Composition & Layout

semantic-based

asset selection

Temporal

Animation

static & pop-up

asset trajectory

Rendering

alpha composition

& bbox tracing

Enabled Downstream Tasks

HUD Grounding

Figure

HUD detection

and localization

Figure

UI category

classification

Figure

temporal instance

recognition

HUD Removal

Figure

pixel level UI

segmentation

Figure

temporally con-

sistent removal

Figure

gameworld

reconstruction

World Model Training

Figure

clean gameplay

corpus

Figure

world dynamics

learning

Figure

controlled video

generation

Figure 1: Overview of G2WENGINE, a scalable data engine that transforms in-the-wild gameplay videos into world-model-ready data through HUD asset extraction, temporally coherent UI synthesis, and downstream support for HUD understanding, removal, and clean gameplay generation.

Corresponding author: Dongping Chen: dongpingchen0612@gmail.com.

1. Introduction

World models have emerged as a promising foundation for interactive simulation, controllable video generation, and embodied agents. However, scaling them remains challenging because collecting diverse, long-horizon interaction data from closed simulators or instrumented environments is expensive and difficult to generalize across domains. In-the-wild gameplay videos offer a scalable alternative: the Internet contains abundant footage spanning diverse 3D environments, visual styles, viewpoints, tasks, dynamics, and player behaviors, providing rich visual experience for learning how complex environments evolve over time.

However, raw gameplay footage is not a direct observation of the game world, but a composite rendering that mixes the underlying scene with screen-space HUDs, menus, notifications, watermarks, and streaming overlays (Kang and Choi, 2020, 2022, Wu et al., 2023). These elements introduce game-specific patterns and dynamics unrelated to the physical environment. In our controlled pilot study, we train otherwise identical video-generation models on clean and UI-overlaid versions of the same 5,442 gameplay clips. Removing UI improves overall VideoReward by 6.83%, including gains of 18.8% in motion quality and 2.7% in video quality. Clean clips also achieve 8.59% higher aesthetic quality and 4.36% stronger motion consistency, showing that gameplay interfaces introduce irrelevant supervision and visual shortcuts that reduce the value of gameplay videos for world-model training.

To unlock this data source, we first formalize gameplay UI understanding through a unified GAMEUI-TAXONOMY covering diverse interface elements and supporting tasks such as UI grounding and removal. We then introduce G2WENGINE, a processing framework that transforms raw gameplay footage into world-model-ready data. We formulate HUD removal as interface-world disentanglement: identifying structured screen-space overlays, removing them consistently over time, and reconstructing occluded game content while preserving unrelated scene information. Unlike physical objects, gameplay interfaces exhibit category-specific spatial and temporal behaviors, requiring gameplay-aware semantic understanding and temporally coherent reconstruction.

Based on G2WENGINE, we construct GAME2WORLD, which combines 96K synthetic UI-overlaid videos with clean references and 1,079 in-the-wild clips containing authentic gameplay interfaces. The two subsets evaluate complementary aspects of the task: faithful reconstruction under controlled ground truth and generalization to real gameplay footage. Building on GAME2WORLD, we propose GAMECLEANER, a mask-free gameplay UI removal model combining multimodal semantic understanding with video editing. GAMECLEANER directly identifies and removes diverse HUD elements while reconstructing occluded content and preserving unrelated scene details and temporal dynamics, enabling generalization across unseen games and UI layouts.

Across controlled and in-the-wild evaluations, GAMECLEANER achieves a stronger balance between UI removal and game-world preservation than existing video editing and object removal methods. On the synthetic subset, it obtains an average score of 0.5697, outperforming the strongest mask-free baseline, LoomVideo, by 40.3%, while remaining only 0.0233 below mask-assisted EffectErase. On the more challenging in-the-wild subset, GAMECLEANER achieves the highest overall score of 0.4886, exceeding EffectErase by 23.7%. Together with our pilot study, these results show that gameplay UI removal improves the utility of in-the-wild gameplay footage as training data rather than serving only as a visual editing operation.

Our main contributions are:

• Pilot study of gameplay video as world-model training data. We systematically isolate the effect of gameplay interfaces using clean and UI-overlaid versions of the same 5,442 clips. Training on clean gameplay improves overall VideoReward by 6.83%, motion quality by 18.8%, aesthetic quality by 8.59%, and motion by 4.36%.

• Full-stack taxonomy, task formulation, and evaluation protocol. We introduce a unified taxonomy of gameplay HUD elements, formalize HUD grounding and removal, and develop element-level removal, artifact, and background-preservation metrics. Our MLLM evaluator reaches an 87.78% removed F1 and a Cohen's κ\kappa of 0.820 against human annotations.

• Scalable data engine and large-scale dataset. We develop G2WENGINE for extracting real HUD assets and synthesizing temporally coherent paired videos. It produces GAME2WORLD, containing 96K synthetic video pairs, 1,079 in-the-wild clips from 303 games, and 5,132 verified assets across 21 UI categories.

• GAMECLEANER: mask-free gameplay UI removal. We develop a general gameplay video editing model that removes diverse overlays without input masks. It achieves 95.36 on the synthetic dataset, outperforming the strongest mask-free baseline by 57.3%, and obtains the best in-the-wild AAR score of 80.05 (w. ref) and 51.60 (w.o. ref).

References (84)

  • Diffusion for world modeling: Visual details matter in atari
  • Genie 3: A new frontier for world models
  • Generative interactive environments
  • Free-form video inpainting with 3d gated convolution and temporal patchgan
  • Gamegen-x: Interactive open-world game video generation
  • Mllm-as-a-judge: Assessing multimodal llm-as-a-judge with vision-language benchmark
  • EffectErase: Joint video object removal and insertion for high-quality effect erasing
  • Mineworld: a real-time and open-source interactive world model on minecraft (opens arXiv in a new tab)
  • Ltx-2: Efficient joint audio-visual foundation model (opens arXiv in a new tab)
  • LoRA: Low-Rank Adaptation of Large Language Models
  • Vbench: Comprehensive benchmark suite for video generative models
  • Vace: All-in-one video creation and editing
  • Instance segmentation method of user interface component of games (opens the publisher in a new tab)
  • Unsupervised semantic segmentation method of user interface component of games (opens the publisher in a new tab)
  • Generative omnimatte: Learning to decompose video into layers (opens arXiv in a new tab)
  • Towards an end-to-end framework for flow-guided video inpainting
  • Kiwi-edit: Versatile video editing via instruction and reference guidance (opens arXiv in a new tab)
  • Jie Liu et al. Improving video generation with human feedback. arXiv preprint arXiv:2501.13918, 2025. (opens arXiv in a new tab)
  • Transformers are sample-efficient world models (opens arXiv in a new tab)
  • Omniweaving: Towards unified video generation with free-form composition and reasoning (opens arXiv in a new tab)
  • Diffusion models are real-time game engines
  • Koala-36m: A large-scale video dataset improving consistency between fine-grained conditions and video content
  • Loomvideo: Unifying multimodal inputs into video generation and editing (opens arXiv in a new tab)
  • Widget detection-based testing for industrial mobile games (opens the publisher in a new tab)
  • Bvinet: Unlocking blind video inpainting with zero annotations
  • Deep flow-guided video inpainting
  • Aurora: Unified video editing with a tool-using agent (opens arXiv in a new tab)
  • Learning joint spatial-temporal transformations for video inpainting
  • Interactive world foundation model (opens arXiv in a new tab)
  • Prop painter: Improving propagation and transformer for video inpainting
  • We first selected diverse and representative screenshots from more than 500 games and performed a coarse categorization of the labels based on their functions and names
  • The resulting corpus provides visually diverse and uniformly formatted clean gameplay clips for subsequent UI synthesis and model training
  • The central frame of each window is used as a compact visual representative for diversity analysis, balancing scene coverage against the cost of processing every frame
  • Let $e_i \in \mathbb{R}^d$ denote an $\ell_2$-normalized embedding
  • This produces at most 100,000 diverse candidates before temporal deduplication
  • We therefore compare temporally adjacent candidates from the same source and remove the later candidate when their cosine similarity exceeds 0.94
  • The resulting uniform format ensures that UI synthesis and model training operate on consistent spatial and temporal dimensions
  • It introduces the eligibility criteria, category-specific spatial priors, common layout formations, seeded position variation, collision handling, and motion models used to generate realistic yet diverse interface layouts
  • Assets are filtered by taxonomy, visual form, and role-specific aspect-ratio constraints
  • Otherwise, the renderer uses category-specific spatial anchors
  • Maximum dimensions and motion amplitudes are expressed as fractions of the output frame
  • Recorded positions override these anchors when available
  • The weapon bar remains near the bottom center in all three families
  • Each preset changes the formation, global UI scale, opacity scale, selected role scales, and transient-event density
  • This decoupling preserves reproducibility and prevents a change in one sampling component from unintentionally altering the others
  • Table 12 gives the default mixture
  • The anchor is selected from the profile's candidate set
  • Before applying this cap, the sampled entrance/exit ranges are 0.18–0.58/0.18–0.62 seconds for fade, 0.26–0.72/0.16–0.48 seconds for slide
  • The instant and border_arc animations have zero entrance and exit fade durations
  • Arc height is sampled from 0.14–0.34 of the shorter frame side, normal-direction noise amplitude from 0.010–0.032, and noise frequency from 1.7–3.8 cycles
  • The paired clean video is retained for controlled analysis but is not shown to the primary evaluator
  • Without it, assets are sampled uniformly from the taxonomy-compatible pool
  • This record supports reproducibility and makes it possible to inspect whether appearance matching selected assets consistent with the target gameplay
  • Assets without this internal structure are composited directly, and a procedural status panel is used only when no suitable asset is available
  • Filled regions preserve the original panel color; unfilled saturated regions are darkened to 30% intensity
  • Candidate icons must be at least $8 \times 8$ pixels and have aspect ratio between 0.15 and 5.8
  • The clean video serves as the reconstruction target and the overlaid video as the model input
  • Its purpose is to make every generated example reproducible and to support deterministic reconstruction of frame-level annotations
  • Aesthetic matching is disabled in this profile
  • The instance table stores identity, semantic category, role, asset provenance, and parent-child relations once per video
  • Transient boxes reproduce entrance, exit, drift, trail, and border-arc animation, including off-screen clipping
  • The frozen timeline-correct protocol records the following exact strings for the two Kiwi runs:
  • These fields are not provided to the judge
  • The frozen Terra judge prompt is reproduced verbatim below
  • Inspect every overall image explicitly for frame preservation before judging the element crops
  • Corresponding crops therefore use the same pixel scale
  • if any recognizable component survives, even when its other components are gone. Faint, blurred, partially readable, or fragmented remnants of the same text/icon/shape also count as
  • only when the same distinctive original graphic/text/shape, or a recognizable fragment of it, survives. If that original-only layer is gone while unrelated content remains, use
  • not_applicable
  • Natural motion blur, depth-of-field blur, texture softness, and codec softness are also not artifacts by themselves
  • minor_change
  • Thus, a 30-FPS, 150-frame source is sampled at indices 0, 15, ..., 135, while an 81-frame, 16-FPS edited result is sampled at 0, 8, ..., 72
  • This prevents invalid comparisons caused by incomplete outputs or incompatible geometry; the allowed absolute aspect-ratio difference is at most 0.01
  • This is direct scaling rather than letterboxing
  • Source and edited frames therefore share exactly the same box coordinates and pixel scale
  • If the longest side of the original annotation-space box is at most 96 pixels, the detail sheet also includes an exact-target pair
  • Small elements additionally receive an exact-target pair
  • The prompt includes a JSON evidence mapping containing attachment index, sample and element identifiers, pair orientation, dimensions, crop layout, and target-box coordinates relative to the crop
  • element_id
  • Confidence must lie in [0,1]
  • Dataset aggregation is video-macro:
  • They are averaged over sampled frames within a video and then macro-averaged over videos
  • The formal comparison uses UI removal success, clean UI removal success, artifact-adjusted removal, and background preservation, with synthetic and in-the-wild subsets reported separately
  • The call uses the frozen model and reasoning setting, validates the response against the exact JSON schema, and records both the raw response and the parsed judgment