VideoWorldmodel commited on
Commit
7375577
·
verified ·
1 Parent(s): 4e3fea7

Update rebuttal evaluation artifacts and documentation

Browse files

Add common-interface SC results, Matrix SC-versus-horizon analysis, Endpoint FID/KID evaluation, frozen manifests, tests, and reproduction commands.

README.md CHANGED
@@ -1,86 +1,96 @@
1
  ---
2
- pretty_name: Matrix-Game 2.0 Self-Consistency Reproduction
3
  tags:
4
  - world-model
5
  - video-generation
6
  - benchmark
 
7
  - reproducibility
8
  ---
9
 
10
- # Matrix-Game 2.0 Self-Consistency Reproduction
11
 
12
- This README explains how to reproduce the Matrix-Game 2.0 self-consistency (SC) row in *Reasoning-Structured Videos: A Stratified Diagnostic Suite for Compositional Consistency in World Models*.
13
 
14
- All experimental data, generated videos, and evaluation files required for this reproduction are available on the current dataset page under **Files and versions**:
15
 
16
- <https://huggingface.co/datasets/VideoWorldmodel/Evaluation>
 
 
17
 
18
- No external dataset or ground-truth video is required for this reproduction.
19
 
20
- ## What is reproduced
21
 
22
- The statistical unit is one relation graph:
 
 
 
 
23
 
24
- - **Inverse-SC:** generated first frame versus generated final frame.
25
- - **Loop-SC:** generated first frame versus generated final frame.
26
- - **Equivalence-SC:** generated final frame of branch A versus generated final frame of branch B.
27
 
28
- The released data contains:
29
- - 448 Inverse graphs
30
- - 445 Loop graphs
31
- - 239 Equivalence A/B pairs
32
 
33
- Before evaluation, the script verifies the expected file counts and checks the integrity of the Equivalence A/B pairings.
34
 
35
- ## Download the experimental data
36
 
37
- The MP4-only reproduction archive is available under **Files and versions** on the current dataset page.
 
 
 
38
 
39
- Install the Hugging Face CLI and download the archive:
40
- ```bash
41
- python -m pip install -U huggingface_hub
42
 
43
- hf download VideoWorldmodel/Evaluation \
44
- --repo-type dataset \
45
- --include "MatrixGame2_SC_videos.zip" \
46
- --local-dir .
47
- ```
48
 
49
- Extract the archive:
50
- ```bash
51
- unzip MatrixGame2_SC_videos.zip -d data/matrix_game_sc
52
- ```
53
 
54
- The expected directory layout is:
55
- ```
56
- data/matrix_game_sc/
57
- |-- inverse_easy/ # 246 MP4 files
58
- |-- inverse_hard/ # 202 MP4 files
59
- |-- loop_easy/ # 247 MP4 files
60
- |-- loop_hard/ # 198 MP4 files
61
- `-- equivalence/ # 478 MP4 files = 239 A/B pairs
62
- ```
63
 
64
- If the dataset was cloned using Git LFS, verify that the downloaded files are real MP4 files rather than small Git LFS pointer files.
65
 
66
- ## Environment
67
 
68
- Python 3.10 or newer is recommended.
69
 
70
- Create and activate a virtual environment (Linux/macOS):
71
- ```bash
72
- python -m venv .venv
73
- source .venv/bin/activate
74
- ```
75
 
76
- On Windows:
77
- ```powershell
78
- .venv\Scripts\activate
79
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
 
81
- Install the required dependencies:
82
  ```bash
83
- python -m pip install --upgrade pip
 
 
 
 
 
 
 
84
 
85
  python -m pip install \
86
  "numpy>=1.26,<3" \
@@ -88,90 +98,60 @@ python -m pip install \
88
  "torch>=2.2,<3" \
89
  "torchvision>=0.17,<1" \
90
  "lpips==0.1.4"
91
- ```
92
 
93
- For a specific CUDA build, first install the matching torch and torchvision wheels by following the official PyTorch installation instructions. Then install NumPy, OpenCV, and lpips==0.1.4 without reinstalling PyTorch.
94
-
95
- The first LPIPS run downloads the official AlexNet weights.
96
-
97
- ## Reproduce the paper results
98
-
99
- Run the complete evaluation:
100
- ```bash
101
  python evaluate_matrix_game_sc.py \
102
- --data data/matrix_game_sc \
103
  --output results/matrix_game_sc \
104
  --lpips \
105
  --device auto \
106
  --check-paper
107
  ```
108
 
