Upload README.md with huggingface_hub
Browse files123---license: cc-by-nc-4.0---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153---license: cc-by-nc-4.0task_categories:- image-to-videotags:- world-model- action-conditioned- fps- gaming---# CrossFPS Dataset## OverviewCrossFPS is the first multi-game first-person shooter (FPS) dataset with frame-aligned action telemetry.It comprises **69,000 five-second clips** across **7 FPS titles** at 480×832 resolution and 20 fps, each paired with **10-DoF frame-aligned gamepad controller signals** (4 continuous axes + 6 discrete buttons). The dataset is designed to train interactive world models that generalize across games rather than overfit to single-title patterns.## Dataset Structure```CrossFPS/├── CrossFPS_chunk0000.tar├── CrossFPS_chunk0001.tar├── ...└── CrossFPS_chunk0024.tar```Each tar chunk contains video clips organized as:```<game_title>/└── <clip_id>/├── video.mp4 # 5-second clip at 480×832, 20fps├── actions.parquet # Per-frame 10-DoF controller telemetry└── metadata.json # Clip metadata (game, split, caption, etc.)```### metadata.json fields```json{"clip_id": "<clip_id>","game": "<game_title>","split": "train | val | test","duration": 5.0,"fps": 20,"resolution": [480, 832],"caption": "<two-sentence scene description>","source": "NitroGen | WorldCam"}```### actions.parquet columns| Group | Column | Type | Description ||----------|--------|------------|--------------------------|| MOVEMENT | LX | continuous | Move left / right || MOVEMENT | LY | continuous | Move forward / back || CAMERA | RX | continuous | Turn left / right || CAMERA | RY | continuous | Look up / down || COMBAT | RT | discrete | Fire || COMBAT | LT | discrete | Aim down sights (ADS) || COMBAT | R3 | discrete | Melee || UTILITY | A | discrete | Jump || UTILITY | X | discrete | Reload || UTILITY | Y | discrete | Switch weapon |Continuous signals are normalized to [−1, 1]. Discrete signals are binary (0/1) sampled at each frame.## Per-Game StatisticsAll clips are 5 seconds at 20 fps with 480×832 resolution.| Game | Total | Train | Val | Test ||---------------------------------|--------|--------|-------|-------|| Halo Infinite | 32,466 | 30,844 | 973 | 649 || Xonotic | 10,460 | 9,938 | 313 | 209 || Call of Duty: Modern Warfare | 8,853 | 8,411 | 265 | 177 || Halo MCC | 8,227 | 7,817 | 246 | 164 || Call of Duty: Warzone | 4,818 | 4,578 | 144 | 96 || Call of Duty: Modern Warfare III| 3,662 | 3,480 | 109 | 73 || Call of Duty | 514 | 489 | 15 | 10 || **Total** | **69,000** | **65,557** | **2,065** | **1,378** |Dataset split: **95:3:2** (train/val/test).## Data Processing PipelineRaw gameplay recordings from NitroGen and WorldCam were processed through a nine-stage pipeline to enforce diversity, balance, and cross-game consistency:1. **Video Clipping** — Raw streams are segmented into fixed-length chunks; game-specific bounding boxes crop out streaming overlays and UI borders.2. **Scene Cut Detection** — Clips are split at scene transitions (death screens, loading screens) detected via frame-level visual similarity.3. **Quality Filtering** — Clips shorter than 5 seconds or with left-stick activity below 70% are discarded, yielding ~81,919 clips.4. **Sliding Window** — Remaining clips are segmented into non-overlapping 5-second windows (~121,845 candidates).5. **Frame Rate Normalization** — All clips resampled to 20 fps (60 fps sources subsampled 3×; 30 fps sources interpolated).6. **Action Distribution Balancing** — High-intensity clips (top 15% by peak angular velocity, including rapid 180° turns and fast weapon switches) are oversampled 3× to counteract the long-tail dominance of low-intensity gameplay.7. **Visual-Action De-biasing** — Clips where action patterns are statistically decoupled from visual context (bottom 20% by scene-action mutual information) are guaranteed inclusion to prevent the model from learning game strategies rather than physical action-visual mappings.8. **Cross-Game Kinetic Normalization** — Optical flow-based gain calibration aligns action-to-pixel-displacement ratios across titles (post-normalization inter-game gain variance: σ²_gain = 0.034), resolving sensitivity mismatches between game engines. As a fallback, per-title 95th-percentile normalization maps peak camera signals to ±1.9. **UI Cropping and Resize** — Residual HUD elements are removed via game-specific cropping; all clips resized to 480×832.Note: Xonotic uses inverted axis conventions; both left-stick axes are negated during preprocessing to unify directional convention across all titles.## Text CaptionsEach clip's first frame is captioned using Gemini in a standardized two-sentence format:- **Sentence 1**: environment description (setting, lighting, architecture, atmosphere).- **Sentence 2**: player state and salient visual elements (weapon type, HUD indicators, nearby objects).These captions are included in `metadata.json` and used as text conditioning during training.## Dataset Statistics| Metric | Value (Mean ± SD) ||---------------------------------|---------------------|| Linear Velocity (vlin) | 0.48 ± 0.12 || Angular Velocity (ωang) | 0.26 ± 0.18 || Peak Angular Accel. (αpeak) | 0.78 ± 0.14 || Control Smoothness | 0.82 ± 0.09 || Action Entropy (H) | 2.94 ± 0.31 bits || Gaze Center-bias Index | 0.42 ± 0.08 || Strafe-to-Forward Ratio | 0.38 : 1.0 || Discrete Event Density | 14.2% ± 3.5% || Optical Flow-Action Corr. (r) | 0.91 ± 0.03 |## Intended UseCrossFPS is intended for training and evaluating:- **Interactive world models** for FPS and egocentric game environments- **Action-conditioned video generation** models- **Cross-game generalization** research in embodied AI## How to Download```bash# Download all chunkshuggingface-cli download zizhaotong/CrossFPS --repo-type dataset# Reassemble and extractcat CrossFPS_chunk*.tar > CrossFPS.tartar -xf CrossFPS.tar```## License and Terms of UseCC BY-NC 4.0 — This dataset is for research and non-commercial use only.The dataset contains gameplay videos, frame-aligned action labels, and text captions. It excludes personal identifiers, chat logs, voice recordings, and other private information.## AcknowledgementsCrossFPS is built upon gameplay recordings from [NitroGen](https://huggingface.co/datasets/nvidia/NitroGen) and [WorldCam](https://arxiv.org/abs/2603.16871). We thank the respective teams for making their data publicly available.
README.md+150