futurefantasy commited on
Commit
9bbf0b8
·
verified ·
1 Parent(s): 1f189ad

Update benchmark README

Browse files
Files changed (1) hide show
  1. README.md +125 -40
README.md CHANGED
@@ -1,18 +1,81 @@
1
  ---
2
- pretty_name: Video-Progress Benchmark
3
  tags:
4
- - robotics
5
- - video-progress
6
- - benchmark
7
- - embodied-ai
 
 
8
  license: other
9
  ---
10
 
11
- # Video-Progress Benchmark Release
12
 
13
- Video-Progress Benchmark is a benchmark for evaluating progress prediction in long-horizon robot manipulation. This release provides the benchmark split files, the minimal subset of raw videos required by the benchmark protocol, and a frame-extraction workflow for reproducible evaluation of VLAC-Cut benchmark metrics.
14
 
15
- ## Contents
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  ```text
18
  benchmark_splits/
@@ -39,12 +102,7 @@ data/
39
  test_videos.tar
40
  ```
41
 
42
- ## Usage
43
-
44
- VLAC-Cut inference uses the model release's Transformers interface and requires
45
- an environment that can load `Qwen3VLMoeForConditionalGeneration`, plus enough
46
- GPU memory for the 30B checkpoint. Frame extraction and metric computation use
47
- only the files in this benchmark release.
48
 
49
  ### 1. Unpack the video archives
50
 
@@ -52,15 +110,13 @@ only the files in this benchmark release.
52
  bash scripts/unpack_data.sh
53
  ```
54
 
55
- This command extracts `data/train_videos.tar` and `data/test_videos.tar` into `data/`.
56
-
57
- To extract the raw videos elsewhere, pass a target directory:
58
 
59
  ```bash
60
  bash scripts/unpack_data.sh /path/to/data
61
  ```
62
 
63
- ### 2. Extract frames
64
 
65
  ```bash
66
  python scripts/extract_vlac2_release_frames.py \
@@ -68,21 +124,27 @@ python scripts/extract_vlac2_release_frames.py \
68
  --frames-root /path/to/data_extracted_frames
69
  ```
70
 
71
- This command extracts the benchmark main-view frames from `/path/to/data` into `/path/to/data_extracted_frames`. If `--frames-root` is omitted, frames are written to `_extracted_frames/` under the release directory.
72
 
73
- ### 3. Use the benchmark splits
74
 
75
- The benchmark JSON files are pre-generated and can be used directly.
 
 
76
 
77
- Frame paths in the JSON files use the prefix:
78
 
79
  ```text
80
- __VLAC2_FRAMES_ROOT__/
81
  ```
82
 
83
- Replace `__VLAC2_FRAMES_ROOT__` with the absolute path to the extracted-frame directory. For example, `__VLAC2_FRAMES_ROOT__/...` should be resolved as `/path/to/data_extracted_frames/...`.
84
 
85
- ### 4. Build a VLAC-Cut evaluation manifest
 
 
 
 
86
 
87
  ```bash
88
  python scripts/build_vlac_cut_eval_manifest.py \
@@ -91,15 +153,13 @@ python scripts/build_vlac_cut_eval_manifest.py \
91
  --out manifests/vlac_cut_vpb_eval.jsonl
92
  ```
93
 
94
- For our VLAC-Cut benchmark evaluation, the manifest samples 2Hz video input frames, records the public 1Hz evaluation frames, and materializes the exact `chunk_all` text prompt in `vlac_cut_prompt`. The 2Hz setting is an evaluation choice for VLAC-Cut input, not a benchmark-wide requirement. Metrics are computed on the released 1Hz evaluation frames.
95
 
96
- For trajectory-level VLAC-Cut predictions, keep the manifest's 2Hz `frames` list in each prediction row. The evaluator maps predictions by original frame id and scores only the public 1Hz `eval_frames` for global progress and terminal metrics.
97
 
98
- By default, each manifest row is one trajectory with a list of sampled frame paths for VLAC-Cut inference.
99
 
100
- ### 5. Run VLAC-Cut batch inference
101
-
102
- VLAC-Cut is released separately at <https://huggingface.co/InternRobotics/VLAC-Cut>.
103
 
104
  ```bash
105
  python scripts/run_vlac_cut_batch.py \
@@ -108,13 +168,19 @@ python scripts/run_vlac_cut_batch.py \
108
  --out predictions/vlac_cut_predictions.jsonl
109
  ```
110
 
111
- The batch prediction file uses one fixed schema:
112
 
113
  ```json
114
- {"global_episode_id": "...", "frames": [65, 80, 95], "response": "时间: 0.0s, 进度: 0%\n时间: 1.0s, 进度: 50%"}
 
 
 
 
115
  ```
116
 
117
- ### 6. Evaluate VLAC-Cut predictions
 
 
118
 
119
  ```bash
120
  python scripts/evaluate_vpb_predictions.py \
@@ -124,11 +190,30 @@ python scripts/evaluate_vpb_predictions.py \
124
  --out-md reports/vlac_cut_vpb_eval.md