109
- Available device options include:
110
- - `--device auto`
111
- - `--device cpu`
112
- - `--device cuda`
113
- - `--device cuda:0`
114
 
115
- Example: run the evaluation explicitly on CPU:
116
- ```bash
117
- python evaluate_matrix_game_sc.py \
118
- --data data/matrix_game_sc \
119
- --output results/matrix_game_sc \
120
- --lpips \
121
- --device cpu \
122
- --check-paper
123
- ```
124
 
125
- For a faster PSNR-only audit, omit `--lpips` and `--check-paper`:
126
- ```bash
127
- python evaluate_matrix_game_sc.py \
128
- --data data/matrix_game_sc \
129
- --output results/matrix_game_sc_psnr \
130
- --device auto
131
- ```
132
 
133
- ## Expected results
134
 
135
- | Relation | Graph N | Recomputed LPIPS / PSNR | Paper LPIPS / PSNR |
136
- |----------------|---------|-------------------------|--------------------|
137
- | Inverse-SC | 448 | 0.7061 / 10.4476 | 0.71 / 10.45 |
138
- | Loop-SC | 445 | 0.7173 / 10.6227 | 0.72 / 10.62 |
139
- | Equivalence-SC | 239 | 0.5918 / 12.5732 | 0.59 / 12.57 |
140
 
141
- The `--check-paper` option succeeds when all six computed values reproduce the precision reported in the paper.
 
 
 
 
142
 
143
- Two Equivalence pairs are exact pixel matches. Their PSNR values are infinite, so they are recorded in `psnr_exact_match_n` and excluded from the finite PSNR mean. This produces the reported Equivalence PSNR.
 
144
 
145
- ## Outputs
 
 
146
 
147
- The output directory contains:
148
- - `per_graph.csv`: One row per Inverse/Loop graph or Equivalence A/B pair
149
- - `summary.csv`: Means, standard deviations, and graph-bootstrap 95% CIs
150
- - `paper_check.csv`: Computed values compared with the reported paper values
151
- - `audit.json`: Metric definitions, counts, versions, and bootstrap settings
152
- - `report.md`: Compact Markdown results table
153
 
154
- Confidence intervals use 10,000 graph-level bootstrap resamples with seed 2026.
 
 
 
155
 
156
- ### Metric settings
157
- - LPIPS uses `lpips==0.1.4` with AlexNet.
158
- - LPIPS inputs are RGB images scaled to [-1, 1].
159
- - PSNR is computed on decoded RGB uint8 endpoint frames.
160
- - PSNR uses MAX=255.
161
- - No resizing is applied.
162
- - Exact pixel matches are reported separately from the finite PSNR mean.
163
 
164
- ## Tests
165
 
166
- Run the test suite with:
167
- ```bash
168
- python -m unittest discover -s tests -v
169
- ```
170
 
171
  ## Scope
172
 
