jdohmann commited on
Commit
cfc1ae7
·
verified ·
1 Parent(s): 7ab46c4

Match the blog copy and order

Browse files
Files changed (1) hide show
  1. README.md +132 -110
README.md CHANGED
@@ -24,16 +24,32 @@ configs:
24
 
25
  # EgoHome: 2 hours of human-annotated egocentric video
26
 
27
- ![The four annotation types on the same 5 s of one clip: hand boxes, subtasks, hand actions and hand captions](assets/egohome_header_2x2.gif)
28
 
29
- EgoHome is 1.99 hours of first-person household chore video (137 clips, 1920×1080, 30 fps), human-annotated with four annotation types on the same videos:
 
 
30
 
31
  - Hand bounding box locations
32
  - Subtask annotations
33
- - Left-right hand actions, from [Ego4D's closed-vocab schema](https://ego4d-data.org/docs/benchmarks/hands-and-objects/)
34
- - Left-right hand captions
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
- It also introduces **permissible subsegment Jaccard**, a metric built for the fact that there are many valid ways to break down the granularity of a task.
 
 
37
 
38
  **Prompts and evaluation code:** [perceptron-ai-inc/egohome_public_release](https://github.com/perceptron-ai-inc/egohome_public_release)
39
 
@@ -55,34 +71,6 @@ It also introduces **permissible subsegment Jaccard**, a metric built for the fa
55
 
56
  ![Segment durations: EgoHome vs WGO-Bench](assets/fig_segment_duration_cdf.png)
57
 
58
- ## Quick start
59
-
60
- ```python
61
- from datasets import load_dataset
62
-
63
- ds = load_dataset("PerceptronAI/EgoHome", split="test")
64
- row = ds[0]
65
- row["video"] # the clip (decoded with torchcodec)
66
- row["subtasks"] # [{"start": 0.0, "end": 1.74, "label": "..."}, ...]
67
- row["hand_actions"] # {"left": [...], "right": [...]}, Ego4D verb labels
68
- row["hand_captions"] # {"left": [...], "right": [...]}
69
- row["hand_boxes"] # [{"t": 0.0, "left": [x_min, y_min, x_max, y_max] | None, "right": ...}, ...]
70
- ```
71
-
72
- To get the annotations without the videos, download `data/test/metadata.jsonl`.
73
-
74
- There is one row per clip. Times are seconds from the clip start. Boxes are `[x_min, y_min, x_max, y_max]`, normalized to 0–1000 (x over width, y over height).
75
-
76
- | Column | Contents |
77
- |---|---|
78
- | `video` / `file_name` | The mp4 |
79
- | `clip_id`, `source_video_id`, `clip_start_sec` | Clip identity (clips are cut from longer source videos) |
80
- | `duration_sec`, `fps`, `width`, `height` | Video properties |
81
- | `hand_boxes` | `[{t, left, right}]`, one entry per annotated frame; a hand is `null` when off screen |
82
- | `subtasks` | `[{start, end, label}]` |
83
- | `hand_actions` | `{left: [{start, end, label}], right: [...]}`; labels are Ego4D FHO verb classes |
84
- | `hand_captions` | `{left: [{start, end, label}], right: [...]}` |
85
-
86
  ## How different models stack up
87
 
88
  | System | Subtask | Hand action | Hand caption | Hand box | Failed | Timeline $ / video-hour | All tasks $ / video-hour |
@@ -154,6 +142,93 @@ Best in bold. ‡ Scored over all 137 clips; every other row covers the same 135
154
 
155
  </details>
156
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  ## Evaluation metrics
158
 
159
  ### Hand box metric: centroid hit fraction
@@ -227,90 +302,37 @@ Generic labels earn nothing on subtasks and captions. A constant "hold" earns 0.
227
 
228
  Label judge: gemini-3.5-flash, temperature 0, thinking off; prompt in the repository. Re-judging the same outputs moves a system's score by about ±0.01.
229
 
230
- ## The annotations
231
-
232
- ### Annotation methodology
233
-
234
- We begin by synthetically labeling videos, and then having humans edit the initial annotations. We then had a member of our research team review every clip by hand. Due to the quality of our initial annotations and our proprietary review pipeline, we were able to get the overall average time to re-annotate a video down to 116 minutes per minute of video across all four annotation types.
235
-
236
- | Annotation type | Active minutes per minute of video | Agreement of the synthetic seed with the final human labels |
237
- |---|---:|---|
238
- | Hand boxes | 41.7 | 0.932 (centroid hit fraction) |
239
- | Subtasks | 17.1 | 0.766 (permissible subsegment Jaccard) |
240
- | Hand actions | 24.6 | 0.613 (permissible subsegment Jaccard) |
241
- | Hand captions | 32.6 | 0.688 (permissible subsegment Jaccard) |
242
- | All four | 115.9 | |
243
-
244
- #### Ensuring annotator quality
245
-
246
- Every annotator undergoes a calibration where they have 3 attempts to get high agreement with a clip labeled by a member of our research staff (the minimum performance criteria was determine by having multiple members of our research staff attempt the same clip and then choosing fair guidelines by which to include or exclude participants). After each attempt they are allowed to see what parts of their answer were marked as incorrect (but not able to see the ground truth), they are then allowed to re-attempt the calibration clip after seeing feedback.
247
-
248
- After their initial calibration, crowdsourced annotators then go through a 10-clip calibration against each other, where they are graded by how high their interannotator agreement is compared to their agreement with the original labels. Via this process we chose 5 annotators to serve as the annotators on our evaluation set, keeping lower performing members of our annotation pool to work on other tasks.
249
-
250
- ### Subtasks
251
-
252
- Similar to WGO-Bench, we have open vocab descriptions of the high level goal of what task the subject is performing e.g. "scrubbing the stovetop". The average video has 14.0 segments. The distribution of durations is below:
253
-
254
- | Subtask segments | |
255
- |---|---:|
256
- | Segments | 1,924 |
257
- | Shortest | 0.16 s |
258
- | Median | 2.50 s |
259
- | Mean | 3.57 s |
260
- | 90th percentile | 7.34 s |
261
- | Longest | 55.1 s |
262
-
263
- | Duration | Segments |
264
- |---|---:|
265
- | < 0.5 s | 30 (1.6%) |
266
- | 0.5–1 s | 120 |
267
- | 1–2 s | 564 |
268
- | 2–5 s | 829 |
269
- | 5–10 s | 277 |
270
- | > 10 s | 104 |
271
-
272
- ### Hand boxes
273
-
274
- We annotate every hand box with human annotators at 10FPS then apply proprietary smoothing algorithms to extrapolate up to 30FPS. Here is the percentage of time the right and left hand are on screen in the corpus:
275
 
276
- | Hand on screen | % of frames |
277
- |---|---:|
278
- | Left | 96.7% |
279
- | Right | 96.6% |
280
- | Both | 94.3% |
281
- | Either | 99.0% |
282
- | Neither | 1.0% |
283
- | Boxes | 417,912 on 216,225 frames |
284
-
285
- ### Hand actions
286
 
287
- We have annotators choose an accurate hand action label from the closed vocabulary [Ego4D action schema](https://ego4d-data.org/docs/benchmarks/hands-and-objects/); there are 118 total actions to choose from (47 occur in the release).
288
 
289
- | Hand actions | Left | Right |
290
- |---|---:|---:|
291
- | Segments per clip | 17.3 | 19.4 |
292
- | Median duration | 1.45 s | 1.34 s |
293
- | Mean duration | 2.49 s | 2.39 s |
294
- | < 0.5 s | 171 | 248 |
295
- | < 1 s | 731 | 939 |
296
- | Distinct labels (both hands) | 47 | |
297
- | Time both hands have the exact same action | 42.7% of video time | 55.8% of time both hands are labeled |
298
 
299
- Most frequent verbs: hold (802), take (615), put (595), fold (427), move (310), arrange (257), adjust (227), smooth (214), lift (207), wash (163).
 
 
 
 
 
 
 
300
 
301
- ### Hand captions
302
 
303
- We have annotators write free-form hand captions describing what the hands are doing during the video.
304
 
305
- | Hand captions | Left | Right |
306
- |---|---:|---:|
307
- | Segments per clip | 18.4 | 20.1 |
308
- | Median duration | 1.55 s | 1.49 s |
309
- | Mean duration | 2.50 s | 2.38 s |
310
- | < 0.5 s | 145 | 179 |
311
- | < 1 s | 707 | 844 |
312
- | Distinct labels (both hands) | 3,948 | |
313
- | Time both hands have the exact same caption | 29.3% of video time | 35.3% of time both hands are labeled |
314
 
315
  ## Citation
316
 
 
24
 
25
  # EgoHome: 2 hours of human-annotated egocentric video
26
 
27
+ ![The four annotation types on the same 5 s of one clip: hand boxes, subtasks, hand actions (Ego4D verbs), hand captions.](assets/egohome_header_2x2.gif)
28
 
29
+ As part of our GA announcement of our egocentric annotation API, we are releasing and open-sourcing 2 hours of human-annotated egocentric video.
30
+
31
+ The annotations span four different categories:
32
 
33
  - Hand bounding box locations
34
  - Subtask annotations
35
+ - Left-right hand actions (from Ego4D's closed-vocab schema)
36
+ - Left-right hand captions.
37
+
38
+ We release the raw annotations as well as a code base for evaluation metrics which we believe better capture the inherent subjectivity of open vocabulary video description.
39
+
40
+ ### A new standard for Egocentric annotations
41
+
42
+ Rich egocentric annotation is of increasing interest in the physical AI and robotics world, largely because of recent work demonstrating that it is highly effective as a scalable pretraining objective for world action models and vision language action models for [robotic manipulation tasks](https://www.dyna.co/dyna-2).
43
+
44
+ Despite this increasing attention on egocentric data, it is still not perfectly well-understood which set of annotations serve as the best pretraining objectives or how best to measure the quality of synthetic labeling harnesses for these tasks.
45
+
46
+ The most widely adopted egocentric benchmark, [WGO-Bench](https://macrodata.co/blog/annotating-robot-video-subtasks), has been a remarkably useful contribution to the ecosystem and has since become a de facto standard for evaluating the quality of a model or harness on describing the events in an egocentric video. Despite this it still has several gaps in coverage which we seek to address with this release.
47
+
48
+ **Perceptron's EgoHome** benchmark addresses a few gaps left behind by the current state of egocentric benchmarking:
49
 
50
+ - We introduce benchmarking for four types of annotation all on the same video sources: hand box location, subtask breakdown, hand action classification (from the Ego4D closed vocab), and hand action freeform captions.
51
+ - We provide a large number of annotations at the sub-second scale: 3,371 segments under 1 s and 773 under 0.5 s.
52
+ - Finally, we introduce a new flexible metric we call permissible subsegment Jaccard. An LLM-as-judge based technique which accommodates the fact that there are many permissible ways to break down the granularity of a task.
53
 
54
  **Prompts and evaluation code:** [perceptron-ai-inc/egohome_public_release](https://github.com/perceptron-ai-inc/egohome_public_release)
55
 
 
71
 
72
  ![Segment durations: EgoHome vs WGO-Bench](assets/fig_segment_duration_cdf.png)
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  ## How different models stack up
75
 
76
  | System | Subtask | Hand action | Hand caption | Hand box | Failed | Timeline $ / video-hour | All tasks $ / video-hour |
 
142
 
143
  </details>
144
 
145
+ ## EgoHome deep-dive
146
+
147
+ ### Annotation methodology
148
+
149
+ We begin by synthetically labeling videos, and then having humans edit the initial annotations. We then had a member of our research team review every clip by hand. Due to the quality of our initial annotations and our proprietary review pipeline, we were able to get the overall average time to re-annotate a video down to 116 minutes per minute of video across all four annotation types.
150
+
151
+ | Annotation type | Active minutes per minute of video | Agreement of the synthetic seed with the final human labels |
152
+ |---|---:|---|
153
+ | Hand boxes | 41.7 | 0.932 (centroid hit fraction) |
154
+ | Subtasks | 17.1 | 0.766 (permissible subsegment Jaccard) |
155
+ | Hand actions | 24.6 | 0.613 (permissible subsegment Jaccard) |
156
+ | Hand captions | 32.6 | 0.688 (permissible subsegment Jaccard) |
157
+ | All four | 115.9 | |
158
+
159
+ #### Ensuring annotator quality
160
+
161
+ Every annotator undergoes a calibration where they have 3 attempts to get high agreement with a clip labeled by a member of our research staff (the minimum performance criteria was determine by having multiple members of our research staff attempt the same clip and then choosing fair guidelines by which to include or exclude participants). After each attempt they are allowed to see what parts of their answer were marked as incorrect (but not able to see the ground truth), they are then allowed to re-attempt the calibration clip after seeing feedback.
162
+
163
+ After their initial calibration, crowdsourced annotators then go through a 10-clip calibration against each other, where they are graded by how high their interannotator agreement is compared to their agreement with the original labels. Via this process we chose 5 annotators to serve as the annotators on our evaluation set, keeping lower performing members of our annotation pool to work on other tasks.
164
+
165
+ ### Four annotation types
166
+
167
+ #### Subtask annotations
168
+
169
+ Similar to WGO-Bench, we have open vocab descriptions of the high level goal of what task the subject is performing e.g. "scrubbing the stovetop". The average video has 14.0 segments. The distribution of durations is below:
170
+
171
+ | Subtask segments | |
172
+ |---|---:|
173
+ | Segments | 1,924 |
174
+ | Shortest | 0.16 s |
175
+ | Median | 2.50 s |
176
+ | Mean | 3.57 s |
177
+ | 90th percentile | 7.34 s |
178
+ | Longest | 55.1 s |
179
+
180
+ | Duration | Segments |
181
+ |---|---:|
182
+ | < 0.5 s | 30 (1.6%) |
183
+ | 0.5–1 s | 120 |
184
+ | 1–2 s | 564 |
185
+ | 2–5 s | 829 |
186
+ | 5–10 s | 277 |
187
+ | > 10 s | 104 |
188
+
189
+ #### Hand box locations
190
+
191
+ We annotate every hand box with human annotators at 10FPS then apply proprietary smoothing algorithms to extrapolate up to 30FPS. Here is the percentage of time the right and left hand are on screen in the corpus:
192
+
193
+ | Hand on screen | % of frames |
194
+ |---|---:|
195
+ | Left | 96.7% |
196
+ | Right | 96.6% |
197
+ | Both | 94.3% |
198
+ | Either | 99.0% |
199
+ | Neither | 1.0% |
200
+ | Boxes | 417,912 on 216,225 frames |
201
+
202
+ #### Hand actions
203
+
204
+ We have annotators choose an accurate hand action label from the closed vocabulary [Ego4D action schema](https://ego4d-data.org/docs/benchmarks/hands-and-objects/); there are 118 total actions to choose from (47 occur in the release).
205
+
206
+ | Hand actions | Left | Right |
207
+ |---|---:|---:|
208
+ | Segments per clip | 17.3 | 19.4 |
209
+ | Median duration | 1.45 s | 1.34 s |
210
+ | Mean duration | 2.49 s | 2.39 s |
211
+ | < 0.5 s | 171 | 248 |
212
+ | < 1 s | 731 | 939 |
213
+ | Distinct labels (both hands) | 47 | |
214
+ | Time both hands have the exact same action | 42.7% of video time | 55.8% of time both hands are labeled |
215
+
216
+ Most frequent verbs: hold (802), take (615), put (595), fold (427), move (310), arrange (257), adjust (227), smooth (214), lift (207), wash (163).
217
+
218
+ #### Hand captions
219
+
220
+ We have annotators write free-form hand captions describing what the hands are doing during the video.
221
+
222
+ | Hand captions | Left | Right |
223
+ |---|---:|---:|
224
+ | Segments per clip | 18.4 | 20.1 |
225
+ | Median duration | 1.55 s | 1.49 s |
226
+ | Mean duration | 2.50 s | 2.38 s |
227
+ | < 0.5 s | 145 | 179 |
228
+ | < 1 s | 707 | 844 |
229
+ | Distinct labels (both hands) | 3,948 | |
230
+ | Time both hands have the exact same caption | 29.3% of video time | 35.3% of time both hands are labeled |
231
+
232
  ## Evaluation metrics
233
 
234
  ### Hand box metric: centroid hit fraction
 
302
 
303
  Label judge: gemini-3.5-flash, temperature 0, thinking off; prompt in the repository. Re-judging the same outputs moves a system's score by about ±0.01.
304
 
305
+ Our metrics and prompts for scoring can be found here: https://github.com/perceptron-ai-inc/egohome_public_release
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
 
307
+ And the Hugging Face dataset can be found here: https://huggingface.co/datasets/PerceptronAI/EgoHome
 
 
 
 
 
 
 
 
 
308
 
309
+ ## Using the dataset
310
 
311
+ ```python
312
+ from datasets import load_dataset
 
 
 
 
 
 
 
313
 
314
+ ds = load_dataset("PerceptronAI/EgoHome", split="test")
315
+ row = ds[0]
316
+ row["video"] # the clip (decoded with torchcodec)
317
+ row["subtasks"] # [{"start": 0.0, "end": 1.74, "label": "..."}, ...]
318
+ row["hand_actions"] # {"left": [...], "right": [...]}, Ego4D verb labels
319
+ row["hand_captions"] # {"left": [...], "right": [...]}
320
+ row["hand_boxes"] # [{"t": 0.0, "left": [x_min, y_min, x_max, y_max] | None, "right": ...}, ...]
321
+ ```
322
 
323
+ To get the annotations without the videos, download `data/test/metadata.jsonl`.
324
 
325
+ There is one row per clip. Times are seconds from the clip start. Boxes are `[x_min, y_min, x_max, y_max]`, normalized to 0–1000 (x over width, y over height).
326
 
327
+ | Column | Contents |
328
+ |---|---|
329
+ | `video` / `file_name` | The mp4 |
330
+ | `clip_id`, `source_video_id`, `clip_start_sec` | Clip identity (clips are cut from longer source videos) |
331
+ | `duration_sec`, `fps`, `width`, `height` | Video properties |
332
+ | `hand_boxes` | `[{t, left, right}]`, one entry per annotated frame; a hand is `null` when off screen |
333
+ | `subtasks` | `[{start, end, label}]` |
334
+ | `hand_actions` | `{left: [{start, end, label}], right: [...]}`; labels are Ego4D FHO verb classes |
335
+ | `hand_captions` | `{left: [{start, end, label}], right: [...]}` |
336
 
337
  ## Citation
338