125
  ```
126
 
127
- The evaluator reports global progress metrics, terminal success metrics, and local direction AP on adjacent semantic anchors. Global progress is shown for the 4-bucket overall split and each bucket; terminal metrics and local direction AP are shown for 4-bucket overall, seen merged, and unseen merged. See `docs/evaluate_vlac_cut_on_vpb.md` for the accepted prediction schema and metric definitions.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
- ## Notes
130
 
131
- * This repository contains only the raw videos required by the released benchmark splits.
132
- * The full raw-data release is distributed separately.
133
- * The benchmark JSON files are canonical release artifacts and do not need to be rebuilt.
134
- * The raw-video archives and the extracted-frame cache are intentionally separated so that users can regenerate frames under their own storage layout.
 
1
  ---
2
+ pretty_name: Video Progress Benchmark
3
  tags:
4
+ - robotics
5
+ - embodied-ai
6
+ - video-progress
7
+ - progress-estimation
8
+ - reward-modeling
9
+ - benchmark
10
  license: other
11
  ---
12
 
13
+ # Video Progress Benchmark (VPB)
14
 
15
+ **A video-language benchmark for process-level robot task progress estimation.**
16
 
17
+ [Code](https://github.com/InternRobotics/VLAC-cut) · [Paper](<PAPER_URL>) · [VLAC-Cut Model](https://huggingface.co/InternRobotics/VLAC-Cut)
18
+
19
+ The **Video Progress Benchmark (VPB)** evaluates whether a model can estimate how a robot task evolves throughout a video—not only whether the final frame looks successful. VPB is built from the held-out portion of the **Progress Annotation Dataset** and explicitly tests advancement, stagnation, regression, and recovery.
20
+
21
+ This release provides the official split files, the raw-video subset required by the benchmark protocol, frame-extraction utilities, and scripts for reproducible VLAC-Cut inference and metric computation.
22
+
23
+ ## Why VPB?
24
+
25
+ Most existing robot reward and progress evaluations rely on endpoint success, isolated observations, frame pairs, or trajectories that are assumed to improve monotonically with time. Real robot executions are often different: a missed grasp, collision, drop, or wrong-object interaction can leave progress unchanged or move the task backward before a later recovery.
26
+
27
+ VPB addresses this gap through two design choices:
28
+
29
+ 1. **Continuous video context:** models evaluate temporally ordered robot videos rather than disconnected images.
30
+ 2. **Process-level evaluation:** metrics separately measure global trajectory recovery, terminal-state recognition, and local event-level direction.
31
+
32
+ ## Progress Annotation Dataset
33
+
34
+ Each annotated record contains a task instruction, a task-level plan, and task-relevant progress points. A progress point is attached to an observable semantic event such as contact formation or loss, grasp or placement outcome, object displacement, failure, stagnation, regression, or recovery.
35
+
36
+ When available, progress points also include auxiliary process supervision: scene state, robot action or object interaction, progress explanation, success/failure analysis, correction plan, and task-relevant grounding.
37
+
38
+ ## Dataset Scale
39
+
40
+ | Inventory | Records | Episodes | Tasks | Keyframe progress points |
41
+ |---|---:|---:|---:|---:|
42
+ | Full annotation inventory | 35,230 | 26,615 | 15,206 | 464,446 |
43
+ | Curated train/evaluation inventory | 28,167 | 22,978 | 15,206 | 375,172 |
44
+
45
+ ## Official Splits
46
+
47
+ VPB is organized along two axes:
48
+
49
+ - **Seen vs. unseen:** whether the semantic task unit appears in the training split.
50
+ - **Expert vs. non-expert:** whether the annotated trajectory contains a regressive progress transition.
51
+
52
+ | Split | Records | Episodes | Keyframe progress points |
53
+ |---|---:|---:|---:|
54
+ | Train | 24,652 | 20,479 | 331,762 |
55
+ | Expert seen | 1,043 | 1,033 | 11,769 |
56
+ | Expert unseen | 1,043 | 1,035 | 12,333 |
57
+ | Non-expert seen | 713 | 706 | 9,458 |
58
+ | Non-expert unseen | 716 | 706 | 9,850 |
59
+
60
+ All views from the same physical execution are assigned to the same split. Held-out progress annotations are excluded from prompt construction, augmentation, in-context demonstration selection, fine-tuning, and checkpoint selection.
61
+
62
+ ## Evaluation Protocol
63
+
64
+ Annotated semantic keyframes are converted into a canonical reference trajectory by piecewise-linear interpolation. This interpolation is an evaluation convention; it does not assume that physical progress changes linearly between events.
65
+
66
+ - global and terminal metrics are computed on the official `1 Hz` evaluation grid;
67
+ - local direction metrics are computed directly on adjacent annotated semantic anchors;
68
+ - metrics are first computed per record and then macro-averaged, preventing long videos from dominating the result.
69
+
70
+ ### Metrics
71
+
72
+ | Scope | Metrics | What they measure |
73
+ |---|---|---|
74
+ | Global trajectory | MAE, PRC, VOC | Absolute calibration and ordering of progress states; VOC is reported only for expert trajectories |
75
+ | Terminal state | TSA, successful F1, failed/incomplete F1, Macro-F1 | Whether the final state is complete using the common `≥ 90` threshold |
76
+ | Local direction | AP+, AP−, MacroAP | Whether adjacent semantic events are correctly ranked as improvement or regression |
77
+
78
+ ## Repository Contents
79
 
80
  ```text