173
- This code reproduces the Matrix-Game 2.0 SC endpoint metrics only.
174
- It does not claim to reproduce the paper’s GT-anchored metrics or FVD, which require additional generation-context and clip-sampling details.
175
-
176
- All data required for the SC endpoint reproduction described in this README is available on the current dataset page.
177
- ```
 
1
  ---
2
+ pretty_name: Reasoning-Structured Videos Evaluation Artifacts
3
  tags:
4
  - world-model
5
  - video-generation
6
  - benchmark
7
+ - compositional-consistency
8
  - reproducibility
9
  ---
10
 
11
+ # Reasoning-Structured Videos: Evaluation Artifacts
12
 
13
+ This page hosts evaluation artifacts for **Reasoning-Structured Videos: A Stratified Diagnostic Suite for Compositional Consistency in World Models**.
14
 
15
+ The benchmark tests whether action-conditioned video world models respect three trajectory relations:
16
 
17
+ - **Inverse:** a path followed by its inverse should return to the initial state.
18
+ - **Loop:** a closed path should return to the initial state.
19
+ - **Equivalence:** two different paths reaching the same state should produce matching endpoints.
20
 
21
+ We report **self-consistency (SC)** as the primary cross-model diagnostic and use GT-anchor and distributional metrics as complementary evidence.
22
 
23
+ ## Files
24
 
25
+ | File | Description |
26
+ | --- | --- |
27
+ | `matrix_game.zip` | 1,371 released Matrix-Game 2.0 SC rollout videos |
28
+ | `evaluate_matrix_game_sc.py` | Standalone Matrix-Game SC reproduction script |
29
+ | `Reasoning-Structured-Videos-Rebuttal-main.zip` | Frozen R20/R50 manifests, minWM/HY-WorldPlay camera adapters, metric evaluators, tests, and result summaries |
30
 
31
+ Reference videos and trajectory metadata are hosted separately in [VideoWorldmodel/ReasoningStructureTestset](https://huggingface.co/datasets/VideoWorldmodel/ReasoningStructureTestset).
 
 
32
 
33
+ ## Main results
 
 
 
34
 
35
+ ### Common camera-trajectory SC (frozen R20)
36
 
37
+ minWM and HY-WorldPlay receive the same frozen graph IDs and camera trajectories through their official pose-control pathways. Each model completed 80/80 rollouts with zero evaluation failures.
38
 
39
+ | Model | Inverse LPIPS / PSNR | Loop LPIPS / PSNR | Equivalence LPIPS / PSNR |
40
+ | --- | ---: | ---: | ---: |
41
+ | HY-WorldPlay 1.5 AR Distill | **0.4038 / 16.12** | **0.4562 / 15.48** | **0.3542 / 17.37** |
42
+ | minWM | 0.7229 / 10.46 | 0.7442 / 11.08 | 0.4227 / 14.05 |
43
 
44
+ R20 contains 20 graphs per relation: 60 graph units and 80 videos because every Equivalence graph has A/B branches. The code archive includes graph-bootstrap intervals and the corresponding GT-anchor summaries.
 
 
45
 
46
+ ### Matrix-Game Inverse SC versus revisit horizon
 
 
 
 
47
 
48
+ All 448 Inverse graphs are evaluated at matched-state revisits with increasing action separation. “Physical frame” denotes the zero-indexed position in the saved Matrix MP4. Matrix exports 357 frames for the complete 40-action schedule, so action boundary `k` is mapped to physical frame `round(356k/40)`, anchoring both endpoints and preserving outward/return symmetry.
 
 
 
49
 
50
+ | Revisit horizon | LPIPS (95% CI) | PSNR dB (95% CI) |
51
+ | ---: | ---: | ---: |
52
+ | 10 actions | 0.4851 [0.4652, 0.5053] | 14.03 [13.53, 14.53] |
53
+ | 20 actions | 0.6106 [0.5976, 0.6234] | 11.46 [11.14, 11.77] |
54
+ | 30 actions | 0.6685 [0.6584, 0.6784] | 10.71 [10.45, 10.96] |
55
+ | Full rollout (40 actions) | 0.7062 [0.6973, 0.7151] | 10.45 [10.21, 10.69] |
 
 
 
56
 
57
+ The paired full-minus-10 change is +0.2211 LPIPS [0.1988, 0.2434] and -3.58 dB PSNR [-4.02, -3.15]. Adjacent boundary-rounding schemes preserve the monotonic trend and change intermediate means by at most 0.005 LPIPS / 0.10 dB.
58
 
59
+ ### Endpoint distribution fidelity
60
 
61
+ Endpoint FID/KID compare generated and matched GT logical `raw359` endpoint sets using clean-fid Inception-v3 pool3 features.
62
 
63
+ Matrix-Game, complete available output set:
 
 
 
 
64
 
65
+ | Relation | Graphs / images | Endpoint FID ↓ | KID ×1000 ↓ |
66
+ | --- | ---: | ---: | ---: |
67
+ | Inverse | 448 / 448 | 134.94 | 23.018 |
68
+ | Loop | 445 / 445 | 141.33 | 24.362 |
69
+ | Equivalence | 239 / 478 | 145.55 | 22.943 |
70
+
71
+ minWM, frozen R50 SC outputs:
72
+
73
+ | Relation | Graphs / images | Endpoint FID ↓ | KID ×1000 ↓ |
74
+ | --- | ---: | ---: | ---: |
75
+ | Inverse | 50 / 50 | 242.46 | 47.860 |
76
+ | Loop | 50 / 50 | 249.40 | 54.173 |
77
+ | Equivalence | 50 / 100 | 240.23 | 50.359 |
78
+
79
+ Endpoint FID is an image-set metric and is not numerically comparable to the clip-level FVD reported elsewhere. The Matrix analysis also includes 20/50/100/200/full graph sensitivity and a GT-vs-GT finite-sample floor. These endpoint metrics complement, rather than replace, paired SC LPIPS/PSNR.
80
+
81
+ ## Quick reproduction: Matrix-Game SC
82
+
83
+ This path requires only the files on the current page; no GT dataset is needed.
84
 
 
85
  ```bash
