VideoWorldmodel commited on
Commit
9a8dea7
·
verified ·
1 Parent(s): b37390c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +165 -40
README.md CHANGED
@@ -14,7 +14,7 @@ tags:
14
  - benchmark
15
  pretty_name: Reasoning-Structured Videos
16
  size_categories:
17
- - 10K<n<100K
18
  ---
19
 
20
  # Reasoning-Structured Videos
@@ -39,15 +39,28 @@ These are *across-path* properties invisible to any single-rollout metric (FVD,
39
  |---|---|
40
  | Engine | Unreal Engine 5 |
41
  | Scenes | ~30 independently authored indoor / outdoor / mixed environments |
42
- | Modalities | RGB (mp4) + Scene Depth (16-bit PNG / mp4) + per-frame action labels + relation metadata |
43
  | Resolution / FPS | 1280 × 720, 16 fps |
44
  | Trajectory length | 40 actions × 9 frames/action = **360 frames** (~22.5 s) per trajectory |
45
  | Action space | 9 discrete primitives: `move_{forward, backward, left, right}`, `turn_{left, right}`, `look_{up, down}`, `no_op` |
46
  | Action grid | translation Δ = 100 cm, yaw Δ = 15°, pitch Δ = 7.5° |
47
  | FOV | 79° (Habitat convention) |
48
- | Aggregate footage | 250 h rendered, ~40 K candidate trajectories before filtering |
49
- | Released splits (Layer-1 valid) | **Inverse 8,936 · Equivalence 8,937 · Loop 672** |
50
- | Pixel-validated subset (Layer-2 pass) | Inverse 3,440 · Equivalence 3,556 · Loop 254 |
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
  ---
53
 
@@ -59,13 +72,22 @@ For each scene, root states are sampled on a 200 cm XY grid with 8 yaw orientati
59
  - **Loop paths.** Two complementary constructions: (i) sampled exploration plus a five-stage discrete return (yaw → pitch → forward/backward → lateral) accepted only when residuals fall below 0.45 Δ horizontal / 0.3 Δ vertical; (ii) **topologically closed polygons** (rectangle / triangle / hexagon) whose closure is exact by polygon geometry.
60
  - **Equivalent paths.** Stage 1 — Fisher–Yates shuffle within each maximal mono-type segment of consecutive translations or consecutive rotations (commutative shuffle); Stage 2 fallback — matched **L-shape** `Uᵐ Vⁿ` vs. **zig-zag** `(UV)ᵏ Uᵐ⁻ᵏ Vⁿ⁻ᵏ` pairs (`m, n ∈ [3, 6]`) with self-inverse rotation pairs filling remaining slots, sharing only origin and terminus with disjoint interiors.
61
 
62
- A two-layer pixel-level validator certifies that every released relation holds to MSE tolerance on the captured frames; trajectories whose realised pose deviates from the expected pose by > 1 cm at any step are routed to a held-out **`random_walk/`** split and excluded from consistency-metric evaluation.
 
 
63
 
64
- ### Deterministic capture pipeline
 
 
 
 
 
 
 
65
 
66
  To make the rendering function `g: S → X` effectively deterministic — required for any cross-path pixel comparison to be attributable to the model rather than to scene drift — the renderer applies:
67
 
68
- - frozen directional lighting, HDR capture path, clamped auto-exposure;
69
  - 15 warm-up frames discarded after every teleport (Lumen GI / auto-exposure settling);
70
  - temporally unstable effects disabled (motion blur, depth-of-field, lens flares, ray tracing);
71
  - rigid capsule embodiment (radius 34 cm, half-height 88 cm) with the camera 60 cm above its centre.
@@ -74,25 +96,93 @@ These settings are pinned in `DataCollector.h` / `DataCollector.cpp` of the rend
74
 
75
  ---
76
 
77
- ## Directory Layout
 
 
78
 
79
  ```
80
- reasoning-structured-videos/
81
- ├── inverse/
82
- │ ├── run_<TIMESTAMP>__traj_<ID>.mp4 # RGB rollout, 360 frames
83
- ── run_<TIMESTAMP>__traj_<ID>_depth.mp4 # 16-bit scene depth
84
- │ └── run_<TIMESTAMP>__traj_<ID>_meta.json # actions, root state, relation, collision mask
85
- ├── loop/
86
  │ └── ...
87
- ├── equivalence/
88
- │ ├── run_<TIMESTAMP>__traj_<ID>.mp4 # path A
89
- │ ├── run_<TIMESTAMP>__traj_<ID+1>.mp4 # path B (paired)
90
  │ └── ...
91
- ├── random_walk/ # held-out: pose deviation > 1 cm
92
- └── filter_summary.json # per-type counts and Layer-2 MSE statistics
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  ```
94
 
95
- Each `_meta.json` records `trajectory_type`, `paired_trajectory` (for Equivalence's `(A, B)` pairs), the full `action_sequence`, the `root_state`, `collision_mask`, render configuration, and the algebraic identity asserted by the trajectory.
96
 
97
  ---
98
 
@@ -107,7 +197,7 @@ The two tiers answer complementary questions — *does the rollout match reality
107
 
108
  ### Reference results
109
 
110
- Baselines reported in the companion paper, scored on the Layer-2 pixel-validated test set (see paper for exact splits):
111
 
112
  | Model | Inv PSNR ↑ | Loop PSNR ↑ | Equiv PSNR ↑ |
113
  |---|---|---|---|
@@ -121,27 +211,50 @@ Per-relation PSNR gap of 3.4–6.0 dB between Chunk-AR and the best external bas
121
 
122
  ## Loading
123
 
 
 
124
  ```python
125
- from datasets import load_dataset
126
-
127
- # entire dataset
128
- ds = load_dataset("<org>/reasoning-structured-videos")
129
-
130
- # single relation
131
- inv = load_dataset("<org>/reasoning-structured-videos", split="inverse")
132
- loop = load_dataset("<org>/reasoning-structured-videos", split="loop")
133
- equiv = load_dataset("<org>/reasoning-structured-videos", split="equivalence")
134
-
135
- sample = inv[0]
136
- # sample["video"]: 360 RGB frames (1280×720)
137
- # sample["depth"]: 360 16-bit depth frames, normalised to 100 m
138
- # sample["actions"]: list of 40 discrete actions
139
- # sample["trajectory_type"]: "inverse" | "loop" | "equivalence"
140
- # sample["paired_trajectory_id"]: int | null (only set for equivalence)
141
- # sample["root_state"]: {position: [x,y,z], rotation: [pitch,yaw,roll]}
 
 
 
 
 
 
 
 
 
 
 
142
  ```
143
 
144
- Equivalence pairs are linked by `paired_trajectory_id`; iterating over the split with grouping on this field yields the `(A, B)` pairs directly.
 
 
 
 
 
 
 
 
 
 
145
 
146
  ---
147
 
@@ -151,10 +264,22 @@ Equivalence pairs are linked by `paired_trajectory_id`; iterating over the split
151
 
152
  **Out of scope.** Static, single-agent, human-scale navigation under a 9-action discrete vocabulary. Dynamic subjects, physics, multi-agent interaction, and non-human-scale navigation are covered by complementary benchmarks (HM-World, MIND, WildWorld). The GT-anchored tier under pixel metrics conflates algebraic violation with per-action scale mismatch when a model's interface differs from the released grid; cross-framework claims should be anchored on the action-scale-invariant self-consistency tier.
153
 
 
 
154
  ---
155
 
156
  ## License
157
 
158
  Released under **CC BY 4.0**. The UE5 capture code (`AutoRenderingUE5/`) is released alongside under the same terms; please refer to the repository for any third-party scene asset licences.
159
 
 
160
 
 
 
 
 
 
 
 
 
 
 
14
  - benchmark
15
  pretty_name: Reasoning-Structured Videos
16
  size_categories:
17
+ - 1K<n<10K
18
  ---
19
 
20
  # Reasoning-Structured Videos
 
39
  |---|---|
40
  | Engine | Unreal Engine 5 |
41
  | Scenes | ~30 independently authored indoor / outdoor / mixed environments |
42
+ | Modality | RGB (mp4, H.264) + per-frame action labels + relation metadata + per-step pose & collision records |
43
  | Resolution / FPS | 1280 × 720, 16 fps |
44
  | Trajectory length | 40 actions × 9 frames/action = **360 frames** (~22.5 s) per trajectory |
45
  | Action space | 9 discrete primitives: `move_{forward, backward, left, right}`, `turn_{left, right}`, `look_{up, down}`, `no_op` |
46
  | Action grid | translation Δ = 100 cm, yaw Δ = 15°, pitch Δ = 7.5° |
47
  | FOV | 79° (Habitat convention) |
48
+ | Release format | 5 zip files (one per split), 14 GB total |
49
+ | Total trajectories released | **1,377** (passing the two-layer pixel validator) |
50
+
51
+ This release is the **pixel-validated test corpus** used in the companion paper's Tables 1–2 (Easy tier) and the Hard-tier supplement. Trajectories whose realised pose deviated from the expected pose by > 1 cm at any step were routed to a `random_walk/` split during rendering and are **not included** here — every released trajectory has its algebraic identity holding exactly (Layer 1: pose check) and validated to MSE tolerance on captured frames (Layer 2: pixel check).
52
+
53
+ ### Per-split breakdown
54
+
55
+ | Split | Tier | # trajectories | # mp4 files | Size (compressed) | Construction |
56
+ |---|---|---|---|---|---|
57
+ | `inverse_easy` | Easy | 246 | 246 | 2.09 GB | Sampled `A` ‖ `no_op`-pad ‖ `A⁻¹` |
58
+ | `inverse_hard` | Hard | 202 | 202 | 1.99 GB | `A·A⁻¹` mixing rotations (non-abelian witness) |
59
+ | `loop_easy` | Easy | 247 | 247 | 2.17 GB | Five-stage discrete return |
60
+ | `loop_hard` | Hard | 198 | 198 | 2.27 GB | Topologically closed polygons (rectangle / triangle / hexagon) |
61
+ | `equivalence_easy` | Easy | 484 (= 242 paired pairs) | 484 | 4.56 GB | Stage-1 commutative shuffle / Stage-2 L-shape vs. zig-zag |
62
+
63
+ Equivalence trajectories are released as `(A, B)` pairs; both halves of each pair are present in `equivalence_easy`. Hard-tier Equivalence is held back for a future release.
64
 
65
  ---
66
 
 
72
  - **Loop paths.** Two complementary constructions: (i) sampled exploration plus a five-stage discrete return (yaw → pitch → forward/backward → lateral) accepted only when residuals fall below 0.45 Δ horizontal / 0.3 Δ vertical; (ii) **topologically closed polygons** (rectangle / triangle / hexagon) whose closure is exact by polygon geometry.
73
  - **Equivalent paths.** Stage 1 — Fisher–Yates shuffle within each maximal mono-type segment of consecutive translations or consecutive rotations (commutative shuffle); Stage 2 fallback — matched **L-shape** `Uᵐ Vⁿ` vs. **zig-zag** `(UV)ᵏ Uᵐ⁻ᵏ Vⁿ⁻ᵏ` pairs (`m, n ∈ [3, 6]`) with self-inverse rotation pairs filling remaining slots, sharing only origin and terminus with disjoint interiors.
74
 
75
+ ### Easy tier vs. Hard tier
76
+
77
+ The paper distinguishes two tiers per relation (paper §3.2, §4.3):
78
 
79
+ - **Easy tier** — the constructions above. These are the constructions used to render the original Easy-tier corpus and form the bulk of this release (`*_easy`).
80
+ - **Hard tier** — defended against shortcut attacks (e.g. MIND-style symmetric round-trip baselines). Released splits:
81
+ - `inverse_hard` — `A·A⁻¹` whose `A` mixes translations *and* rotations, providing a **non-abelian witness** that cannot be solved by treating the inverse half as a literal time-reversal.
82
+ - `loop_hard` — pure geometric polygon templates (rectangle / triangle / hexagon) that are *not* decomposable into Inverse, so a model cannot pass Loop simply by passing Inverse.
83
+
84
+ ---
85
+
86
+ ## Deterministic Capture Pipeline
87
 
88
  To make the rendering function `g: S → X` effectively deterministic — required for any cross-path pixel comparison to be attributable to the model rather than to scene drift — the renderer applies:
89
 
90
+ - frozen directional lighting, HDR capture path (`SCS_FinalColorHDR` + RGBA16F), clamped auto-exposure;
91
  - 15 warm-up frames discarded after every teleport (Lumen GI / auto-exposure settling);
92
  - temporally unstable effects disabled (motion blur, depth-of-field, lens flares, ray tracing);
93
  - rigid capsule embodiment (radius 34 cm, half-height 88 cm) with the camera 60 cm above its centre.
 
96
 
97
  ---
98
 
99
+ ## File Layout
100
+
101
+ The release ships as five zip files. After decompression:
102
 
103
  ```
104
+ result_dataset/
105
+ ├── inverse_easy/
106
+ │ ├── run_<TIMESTAMP>__traj_<ID>.mp4 # RGB rollout, 360 frames
107
+ ── run_<TIMESTAMP>__traj_<ID>_meta.json # actions, root state, per-step pose, relation
108
+ ── inverse_hard/
 
109
  │ └── ...
110
+ ├── loop_easy/
 
 
111
  │ └── ...
112
+ ├── loop_hard/
113
+ └── ...
114
+ └── equivalence_easy/
115
+ ├── run_<TIMESTAMP>__pair_<PID>_A_traj_<TID>.mp4 # path A
116
+ ├── run_<TIMESTAMP>__pair_<PID>_A_traj_<TID>_meta.json
117
+ ├── run_<TIMESTAMP>__pair_<PID>_B_traj_<TID+1>.mp4 # path B (paired)
118
+ └── run_<TIMESTAMP>__pair_<PID>_B_traj_<TID+1>_meta.json
119
+ ```
120
+
121
+ ### Filename schema
122
+
123
+ - **Single-trajectory splits** (`*_easy` for Inverse / Loop, `*_hard`): `run_<RUN_TIMESTAMP>__traj_<TRAJ_ID>.mp4` paired with `..._meta.json`.
124
+ - **Equivalence pairs**: `run_<RUN_TIMESTAMP>__pair_<PAIR_ID>_<A|B>_traj_<TRAJ_ID>.mp4` — the `pair_<PID>` token uniquely identifies the (A, B) pair across the split, and the `_A_` / `_B_` token disambiguates the two halves. The two halves' `TRAJ_ID`s are always consecutive.
125
+
126
+ ### `_meta.json` schema (key fields)
127
+
128
+ ```json
129
+ {
130
+ "trajectory_id": 353,
131
+ "data_type": "reasoning",
132
+ "trajectory_type": "inverse",
133
+ "algebraic_property": "inverse: A ∘ A⁻¹ = id (explore then reverse)",
134
+ "paired_trajectory": {
135
+ "is_paired": false
136
+ },
137
+ "has_collision": false,
138
+ "collision_count": 0,
139
+ "total_steps": 40,
140
+ "frames_per_step": 9,
141
+ "total_frames": 360,
142
+ "render_config": {
143
+ "resolution": [1280, 720],
144
+ "fov": 79.0,
145
+ "image_format": "jpeg",
146
+ "modalities": ["rgb", "depth"]
147
+ },
148
+ "root_state": {
149
+ "position": [-2490.0, 1200.0, 400.0],
150
+ "rotation": [0.0, 240.0, 0.0]
151
+ },
152
+ "action_sequence": ["move_right", "turn_right", "look_down", "...", "move_left"],
153
+ "collision_mask": [0, 0, 0, "..."],
154
+ "steps": [
155
+ {
156
+ "step": 0,
157
+ "action": "move_right",
158
+ "action_id": 3,
159
+ "start_pos": [-2490.0, 1200.0, 400.0],
160
+ "start_rot": [0.0, -120.0, 0.0],
161
+ "expected_end_pos": [-2403.4, 1150.0, 400.0],
162
+ "actual_end_pos": [-2403.4, 1150.0, 400.0],
163
+ "actual_end_rot": [0.0, -120.0, 0.0],
164
+ "collision": false,
165
+ "collision_displacement": 0.0,
166
+ "frame_dir": "step_00"
167
+ }
168
+ ],
169
+ "video_encoding": {"fps": 16.0, "crf": 28, "resolution": "1280x720", "codec": "libx264"}
170
+ }
171
+ ```
172
+
173
+ For Equivalence pairs, `paired_trajectory` is populated:
174
+
175
+ ```json
176
+ "paired_trajectory": {
177
+ "is_paired": true,
178
+ "role": "path_A",
179
+ "primary_trajectory_id": 23,
180
+ "partner_trajectory_id": 24,
181
+ "relation": "path_A and path_B are commutative shuffles, should reach same final state"
182
+ }
183
  ```
184
 
185
+ > **Note on the `modalities` field.** Some `_meta.json` files list `"depth"` in `render_config.modalities` because depth was captured during rendering. The current public release contains **RGB only** — no `_depth.mp4` files are shipped. The depth-modality release is scheduled for a follow-up upload.
186
 
187
  ---
188
 
 
197
 
198
  ### Reference results
199
 
200
+ Baselines reported in the companion paper, scored on the pixel-validated test set (Easy tier; see paper for exact split sizes):
201
 
202
  | Model | Inv PSNR ↑ | Loop PSNR ↑ | Equiv PSNR ↑ |
203
  |---|---|---|---|
 
211
 
212
  ## Loading
213
 
214
+ The five zip splits unpack into flat directories of `.mp4` + `_meta.json` pairs, so the simplest loader is plain Python:
215
+
216
  ```python
217
+ import json
218
+ from glob import glob
219
+ from pathlib import Path
220
+
221
+ ROOT = Path("result_dataset") # decompressed root
222
+
223
+ def load_split(split_name):
224
+ """Return a list of (mp4_path, metadata_dict) tuples."""
225
+ out = []
226
+ for meta_path in sorted(glob(str(ROOT / split_name / "*_meta.json"))):
227
+ with open(meta_path, "r", encoding="utf-8") as f:
228
+ meta = json.load(f)
229
+ mp4_path = meta_path.replace("_meta.json", ".mp4")
230
+ out.append((mp4_path, meta))
231
+ return out
232
+
233
+ inv_easy = load_split("inverse_easy") # 246 trajectories
234
+ inv_hard = load_split("inverse_hard") # 202 trajectories
235
+ loop_easy = load_split("loop_easy") # 247 trajectories
236
+ loop_hard = load_split("loop_hard") # 198 trajectories
237
+ equiv_easy = load_split("equivalence_easy") # 484 trajectories = 242 (A,B) pairs
238
+
239
+ # Reconstruct Equivalence (A, B) pairs by partner_trajectory_id
240
+ pairs = {}
241
+ for mp4, meta in equiv_easy:
242
+ pid = meta["paired_trajectory"]["primary_trajectory_id"]
243
+ pairs.setdefault(pid, {})[meta["paired_trajectory"]["role"]] = (mp4, meta)
244
+ # now pairs[pid] = {"path_A": (mp4, meta), "path_B": (mp4, meta)}
245
  ```
246
 
247
+ Decoding the videos (any of OpenCV / `decord` / `torchvision.io.read_video` works):
248
+
249
+ ```python
250
+ import decord # pip install decord
251
+ vr = decord.VideoReader(mp4_path)
252
+ frames = vr.get_batch(range(len(vr))).asnumpy() # (360, 720, 1280, 3) uint8
253
+ actions = meta["action_sequence"] # length 40
254
+ # Frame i belongs to action floor(i / 9); per-step pose lives in meta["steps"][i // 9].
255
+ ```
256
+
257
+ For `datasets`-library users, a thin wrapper that yields `{video, actions, trajectory_type, paired_trajectory_id, root_state}` records is straightforward; we plan to add a `loading_script.py` in the next revision.
258
 
259
  ---
260
 
 
264
 
265
  **Out of scope.** Static, single-agent, human-scale navigation under a 9-action discrete vocabulary. Dynamic subjects, physics, multi-agent interaction, and non-human-scale navigation are covered by complementary benchmarks (HM-World, MIND, WildWorld). The GT-anchored tier under pixel metrics conflates algebraic violation with per-action scale mismatch when a model's interface differs from the released grid; cross-framework claims should be anchored on the action-scale-invariant self-consistency tier.
266
 
267
+ **Held-out from this release.** Trajectories that collided during rendering (the `random_walk/` split) and `equivalence_hard` are not included; only pixel-validated, collision-free trajectories are released here. Depth-modality `mp4` files were captured but are scheduled for a follow-up upload.
268
+
269
  ---
270
 
271
  ## License
272
 
273
  Released under **CC BY 4.0**. The UE5 capture code (`AutoRenderingUE5/`) is released alongside under the same terms; please refer to the repository for any third-party scene asset licences.
274
 
275
+ ## Citation
276
 
277
+ ```bibtex
278
+ @inproceedings{reasoningstructuredvideos2026,
279
+ title = {Reasoning-Structured Videos: A Stratified Diagnostic Suite for Compositional Consistency in World Models},
280
+ author = {Anonymous},
281
+ booktitle = {Advances in Neural Information Processing Systems (NeurIPS) Datasets and Benchmarks Track},
282
+ year = {2026},
283
+ note = {Under review}
284
+ }
285
+ ```