EgoCS-400K: An Egocentric Gameplay Dataset for World Models

Rongjin Guo, Dong Liang, Yuhao Liu, Fang Liu, Tianyu Huang, Gerhard P. Hancke, Rynson W. H. LauarXiv 2026

TL;DR

EgoCS-400K is a massive new egocentric dataset containing over 10,000 hours of professional Counter-Strike gameplay designed to train interactive world models. By extracting exact player inputs, game states, and camera movements directly from match replays, it provides a perfectly synchronized video-action-language corpus at an unprecedented scale.

What Problem Does This Paper Address?

The AI community is rapidly shifting from passive video generation to building interactive world models—systems that don't just predict the next frame, but simulate how an environment changes in response to specific agent actions.

Training these models requires dense, temporally aligned video-action-language trajectories. However, this data is notoriously hard to find:

  • Web videos provide massive visual diversity but lack explicit action labels or internal state logs.
  • Robotics datasets offer precise action logging but are prohibitively expensive to scale and lack environmental variety.
  • Standard simulators (like Minecraft) often lack high-fidelity visuals or complex, human-driven strategic interactions.

To bridge this gap, the authors turn to competitive esports. Professional Counter-Strike (CS:GO and CS2) matches are saved as "demos"—compact files containing the exact engine instructions of a match. This allows researchers to perfectly reconstruct and render human gameplay trajectories with absolute ground-truth precision.

Methods

The authors developed an automated data pipeline to turn raw match demos into a structured dataset:

  1. Rendering & Filtering: They used game clients to render clean, first-person videos at 32 FPS from the perspective of all 10 players in a match, filtering out spectator views or corrupted recordings.
  2. Player-Level Parsing: Using DemoParser2, they extracted per-tick data including player positions, view angles, velocities, inventory states, and discrete keyboard/mouse inputs.
  3. Dynamic-Programming Segmentation: Instead of slicing videos into arbitrary fixed-length clips, they designed a dynamic programming algorithm to find optimal clip boundaries. This ensures that "cut-protected" action chains—like reloading a weapon or throwing a grenade—are never split mid-action.
  4. Prior-Guided VLM Captioning: To generate rich textual descriptions, they fed the video clips into a Vision-Language Model (Qwen-VL). Crucially, they filtered the raw game logs to remove camera jitter and ineffective actions, passing only meaningful "priors" to the VLM to prevent text hallucinations.
Figure 2: Construction pipeline of EgoCS-400K. Starting from public Counter-Strike demos, we first collect raw replay files, render synchronized first-person videos, and filter invalid rendered videos. We then parse each demo into player-level per-tick data. From the parsed action and spatial signals, we construct keyboard/mouse annotations, atomic action sequences, protected action chains, and video segments. Finally, we construct prior-guided VLM prompts to generate structured segment-level and protected-chain-level captions.

Datasets

The paper introduces EgoCS-400K, a newly compiled benchmark dataset. It stands out from existing egocentric datasets (like Ego4D or EPIC-KITCHENS) because it includes low-level, executable control traces rather than just high-level human narrations.

Key Insights and Ideas

  • Demos as a Source of Truth: Unlike recording a live screen, game demos allow researchers to decouple visual observation from canonical supervision. The demo timeline provides authoritative timing and state data, while the renderer provides the visual evidence.
  • Protecting Action Integrity: Naive video slicing introduces semantic discontinuities. By treating segmentation as a boundary-selection problem that respects atomic action durations, the dataset remains highly effective for action-conditioned learning.
  • Input Filtering for VLMs: Raw telemetry data is incredibly noisy (e.g., constant micro-adjustments of the mouse). Aggregating these into directional camera movements and filtering out "no-effect" actions drastically improves the quality of VLM-generated captions.

Key Results

EgoCS-400K represents a massive leap in scale for action-grounded egocentric video datasets:

  • Total Volume: Over 400,000 first-person videos spanning more than 10,000 hours of gameplay.
  • Breadth: Sourced from over 1,000 professional matches and 40,000 rounds, covering 13 distinct maps.
  • Granularity: Features multi-level annotations ranging from per-tick state traces up to high-level structured scene descriptions.
Figure 1: Overview of EgoCS-400K. EgoCS-400K is a large-scale multi-grained egocentric Counter-Strike dataset built from first-person gameplay videos across CS:GO and CS2 maps, covering 10,000+ hours, 40,000+ rounds, 1,000+ matches, 13 maps, and 10 player viewpoints. The dataset provides a hierarchical organization from player-view sequences to segments, protected action chains, protected atomic actions, and per-tick state traces. For each segment, EgoCS-400K further provides rich replay-grounded annotations, including segment-level and protected-segment captions, action sequences, camera and movement descriptions, prompts, keyboard/mouse signals, and per-tick states. This multi-level design enables fine-grained analysis of embodied actions, temporal dynamics, and player-environment interactions in complex competitive scenarios.

The dataset successfully supports multiple downstream tasks, including action-conditioned future prediction, state-aware scene rollouts, and egocentric action understanding for gaming agents.

Limitations and Future Work

While EgoCS-400K is a powerful intermediate testbed, the authors note a few key limitations:

  • Domain Gap: The behaviors are strictly centered around tactical shooter mechanics (navigation, shooting, utility management) and do not translate directly to everyday real-world tasks like object manipulation or social interaction.
  • Simulated Physics: The environment obeys game physics and discrete keyboard/mouse logic rather than continuous, real-world physical dynamics.
  • VLM Errors: The captions are generated by an automated VLM pipeline rather than human gold-standard labels, meaning they may still contain occasional visual detail errors.

Summary updated

BibTeX
@misc{guo2026egocs,
  author = {Rongjin Guo and Dong Liang and Yuhao Liu and Fang Liu and Tianyu Huang and Gerhard P. Hancke and Rynson W. H. Lau},
  title = {{EgoCS-400K: An Egocentric Gameplay Dataset for World Models}},
  year = {2026},
  eprint = {2606.18180},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.18180},
}

Loading related content...

Figure