86
+ python -m pip install -U huggingface_hub
87
+
88
+ hf download VideoWorldmodel/Evaluation \
89
+ matrix_game.zip evaluate_matrix_game_sc.py \
90
+ --repo-type dataset \
91
+ --local-dir .
92
+
93
+ unzip matrix_game.zip -d data/MatrixGame2_SC_videos
94
 
95
  python -m pip install \
96
  "numpy>=1.26,<3" \
 
98
  "torch>=2.2,<3" \
99
  "torchvision>=0.17,<1" \
100
  "lpips==0.1.4"
 
101
 
 
 
 
 
 
 
 
 
102
  python evaluate_matrix_game_sc.py \
103
+ --data data/MatrixGame2_SC_videos \
104
  --output results/matrix_game_sc \
105
  --lpips \
106
  --device auto \
107
  --check-paper
108
  ```
109
 
110
+ If the archive creates one additional top-level directory, point `--data` to the directory that directly contains the five relation folders.
 
 
 
 
111
 
112
+ Expected values:
 
 
 
 
 
 
 
 
113
 
114
+ | Relation | Graph N | Recomputed LPIPS / PSNR | Paper LPIPS / PSNR |
115
+ | --- | ---: | ---: | ---: |
116
+ | Inverse-SC | 448 | 0.7061 / 10.4476 | 0.71 / 10.45 |
117
+ | Loop-SC | 445 | 0.7173 / 10.6227 | 0.72 / 10.62 |
118
+ | Equivalence-SC | 239 | 0.5918 / 12.5732 | 0.59 / 12.57 |
119
+
120
+ The evaluator verifies file counts and Equivalence pair integrity, and writes per-graph scores, graph-bootstrap confidence intervals, an audit, and a paper-value check.
121
 
122
+ ## Reproduce the additional analyses
123
 
124
+ Download and unpack the code artifact:
 
 
 
 
125
 
126
+ ```bash
127
+ hf download VideoWorldmodel/Evaluation \
128
+ Reasoning-Structured-Videos-Rebuttal-main.zip \
129
+ --repo-type dataset \
130
+ --local-dir .
131
 
132
+ unzip Reasoning-Structured-Videos-Rebuttal-main.zip
133
+ cd Reasoning-Structured-Videos-Rebuttal-main
134
 
135
+ python -m pip install -r requirements-eval.txt
136
+ python -m unittest discover -s tests -v
137
+ ```
138
 
139
+ The repository README documents four reproducibility paths:
 
 
 
 
 
140
 
141
+ 1. recompute SC/GT LPIPS and PSNR from minWM or HY-WorldPlay rollout directories;
142
+ 2. recompute Matrix-Game Inverse SC versus revisit horizon directly from `matrix_game.zip`;
143
+ 3. recompute relation-wise endpoint FID/KID;
144
+ 4. run the full Matrix endpoint audit using `matrix_game.zip` and the GT dataset.
145
 
146
+ The code archive contains frozen result summaries but not the large minWM/HY-WorldPlay rollout videos or model checkpoints. Regenerating those videos requires the official [minWM](https://github.com/shengshu-ai/minWM) or [HY-WorldPlay](https://github.com/Tencent-Hunyuan/HY-WorldPlay) repository, its checkpoint, its official environment, and suitable GPUs.
 
 
 
 
 
 
147
 
148
+ ## Frozen identifiers
149
 
150
+ - Public subset seed: `2357`
151
+ - R20 manifest SHA-256: `f8307b78ffb4633b1d6ca6340498a9db615dca4cc45a045d16139abf4375abdf`
152
+ - Nested R20/R50 manifest SHA-256: `c1b3e051ec861f6babd00f67cf7c31d0ceba590d93a6fac1ac6a768b40448db4`
153
+ - `matrix_game.zip` SHA-256: `caec3d8deb20cffbc645f0aeeaa2af425536715eef935b17347cdfab728a88d4`
154
 
155
  ## Scope
156
 
157
+ The released experiments evaluate deterministic camera trajectories in static scenes. They support relation-specific diagnostic conclusions under the stated protocol; they are not intended as a universal ranking of world-model architectures.
 
 
 
 
Reasoning-Structured-Videos-Rebuttal-main.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:531f9241e61808d39f491165872fc710a4a9b1b2e48d7ec60c3dbd4faedc2310
3
- size 205510
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3e6ee7b98ee35ee79259da1e3419211d6c049403a33ebb9d691292dc94bf834
3
+ size 461247