81
  benchmark_splits/
 
102
  test_videos.tar
103
  ```
104
 
105
+ ## Quick Start
 
 
 
 
 
106
 
107
  ### 1. Unpack the video archives
108
 
 
110
  bash scripts/unpack_data.sh
111
  ```
112
 
113
+ By default, the archives are extracted under `data/`. To use another location:
 
 
114
 
115
  ```bash
116
  bash scripts/unpack_data.sh /path/to/data
117
  ```
118
 
119
+ ### 2. Extract benchmark frames
120
 
121
  ```bash
122
  python scripts/extract_vlac2_release_frames.py \
 
124
  --frames-root /path/to/data_extracted_frames
125
  ```
126
 
127
+ The script extracts the benchmark main-view frames. If `--frames-root` is omitted, frames are written to `_extracted_frames/` under the release directory.
128
 
129
+ The canonical split JSON files use the path prefix:
130
 
131
+ ```text
132
+ __VLAC2_FRAMES_ROOT__/
133
+ ```
134
 
135
+ Resolve this prefix to the absolute extracted-frame directory. For example:
136
 
137
  ```text
138
+ __VLAC2_FRAMES_ROOT__/episode/frame.jpg
139
  ```
140
 
141
+ becomes:
142
 
143
+ ```text
144
+ /path/to/data_extracted_frames/episode/frame.jpg
145
+ ```
146
+
147
+ ### 3. Build the VLAC-Cut evaluation manifest
148
 
149
  ```bash
150
  python scripts/build_vlac_cut_eval_manifest.py \
 
153
  --out manifests/vlac_cut_vpb_eval.jsonl
154
  ```
155
 
156
+ For the reported VLAC-Cut evaluation, the manifest samples model-input frames at `2 Hz`, stores the public `1 Hz` evaluation frames, and materializes the exact `chunk_all` prompt in `vlac_cut_prompt`.
157
 
158
+ The `2 Hz` input rate is a VLAC-Cut inference choice, not a benchmark-wide requirement. Official metrics are computed on the released `1 Hz` evaluation grid.
159
 
160
+ ### 4. Run VLAC-Cut batch inference
161
 
162
+ Download or clone the model release from `InternRobotics/VLAC-Cut`, then run:
 
 
163
 
164
  ```bash
165
  python scripts/run_vlac_cut_batch.py \
 
168
  --out predictions/vlac_cut_predictions.jsonl
169
  ```
170
 
171
+ Each prediction row uses the following schema:
172
 
173
  ```json
174
+ {
175
+ "global_episode_id": "...",
176
+ "frames": [65, 80, 95],
177
+ "response": "时间: 0.0s, 进度: 0%\n时间: 1.0s, 进度: 50%"
178
+ }
179
  ```
180
 
181
+ Keep the manifest's original `frames` list in each trajectory-level prediction. The evaluator maps predictions by original frame ID and scores only the official `eval_frames`.
182
+
183
+ ### 5. Evaluate predictions
184
 
185
  ```bash
186
  python scripts/evaluate_vpb_predictions.py \
 
190
  --out-md reports/vlac_cut_vpb_eval.md
191
  ```
192
 
193
+ The evaluator reports:
194
+
195
+ - global progress metrics for the four-bucket overall split and each individual bucket;
196
+ - terminal metrics for four-bucket overall, seen merged, and unseen merged;
197
+ - local direction AP for four-bucket overall, seen merged, and unseen merged.
198
+
199
+ See `docs/evaluate_vlac_cut_on_vpb.md` for accepted prediction formats and complete metric definitions.
200
+
201
+ ## Reference VLAC-Cut Results
202
+
203
+ | Global MAE ↓ | Global PRC ↑ | Terminal Macro-F1 ↑ | Local Direction MacroAP ↑ |
204
+ |---:|---:|---:|---:|
205
+ | **7.3344** | **0.9230** | **73.75** | **71.01** |
206
+
207
+ These values summarize the overall VPB evaluation. Terminal Macro-F1 and Local Direction MacroAP are reported in percent. Refer to the paper for per-bucket results and baseline comparisons.
208
+
209
+ ## Citation
210
+
211
+ Please replace the placeholder below with the final paper BibTeX before public release.
212
+
213
+ ```bibtex
214
+
215
+ ```
216
 
217
+ ## License
218
 
219
+ See the license files distributed with this release. Third-party datasets and videos retain their original licenses and usage restrictions.